Instructions to use TheBloke/guanaco-65B-GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/guanaco-65B-GPTQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TheBloke/guanaco-65B-GPTQ")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TheBloke/guanaco-65B-GPTQ") model = AutoModelForCausalLM.from_pretrained("TheBloke/guanaco-65B-GPTQ") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use TheBloke/guanaco-65B-GPTQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheBloke/guanaco-65B-GPTQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheBloke/guanaco-65B-GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TheBloke/guanaco-65B-GPTQ
- SGLang
How to use TheBloke/guanaco-65B-GPTQ with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "TheBloke/guanaco-65B-GPTQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheBloke/guanaco-65B-GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "TheBloke/guanaco-65B-GPTQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheBloke/guanaco-65B-GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TheBloke/guanaco-65B-GPTQ with Docker Model Runner:
docker model run hf.co/TheBloke/guanaco-65B-GPTQ
FileNotFoundError: Could not find model in TheBloke/guanaco-65B-GPTQ
1
#28 opened almost 3 years ago
by
muneerhanif7
Not able to load the model!
#27 opened almost 3 years ago
by
akkasi
Not loading after latest config changes?
1
#26 opened almost 3 years ago
by
LLLLMAfficionado
runpod lora training problem
#24 opened almost 3 years ago
by
evan624
Having Issues Loading in Runpod
3
#23 opened almost 3 years ago
by
DominicLambeth
Training in Runpod environment
10
#22 opened almost 3 years ago
by
iiitaiii
Out of memory on two 3090
4
#21 opened almost 3 years ago
by
gameveloster
Is it possible to split the 34G model into several pieces?
#20 opened almost 3 years ago
by
kirp
How do I consume the successfully running pod with your one click UI template through an API
8
#18 opened almost 3 years ago
by
gr8ston
why TheBloke/guanaco-65B-GPTQ run slow even on 80GB GPU
12
#17 opened almost 3 years ago
by
balajivantari
Not able to load via transformers
5
#16 opened almost 3 years ago
by
balu548411
not enough memory
2
#15 opened almost 3 years ago
by
nikocraft
RuntimeError
1
#14 opened almost 3 years ago
by
xzqxnet
how to fine tune guanaco and run on multi core cpu (>32 cores)?
1
#13 opened almost 3 years ago
by
Tarun1986
error when uing the text-generation-webui api with the model
1
#12 opened almost 3 years ago
by
carlosbdw
Could provide a demo python file?
2
#11 opened almost 3 years ago
by
carlosbdw
Is there a way to finetune the model?
❤️ 1
3
#9 opened almost 3 years ago
by
Trinad
How to run it ?
1
#7 opened almost 3 years ago
by
carlosbdw
Using the text-generation-webui api with the model
11
#6 opened almost 3 years ago
by
Hovav
issues on runpod
4
#5 opened almost 3 years ago
by
matthewberman
can you load the provided safetensors with AutoModelForCausalLM.from_pretrained?
13
#4 opened almost 3 years ago
by
shawei3000
You're blazing fast!
❤️ 5
9
#1 opened about 3 years ago
by
Thireus