Y
Hacker News
new
|
ask
|
show
|
jobs
by
gdiamos
581 days ago
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.
2 comments
kristjansson
581 days 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.
link
ttyprintk
581 days ago
Eh, in that case the environment variable is a bit more evident in a Dockerfile.
link