Spaces:
Sleeping

ArushBuilds commited on
Commit
f0c0e09
·
verified ·
1 Parent(s): 5286dfa

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +12 -13
config.py CHANGED
@@ -1,5 +1,5 @@
1
 
2
- use_liger=True
3
  xla_on_gpu=False
4
  # ---------------------------------------------------------------------------
5
  # Core shape -- chosen for GPU efficiency, not just "a number that fits"
@@ -13,7 +13,7 @@ bias = False
13
  d_rope = None
14
  top_k = 64
15
  moe_top_k = 2
16
-
17
 
18
 
19
  gradient_checkpointing = False
@@ -59,6 +59,10 @@ use_mtp = False
59
  mtp_depth = 1
60
  mtp_lambda = 0.1
61
  use_nvfp4 = False
 
 
 
 
62
  use_int8 = False
63
  int8_group_size = 128
64
  mod_budget_coeff = 0.05
@@ -66,10 +70,10 @@ mod_gate_entropy_coeff = 0.0
66
  mod_hard_eval = False
67
  use_flexattention = True
68
  numberoflayers = 16
69
- numberofheads = 8
70
  D_MODEL = 384
71
  ALPHA_COMPILE_MODE="reduce-overhead"
72
- num_kv_heads = 4
73
  sliding_window_size = 512
74
  use_sdpa=False
75
  optimizer_8bit = True
@@ -88,21 +92,16 @@ intra_op_threads = 2
88
  num_workers = 2
89
  GPU_SIDE_BATCHING = True
90
  DISABLE_MMAP = False
91
- use_flash_ops = False
92
- use_xsa = True
93
  batch_size = 256
94
  weight_decay = 0.01
95
  use_static_lr = False
96
  static_lr = 1e-3
97
  learning_rate = 1e-3
98
- use_qk_norm = True
99
- # Gated Attention (Qiu et al., NeurIPS 2025 Best Paper, arXiv:2505.06708)
100
- # Per-head sigmoid gate on the SDPA output, before out_proj.
101
- # Gate reads the first `attn_gate_window` dims of the post-norm block input.
102
- # 0 = full n_embd (dense gate). 12-32 is the speedrun-recommended range.
103
- use_attn_gate = True
104
  attn_gate_window = 16
105
- max_steps = 4000
106
  data_parallel_only = True
107
  use_fsdp = False
108
  dropout = 0.0
 
1
 
2
+ use_liger=False
3
  xla_on_gpu=False
4
  # ---------------------------------------------------------------------------
5
  # Core shape -- chosen for GPU efficiency, not just "a number that fits"
 
13
  d_rope = None
14
  top_k = 64
15
  moe_top_k = 2
16
+ use_triton_fusions = True
17
 
18
 
19
  gradient_checkpointing = False
 
59
  mtp_depth = 1
60
  mtp_lambda = 0.1
61
  use_nvfp4 = False
62
+ # config.py
63
+ use_fp8 = False
64
+ fp8_recipe = "rowwise_with_gw_hp" # default
65
+ fp8_bf16_tail_frac = 0.15 # default
66
  use_int8 = False
67
  int8_group_size = 128
68
  mod_budget_coeff = 0.05
 
70
  mod_hard_eval = False
71
  use_flexattention = True
72
  numberoflayers = 16
73
+ numberofheads = 12
74
  D_MODEL = 384
75
  ALPHA_COMPILE_MODE="reduce-overhead"
76
+ num_kv_heads = 6
77
  sliding_window_size = 512
78
  use_sdpa=False
79
  optimizer_8bit = True
 
92
  num_workers = 2
93
  GPU_SIDE_BATCHING = True
94
  DISABLE_MMAP = False
95
+
 
96
  batch_size = 256
97
  weight_decay = 0.01
98
  use_static_lr = False
99
  static_lr = 1e-3
100
  learning_rate = 1e-3
101
+
102
+
 
 
 
 
103
  attn_gate_window = 16
104
+ max_steps = 8000
105
  data_parallel_only = True
106
  use_fsdp = False
107
  dropout = 0.0