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

some package in docker image building file seems outdated #204

Open
JKYang01 opened this issue Feb 15, 2024 · 2 comments
Open

some package in docker image building file seems outdated #204

JKYang01 opened this issue Feb 15, 2024 · 2 comments

Comments

@JKYang01
Copy link

JKYang01 commented Feb 15, 2024

My cuda version is 12.2 I cannot find the base image nvidia/cuda:12.2-cunn8-devel-ubuntu22.04 so I installed with nvidia/cuda:12.2.2-devel-ubuntu22.04 instead
in the next steps I encountered the following error:

164.1 Installed /usr/local/lib/python3.10/dist-packages/qudida-0.0.4-py3.10.egg
164.1 error: fsspec 2023.1.0 is installed but fsspec>=2023.5.0 is required by {'huggingface-hub'}
------
Dockerfile:19
--------------------
  17 |     WORKDIR /workspace/nougat
  18 |     
  19 | >>> RUN python3 setup.py install
  20 |     
  21 |     EXPOSE 8503
--------------------
ERROR: failed to solve: process "/bin/sh -c python3 setup.py install" did not complete successfully: exit code: 1
198.4 Installed /usr/local/lib/python3.10/dist-packages/tifffile-2024.2.12-py3.10.egg
198.4 error: networkx 2.6.3 is installed but networkx>=2.8 is required by {'scikit-image'}
------
Dockerfile:19
--------------------
  17 |     WORKDIR /workspace/nougat
  18 |     
  19 | >>> RUN python3 setup.py install
  20 |     
  21 |     EXPOSE 8503
--------------------
ERROR: failed to solve: process "/bin/sh -c python3 setup.py install" did not complete successfully: exit code: 1

also I got a lot of warning message saying
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: python-headless-3.4.10.37 is an invalid version and will not be supported in a future release
is this normal?

@JKYang01
Copy link
Author

I tried to update those two packages to match the version and the image did build,
however when I try to run the image the new error come up:

docker run -it -d -p 5050:8503 --gpus all nougat_run
6c00e4782882c264b7ab63022b29dda2d80ae65a4f011f7e935f0169470fd3aa
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown

@fqassemi
Copy link

a fix is posted here:
#208

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

2 participants