Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.


Eh, in that case the environment variable is a bit more evident in a Dockerfile.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: