msluszniak commited on
Commit
afc855f
·
verified ·
1 Parent(s): 53a8dca

Re-export lfm_2_5_vl_450m_mlx_int4.pte for ExecuTorch 1.6

Browse files
vl_450m/mlx/config.json CHANGED
@@ -13,28 +13,87 @@
13
  "file": "lfm_2_5_vl_450m_mlx_int4.pte",
14
  "precision": "int4",
15
  "methods": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  "enable_dynamic_shape": true,
17
  "get_eos_ids": [
18
  7
19
  ],
20
- "get_max_context_len": 2048,
21
  "get_max_seq_len": 64,
22
  "get_n_layers": null,
23
  "get_vocab_size": 65536,
24
  "use_kv_cache": true,
25
- "use_sdpa_with_kv_cache": false,
26
- "text_decoder": {
27
- "inputs": [],
28
- "outputs": []
29
- },
30
- "token_embedding": {
31
- "inputs": [],
32
- "outputs": []
33
- },
34
- "vision_encoder": {
35
- "inputs": [],
36
- "outputs": []
37
- }
38
  }
39
  }
40
  ],
 
13
  "file": "lfm_2_5_vl_450m_mlx_int4.pte",
14
  "precision": "int4",
15
  "methods": {
16
+ "vision_encoder": {
17
+ "inputs": [
18
+ {
19
+ "shape": [
20
+ 1,
21
+ 3,
22
+ 512,
23
+ 512
24
+ ],
25
+ "dtype": "bfloat16"
26
+ }
27
+ ],
28
+ "outputs": [
29
+ {
30
+ "shape": [
31
+ 1,
32
+ 256,
33
+ 1024
34
+ ],
35
+ "dtype": "bfloat16"
36
+ }
37
+ ]
38
+ },
39
+ "token_embedding": {
40
+ "inputs": [
41
+ {
42
+ "shape": [
43
+ 1,
44
+ 64
45
+ ],
46
+ "dtype": "int64"
47
+ }
48
+ ],
49
+ "outputs": [
50
+ {
51
+ "shape": [
52
+ 1,
53
+ 64,
54
+ 1024
55
+ ],
56
+ "dtype": "bfloat16"
57
+ }
58
+ ]
59
+ },
60
+ "text_decoder": {
61
+ "inputs": [
62
+ {
63
+ "shape": [
64
+ 1,
65
+ 64,
66
+ 1024
67
+ ],
68
+ "dtype": "bfloat16"
69
+ },
70
+ {
71
+ "shape": [
72
+ 64
73
+ ],
74
+ "dtype": "int64"
75
+ }
76
+ ],
77
+ "outputs": [
78
+ {
79
+ "shape": [
80
+ 1,
81
+ 65536
82
+ ],
83
+ "dtype": "bfloat16"
84
+ }
85
+ ]
86
+ },
87
  "enable_dynamic_shape": true,
88
  "get_eos_ids": [
89
  7
90
  ],
91
+ "get_max_context_len": 16384,
92
  "get_max_seq_len": 64,
93
  "get_n_layers": null,
94
  "get_vocab_size": 65536,
95
  "use_kv_cache": true,
96
+ "use_sdpa_with_kv_cache": false
 
 
 
 
 
 
 
 
 
 
 
 
97
  }
98
  }
99
  ],
vl_450m/mlx/lfm_2_5_vl_450m_mlx_int4.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:68036718169bcb4e37980b3f38f30834c24f2c10441adeb3e8be4b76ff89d525
3
- size 582183552
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c0e8f75586b4baadd8d3c56a0d5162d033e4d50abe7c5bf1cf2a03b542aed85
3
+ size 604205952