Downloads · 30 days
0
WeReCooking2/FE2E-INT8
FE2E-INT8 is a depth estimation model from WeReCooking2. Use it for the depth estimation task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Pre-quantized INT8 model for FE2E (CVPR 2026) monocular depth + surface normal estimation from a single image.
Downloads · 30 days
0
Access
Public
Updated May 22, 2026
Repo size
12.8 GB
Likes
0
Public
Click a slice to open those files.
.pt12.8 GB · 100%
From the Hugging Face model README
Pre-quantized INT8 model for FE2E (CVPR 2026) monocular depth + surface normal estimation from a single image.
Demo Space: WeReCooking2/FE2E-CPU
| File | Size | Description |
|---|---|---|
dit_int8_full.pt | 12.4 GB | Step1X-Edit DiT (12.4B params) + LDRN LoRA merged, dynamic INT8 quantized |
vae_full.pt | 335 MB | AutoEncoder, FP32 |
Both files are saved with torch.save(model) (full model, not state_dict). Load with torch.load(..., mmap=True) to avoid doubling memory.
step1x-edit-i1258.safetensors) on GPUtorch.quantization.quantize_dynamic (INT8 on all nn.Linear layers)torch.save(model)import torch
dit = torch.load("dit_int8_full.pt", map_location="cpu", weights_only=False, mmap=True)
vae = torch.load("vae_full.pt", map_location="cpu", weights_only=False, mmap=True)
Requires ~12 GB RAM with mmap loading.
| Platform | Time per image |
|---|---|
| GPU (RTX 5090, FP8 original) | ~2s |
| CPU (HF free Space, INT8) | ~29 min (768x1024) |
Single denoise step, outputs both depth and surface normal maps simultaneously.
No ONNX: PyTorch dynamo exporter produces a broken graph (100% NaN output).