Run this model with HF Jobs

Run Qwen/Qwen3-VL-8B-Instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

fast_pos_embed_interpolate function not handling pos embeds properly for batch size > 1

#15
by jvv7 - opened

When I use batch size except 1, I am getting the following error:
Traceback (most recent call last):
.venv/lib/python3.11/site-packages/transformers/models/qwen3_vl/modeling_qwen3_vl.py", line 717, in forward
hidden_states = hidden_states + pos_embeds
~~~~~~~~~~~~~~^~~~~~~~~~~~
RuntimeError: The size of tensor a (batch_size) must match the size of tensor b (8192) at non-singleton dimension 0

Sign up or log in to comment