-
Notifications
You must be signed in to change notification settings - Fork 127
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
Bugfix in ExperimentData's handling of metadata save #1229
Bugfix in ExperimentData's handling of metadata save #1229
Conversation
releasenotes/notes/experiment_data_metadata_save_fix-912b7180a28cfb03.yaml
Outdated
Show resolved
Hide resolved
…28cfb03.yaml Co-authored-by: Helena Zhang <Helena.Zhang@ibm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add a line to the Discussion section of cloud_service.rst
that when experiment metadata is large, it will be saved as metadata.json
but saving and loading will still be automatically handled?
Co-authored-by: Helena Zhang <Helena.Zhang@ibm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
### Summary This PR fixes a bug resulting in experiment data saving fails due to large payloads. ### Details and comments Since the `metadata` field of `ExperimentData` can grow tremendously large, resulting in a save failure due to the large payload. we have added has the ability to save the metadata as an artifact file. However, a small bug prevented this from triggering. This PR fixes the bug and adds a relevant test. --------- Co-authored-by: Helena Zhang <Helena.Zhang@ibm.com> (cherry picked from commit 970b376) # Conflicts: # requirements.txt
Summary
This PR fixes a bug resulting in experiment data saving fails due to large payloads.
Details and comments
Since the
metadata
field ofExperimentData
can grow tremendously large, resulting in a save failure due to the large payload. we have added has the ability to save the metadata as an artifact file. However, a small bug prevented this from triggering. This PR fixes the bug and adds a relevant test.