Skip to content

Commit

Permalink
happy now, pip?
Browse files Browse the repository at this point in the history
  • Loading branch information
neggles committed Feb 26, 2024
1 parent ab40549 commit 060ef61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function torchName {
# torch version to torch name
function torchSpec {
params = [version]
result = regex_replace(version, "^(\\d+)\\.(\\d+).*", "torch~=$1.$2.$3")
result = regex_replace(version, "^(\\d+)\\.(\\d+).*", "torch>=$1.$2.$3,==$1.$2.*")
}

# build a tag for an image from this repo
Expand Down

0 comments on commit 060ef61

Please sign in to comment.