uv run --with mlx-vlm \
python -m mlx_vlm.generate \
--model Qwen/Qwen2-VL-2B-Instruct \
--max-tokens 1000 \
--temp 0.0 \
--image django-roadmap.png \
--prompt "Describe image in detail, include all text"
Output:
...
Fetching 11 files: 100%|███████████████████████████████████████████████████████████████████████| 11/11 [00:00<00:00, 15871.12it/s]
==========
Image: django-roadmap.png
Prompt: <|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
<|vision_start|><|image_pad|><|vision_end|>Describe image in detail, include all text<|im_end|>
<|im_start|>assistant
And then:
The image is a horizontal timeline chart that represents the release dates of various software versions. The timeline is divided into years from 2023 to 2029, with each year represented by a vertical line. The chart includes a legend at the bottom, which distinguishes between different types of software versions.
-
Mainstream Support:
- 4.2 (2023)
- 5.0 (2024)
- 5.1 (2025)
- 5.2 (2026)
- 6.0 (2027)
- 6.1 (2028)
- 6.2 (2029)
- 7.0 (2029)
-
Extended Support:
- LTS (Long-Term Support) (2027)
- LTS (2028)
- LTS (2029)
-
2023:
- 4.2 (Mainstream Support)
- 5.0 (Mainstream Support)
- 5.1 (Mainstream Support)
- 5.2 (Mainstream Support)
- 6.0 (Extended Support)
- 6.1 (Extended Support)
- 6.2 (Extended Support)
- 7.0 (Extended Support)
-
2024:
- 5.0 (Mainstream Support)
- 5.1 (Mainstream Support)
- 5.2 (Mainstream Support)
- 6.0 (Extended Support)
- 6.1 (Extended Support)
- 6.2 (Extended Support)
- 7.0 (Extended Support)
-
2025:
- 5.1 (Mainstream Support)
- 5.2 (Mainstream Support)
- 6.0 (Extended Support)
- 6.1 (Extended Support)
- 6.2 (Extended Support)
- 7.0 (Extended Support)
-
2026:
- 5.2 (Mainstream Support)
- 6.0 (Extended Support)
- 6.1 (Extended Support)
- 6.2 (Extended Support)
- 7.0 (Extended Support)
-
2027:
- 6.0 (Extended Support)
- 6.1 (Extended Support)
- 6.2 (Extended Support)
- 7.0 (Extended Support)
-
2028:
- 6.2 (Extended Support)
- 7.0 (Extended Support)
-
2029:
- 7.0 (Extended Support)
The chart shows the release dates of software versions from 2023 to 2029. The LTS (Long-Term Support) versions are marked with a LTS label, indicating that these versions are designed to be supported for a long period, typically 5 years. The Mainstream Support versions are marked with a Mainstream Support label, indicating that these versions are supported for a shorter period, typically 3 years.
The chart provides a clear and organized representation of the software release cycles, highlighting the main and extended support versions. The LTS versions are the most significant, as they are designed to be supported for a longer period, while the Mainstream Support versions are designed for a shorter period.
==========
Prompt: 20.466 tokens-per-sec
Generation: 17.467 tokens-per-sec