-
Notifications
You must be signed in to change notification settings - Fork 130
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
when i try to deploy wfaster-whisper-server in offline server, docker run problem came up #127
Comments
I don't think you've included the full docker command in your description, as it doesn't have the image name. Are you using your own image or the one from Docker Hub? |
784630b8bc0a is the image id of faster-whisper-server:latest-cuda, i am using the one form Doceker hub. i think the issus is that the when i run the docker image, it automatically execute |
Seeing the same issue as well. I like making my docker stacks use an isolated network to be sure no accidental data leaks. Supporting offline mode would be very useful. |
@fedirz .. I think the root cause is because there are package dependencies in pyproject.toml that are not in the Dockerfile hence an attempt is made to download them which fails in offline deployments. e.g. hatchling, piper-phonemize etc. |
(base) [root@app2 ~]# docker run --gpus all -p 1080:8000 -v /app:/root/.cache/huggingface/ 784630b8bc0a
==========
== CUDA ==
CUDA Version 12.2.2
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
error: Failed to prepare distributions
Caused by: Failed to fetch wheel: faster-whisper-server @ file:///root/faster-whisper-server
Caused by: Failed to install requirements from
build-system.requires
(resolve)Caused by: No solution found when resolving: hatchling
Caused by: Could not connect, are you offline?
Caused by: Request failed after 3 retries
Caused by: error sending request for url (https://pypi.org/simple/hatchling/)
Caused by: client error (Connect)
Caused by: dns error: failed to lookup address information: Try again
Caused by: failed to lookup address information: Try again
The text was updated successfully, but these errors were encountered: