-
Notifications
You must be signed in to change notification settings - Fork 76
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
Set model_origin when creating chains #972
Conversation
truss/remote/baseten/api.py
Outdated
) {{ | ||
id, | ||
name, | ||
version_id | ||
}} | ||
}} | ||
""" | ||
|
||
print(query_string) |
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.
Forgotten?
truss-chains/truss_chains/deploy.py
Outdated
@@ -251,6 +253,7 @@ def deploy_remotely( | |||
chainlet_name_to_url[chainlet_descriptor.name] = "http://dummy" | |||
|
|||
if isinstance(options, definitions.DeploymentOptionsBaseten): | |||
|
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.
Do you find these blank lines make the file more readable?
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.
this was an accident
truss/remote/baseten/remote.py
Outdated
) -> BasetenService: | ||
print(f"IN push: {origin} ") |
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.
Forgotten?
🚀 What
As a follow-up to https://github.com/basetenlabs/baseten/pull/8584, actually want to start setting the model origin so that chains models are excluded from the main models view
💻 How
🔬 Testing
Ran:
Ensured that the model origin was set on the deployed models.