<@WM13WM6JC> Is there any way to specify only inst...
# ask-metaflow
c
@dry-beach-38304 Is there any way to specify only installing a dependency in a the linux-64 version of the environment. My specific use case is on linux I would like to use triton to speed up inference, however we also want to run things on mac, but you cannot install triton on mac.
d
Hum, That’s a good use case. I haven’t thought of that use case. Right now, there isn’t. I could add conditional markers but not sure how much of a lift it would be. One workaround right now would be for you to resolve the environment for both mac and linux without triton and then resolve the one for linux that has triton using
metaflow environment resolve --using … --arch linux-64 -r <triton-req>.txt
which would create another environment (on linux) using everything in the first one and adding triton to it. You’d then have to kind of pick and choose the env by hand but they would be very close environments.
c
That solution seems like it will work thanks.
👍 1