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

[Bug] Failing docker image build #21

Open
loopyd opened this issue Nov 23, 2024 · 1 comment
Open

[Bug] Failing docker image build #21

loopyd opened this issue Nov 23, 2024 · 1 comment

Comments

@loopyd
Copy link

loopyd commented Nov 23, 2024

Following instructions in docker/README.md:

docker build -t interpany:v0 -f docker/Dockerfile .
136.1 ERROR: Ignored the following versions that require a different python version: 1.2.0 Requires-Python >=3.9; 1.2.1 Requires-Python >=3.9; 1.2.1rc1 Requires-Python >=3.9; 1.3.0 Requires-Python >=3.9; 1.3.1 Requires-Python >=3.10; 1.9.0 Requires-Python >=3.9; 2.36.0 Requires-Python >=3.9; 3.1.0 Requires-Python >=3.9
136.1 ERROR: Could not find a version that satisfies the requirement install==1.3.5 (from versions: none)
136.1 ERROR: No matching distribution found for install==1.3.5
------
Dockerfile:35
--------------------
  34 |     COPY . /InterpAny-Clearer
  35 | >>> RUN source ~/.bashrc \
  36 | >>>     && cd /InterpAny-Clearer \
  37 | >>>     && conda create -n InterpAny python=3.8 -y\
  38 | >>>     && source activate InterpAny \
  39 | >>>     && pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu116 \
  40 | >>>     && pip install -r requirements.txt \
  41 | >>>     && conda clean -y --all\
  42 | >>>     && pip cache purge 
  43 |     
--------------------
ERROR: failed to solve: process "/bin/bash -c source ~/.bashrc     && cd /InterpAny-Clearer     && conda create -n InterpAny python=3.8 -y    && source activate InterpAny     && pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu116     && pip install -r requirements.txt     && conda clean -y --all    && pip cache purge" did not complete successfully: exit code: 1

@loopyd loopyd changed the title [Bug] Faling docker image [Bug] Failing docker image build Nov 23, 2024
@loopyd
Copy link
Author

loopyd commented Nov 24, 2024

I have progressed further in hacking away on my own fork to support cuda12.6-cudnn-devel-ubuntu22.04 image in python 3.11 on pytorch 2.1.5 with proper environment.yml and updated docker image, however:

Dockerfile:43
--------------------
  42 |     # Download pretrained models
  43 | >>> RUN wget https://pjlab-3090-sport.oss-cn-beijing.aliyuncs.com/downloads/InterpAny-Clearer/checkpoints.tar.gz\
  44 | >>>     && tar -zxvf checkpoints.tar.gz \
  45 | >>>     && rm checkpoints.tar.gz
  46 |     
--------------------

ERROR: failed to solve: process "/bin/bash -c wget https://pjlab-3090-sport.oss-cn-beijing.aliyuncs.com/downloads/InterpAny-Clearer/checkpoints.tar.gz    && tar -zxvf checkpoints.tar.gz     && rm checkpoints.tar.gz" did not complete successfully: exit code: 8

Poor 404 error....fingers crossed the checkpoints get hosted. I have method to get those from gdrive but not the original files...I made work in modern pytorch and solved dependency for it! Someone host.

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