File size: 862 Bytes
39adccb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
library_name: diffusers
tags:
- fp8
- safetensors
- converted-by-gradio
---
# FP8 Model Conversion
- **Source**: `https://huggingface.co/ChenDY/NitroFusion`
- **Original File(s)**: `nitrosd-realism_comfyui.safetensors`
- **Original Format**: `safetensors`
- **FP8 Format**: `E4M3FN`
- **FP8 File**: `nitrosd-realism_comfyui-fp8-e4m3fn.safetensors`

## Usage
```python
from safetensors.torch import load_file
import torch

# Load FP8 model
fp8_state = load_file("nitrosd-realism_comfyui-fp8-e4m3fn.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.

## Statistics
- **Total tensors**: 2513
- **Converted to FP8**: 2513
- **Skipped (non-float)**: 0