https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…
Open-weight model · Visual question answering
DeepSeekVL-7B-Chat-fire
by Gaoqie gaoqie/DeepSeekVL-7B-Chat-fire
DeepSeekVL-7B-Chat-fire is an open-weight model for visual question answering from Gaoqie, released under Apache License 2.0. It has 7.3B parameters and a 16,384-token context. At 16-bit it needs about 17.6 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 8 downloads a month.
https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection.
Runs On
What it takes to serve DeepSeekVL-7B-Chat-fire (7.3B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 14.7 GB | 17.6 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 7.3 GB | 8.8 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 3.7 GB | 4.4 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 21, 2026.
DeepSeekVL-7B-Chat-fire on every accelerator the SAVRN Index prices, at every precision
Model Card
By Gaoqie, published under apache-2.0, revision fd57b03a5e0c.
https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…
Read Gaoqie's full model card
Using Multimodal Large Language Models for False Alarm Reduction in Image-based Fire Detection
https://doi.org/10.1007/s10694-026-02000-3
Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the design of three switchable reasoning modes (Detailed, Quick, and Rapid) to achieve inference acceleration via CoT compression. We fine-tuned Qwen2-VL-7B-Instruct on a multi-grained instruction dataset via Low-Rank Adaptation. This process internalizes explicit reasoning logic into implicit parameter representations, enabling the model to maintain robust reasoning capability even without explicit CoT guidance. On our newly constructed benchmark incorporating real-world hard negatives, Flash-Cascade achieves an accuracy of 97.79% and an F1-score of 0.9767 in Rapid mode, outperforming the baseline by 61.63 percentage points (pp) and 0.5152, respectively. Furthermore, it outperforms the state-of-the-art object detector DEIMv2 by 14.64 pp in accuracy. The method exhibits exceptional sample efficiency, converging with only 600 samples and 2 epochs, and improves inference speed by 810% over standard CoT. This study will open a door for robust and efficient flame detection in high-interference scenarios.
1. Quick Start
-
Installation
For installation instructions, please refer to deepseek-ai/deepseek-vl-7b-chat.
-
Simple Inference Example
import torch
from transformers import AutoModelForCausalLM
from PIL import Image
from deepseek_vl.models import VLChatProcessor, MultiModalityCausalLM
from deepseek_vl.utils.io import load_pil_images
import os
# specify the path to the model
model_path = "" # */gaoqie/DeepSeekVL-7B-Chat-fire
vl_chat_processor: VLChatProcessor = VLChatProcessor.from_pretrained(model_path)
tokenizer = vl_chat_processor.tokenizer
vl_gpt: MultiModalityCausalLM = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True,low_cpu_mem_usage=True,
torch_dtype=torch.bfloat16,
device_map="auto")
vl_gpt = vl_gpt.eval()
def infer(img_path):
# 模式1
messages = [
{
"role": "User",
"content": f"<image_placeholder>图像中是否存在火焰?详细分析。",
"images": [f"{img_path}"]
},
{
"role": "Assistant",
"content": ""
}
]
# 模式2
messages = [
{
"role": "User",
"content": f"<image_placeholder>图像中是否存在火焰?简单回答。",
"images": [f"{img_path}"]
},
{
"role": "Assistant",
"content": ""
}
]
# 模式3
messages = [
{
"role": "User",
"content": f"<image_placeholder>图像中是否存在火焰?快速回答。",
"images": [f"{img_path}"]
},
{
"role": "Assistant",
"content": ""
}
]
# load images and prepare for inputs
pil_images = load_pil_images(messages)
prepare_inputs = vl_chat_processor(
conversations=messages,
images=pil_images,
force_batchify=True
).to(vl_gpt.device)
# run image encoder to get the image embeddings
inputs_embeds = vl_gpt.prepare_inputs_embeds(**prepare_inputs)
# run the model to get the response
outputs = vl_gpt.language_model.generate(
inputs_embeds=inputs_embeds,
attention_mask=prepare_inputs.attention_mask,
pad_token_id=tokenizer.eos_token_id,
bos_token_id=tokenizer.bos_token_id,
eos_token_id=tokenizer.eos_token_id,
max_new_tokens=512,
do_sample=False,
use_cache=True
)
output_text = tokenizer.decode(outputs[0].cpu().tolist(), skip_special_tokens=True)
print(output_text)
image_path = ""
infer(image_path)
2. License
This code repository is licensed under the Apache license 2.0.
3. Citation
Configuration
- Architecture
- MultiModalityCausalLM
- Context length (tokens)
- 16,384
- Layers
- 30
- Hidden size
- 4,096
- Vocabulary size
- 102,400
- Stored precision
- bfloat16
- Model type
- multi_modality
Identity and Version
- Repository
- gaoqie/DeepSeekVL-7B-Chat-fire
- Publisher
- Gaoqie
- Task
- Visual question answering
- Modality
- Other
- Library
- Not stated by the source
- Parameters
- 7.3B parameters
- Languages
- zh
- Revision
- fd57b03a5e0c25e03b1eb3476f1d5623779238c5
- First published
- 2026-02-04
- Last updated
- 2026-09-21
Files and Weights
12 files, 14.7 GB in total. The weights are 3 files totalling 14.7 GB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model-00001-of-00003.safetensors | Weights | 5.0 GB | 9949d4c08fd8 |
| model-00002-of-00003.safetensors | Weights | 5.0 GB | d96b6e94a1a6 |
| model-00003-of-00003.safetensors | Weights | 4.8 GB | 1f40e0ad8482 |
| config.json | Configuration | 1.7 KB | — |
| model.safetensors.index.json | Configuration | 81.1 KB | — |
| preprocessor_config.json | Configuration | 389 B | — |
| processor_config.json | Configuration | 210 B | — |
| special_tokens_map.json | Configuration | 433 B | — |
| README.md | Documentation | 5.1 KB | — |
| .gitattributes | Repository | 1.5 KB | — |
| tokenizer.json | Tokenizer | 7.5 MB | — |
| tokenizer_config.json | Tokenizer | 3.3 KB | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 14.7 GB
Released by Gaoqie through its official repository on Hugging Face. Read the license.
Built From
- Derived from deepseek-ai/deepseek-vl-7b-chat
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 14.7 GB |
| 16-bit | 14.7 GB |
| 8-bit | 7.3 GB |
| 4-bit | 3.7 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About DeepSeekVL-7B-Chat-fire
How much GPU memory does DeepSeekVL-7B-Chat-fire need?
About 17.6 GB at 16-bit and 4.4 GB at 4-bit: the weights (7.3B parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run DeepSeekVL-7B-Chat-fire on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use DeepSeekVL-7B-Chat-fire commercially?
Yes. DeepSeekVL-7B-Chat-fire is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
What is DeepSeekVL-7B-Chat-fire's context length?
16,384 tokens, from the maximum position embeddings in its published configuration.
Similar Models
https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…
https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…
https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…
https://www.doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…