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

Handle CUDA version modifiers on torch #1876

Merged
merged 6 commits into from
Aug 15, 2024
Merged

Conversation

8W9aG
Copy link
Contributor

@8W9aG 8W9aG commented Aug 13, 2024

  • If we get given a torch with a cuda version modifier such as 2.0.3+cu118 we fail if we do not
    explicitly support this version.
  • Instead extract the CUDA version from the version tag (11.8) and perform our cuda
    compatibility lookup with those 2 versions.

Fixes: #1867

* If we get given a torch with a cuda version
modifier such as 2.0.3+cu118 we fail if we do not
explicitly support this version.
* Instead extract the CUDA version from the
version tag (11.8) and perform our cuda
compatibility lookup with those 2 versions.
@8W9aG 8W9aG requested review from mattt, nevillelyh, andreasjansson and a team August 13, 2024 20:16
Signed-off-by: Will Sackfield <sackfield@replicate.com>
pkg/config/compatibility.go Outdated Show resolved Hide resolved
8W9aG and others added 4 commits August 15, 2024 12:04
Co-authored-by: Mattt <mattt@replicate.com>
Signed-off-by: Will Sackfield <will.sackfield@gmail.com>
Co-authored-by: Mattt <mattt@replicate.com>
Signed-off-by: Will Sackfield <will.sackfield@gmail.com>
@8W9aG 8W9aG merged commit 07cd53b into main Aug 15, 2024
13 checks passed
@8W9aG 8W9aG deleted the handle-cuda-torch-version-mods branch August 15, 2024 20:25
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.

Unsupported base image configuration for CUDA + Torch 2.0.1+cu118
2 participants