How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="AaryanK/GLM-4.6V-Flash-GGUF",
	filename="",
)
llm.create_chat_completion(
	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"
					}
				}
			]
		}
	]
)

GLM-4.6V-Flash-GGUF

This repository contains GGUF format quantizations of zai-org/GLM-4.6V-Flash.

Model Introduction

GLM-4.6V-Flash is a lightweight multimodal model (9B parameters) optimized for local deployment and low-latency applications, part of the GLM-V family. It features a 128k context window and achieves state-of-the-art performance in visual understanding among models of similar scale.

Key features include:

  • 9B Parameters (MoE): Optimized for efficiency.
  • Native Multimodal Function Calling: Can process images/screenshots directly as tool inputs.
  • Interleaved Image-Text Generation: Supports complex multimodal contexts.
  • Document Understanding: Processes up to 128K tokens of multi-document inputs.

Usage

Note: This model uses the Glm4vMoe architecture. Please ensure you are using the latest version of llama.cpp to ensure compatibility.

Example with llama.cpp

./llama-cli -m GLM-4.6V-Flash-Q4_K_M.gguf --mmproj GLM-4.6V-Flash-mmproj-model-f16.gguf -p "Describe this image" --image your_image.jpg
Downloads last month
817
GGUF
Model size
9B params
Architecture
glm4
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for AaryanK/GLM-4.6V-Flash-GGUF

Quantized
(46)
this model