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

Fixed log_param error #1362

Merged
merged 2 commits into from Nov 20, 2022
Merged

Fixed log_param error #1362

merged 2 commits into from Nov 20, 2022

Conversation

SunsetWolf
Copy link
Collaborator

Description

Motivation and Context

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

setup.py Show resolved Hide resolved
@SunsetWolf SunsetWolf changed the title Fixed log_param error and FutureWarning in qrun Fixed log_param error Nov 17, 2022
@@ -422,7 +423,7 @@ def load_object(self, name, unpickler=pickle.Unpickler):

path = None
try:
path = self.client.download_artifacts(self.id, name)
path = mlflow.artifacts.download_artifacts(run_id=self.id, artifact_path=name)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the related issue to this PR?
I didn't get the necessity of this change.

@@ -21,6 +21,7 @@
from mlflow.store.artifact.azure_blob_artifact_repo import AzureBlobArtifactRepository

logger = get_module_logger("workflow", logging.INFO)
mlflow.utils.validation.MAX_PARAM_VAL_LENGTH = 1000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for?

@you-n-g
Copy link
Collaborator

you-n-g commented Nov 20, 2022

@SunsetWolf I think mlflow.utils.validation.MAX_PARAM_VAL_LENGTH = 1000 needs some explanation.

@SunsetWolf
Copy link
Collaborator Author

@SunsetWolf I think mlflow.utils.validation.MAX_PARAM_VAL_LENGTH = 1000 needs some explanation.

Resolved

@SunsetWolf SunsetWolf closed this Nov 20, 2022
@SunsetWolf SunsetWolf reopened this Nov 20, 2022
@you-n-g you-n-g merged commit c4ee9ff into microsoft:main Nov 20, 2022
@you-n-g
Copy link
Collaborator

you-n-g commented Nov 20, 2022

@SunsetWolf It looks great now.
Thanks

@you-n-g you-n-g added the bug Something isn't working label Dec 9, 2022
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* fix_qrun_error

* add_description
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* fix_qrun_error

* add_description
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* fix_qrun_error

* add_description
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

Successfully merging this pull request may close these issues.

None yet

3 participants