You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
volume=$PWD/data # share a volume with the Docker container to avoid downloading weights every run
docker run -e HF_HUB_OFFLINE=1 --gpus all --shm-size 1g -p 5050:80 -v $volume:/data
ghcr.io/huggingface/text-generation-inference:2.2.0
--model-id $model
I get the following error:
huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/data/home/[REDACTED]/Development/HuggingFace-TGI/OpenHermes'. Use repo_type argument if needed.
Error: DownloadError
Does anyone know why my model is not being recognized? My end goal is to build a docker container which can serve this model upon spinup to the port indicated by the container.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all, I am trying to use huggingface TGI with a local model linked here https://huggingface.co/teknium/OpenHermes-2.5-Mistral-7B., however, after running the following script:
model=/data/home/[REDACTED]/Development/HuggingFace-TGI/OpenHermes
volume=$PWD/data # share a volume with the Docker container to avoid downloading weights every run
docker run -e HF_HUB_OFFLINE=1 --gpus all --shm-size 1g -p 5050:80 -v $volume:/data
ghcr.io/huggingface/text-generation-inference:2.2.0
--model-id $model
I get the following error:
huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/data/home/[REDACTED]/Development/HuggingFace-TGI/OpenHermes'. Use repo_type argument if needed.
Error: DownloadError
Does anyone know why my model is not being recognized? My end goal is to build a docker container which can serve this model upon spinup to the port indicated by the container.
Beta Was this translation helpful? Give feedback.
All reactions