waveshaker commited on
Commit
502d677
·
verified ·
1 Parent(s): a06528f

Update model_config.py

Browse files
Files changed (1) hide show
  1. model_config.py +26 -1
model_config.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  # 设为 False 则加载全部模型 (生产模式)
6
  # ==========================================================================
7
  DEV_MODE = True
8
- DEV_TARGET_MODEL = ["anima"]
9
 
10
  # ==========================================================================
11
  # 🛠️ 环境开关 (动态控制 Gradio UI 是否开启)
@@ -35,6 +35,31 @@ MODEL_CONFIG = {
35
 
36
  # === Base Model Config ===
37
  "models": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  "moss": {
39
  "name": "Moss-Image-SFT",
40
  # -- Shared TE & VAE --
 
5
  # 设为 False 则加载全部模型 (生产模式)
6
  # ==========================================================================
7
  DEV_MODE = True
8
+ DEV_TARGET_MODEL = ["dev_anima"]
9
 
10
  # ==========================================================================
11
  # 🛠️ 环境开关 (动态控制 Gradio UI 是否开启)
 
35
 
36
  # === Base Model Config ===
37
  "models": {
38
+ # ==========================================
39
+ # 🌟 专属测试环境 (Int4 极简版)
40
+ # ==========================================
41
+ "dev_anima": {
42
+ "name": "Anima-Dev-Test",
43
+ "companion_downloads": [
44
+ # 极简 TE 和 VAE
45
+ ("waveshaker/comfy_models", "anima/text_encoders/Qwen3-0.6B_base-int8_convrot.safetensors"),
46
+ ("waveshaker/comfy_models", "anima/vae/qwen_image_vae.safetensors"),
47
+ ],
48
+ "local_te_filename": ["Qwen3-0.6B_base-int8_convrot.safetensors"],
49
+ "local_vae_filename": "qwen_image_vae.safetensors",
50
+ "clip_type": "stable_diffusion",
51
+ "char_lora_prefix": "anima/",
52
+ "defaults": { "steps": 4, "cfg": 1.0, "sampler": "euler", "scheduler": "simple" },
53
+
54
+ "fallback_unets": {
55
+ "Anima Int4 Convrot MSE": {
56
+ "repo": "waveshaker/comfy_models",
57
+ "subfolder": "anima/diffusion_models",
58
+ "filename": "animaINT4Quants_int4ConvrotMSE.safetensors" # 🌟 这里填你截图里的真实文件名
59
+ }
60
+ },
61
+ "fallback_base_loras": {} # 测试环境不需要任何 LoRA,直接裸跑
62
+ },
63
  "moss": {
64
  "name": "Moss-Image-SFT",
65
  # -- Shared TE & VAE --