Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
gdiamos
1y ago
0 comments
Share
Nice, I wonder if there is a way to make it conditional, e.g. to pick a different key for a cpu vs cuda build.
0 comments
default
newest
oldest
kristjansson
1y ago
That’s basically what TFA is about? Set up multiple index urls, and use a bog-standard platform marker on the PyTorch dep to pick between them.
ttyprintk
1y ago
Eh, in that case the environment variable is a bit more evident in a Dockerfile.
j
/
k
navigate · click thread line to collapse