Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Updated model to include trained_slice_id #421

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

Merged
merged 5 commits into from
Feb 6, 2024
Merged

Conversation

schumry
Copy link
Contributor

@schumry schumry commented Jan 1, 2024

This update is to add trained_slice_id to the model object. So that when we create a model (with NUCLEUS_CLIENT.create_model) we are able to associate a trained_slice_id with it.

I did not change the repr response, since it causes issues with the test comparison. Let me know if we want to simplify the repr and modify the test or leave as is.

Associated scaleapi PR: https://github.com/scaleapi/scaleapi/pull/74083
Previous PR: #419

@schumry schumry self-assigned this Jan 1, 2024
@schumry schumry requested a review from a team January 1, 2024 20:21
@edwardpark97
Copy link
Contributor

Talked with Ryan on Slack, I think we'll sync up with @levinwil tomorrow to scope out exactly what he needs for his work. We can always backfill trained_slice_id in the PSQL database at a later date, so I don't think it's really necessary to push through ASAP

@pfmark
Copy link
Contributor

pfmark commented Jan 2, 2024

Talked with Ryan on Slack, I think we'll sync up with @levinwil tomorrow to scope out exactly what he needs for his work. We can always backfill trained_slice_id in the PSQL database at a later date, so I don't think it's really necessary to push through ASAP

feel free to loop me in, happy to learn more about the context here

@schumry
Copy link
Contributor Author

schumry commented Jan 20, 2024

@scaleapi/nucleus-eng @edwardpark97 PR is now ready for review with accompanying scaleapi PR.

Copy link
Contributor

@edwardpark97 edwardpark97 left a comment

Choose a reason for hiding this comment

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

apart from comments LGTM, thanks!

@schumry
Copy link
Contributor Author

schumry commented Feb 6, 2024

@scaleapi/nucleus-eng If the PR looks good to y'all, would someone be able to merge it please.

@gatli gatli force-pushed the schumry/modelTrainedSlice branch from 90a6a9c to 61e632f Compare February 6, 2024 15:06
@gatli
Copy link
Contributor

gatli commented Feb 6, 2024

@scaleapi/nucleus-eng If the PR looks good to y'all, would someone be able to merge it please.
@schumry I bumped the version and added a CHANGELOG - you need to bump the version for the new version to be deployed to PyPI. I'll merge this once tests pass.

@gatli gatli merged commit d69a92e into master Feb 6, 2024
@gatli gatli deleted the schumry/modelTrainedSlice branch February 6, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants