Model reference · open weights
fuyu is an open-weight language model from adept. fuyu-8b (BF16) weighs 18.8 GB; the smallest configuration that runs it is 2× RTX 4060 Ti 16 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the adept/fuyu-8b model card, 2026-10-01
What it is
| Released by | adept |
|---|---|
| Released | 2023-10-17 |
| Parameters | 9.4B |
| VRAM | 18.8 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 8K each | |||
| RTX 3060 12 GB … RTX 4060 Ti 16 GB 2 smaller cards | |||
| RTX 3090 24 GB | 6K | 23.4 GB | |
| RTX 4090 24 GB | 6K | 23.4 GB | |
| RTX 5090 32 GB | 2 | all 16K | 31.0 GB |
| L40S 48 GB | 5 | all 16K | 44.0 GB |
| A100 80 GB | 12 | all 16K | 78.2 GB |
| H100 80 GB | 10 | all 16K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 14 | all 16K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 16 | all 16K | 107 GB |
| H200 141 GB | 23 | all 16K | 138 GB |
| B200 180 GB | 31 | all 16K | 176 GB |
| 2× RTX 4060 Ti 16 GB tensor parallel | 2 | all 16K | 15.4 GB a card |
| 2× RTX 5090 32 GB tensor parallel | 8 | all 16K | 31.0 GB a card |
| 2× L40S 48 GB tensor parallel | 13 | all 16K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel | 14 | all 16K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel | 14 | all 16K | 23.4 GB a card |
| Requests at once | 8K tokens each |
|---|---|
| 1 | 24.5 GB |
| 5 | 43.9 GB |
| 8 | 58.4 GB |
| 16 | 97.0 GB |
| 32 | 174 GB |
| 64 | 329 GB |
One card, with vLLM's small-card settings.
From the model card
We’re releasing Fuyu-8B, a small version of the multimodal model that powers our product. The model is available on HuggingFace. We think Fuyu-8B is exciting because:
Please note that the model we have released is a base model. We expect you to need to finetune the model for specific use cases like verbose captioning or multimodal chat. In our experience, the model responds well to few-shotting and fine-tuning for a variety of use-cases.
Fuyu-8B is a multi-modal text and image transformer trained by Adept AI.
Architecturally, Fuyu is a vanilla decoder-only transformer - there is no image encoder. Image patches are instead linearly projected into the first layer of the transformer, bypassing the embedding lookup. We simply treat the transformer decoder like an image transformer (albeit with no pooling and causal attention). See the below diagram for more details.
This simplification allows us to support arbitrary image resolutions. To accomplish this, we treat the sequence of image tokens like the sequence of text tokens. We remove image-specific position embeddings and feed in as many image tokens as necessary in raster-scan order. To tell the model when a line has broken, we simply use a special image-newline character. The model can use its existing position embeddings to reason about different image sizes, and we can use images of arbitrary size at training time, removing the need for separate high and low-resolution training stages.
Though not the focus of this model, we did evaluate it on standard image understanding benchmarks:
| Eval Task | Fuyu-8B | Fuyu-Medium | LLaVA 1.5 (13.5B) | QWEN-VL (10B) | PALI-X (55B) | PALM-e-12B | PALM-e-562B |
|---|---|---|---|---|---|---|---|
| VQAv2 | 74.2 | 77.4 | 80 | 79.5 | 86.1 | 76.2 | 80.0 |
| OKVQA | 60.6 | 63.1 | n/a | 58.6 | 66.1 | 55.5 | 66.1 |
| COCO Captions | 141 | 138 | n/a | n/a | 149 | 135 | 138 |
| AI2D | 64.5 | 73.7 | n/a | 62.3 | 81.2 | n/a | n/a |
You can load the model and perform inference as follows:
from transformers import FuyuProcessor, FuyuForCausalLM
from PIL import Image
import requests
# load model and processor
model_id = "adept/fuyu-8b"
processor = FuyuProcessor.from_pretrained(model_id)
model = FuyuForCausalLM.from_pretrained(model_id, device_map="cuda:0")
# prepare inputs for the model
text_prompt = "Generate a coco-style caption.\n"
url = "https://huggingface.co/adept/fuyu-8b/resolve/main/bus.png"
image = Image.open(requests.get(url, stream=True).raw)
inputs = processor(text=text_prompt, images=image, return_tensors="pt").to("cuda:0")
# autoregressively generate text
generation_output = model.generate(**inputs, max_new_tokens=7)
generation_text = processor.batch_decode(generation_output[:, -7:], skip_special_tokens=True)
assert generation_text == ['A blue bus parked on the side of a road.']
N.B.: The token |SPEAKER| is a placeholder token for image patch embeddings, so it will show up in the model context (e.g., in the portion of generation_output representing the model context).
|NEWLINE| is the "image newline" token, denoting new rows in the raster scan order input of the image patches.
\x04 is the "beginning of answer" token.
Fuyu can also perform some question answering on natural images and charts/diagrams (thought fine-tuning may be required for good performance):
text_prompt = "What color is the bus?\n"
url = "https://huggingface.co/adept/fuyu-8b/resolve/main/bus.png"
image = Image.open(requests.get(url, stream=True).raw)
inputs = processor(text=text_prompt, images=image, return_tensors="pt").to("cuda:0")
generation_output = model.generate(**inputs, max_new_tokens=6)
generation_text = processor.batch_decode(generation_output[:, -6:], skip_special_tokens=True)
assert generation_text == ["The bus is blue.\n"]
text_prompt = "What is the highest life expectancy at birth of male?\n"
url = "https://huggingface.co/adept/fuyu-8b/resolve/main/chart.png"
image = Image.open(requests.get(url, stream=True).raw)
model_inputs = processor(text=text_prompt, images=image, return_tensors="pt").to("cuda:0")
generation_output = model.generate(**model_inputs, max_new_tokens=16)
generation_text = processor.batch_decode(generation_output[:, -16:], skip_special_tokens=True)
assert generation_text == ["The life expectancy at birth of males in 2018 is 80.7.\n"]
For best performance, it's recommended to end questions with \n, as shown above!
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.