Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not compatible with mlflow v1.28.0 #1298

Closed
lerit opened this issue Sep 19, 2022 · 1 comment
Closed

not compatible with mlflow v1.28.0 #1298

lerit opened this issue Sep 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@lerit
Copy link
Contributor

lerit commented Sep 19, 2022

when run workflow:

qrun ALSTM_workflow_config_alstm_Alpha158.yaml

mlflow v1.27.0 work fine,but failed when with mlflow v1.28.0:

File "miniconda3/envs/qlibdev/lib/python3.8/site-packages/pyqlib-0.8.6.99-py3.8-linux-x86_64.egg/qlib/workflow/recorder.py", line 441, in log_params
    self.client.log_param(self.id, name, data)
  File "miniconda3/envs/qlibdev/lib/python3.8/site-packages/mlflow-1.28.0-py3.8.egg/mlflow/tracking/client.py", line 852, in log_param
    self._tracking_client.log_param(run_id, key, value)
  File "miniconda3/envs/qlibdev/lib/python3.8/site-packages/mlflow-1.28.0-py3.8.egg/mlflow/tracking/_tracking_service/client.py", line 305, in log_param
    raise MlflowException(msg, INVALID_PARAMETER_VALUE)
mlflow.exceptions.MlflowException: Param value '[{'class': 'SignalRecord', 'module_path': 'qlib.workflow.record_temp', 'kwargs': {'model': '<MODEL>', 'dataset': '<DATASET>'}}, {'class': 'SigAnaRecord', 'module_path': 'qlib.workflow.record_temp', 'kwargs': {'ana_long_short': False, 'ann_scaler': 25' had length 778, which exceeded length limit of 500

i think the new mflow feature cause this bug.mlflow limit param valu lengh to 500,by read code ,it can not be overwrite.
maybe relate with this issue

@lerit lerit added the bug Something isn't working label Sep 19, 2022
@SunsetWolf
Copy link
Collaborator

Can this PR solve your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants