1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

Fixed log_param error (#1362)

* fix_qrun_error

* add_description
This commit is contained in:
Linlang
2022-11-20 14:18:35 +08:00
committed by GitHub
parent cc01812c62
commit c4ee9ff882
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ from ..log import TimeInspector, get_module_logger
from mlflow.store.artifact.azure_blob_artifact_repo import AzureBlobArtifactRepository
logger = get_module_logger("workflow", logging.INFO)
# mlflow limits the length of log_param to 500, but this caused errors when using qrun, so we extended the mlflow limit.
mlflow.utils.validation.MAX_PARAM_VAL_LENGTH = 1000
class Recorder:

View File

@@ -62,6 +62,8 @@ REQUIRED = [
"matplotlib>=3.3",
"tables>=3.6.1",
"pyyaml>=5.3.1",
# To ensure stable operation of the experiment manager, we have limited the version of mlflow,
# and we need to verify whether version 2.0 of mlflow can serve qlib properly.
"mlflow>=1.12.1, <=1.30.0",
"tqdm",
"loguru",