Conversation
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
|
I've noticed that A bare-minimum environment that appears to work is: name: monai
channels:
- pytorch
- defaults
- nvidia
dependencies:
- numpy>=1.17
- pytorch>=1.6
- pytorch-cuda=11.6 |
|
I also created a runtime version of the environment with every package for development removed, this was a little slimmer for just deploying MONAI somewhere, but its contents will change now with the new way Pytorch is doing its packages. |
|
I just tested this works fine: assuming pytorch is installed following the 'conda' option here https://pytorch.org/get-started/locally/#start-locally |
Signed-off-by: Wenqi Li <[email protected]>
|
In the logs I see that the Windows build chose the |
Signed-off-by: Wenqi Li <[email protected]>
I think manually installing pytorch is the recommended way described here https://pytorch.org/get-started/locally/#start-locally let me try to include the cuda requirement for the ci.. |
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
|
I've added the cuda dependency following your minimum environment example @ericspod, it works fine with ubuntu and windows: https://github.com/Project-MONAI/MONAI/actions/runs/3566365419/jobs/5992720823 Apart from the downloading took some time, it looks good to me. Any further suggestions? @ericspod @rijobro. Dropping these pip package requirements in the yaml will make it faster, I can do that, just wanted to get your opinion as it'll be very different from the current behaviour of |
I think this looks good but I want to test this at home with my home Windows box I know I've had issues with. I was wondering if we wanted to do multiple versions of the environment file to have everything, only packages needed for deploy, and a minimal package. |
|
I've run with the environment file on my Windows box and it's installed things as I expected with the GPU version of Pytorch. |
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
89babe7 to
e33d38c
Compare
|
/build |
Fixes #5596
Fixes #5088
Description
simplify the conda env
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.