Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samapi 0.4.0 Cluster GPU but WSL CPU only #3

Open
romainGuiet opened this issue Feb 14, 2024 · 2 comments
Open

samapi 0.4.0 Cluster GPU but WSL CPU only #3

romainGuiet opened this issue Feb 14, 2024 · 2 comments

Comments

@romainGuiet
Copy link
Member

Following instructions on https://github.com/ksugar/samapi , modified Dockerfile-samapi and env_samapi.yml ( 5bafaf6 ) but samapi works in :

  • CPU only on Windows (WSL)
  • GPU on the cluster
@romainGuiet
Copy link
Member Author

romainGuiet commented Feb 14, 2024

Tried to modify env_samapi.yml adding

- conda-forge::cudatoolkit=11.7
- pip:
      -  --extra-index-url https://download.pytorch.org/whl/cu117
      - torchvision
      - "torch>=1.13.1,<2.0"
      - git+https://github.com/ksugar/samapi.git

build but container can't start , OSError: [Errno 28] No space left on device: '/home/biop/.local'

@romainGuiet
Copy link
Member Author

romainGuiet commented Feb 14, 2024

Tried to modify Dockerfile-samapi (while commenting creation via env_samapi.yml )

RUN conda create -n samapi -y python=3.10 \
    && source activate samapi \ 
    && conda install -c conda-forge -y cudatoolkit=11.7 \
    && python -m pip install "torch>=1.13.1,<2.0" torchvision --index-url https://download.pytorch.org/whl/cu117 \
    && python -m pip install git+https://github.com/ksugar/samapi.git \
    && conda deacativate \
    && conda clean --all -f -y \
    && conda env export -n "biop" 

doesn't build !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant