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

infer env params - rfc #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

infer env params - rfc #52

wants to merge 4 commits into from

Conversation

syandroo
Copy link
Contributor

@syandroo syandroo commented Aug 2, 2022

just a proof of concept, we infer the image tags instead of having users manually set an image tag

chipping away at all the required fields back to reasonable defaults

tried to make it as un-jank as possible, and added errors so users can just fall back to image tags

try:
ver = torch.__version__.split("+")
torch_version = ver[0]
cuda_version = ver[1][2:] if len(ver) > 1 else "113"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

can also default to "latest" if parsing goes awry but i'm hesitant cuz upstream build issues are worse than client side errors

launch/utils.py Outdated Show resolved Hide resolved
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.

2 participants