broad-ability-40758
07/01/2025, 12:46 PMpython_requirements
based on whether GPUs are available (via a cli argument/env var/similar) but it's not immediately obvious to me how to accomplish thatdazzling-pizza-75442
07/01/2025, 1:01 PMbroad-ability-40758
07/01/2025, 1:03 PMdazzling-pizza-75442
07/01/2025, 1:05 PM__defaults__
may solve the problem of their are lots of places to adjustbroad-ability-40758
07/01/2025, 1:06 PMbroad-ability-40758
07/01/2025, 2:05 PMif BUILT_WITH_GPU:
import ...
else:
shim = "blah"
I don't currently know how to tell pants the import should only be inferable if the base + gpu resolve is enabled.