lorax icon indicating copy to clipboard operation
lorax copied to clipboard

Can the basemodel be loaded directly from the local system without connecting to Hugging Face? It cannot be launched because there is no connection.

Open Loovelj opened this issue 1 year ago • 3 comments

Model description

model=Qwen/Qwen-7B-Chat volume=/hub_models/Qwen-7B-Chat/ docker run --gpus=1 --shm-size 1g -p 8080:80 -v $volume:/data \ ghcr.nju.edu.cn/predibase/lorax:latest --model-id $model

if load the local base model directly will be very well

Open source status

  • [ ] The model implementation is available
  • [ ] The model weights are available

Provide useful links for the implementation

No response

Loovelj avatar Feb 20 '24 10:02 Loovelj

Hi @Loovelj, can you provide the exact error message(s) you're running into?

It also looks like you're setting $model to be a HF-like model name. Can you try setting it to an absolute local path and seeing if that helps?

jeffreyftang avatar Feb 22 '24 20:02 jeffreyftang

Referen It didn't work, model must repo_name huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '

Loovelj avatar Feb 27 '24 02:02 Loovelj

I am facing the same situation, need to load model from local directory. Is any solution found for this?

nirvitarka avatar Oct 07 '24 06:10 nirvitarka