File size: 1,077 Bytes
fe5070c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ───────── core inference stack ─────────
torch==2.6.0          # install the CUDA wheel that matches your driver ✱
bitsandbytes>=0.45.2  # 0.45.2 adds official PyTorch-2.6 support :contentReference[oaicite:0]{index=0}
transformers==4.51.3  # version Unsloth 2025.3.19 is patched for :contentReference[oaicite:1]{index=1}
accelerate>=0.29.3
unsloth==2025.3.19    # LoRA loader / fast-Qwen runtime :contentReference[oaicite:2]{index=2}
xformers==0.0.29.post2

# ───────── SVG β†’ PNG rendering ─────────
cairosvg==2.7.1
Pillow>=10.0.0

# ───────── similarity metrics ──────────
lpips==0.1.4          # perceptual distance metric :contentReference[oaicite:3]{index=3}
git+https://github.com/openai/CLIP.git  # CLIP ViT-L/14 encoder

# ───────── demo UI ─────────
gradio>=4.26.0        # any 4.x is fine

# ───────── misc utils ─────────
tqdm>=4.66.0
sentencepiece>=0.1.99  # Qwen tokenizer dep