Image-Text-to-Text
Transformers
Safetensors
mistral3
mistral-common
Pixtral-Large
124B
Safetensors
llama.cpp
Image-Text-to-Text
Multi-Modal
Vision
2026
Inference
conversational
Instructions to use EnlistedGhost/Pixtral-Large-Instruct-2411-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EnlistedGhost/Pixtral-Large-Instruct-2411-hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="EnlistedGhost/Pixtral-Large-Instruct-2411-hf") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("EnlistedGhost/Pixtral-Large-Instruct-2411-hf") model = AutoModelForMultimodalLM.from_pretrained("EnlistedGhost/Pixtral-Large-Instruct-2411-hf", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EnlistedGhost/Pixtral-Large-Instruct-2411-hf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Install mistral-common: pip install --upgrade mistral-common # Start the vLLM server: vllm serve "EnlistedGhost/Pixtral-Large-Instruct-2411-hf" --tokenizer_mode mistral --config_format mistral --load_format mistral --tool-call-parser mistral --enable-auto-tool-choice # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EnlistedGhost/Pixtral-Large-Instruct-2411-hf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/EnlistedGhost/Pixtral-Large-Instruct-2411-hf
- SGLang
How to use EnlistedGhost/Pixtral-Large-Instruct-2411-hf 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 "EnlistedGhost/Pixtral-Large-Instruct-2411-hf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EnlistedGhost/Pixtral-Large-Instruct-2411-hf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "EnlistedGhost/Pixtral-Large-Instruct-2411-hf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EnlistedGhost/Pixtral-Large-Instruct-2411-hf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use EnlistedGhost/Pixtral-Large-Instruct-2411-hf with Docker Model Runner:
docker model run hf.co/EnlistedGhost/Pixtral-Large-Instruct-2411-hf
Initial Upload Batch_08 of Safetensor File(s)
Browse files
.gitattributes
CHANGED
|
@@ -40,3 +40,9 @@ model-00039-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
| 40 |
model-00040-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 41 |
model-00041-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 42 |
model-00042-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
model-00040-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 41 |
model-00041-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 42 |
model-00042-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
model-00043-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
model-00044-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
model-00045-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
model-00046-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
model-00047-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
model-00050-of-00052.safetensors filter=lfs diff=lfs merge=lfs -text
|
model-00043-of-00052.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2390076a1035012086880648ee9cbc9a6f3407ac411bf79ebef557641964fc69
|
| 3 |
+
size 4831889376
|
model-00044-of-00052.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:785ba85d22ecc3d3b6b62dbcb1e843e57fa57bf0bba7877e15f5d3fda9f6100f
|
| 3 |
+
size 4831938792
|
model-00045-of-00052.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f6470663d2e7c12a1af0f1c54fb2fb5176de2d47de0e6ee06bb652738ee3421
|
| 3 |
+
size 4831938800
|
model-00046-of-00052.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f28328f36a9ac4a470716488589812b656badad04877e4bfec2288660771fd9
|
| 3 |
+
size 4882270040
|
model-00047-of-00052.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4450bdb8aac77ef388cb192dbd78a949aa18d7e2800ce112d00894a31466b7ec
|
| 3 |
+
size 4831889376
|
model-00050-of-00052.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f82b2ff1de31179a329a70ca8bba032f07920136307cc664ddb638557f50e57
|
| 3 |
+
size 4882270040
|