File size: 1,891 Bytes
81d15d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
  "architectures": [
    "LLaDA2MoeModelLM"
  ],
  "auto_map": {
    "AutoConfig": "configuration_llada2uni_moe.LLaDA2MoeConfig",
    "AutoModel": "modeling_llada2uni_moe.LLaDA2MoeModelLM",
    "AutoModelForCausalLM": "modeling_llada2uni_moe.LLaDA2MoeModelLM"
  },
  "attention_dropout": 0.0,
  "embedding_dropout": 0.0,
  "first_k_dense_replace": 1,
  "head_dim": 128,
  "hidden_act": "silu",
  "hidden_size": 2048,
  "image_token_offset": 157184,
  "initializer_range": 0.02,
  "intermediate_size": 5120,
  "max_position_embeddings": 16384,
  "model_type": "llada2_moe_veomni",
  "moe_intermediate_size": 512,
  "moe_router_enable_expert_bias": true,
  "n_group": 8,
  "norm_topk_prob": true,
  "num_attention_heads": 16,
  "num_experts": 256,
  "num_experts_per_tok": 8,
  "num_hidden_layers": 20,
  "num_key_value_heads": 4,
  "num_shared_experts": 1,
  "output_dropout": 0.0,
  "output_router_logits": false,
  "pad_token_id": 156892,
  "partial_rotary_factor": 0.5,
  "rms_norm_eps": 1e-06,
  "rope_scaling": {
    "mrope_section": [
      16,
      24,
      24
    ],
    "rope_type": "default",
    "type": "default"
  },
  "rope_theta": 600000,
  "router_dtype": "fp32",
  "routed_scaling_factor": 2.5,
  "score_function": "sigmoid",
  "sliding_window": null,
  "tie_word_embeddings": false,
  "topk_group": 4,
  "torch_dtype": "bfloat16",
  "transformers_version": "4.51.0",
  "use_bias": false,
  "use_cache": false,
  "use_qk_norm": true,
  "use_qkv_bias": false,
  "vocab_size": 173568,
  "llada_fp8_experts": {
    "enabled": true,
    "format": "e4m3fn",
    "weight_method": "symmetric_absmax_rtn",
    "weight_granularity": "per_expert_2d_block",
    "weight_block_size": [
      128,
      128
    ],
    "activation_method": "dynamic_absmax_rtn",
    "activation_granularity": "per_token",
    "reference_runtime": true,
    "runtime_backend": "torch._scaled_mm"
  }
}