FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

infer env params - rfc by syandroo · Pull Request #52 · scaleapi/launch-python-client · GitHub

infer env params - rfc - #52

Open
syandroo wants to merge 4 commits into
masterfrom
an/pytorch-version
Open

infer env params - rfc#52
syandroo wants to merge 4 commits into
masterfrom
an/pytorch-version

Conversation

syandroo commented Aug 2, 2022

Copy link
Copy Markdown
Contributor

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

Comment thread launch/utils.py
try:
ver = torch.__version__.split("+")
torch_version = ver[0]
cuda_version = ver[1][2:] if len(ver) > 1 else "113"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Comment thread launch/utils.py Outdated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL