-
Notifications
You must be signed in to change notification settings - Fork 79
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
Docker GPU install Error #20
Comments
Try to replace "apt install python3-packaging" to "apt-get install -y --no-install-recommends python3-packaging" in Dockerfile.gpu.server.
|
Thanks for the quick reply. So I tried replacing that line in the Dockerfile, and I still obtained an error on install during the load_models part... I will attempt to install with the other Dockerfile now.
|
Forget this Dockerfile.gpu.server, it has many bugs. Just use the Dockerfile I mentioned above. |
So I fixed my computer's permission issues, and I just tried the new Dockerfile. It seems the problem is persisting... Any tips on solving? |
Probably you have the issue with transformers version as mentioned in VikParuchuri/marker#318 |
@ediaz-biamp I prepared a marker-api Dockerfile https://github.com/cahya-wirawan/marker-api/blob/old-docker/docker/Dockerfile.gpu-ubuntu20.server And I created a simple web user interface for marker-api (which based also on the web ui of marker-api) https://hub.docker.com/repository/docker/wirawan/marker-ui |
Hey I'm having trouble installing the docker GPU image. I tried it yesterday and it was fine, but I had to re-install due to some compatibility errors with Obsidian. Today, it won't install at all... Here's the error info, please let me know how to fix. Thanks!
[+] Building 152.1s (12/12) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile.gpu.server 0.0s
=> => transferring dockerfile: 1.92kB 0.0s
=> [internal] load metadata for docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 0.4s
=> [auth] nvidia/cuda:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/7] FROM docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04@sha256:8f9dd0d09d3ad3900357a1cf7f887888b5b74056636cd6ef03c160c3cd4b1d95 0.0s
=> => resolve docker.io/nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04@sha256:8f9dd0d09d3ad3900357a1cf7f887888b5b74056636cd6ef03c160c3cd4b1d95 0.0s
=> [internal] load build context 1.3s
=> => transferring context: 79.93MB 1.3s
=> CACHED [2/7] RUN apt-get update && apt-get install -y --no-install-recommends wget curl unzip git python3 python3-pip libgl1 libglib2.0-0 0.0s
=> [3/7] RUN pip3 install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 89.6s
=> [4/7] WORKDIR /app 0.1s
=> [5/7] COPY ../ ./ 0.1s
=> [6/7] RUN pip3 install --no-cache-dir -e . 35.0s
=> ERROR [7/7] RUN python -c 'from marker.models import load_all_models; load_all_models()' 25.6s
Dockerfile.gpu.server:61
59 | RUN pip3 install --no-cache-dir -e .
60 |
61 | >>> RUN python -c 'from marker.models import load_all_models; load_all_models()'
62 |
63 | EXPOSE 8080
ERROR: failed to solve: process "/bin/sh -c python -c 'from marker.models import load_all_models; load_all_models()'" did not complete successfully: exit code: 1
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/rsc4z5o5u43zcoc69dk21y0b5
Unable to find image 'marker-api-gpu:latest' locally
docker: Error response from daemon: pull access denied for marker-api-gpu, repository does not exist or may require 'docker login'.
See 'docker run --help'.
The text was updated successfully, but these errors were encountered: