thousands-parrot-54579
01/10/2024, 4:14 PMIt ships the locally resolved environment for remote execution, even when the remote environment uses a different operating system and CPU architecture than the client (OS X vs. Linux).I have also read https://outerbounds-community.slack.com/archives/C02116BBNTU/p1697359042901309?thread_ts=1697198947.028709&cid=C02116BBNTU and I am still a bit confused what the workflow is when you're local hardware is different from your remote. Context: local is an Arm Mac developer, remote is Batch GPU multi-node. The below would resolve on the remote, but not locally, hence user is not able to launch flow.
@conda(libraries={"pytorch::pytorch-cuda": "12.1"})dry-beach-38304
01/10/2024, 4:21 PMthousands-parrot-54579
01/10/2024, 5:14 PM@pypi decorator if that simplifies the process.dry-beach-38304
01/10/2024, 5:42 PMpytorch pytorch-cuda=12.1 -c pytorch -c nvidia
so it means you need to add both the pytorch and nvidia channels. In the bleeding edge decorator, you can just add a channels argument to your @conda decorator (it’s a list that can contain ["pytorch", "nvidia"]. In the standard decorator, I don’t think there is a way so you may have to add the channels directly to the configuration for micromamba (which is what the standard decorator uses — the bleeding edge ones can use conda, mamba or micromamba).dry-beach-38304
01/10/2024, 5:43 PMthousands-parrot-54579
01/10/2024, 5:44 PM