Downloads · 30 days
5
42% of all-time downloads
codemichaeld/qwen3.5_2b_fp8
qwen3.5_2b_fp8 is a machine learning model from codemichaeld. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for diffusers.
- Source: https://huggingface.co/Comfy-Org/Qwen3.5/textencoders - Original File(s): qwen3.52bbf16.safetensors - Original Format: safetensors - FP8 Format: E5M2 - FP8 File: qwen3.52bbf16-fp8-e5m2.safetensors
Downloads · 30 days
5
42% of all-time downloads
All-time downloads
12
Public
Repo size
2.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors2.3 GB · 100%
From the Hugging Face model README
https://huggingface.co/Comfy-Org/Qwen3.5/text_encodersqwen3.5_2b_bf16.safetensorssafetensorsE5M2qwen3.5_2b_bf16-fp8-e5m2.safetensorsfrom safetensors.torch import load_file
import torch
# Load FP8 model
fp8_state = load_file("qwen3.5_2b_bf16-fp8-e5m2.safetensors")
# Convert tensors back to float32 for computation (auto-converted by PyTorch)
model.load_state_dict(fp8_state)
Note: FP8 tensors are automatically converted to float32 when loaded in PyTorch. Requires PyTorch ≥ 2.1 for FP8 support.