Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +2 -0
- collecting_film--resume/20000/_CHECKPOINT_METADATA +1 -0
- collecting_film--resume/20000/assets/ur10e/norm_stats.json +280 -0
- collecting_film--resume/20000/params/_METADATA +1 -0
- collecting_film--resume/20000/params/_sharding +1 -0
- collecting_film--resume/20000/params/d/26b2241f1725f13db15b1d86f36cfbc9 +0 -0
- collecting_film--resume/20000/params/manifest.ocdbt +0 -0
- collecting_film--resume/20000/params/ocdbt.process_0/d/080d60551f16dec04ecd4021afb0a9a0 +0 -0
- collecting_film--resume/20000/params/ocdbt.process_0/d/585a567506dba284f858a9c92dbf5442 +3 -0
- collecting_film--resume/20000/params/ocdbt.process_0/d/738abacd4e735c198044bc7e3ba60916 +0 -0
- collecting_film--resume/20000/params/ocdbt.process_0/d/8d5cec5ac91af777f342a9594c12e1ad +0 -0
- collecting_film--resume/20000/params/ocdbt.process_0/d/94766476608a20d0c2dcc4c65d0d2689 +0 -0
- collecting_film--resume/20000/params/ocdbt.process_0/d/adfd15b2e7551b00f53f9032e0961fc8 +3 -0
- collecting_film--resume/20000/params/ocdbt.process_0/manifest.ocdbt +0 -0
- collecting_film--resume/20000/train_state/_METADATA +1 -0
- collecting_film--resume/20000/train_state/_sharding +1 -0
- collecting_film--resume/20000/train_state/d/54ef83affd5fc42c16fcc33a825ff22f +0 -0
- collecting_film--resume/20000/train_state/manifest.ocdbt +0 -0
- collecting_film--resume/20000/train_state/ocdbt.process_0/d/00b1b8af63fea049790fb4268ae2fc15 +0 -0
- collecting_film--resume/20000/train_state/ocdbt.process_0/d/3e80fc8ae29d95915857d39a8e188891 +0 -0
- collecting_film--resume/20000/train_state/ocdbt.process_0/d/5a7a109ca28ebb6ef1e076cf81d98f49 +0 -0
- collecting_film--resume/20000/train_state/ocdbt.process_0/d/7d0de4f93e4fa084a7e450b093053a58 +0 -0
- collecting_film--resume/20000/train_state/ocdbt.process_0/manifest.ocdbt +0 -0
- collecting_film--resume/wandb_id.txt +1 -0
- temp_venv/.gitignore +1 -0
- temp_venv/.lock +0 -0
- temp_venv/CACHEDIR.TAG +1 -0
- temp_venv/bin/activate +116 -0
- temp_venv/bin/activate.bat +71 -0
- temp_venv/bin/activate.csh +76 -0
- temp_venv/bin/activate.fish +124 -0
- temp_venv/bin/activate.nu +117 -0
- temp_venv/bin/activate.ps1 +82 -0
- temp_venv/bin/activate_this.py +59 -0
- temp_venv/bin/deactivate.bat +39 -0
- temp_venv/bin/huggingface-cli +10 -0
- temp_venv/bin/ipython +10 -0
- temp_venv/bin/ipython3 +10 -0
- temp_venv/bin/normalizer +10 -0
- temp_venv/bin/pydoc.bat +22 -0
- temp_venv/bin/pygmentize +10 -0
- temp_venv/bin/python +0 -0
- temp_venv/bin/python3 +0 -0
- temp_venv/bin/python3.13 +0 -0
- temp_venv/bin/tqdm +10 -0
- temp_venv/lib/python3.13/site-packages/_virtualenv.py +101 -0
- temp_venv/lib/python3.13/site-packages/decorator.py +459 -0
- temp_venv/lib/python3.13/site-packages/idna-3.10.dist-info/LICENSE.md +31 -0
- temp_venv/lib/python3.13/site-packages/idna-3.10.dist-info/RECORD +15 -0
- temp_venv/lib/python3.13/site-packages/ipython_pygments_lexers.py +582 -0
.gitattributes
CHANGED
@@ -461,3 +461,5 @@ pi0_nomagic_precise_packing/finetune_precise_packing/25000/params/ocdbt.process_
|
|
461 |
pi0_nomagic_precise_packing/finetune_precise_packing/25000/train_state/ocdbt.process_0/d/0a1e03395829d5e74804a190f25b836b filter=lfs diff=lfs merge=lfs -text
|
462 |
pi0_nomagic_precise_packing/finetune_precise_packing/25000/train_state/ocdbt.process_0/d/922969e2302a82121fe4d88f61f6c61c filter=lfs diff=lfs merge=lfs -text
|
463 |
pi0_nomagic_precise_packing/finetune_precise_packing/25000/train_state/ocdbt.process_0/d/3f11c461efb1a7f5e1620c48d0ae6f5d filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
461 |
pi0_nomagic_precise_packing/finetune_precise_packing/25000/train_state/ocdbt.process_0/d/0a1e03395829d5e74804a190f25b836b filter=lfs diff=lfs merge=lfs -text
|
462 |
pi0_nomagic_precise_packing/finetune_precise_packing/25000/train_state/ocdbt.process_0/d/922969e2302a82121fe4d88f61f6c61c filter=lfs diff=lfs merge=lfs -text
|
463 |
pi0_nomagic_precise_packing/finetune_precise_packing/25000/train_state/ocdbt.process_0/d/3f11c461efb1a7f5e1620c48d0ae6f5d filter=lfs diff=lfs merge=lfs -text
|
464 |
+
collecting_film--resume/20000/params/ocdbt.process_0/d/585a567506dba284f858a9c92dbf5442 filter=lfs diff=lfs merge=lfs -text
|
465 |
+
collecting_film--resume/20000/params/ocdbt.process_0/d/adfd15b2e7551b00f53f9032e0961fc8 filter=lfs diff=lfs merge=lfs -text
|
collecting_film--resume/20000/_CHECKPOINT_METADATA
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"item_handlers": {"assets": "openpi.training.checkpoints.CallbackHandler", "params": "orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler", "train_state": "orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler"}, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1747589894222227834, "commit_timestamp_nsecs": 1747590066360623678, "custom": {}}
|
collecting_film--resume/20000/assets/ur10e/norm_stats.json
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"norm_stats": {
|
3 |
+
"state": {
|
4 |
+
"mean": [
|
5 |
+
-0.02567109651863575,
|
6 |
+
-0.6717175245285034,
|
7 |
+
0.04765819013118744,
|
8 |
+
-0.30536580085754395,
|
9 |
+
1.4770880937576294,
|
10 |
+
0.22507140040397644,
|
11 |
+
0.445521742105484,
|
12 |
+
0.0,
|
13 |
+
0.0,
|
14 |
+
0.0,
|
15 |
+
0.0,
|
16 |
+
0.0,
|
17 |
+
0.0,
|
18 |
+
0.0,
|
19 |
+
0.0,
|
20 |
+
0.0,
|
21 |
+
0.0,
|
22 |
+
0.0,
|
23 |
+
0.0,
|
24 |
+
0.0,
|
25 |
+
0.0,
|
26 |
+
0.0,
|
27 |
+
0.0,
|
28 |
+
0.0,
|
29 |
+
0.0,
|
30 |
+
0.0,
|
31 |
+
0.0,
|
32 |
+
0.0,
|
33 |
+
0.0,
|
34 |
+
0.0,
|
35 |
+
0.0,
|
36 |
+
0.0
|
37 |
+
],
|
38 |
+
"std": [
|
39 |
+
0.26767438650131226,
|
40 |
+
0.09560061991214752,
|
41 |
+
0.15486207604408264,
|
42 |
+
2.018665313720703,
|
43 |
+
0.08953272551298141,
|
44 |
+
1.7133640050888062,
|
45 |
+
0.49702325463294983,
|
46 |
+
0.0,
|
47 |
+
0.0,
|
48 |
+
0.0,
|
49 |
+
0.0,
|
50 |
+
0.0,
|
51 |
+
0.0,
|
52 |
+
0.0,
|
53 |
+
0.0,
|
54 |
+
0.0,
|
55 |
+
0.0,
|
56 |
+
0.0,
|
57 |
+
0.0,
|
58 |
+
0.0,
|
59 |
+
0.0,
|
60 |
+
0.0,
|
61 |
+
0.0,
|
62 |
+
0.0,
|
63 |
+
0.0,
|
64 |
+
0.0,
|
65 |
+
0.0,
|
66 |
+
0.0,
|
67 |
+
0.0,
|
68 |
+
0.0,
|
69 |
+
0.0,
|
70 |
+
0.0
|
71 |
+
],
|
72 |
+
"q01": [
|
73 |
+
-0.7150094509124756,
|
74 |
+
-0.8856564164161682,
|
75 |
+
-0.17373406887054443,
|
76 |
+
-3.1038565635681152,
|
77 |
+
1.0793952941894531,
|
78 |
+
-3.082521677017212,
|
79 |
+
0.0,
|
80 |
+
0.0,
|
81 |
+
0.0,
|
82 |
+
0.0,
|
83 |
+
0.0,
|
84 |
+
0.0,
|
85 |
+
0.0,
|
86 |
+
0.0,
|
87 |
+
0.0,
|
88 |
+
0.0,
|
89 |
+
0.0,
|
90 |
+
0.0,
|
91 |
+
0.0,
|
92 |
+
0.0,
|
93 |
+
0.0,
|
94 |
+
0.0,
|
95 |
+
0.0,
|
96 |
+
0.0,
|
97 |
+
0.0,
|
98 |
+
0.0,
|
99 |
+
0.0,
|
100 |
+
0.0,
|
101 |
+
0.0,
|
102 |
+
0.0,
|
103 |
+
0.0,
|
104 |
+
0.0
|
105 |
+
],
|
106 |
+
"q99": [
|
107 |
+
0.38523364067077637,
|
108 |
+
-0.4436938762664795,
|
109 |
+
0.3646169602870941,
|
110 |
+
3.1001057624816895,
|
111 |
+
1.5628662109375,
|
112 |
+
3.0800065994262695,
|
113 |
+
0.9997999668121338,
|
114 |
+
0.0,
|
115 |
+
0.0,
|
116 |
+
0.0,
|
117 |
+
0.0,
|
118 |
+
0.0,
|
119 |
+
0.0,
|
120 |
+
0.0,
|
121 |
+
0.0,
|
122 |
+
0.0,
|
123 |
+
0.0,
|
124 |
+
0.0,
|
125 |
+
0.0,
|
126 |
+
0.0,
|
127 |
+
0.0,
|
128 |
+
0.0,
|
129 |
+
0.0,
|
130 |
+
0.0,
|
131 |
+
0.0,
|
132 |
+
0.0,
|
133 |
+
0.0,
|
134 |
+
0.0,
|
135 |
+
0.0,
|
136 |
+
0.0,
|
137 |
+
0.0,
|
138 |
+
0.0
|
139 |
+
]
|
140 |
+
},
|
141 |
+
"actions": {
|
142 |
+
"mean": [
|
143 |
+
-0.0003907651698682457,
|
144 |
+
0.00006541451875818893,
|
145 |
+
0.00043602054938673973,
|
146 |
+
0.00009901820885716006,
|
147 |
+
0.0002067217428702861,
|
148 |
+
-0.0003359736583661288,
|
149 |
+
0.44410789012908936,
|
150 |
+
0.0,
|
151 |
+
0.0,
|
152 |
+
0.0,
|
153 |
+
0.0,
|
154 |
+
0.0,
|
155 |
+
0.0,
|
156 |
+
0.0,
|
157 |
+
0.0,
|
158 |
+
0.0,
|
159 |
+
0.0,
|
160 |
+
0.0,
|
161 |
+
0.0,
|
162 |
+
0.0,
|
163 |
+
0.0,
|
164 |
+
0.0,
|
165 |
+
0.0,
|
166 |
+
0.0,
|
167 |
+
0.0,
|
168 |
+
0.0,
|
169 |
+
0.0,
|
170 |
+
0.0,
|
171 |
+
0.0,
|
172 |
+
0.0,
|
173 |
+
0.0,
|
174 |
+
0.0
|
175 |
+
],
|
176 |
+
"std": [
|
177 |
+
0.006131487898528576,
|
178 |
+
0.0029658444691449404,
|
179 |
+
0.006969461217522621,
|
180 |
+
0.004112967289984226,
|
181 |
+
0.0045164297334849834,
|
182 |
+
0.008203143253922462,
|
183 |
+
0.49686625599861145,
|
184 |
+
0.0,
|
185 |
+
0.0,
|
186 |
+
0.0,
|
187 |
+
0.0,
|
188 |
+
0.0,
|
189 |
+
0.0,
|
190 |
+
0.0,
|
191 |
+
0.0,
|
192 |
+
0.0,
|
193 |
+
0.0,
|
194 |
+
0.0,
|
195 |
+
0.0,
|
196 |
+
0.0,
|
197 |
+
0.0,
|
198 |
+
0.0,
|
199 |
+
0.0,
|
200 |
+
0.0,
|
201 |
+
0.0,
|
202 |
+
0.0,
|
203 |
+
0.0,
|
204 |
+
0.0,
|
205 |
+
0.0,
|
206 |
+
0.0,
|
207 |
+
0.0,
|
208 |
+
0.0
|
209 |
+
],
|
210 |
+
"q01": [
|
211 |
+
-0.018025483936071396,
|
212 |
+
-0.008224858902394772,
|
213 |
+
-0.014416997320950031,
|
214 |
+
-0.010709216818213463,
|
215 |
+
-0.012488648295402527,
|
216 |
+
-0.024349097162485123,
|
217 |
+
0.0,
|
218 |
+
0.0,
|
219 |
+
0.0,
|
220 |
+
0.0,
|
221 |
+
0.0,
|
222 |
+
0.0,
|
223 |
+
0.0,
|
224 |
+
0.0,
|
225 |
+
0.0,
|
226 |
+
0.0,
|
227 |
+
0.0,
|
228 |
+
0.0,
|
229 |
+
0.0,
|
230 |
+
0.0,
|
231 |
+
0.0,
|
232 |
+
0.0,
|
233 |
+
0.0,
|
234 |
+
0.0,
|
235 |
+
0.0,
|
236 |
+
0.0,
|
237 |
+
0.0,
|
238 |
+
0.0,
|
239 |
+
0.0,
|
240 |
+
0.0,
|
241 |
+
0.0,
|
242 |
+
0.0
|
243 |
+
],
|
244 |
+
"q99": [
|
245 |
+
0.016839243471622467,
|
246 |
+
0.00923294760286808,
|
247 |
+
0.0199727900326252,
|
248 |
+
0.011877017095685005,
|
249 |
+
0.012633688747882843,
|
250 |
+
0.02208421379327774,
|
251 |
+
0.9997999668121338,
|
252 |
+
0.0,
|
253 |
+
0.0,
|
254 |
+
0.0,
|
255 |
+
0.0,
|
256 |
+
0.0,
|
257 |
+
0.0,
|
258 |
+
0.0,
|
259 |
+
0.0,
|
260 |
+
0.0,
|
261 |
+
0.0,
|
262 |
+
0.0,
|
263 |
+
0.0,
|
264 |
+
0.0,
|
265 |
+
0.0,
|
266 |
+
0.0,
|
267 |
+
0.0,
|
268 |
+
0.0,
|
269 |
+
0.0,
|
270 |
+
0.0,
|
271 |
+
0.0,
|
272 |
+
0.0,
|
273 |
+
0.0,
|
274 |
+
0.0,
|
275 |
+
0.0,
|
276 |
+
0.0
|
277 |
+
]
|
278 |
+
}
|
279 |
+
}
|
280 |
+
}
|
collecting_film--resume/20000/params/_METADATA
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"tree_metadata": {"('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'embedding', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'embedding', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'head', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'head', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'pos_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "pos_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'embedder', 'input_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "embedder", "key_type": 2}, {"key": "input_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'final_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'final_norm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_in_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_in_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_out_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_out_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_in', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_in', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'state_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'state_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}}, "use_zarr3": false, "store_array_data_equal_to_fill_value": true, "custom_metadata": null}
|
collecting_film--resume/20000/params/_sharding
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJfbm9ybV9maWxtZWQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJfbm9ybV9maWxtZWQuc2NhbGUudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2NhbGVfcHJvamVjdG9yLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2NhbGVfcHJvamVjdG9yLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2hpZnRfcHJvamVjdG9yLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2hpZnRfcHJvamVjdG9yLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzAuc2NhbGUudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzEuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzEuc2NhbGUudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8wLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8wLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8xLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8xLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLm91dC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLm91dC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLmtleS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLmtleS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnF1ZXJ5LmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnF1ZXJ5Lmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnZhbHVlLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnZhbHVlLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcucG9zX2VtYmVkZGluZy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZW1iZWRkZXIuaW5wdXRfZW1iZWRkaW5nLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXIudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmdhdGluZ19laW5zdW0udmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmxpbmVhci52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0udy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW1fMS53LnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9pbi5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9pbi5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9vdXQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9vdXQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLnN0YXRlX3Byb2ouYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLnN0YXRlX3Byb2oua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}"}
|
collecting_film--resume/20000/params/d/26b2241f1725f13db15b1d86f36cfbc9
ADDED
Binary file (2.18 kB). View file
|
|
collecting_film--resume/20000/params/manifest.ocdbt
ADDED
Binary file (117 Bytes). View file
|
|
collecting_film--resume/20000/params/ocdbt.process_0/d/080d60551f16dec04ecd4021afb0a9a0
ADDED
Binary file (1.15 kB). View file
|
|
collecting_film--resume/20000/params/ocdbt.process_0/d/585a567506dba284f858a9c92dbf5442
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b221e842eded19d34d59fc6e81f4afa8a6d2cac768775117671a6f8ad609183
|
3 |
+
size 3467441
|
collecting_film--resume/20000/params/ocdbt.process_0/d/738abacd4e735c198044bc7e3ba60916
ADDED
Binary file (620 Bytes). View file
|
|
collecting_film--resume/20000/params/ocdbt.process_0/d/8d5cec5ac91af777f342a9594c12e1ad
ADDED
Binary file (2.16 kB). View file
|
|
collecting_film--resume/20000/params/ocdbt.process_0/d/94766476608a20d0c2dcc4c65d0d2689
ADDED
Binary file (1.78 kB). View file
|
|
collecting_film--resume/20000/params/ocdbt.process_0/d/adfd15b2e7551b00f53f9032e0961fc8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03ec10a115270e803e295905907ff8c426fe294d10fb604826e31f5473a6be14
|
3 |
+
size 5043016
|
collecting_film--resume/20000/params/ocdbt.process_0/manifest.ocdbt
ADDED
Binary file (571 Bytes). View file
|
|
collecting_film--resume/20000/train_state/_METADATA
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"tree_metadata": {"('step',)": {"key_metadata": [{"key": "step", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'embedding', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'embedding', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'head', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'head', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'img', 'pos_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "pos_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'embedder', 'input_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "embedder", "key_type": 2}, {"key": "input_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'final_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'final_norm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_in_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_in_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_out_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_out_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_in', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_in', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'action_time_mlp_out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'state_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('params', 'state_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('model_def',)": {"key_metadata": [{"key": "model_def", "key_type": 2}], "value_metadata": {"value_type": "None", "skip_deserialize": true}}, "('opt_state', '0')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "0", "key_type": 1}], "value_metadata": {"value_type": "None", "skip_deserialize": true}}, "('opt_state', '1', '0', 'count')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "count", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'scale', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'scale', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'scale', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'embedding', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'embedding', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'head', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'head', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'PaliGemma', 'img', 'pos_embedding', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "pos_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_in_proj', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_in_proj', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_out_proj', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_out_proj', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_time_mlp_in', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_time_mlp_in', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_time_mlp_out', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'action_time_mlp_out', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'state_proj', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'mu', 'state_proj', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "mu", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoder_norm_filmed', 'scale', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoder_norm_filmed", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'scale_projector', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "scale_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'FiLMLayer_0', 'shift_projector', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "FiLMLayer_0", "key_type": 2}, {"key": "shift_projector", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_0', 'scale', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'LayerNorm_1', 'scale', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MlpBlock_0', 'Dense_1', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'Transformer_FiLMed', 'encoderblock_filmed', 'MultiHeadDotProductAttention_0', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer_FiLMed", "key_type": 2}, {"key": "encoderblock_filmed", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'embedding', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'embedding', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'head', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'head', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'PaliGemma', 'img', 'pos_embedding', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "pos_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_in_proj', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_in_proj', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_out_proj', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_out_proj', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_time_mlp_in', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_time_mlp_in', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_time_mlp_in", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_time_mlp_out', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'action_time_mlp_out', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "action_time_mlp_out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'state_proj', 'bias', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '0', 'nu', 'state_proj', 'kernel', 'value')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "0", "key_type": 1}, {"key": "nu", "key_type": 2}, {"key": "state_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('opt_state', '1', '1')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "1", "key_type": 1}], "value_metadata": {"value_type": "None", "skip_deserialize": true}}, "('opt_state', '1', '2', 'count')": {"key_metadata": [{"key": "opt_state", "key_type": 2}, {"key": "1", "key_type": 1}, {"key": "2", "key_type": 1}, {"key": "count", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false}}, "('ema_params',)": {"key_metadata": [{"key": "ema_params", "key_type": 2}], "value_metadata": {"value_type": "None", "skip_deserialize": true}}}, "use_zarr3": false, "store_array_data_equal_to_fill_value": true, "custom_metadata": null}
|
collecting_film--resume/20000/train_state/_sharding
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"b3B0X3N0YXRlLjEuMC5jb3VudA==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyX25vcm1fZmlsbWVkLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyX25vcm1fZmlsbWVkLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNjYWxlX3Byb2plY3Rvci5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNjYWxlX3Byb2plY3Rvci5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNoaWZ0X3Byb2plY3Rvci5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNoaWZ0X3Byb2plY3Rvci5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8wLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8wLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8xLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLmVtYmVkZGluZy5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLmVtYmVkZGluZy5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLmhlYWQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLmhlYWQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5QYWxpR2VtbWEuaW1nLnBvc19lbWJlZGRpbmcudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25faW5fcHJvai5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25faW5fcHJvai5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25fb3V0X3Byb2ouYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25fb3V0X3Byb2oua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25fdGltZV9tbHBfaW4uYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25fdGltZV9tbHBfaW4ua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25fdGltZV9tbHBfb3V0LmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5hY3Rpb25fdGltZV9tbHBfb3V0Lmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5zdGF0ZV9wcm9qLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5tdS5zdGF0ZV9wcm9qLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyX25vcm1fZmlsbWVkLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyX25vcm1fZmlsbWVkLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLk1scEJsb2NrXzAuRGVuc2VfMS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNjYWxlX3Byb2plY3Rvci5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNjYWxlX3Byb2plY3Rvci5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNoaWZ0X3Byb2plY3Rvci5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkZpTE1MYXllcl8wLnNoaWZ0X3Byb2plY3Rvci5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8wLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8wLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8xLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLlRyYW5zZm9ybWVyX0ZpTE1lZC5lbmNvZGVyYmxvY2tfZmlsbWVkLkxheWVyTm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLmVtYmVkZGluZy5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLmVtYmVkZGluZy5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLmhlYWQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLmhlYWQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5QYWxpR2VtbWEuaW1nLnBvc19lbWJlZGRpbmcudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25faW5fcHJvai5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25faW5fcHJvai5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25fb3V0X3Byb2ouYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25fb3V0X3Byb2oua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25fdGltZV9tbHBfaW4uYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25fdGltZV9tbHBfaW4ua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25fdGltZV9tbHBfb3V0LmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5hY3Rpb25fdGltZV9tbHBfb3V0Lmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5zdGF0ZV9wcm9qLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMC5udS5zdGF0ZV9wcm9qLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","b3B0X3N0YXRlLjEuMi5jb3VudA==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","c3RlcA==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJfbm9ybV9maWxtZWQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJfbm9ybV9maWxtZWQuc2NhbGUudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2NhbGVfcHJvamVjdG9yLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2NhbGVfcHJvamVjdG9yLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2hpZnRfcHJvamVjdG9yLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuRmlMTUxheWVyXzAuc2hpZnRfcHJvamVjdG9yLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzAuc2NhbGUudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzEuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTGF5ZXJOb3JtXzEuc2NhbGUudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8wLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8wLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8xLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTWxwQmxvY2tfMC5EZW5zZV8xLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLm91dC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLm91dC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLmtleS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLmtleS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnF1ZXJ5LmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnF1ZXJ5Lmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnZhbHVlLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXJfRmlMTWVkLmVuY29kZXJibG9ja19maWxtZWQuTXVsdGlIZWFkRG90UHJvZHVjdEF0dGVudGlvbl8wLnZhbHVlLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcucG9zX2VtYmVkZGluZy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZW1iZWRkZXIuaW5wdXRfZW1iZWRkaW5nLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXIudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmdhdGluZ19laW5zdW0udmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmxpbmVhci52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0udy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW1fMS53LnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9pbi5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9pbi5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9vdXQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl90aW1lX21scF9vdXQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLnN0YXRlX3Byb2ouYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}","cGFyYW1zLnN0YXRlX3Byb2oua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [1, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}]]}}"}
|
collecting_film--resume/20000/train_state/d/54ef83affd5fc42c16fcc33a825ff22f
ADDED
Binary file (3.4 kB). View file
|
|
collecting_film--resume/20000/train_state/manifest.ocdbt
ADDED
Binary file (118 Bytes). View file
|
|
collecting_film--resume/20000/train_state/ocdbt.process_0/d/00b1b8af63fea049790fb4268ae2fc15
ADDED
Binary file (1.41 kB). View file
|
|
collecting_film--resume/20000/train_state/ocdbt.process_0/d/3e80fc8ae29d95915857d39a8e188891
ADDED
Binary file (1.38 kB). View file
|
|
collecting_film--resume/20000/train_state/ocdbt.process_0/d/5a7a109ca28ebb6ef1e076cf81d98f49
ADDED
Binary file (171 Bytes). View file
|
|
collecting_film--resume/20000/train_state/ocdbt.process_0/d/7d0de4f93e4fa084a7e450b093053a58
ADDED
Binary file (3.39 kB). View file
|
|
collecting_film--resume/20000/train_state/ocdbt.process_0/manifest.ocdbt
ADDED
Binary file (400 Bytes). View file
|
|
collecting_film--resume/wandb_id.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
rbq7gp64
|
temp_venv/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*
|
temp_venv/.lock
ADDED
File without changes
|
temp_venv/CACHEDIR.TAG
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Signature: 8a477f597d28d172789f06886806bc55
|
temp_venv/bin/activate
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
#
|
3 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
# a copy of this software and associated documentation files (the
|
5 |
+
# "Software"), to deal in the Software without restriction, including
|
6 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
# permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
# the following conditions:
|
10 |
+
#
|
11 |
+
# The above copyright notice and this permission notice shall be
|
12 |
+
# included in all copies or substantial portions of the Software.
|
13 |
+
#
|
14 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
# This file must be used with "source bin/activate" *from bash*
|
23 |
+
# you cannot run it directly
|
24 |
+
|
25 |
+
# Get script path (only used if environment is relocatable).
|
26 |
+
if [ -n "${BASH_VERSION:+x}" ] ; then
|
27 |
+
SCRIPT_PATH="${BASH_SOURCE[0]}"
|
28 |
+
if [ "$SCRIPT_PATH" = "$0" ]; then
|
29 |
+
# Only bash has a reasonably robust check for source'dness.
|
30 |
+
echo "You must source this script: \$ source $0" >&2
|
31 |
+
exit 33
|
32 |
+
fi
|
33 |
+
elif [ -n "${ZSH_VERSION:+x}" ] ; then
|
34 |
+
SCRIPT_PATH="${(%):-%x}"
|
35 |
+
elif [ -n "${KSH_VERSION:+x}" ] ; then
|
36 |
+
SCRIPT_PATH="${.sh.file}"
|
37 |
+
fi
|
38 |
+
|
39 |
+
deactivate () {
|
40 |
+
unset -f pydoc >/dev/null 2>&1 || true
|
41 |
+
|
42 |
+
# reset old environment variables
|
43 |
+
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
|
44 |
+
if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then
|
45 |
+
PATH="$_OLD_VIRTUAL_PATH"
|
46 |
+
export PATH
|
47 |
+
unset _OLD_VIRTUAL_PATH
|
48 |
+
fi
|
49 |
+
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
|
50 |
+
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
|
51 |
+
export PYTHONHOME
|
52 |
+
unset _OLD_VIRTUAL_PYTHONHOME
|
53 |
+
fi
|
54 |
+
|
55 |
+
# The hash command must be called to get it to forget past
|
56 |
+
# commands. Without forgetting past commands the $PATH changes
|
57 |
+
# we made may not be respected
|
58 |
+
hash -r 2>/dev/null
|
59 |
+
|
60 |
+
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
|
61 |
+
PS1="$_OLD_VIRTUAL_PS1"
|
62 |
+
export PS1
|
63 |
+
unset _OLD_VIRTUAL_PS1
|
64 |
+
fi
|
65 |
+
|
66 |
+
unset VIRTUAL_ENV
|
67 |
+
unset VIRTUAL_ENV_PROMPT
|
68 |
+
if [ ! "${1-}" = "nondestructive" ] ; then
|
69 |
+
# Self destruct!
|
70 |
+
unset -f deactivate
|
71 |
+
fi
|
72 |
+
}
|
73 |
+
|
74 |
+
# unset irrelevant variables
|
75 |
+
deactivate nondestructive
|
76 |
+
|
77 |
+
VIRTUAL_ENV='/Users/elan/pi0_nomagic_collecting_film/temp_venv'
|
78 |
+
if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then
|
79 |
+
VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV")
|
80 |
+
fi
|
81 |
+
export VIRTUAL_ENV
|
82 |
+
|
83 |
+
_OLD_VIRTUAL_PATH="$PATH"
|
84 |
+
PATH="$VIRTUAL_ENV/bin:$PATH"
|
85 |
+
export PATH
|
86 |
+
|
87 |
+
if [ "x" != x ] ; then
|
88 |
+
VIRTUAL_ENV_PROMPT="() "
|
89 |
+
else
|
90 |
+
VIRTUAL_ENV_PROMPT="($(basename "$VIRTUAL_ENV")) "
|
91 |
+
fi
|
92 |
+
export VIRTUAL_ENV_PROMPT
|
93 |
+
|
94 |
+
# unset PYTHONHOME if set
|
95 |
+
if ! [ -z "${PYTHONHOME+_}" ] ; then
|
96 |
+
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
|
97 |
+
unset PYTHONHOME
|
98 |
+
fi
|
99 |
+
|
100 |
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
|
101 |
+
_OLD_VIRTUAL_PS1="${PS1-}"
|
102 |
+
PS1="${VIRTUAL_ENV_PROMPT}${PS1-}"
|
103 |
+
export PS1
|
104 |
+
fi
|
105 |
+
|
106 |
+
# Make sure to unalias pydoc if it's already there
|
107 |
+
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
|
108 |
+
|
109 |
+
pydoc () {
|
110 |
+
python -m pydoc "$@"
|
111 |
+
}
|
112 |
+
|
113 |
+
# The hash command must be called to get it to forget past
|
114 |
+
# commands. Without forgetting past commands the $PATH changes
|
115 |
+
# we made may not be respected
|
116 |
+
hash -r 2>/dev/null
|
temp_venv/bin/activate.bat
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@REM Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
@REM
|
3 |
+
@REM Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
@REM a copy of this software and associated documentation files (the
|
5 |
+
@REM "Software"), to deal in the Software without restriction, including
|
6 |
+
@REM without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
@REM distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
@REM permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
@REM the following conditions:
|
10 |
+
@REM
|
11 |
+
@REM The above copyright notice and this permission notice shall be
|
12 |
+
@REM included in all copies or substantial portions of the Software.
|
13 |
+
@REM
|
14 |
+
@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
@REM EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
@REM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
@REM NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
@REM LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
@REM OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
@REM WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
@REM This file is UTF-8 encoded, so we need to update the current code page while executing it
|
23 |
+
@for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do @set _OLD_CODEPAGE=%%a
|
24 |
+
@if defined _OLD_CODEPAGE (
|
25 |
+
@"%SystemRoot%\System32\chcp.com" 65001 > nul
|
26 |
+
)
|
27 |
+
|
28 |
+
@for %%i in ("/Users/elan/pi0_nomagic_collecting_film/temp_venv") do @set "VIRTUAL_ENV=%%~fi"
|
29 |
+
|
30 |
+
@set "VIRTUAL_ENV_PROMPT="
|
31 |
+
@if NOT DEFINED VIRTUAL_ENV_PROMPT (
|
32 |
+
@for %%d in ("%VIRTUAL_ENV%") do @set "VIRTUAL_ENV_PROMPT=%%~nxd"
|
33 |
+
)
|
34 |
+
|
35 |
+
@if defined _OLD_VIRTUAL_PROMPT (
|
36 |
+
@set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
|
37 |
+
) else (
|
38 |
+
@if not defined PROMPT (
|
39 |
+
@set "PROMPT=$P$G"
|
40 |
+
)
|
41 |
+
@if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
42 |
+
@set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
|
43 |
+
)
|
44 |
+
)
|
45 |
+
@if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
46 |
+
@set "PROMPT=(%VIRTUAL_ENV_PROMPT%) %PROMPT%"
|
47 |
+
)
|
48 |
+
|
49 |
+
@REM Don't use () to avoid problems with them in %PATH%
|
50 |
+
@if defined _OLD_VIRTUAL_PYTHONHOME @goto ENDIFVHOME
|
51 |
+
@set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
|
52 |
+
:ENDIFVHOME
|
53 |
+
|
54 |
+
@set PYTHONHOME=
|
55 |
+
|
56 |
+
@REM if defined _OLD_VIRTUAL_PATH (
|
57 |
+
@if not defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH1
|
58 |
+
@set "PATH=%_OLD_VIRTUAL_PATH%"
|
59 |
+
:ENDIFVPATH1
|
60 |
+
@REM ) else (
|
61 |
+
@if defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH2
|
62 |
+
@set "_OLD_VIRTUAL_PATH=%PATH%"
|
63 |
+
:ENDIFVPATH2
|
64 |
+
|
65 |
+
@set "PATH=%VIRTUAL_ENV%\bin;%PATH%"
|
66 |
+
|
67 |
+
:END
|
68 |
+
@if defined _OLD_CODEPAGE (
|
69 |
+
@"%SystemRoot%\System32\chcp.com" %_OLD_CODEPAGE% > nul
|
70 |
+
@set _OLD_CODEPAGE=
|
71 |
+
)
|
temp_venv/bin/activate.csh
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
#
|
3 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
# a copy of this software and associated documentation files (the
|
5 |
+
# "Software"), to deal in the Software without restriction, including
|
6 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
# permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
# the following conditions:
|
10 |
+
#
|
11 |
+
# The above copyright notice and this permission notice shall be
|
12 |
+
# included in all copies or substantial portions of the Software.
|
13 |
+
#
|
14 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
# This file must be used with "source bin/activate.csh" *from csh*.
|
23 |
+
# You cannot run it directly.
|
24 |
+
# Created by Davide Di Blasi <[email protected]>.
|
25 |
+
|
26 |
+
set newline='\
|
27 |
+
'
|
28 |
+
|
29 |
+
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH:q" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT:q" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate && unalias pydoc'
|
30 |
+
|
31 |
+
# Unset irrelevant variables.
|
32 |
+
deactivate nondestructive
|
33 |
+
|
34 |
+
setenv VIRTUAL_ENV '/Users/elan/pi0_nomagic_collecting_film/temp_venv'
|
35 |
+
|
36 |
+
set _OLD_VIRTUAL_PATH="$PATH:q"
|
37 |
+
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
if ('' != "") then
|
42 |
+
setenv VIRTUAL_ENV_PROMPT ''
|
43 |
+
else
|
44 |
+
setenv VIRTUAL_ENV_PROMPT "$VIRTUAL_ENV:t:q"
|
45 |
+
endif
|
46 |
+
|
47 |
+
if ( $?VIRTUAL_ENV_DISABLE_PROMPT ) then
|
48 |
+
if ( $VIRTUAL_ENV_DISABLE_PROMPT == "" ) then
|
49 |
+
set do_prompt = "1"
|
50 |
+
else
|
51 |
+
set do_prompt = "0"
|
52 |
+
endif
|
53 |
+
else
|
54 |
+
set do_prompt = "1"
|
55 |
+
endif
|
56 |
+
|
57 |
+
if ( $do_prompt == "1" ) then
|
58 |
+
# Could be in a non-interactive environment,
|
59 |
+
# in which case, $prompt is undefined and we wouldn't
|
60 |
+
# care about the prompt anyway.
|
61 |
+
if ( $?prompt ) then
|
62 |
+
set _OLD_VIRTUAL_PROMPT="$prompt:q"
|
63 |
+
if ( "$prompt:q" =~ *"$newline:q"* ) then
|
64 |
+
:
|
65 |
+
else
|
66 |
+
set prompt = '('"$VIRTUAL_ENV_PROMPT:q"') '"$prompt:q"
|
67 |
+
endif
|
68 |
+
endif
|
69 |
+
endif
|
70 |
+
|
71 |
+
unset env_name
|
72 |
+
unset do_prompt
|
73 |
+
|
74 |
+
alias pydoc python -m pydoc
|
75 |
+
|
76 |
+
rehash
|
temp_venv/bin/activate.fish
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
#
|
3 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
# a copy of this software and associated documentation files (the
|
5 |
+
# "Software"), to deal in the Software without restriction, including
|
6 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
# permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
# the following conditions:
|
10 |
+
#
|
11 |
+
# The above copyright notice and this permission notice shall be
|
12 |
+
# included in all copies or substantial portions of the Software.
|
13 |
+
#
|
14 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
# This file must be used using `source bin/activate.fish` *within a running fish ( http://fishshell.com ) session*.
|
23 |
+
# Do not run it directly.
|
24 |
+
|
25 |
+
function _bashify_path -d "Converts a fish path to something bash can recognize"
|
26 |
+
set fishy_path $argv
|
27 |
+
set bashy_path $fishy_path[1]
|
28 |
+
for path_part in $fishy_path[2..-1]
|
29 |
+
set bashy_path "$bashy_path:$path_part"
|
30 |
+
end
|
31 |
+
echo $bashy_path
|
32 |
+
end
|
33 |
+
|
34 |
+
function _fishify_path -d "Converts a bash path to something fish can recognize"
|
35 |
+
echo $argv | tr ':' '\n'
|
36 |
+
end
|
37 |
+
|
38 |
+
function deactivate -d 'Exit virtualenv mode and return to the normal environment.'
|
39 |
+
# reset old environment variables
|
40 |
+
if test -n "$_OLD_VIRTUAL_PATH"
|
41 |
+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
|
42 |
+
if test (echo $FISH_VERSION | head -c 1) -lt 3
|
43 |
+
set -gx PATH (_fishify_path "$_OLD_VIRTUAL_PATH")
|
44 |
+
else
|
45 |
+
set -gx PATH $_OLD_VIRTUAL_PATH
|
46 |
+
end
|
47 |
+
set -e _OLD_VIRTUAL_PATH
|
48 |
+
end
|
49 |
+
|
50 |
+
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
|
51 |
+
set -gx PYTHONHOME "$_OLD_VIRTUAL_PYTHONHOME"
|
52 |
+
set -e _OLD_VIRTUAL_PYTHONHOME
|
53 |
+
end
|
54 |
+
|
55 |
+
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
|
56 |
+
and functions -q _old_fish_prompt
|
57 |
+
# Set an empty local `$fish_function_path` to allow the removal of `fish_prompt` using `functions -e`.
|
58 |
+
set -l fish_function_path
|
59 |
+
|
60 |
+
# Erase virtualenv's `fish_prompt` and restore the original.
|
61 |
+
functions -e fish_prompt
|
62 |
+
functions -c _old_fish_prompt fish_prompt
|
63 |
+
functions -e _old_fish_prompt
|
64 |
+
set -e _OLD_FISH_PROMPT_OVERRIDE
|
65 |
+
end
|
66 |
+
|
67 |
+
set -e VIRTUAL_ENV
|
68 |
+
set -e VIRTUAL_ENV_PROMPT
|
69 |
+
|
70 |
+
if test "$argv[1]" != 'nondestructive'
|
71 |
+
# Self-destruct!
|
72 |
+
functions -e pydoc
|
73 |
+
functions -e deactivate
|
74 |
+
functions -e _bashify_path
|
75 |
+
functions -e _fishify_path
|
76 |
+
end
|
77 |
+
end
|
78 |
+
|
79 |
+
# Unset irrelevant variables.
|
80 |
+
deactivate nondestructive
|
81 |
+
|
82 |
+
set -gx VIRTUAL_ENV '/Users/elan/pi0_nomagic_collecting_film/temp_venv'
|
83 |
+
|
84 |
+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
|
85 |
+
if test (echo $FISH_VERSION | head -c 1) -lt 3
|
86 |
+
set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH)
|
87 |
+
else
|
88 |
+
set -gx _OLD_VIRTUAL_PATH $PATH
|
89 |
+
end
|
90 |
+
set -gx PATH "$VIRTUAL_ENV"'/bin' $PATH
|
91 |
+
|
92 |
+
# Prompt override provided?
|
93 |
+
# If not, just use the environment name.
|
94 |
+
if test -n ''
|
95 |
+
set -gx VIRTUAL_ENV_PROMPT ''
|
96 |
+
else
|
97 |
+
set -gx VIRTUAL_ENV_PROMPT (basename "$VIRTUAL_ENV")
|
98 |
+
end
|
99 |
+
|
100 |
+
# Unset `$PYTHONHOME` if set.
|
101 |
+
if set -q PYTHONHOME
|
102 |
+
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
|
103 |
+
set -e PYTHONHOME
|
104 |
+
end
|
105 |
+
|
106 |
+
function pydoc
|
107 |
+
python -m pydoc $argv
|
108 |
+
end
|
109 |
+
|
110 |
+
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
111 |
+
# Copy the current `fish_prompt` function as `_old_fish_prompt`.
|
112 |
+
functions -c fish_prompt _old_fish_prompt
|
113 |
+
|
114 |
+
function fish_prompt
|
115 |
+
# Run the user's prompt first; it might depend on (pipe)status.
|
116 |
+
set -l prompt (_old_fish_prompt)
|
117 |
+
|
118 |
+
printf '(%s) ' $VIRTUAL_ENV_PROMPT
|
119 |
+
|
120 |
+
string join -- \n $prompt # handle multi-line prompts
|
121 |
+
end
|
122 |
+
|
123 |
+
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
124 |
+
end
|
temp_venv/bin/activate.nu
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
#
|
3 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
# a copy of this software and associated documentation files (the
|
5 |
+
# "Software"), to deal in the Software without restriction, including
|
6 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
# permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
# the following conditions:
|
10 |
+
#
|
11 |
+
# The above copyright notice and this permission notice shall be
|
12 |
+
# included in all copies or substantial portions of the Software.
|
13 |
+
#
|
14 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
# virtualenv activation module
|
23 |
+
# Activate with `overlay use activate.nu`
|
24 |
+
# Deactivate with `deactivate`, as usual
|
25 |
+
#
|
26 |
+
# To customize the overlay name, you can call `overlay use activate.nu as foo`,
|
27 |
+
# but then simply `deactivate` won't work because it is just an alias to hide
|
28 |
+
# the "activate" overlay. You'd need to call `overlay hide foo` manually.
|
29 |
+
|
30 |
+
export-env {
|
31 |
+
def is-string [x] {
|
32 |
+
($x | describe) == 'string'
|
33 |
+
}
|
34 |
+
|
35 |
+
def has-env [...names] {
|
36 |
+
$names | each {|n|
|
37 |
+
$n in $env
|
38 |
+
} | all {|i| $i == true}
|
39 |
+
}
|
40 |
+
|
41 |
+
# Emulates a `test -z`, but better as it handles e.g 'false'
|
42 |
+
def is-env-true [name: string] {
|
43 |
+
if (has-env $name) {
|
44 |
+
# Try to parse 'true', '0', '1', and fail if not convertible
|
45 |
+
let parsed = (do -i { $env | get $name | into bool })
|
46 |
+
if ($parsed | describe) == 'bool' {
|
47 |
+
$parsed
|
48 |
+
} else {
|
49 |
+
not ($env | get -i $name | is-empty)
|
50 |
+
}
|
51 |
+
} else {
|
52 |
+
false
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
let virtual_env = '/Users/elan/pi0_nomagic_collecting_film/temp_venv'
|
57 |
+
let bin = 'bin'
|
58 |
+
|
59 |
+
let is_windows = ($nu.os-info.family) == 'windows'
|
60 |
+
let path_name = (if (has-env 'Path') {
|
61 |
+
'Path'
|
62 |
+
} else {
|
63 |
+
'PATH'
|
64 |
+
}
|
65 |
+
)
|
66 |
+
|
67 |
+
let venv_path = ([$virtual_env $bin] | path join)
|
68 |
+
let new_path = ($env | get $path_name | prepend $venv_path)
|
69 |
+
|
70 |
+
# If there is no default prompt, then use the env name instead
|
71 |
+
let virtual_env_prompt = (if ('' | is-empty) {
|
72 |
+
($virtual_env | path basename)
|
73 |
+
} else {
|
74 |
+
''
|
75 |
+
})
|
76 |
+
|
77 |
+
let new_env = {
|
78 |
+
$path_name : $new_path
|
79 |
+
VIRTUAL_ENV : $virtual_env
|
80 |
+
VIRTUAL_ENV_PROMPT : $virtual_env_prompt
|
81 |
+
}
|
82 |
+
|
83 |
+
let new_env = (if (is-env-true 'VIRTUAL_ENV_DISABLE_PROMPT') {
|
84 |
+
$new_env
|
85 |
+
} else {
|
86 |
+
# Creating the new prompt for the session
|
87 |
+
let virtual_prefix = $'(char lparen)($virtual_env_prompt)(char rparen) '
|
88 |
+
|
89 |
+
# Back up the old prompt builder
|
90 |
+
let old_prompt_command = (if (has-env 'PROMPT_COMMAND') {
|
91 |
+
$env.PROMPT_COMMAND
|
92 |
+
} else {
|
93 |
+
''
|
94 |
+
})
|
95 |
+
|
96 |
+
let new_prompt = (if (has-env 'PROMPT_COMMAND') {
|
97 |
+
if 'closure' in ($old_prompt_command | describe) {
|
98 |
+
{|| $'($virtual_prefix)(do $old_prompt_command)' }
|
99 |
+
} else {
|
100 |
+
{|| $'($virtual_prefix)($old_prompt_command)' }
|
101 |
+
}
|
102 |
+
} else {
|
103 |
+
{|| $'($virtual_prefix)' }
|
104 |
+
})
|
105 |
+
|
106 |
+
$new_env | merge {
|
107 |
+
PROMPT_COMMAND : $new_prompt
|
108 |
+
VIRTUAL_PREFIX : $virtual_prefix
|
109 |
+
}
|
110 |
+
})
|
111 |
+
|
112 |
+
# Environment variables that will be loaded as the virtual env
|
113 |
+
load-env $new_env
|
114 |
+
}
|
115 |
+
|
116 |
+
export alias pydoc = python -m pydoc
|
117 |
+
export alias deactivate = overlay hide activate
|
temp_venv/bin/activate.ps1
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
#
|
3 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
# a copy of this software and associated documentation files (the
|
5 |
+
# "Software"), to deal in the Software without restriction, including
|
6 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
# permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
# the following conditions:
|
10 |
+
#
|
11 |
+
# The above copyright notice and this permission notice shall be
|
12 |
+
# included in all copies or substantial portions of the Software.
|
13 |
+
#
|
14 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
$script:THIS_PATH = $myinvocation.mycommand.path
|
23 |
+
$script:BASE_DIR = Split-Path (Resolve-Path "$THIS_PATH/..") -Parent
|
24 |
+
|
25 |
+
function global:deactivate([switch] $NonDestructive) {
|
26 |
+
if (Test-Path variable:_OLD_VIRTUAL_PATH) {
|
27 |
+
$env:PATH = $variable:_OLD_VIRTUAL_PATH
|
28 |
+
Remove-Variable "_OLD_VIRTUAL_PATH" -Scope global
|
29 |
+
}
|
30 |
+
|
31 |
+
if (Test-Path function:_old_virtual_prompt) {
|
32 |
+
$function:prompt = $function:_old_virtual_prompt
|
33 |
+
Remove-Item function:\_old_virtual_prompt
|
34 |
+
}
|
35 |
+
|
36 |
+
if ($env:VIRTUAL_ENV) {
|
37 |
+
Remove-Item env:VIRTUAL_ENV -ErrorAction SilentlyContinue
|
38 |
+
}
|
39 |
+
|
40 |
+
if ($env:VIRTUAL_ENV_PROMPT) {
|
41 |
+
Remove-Item env:VIRTUAL_ENV_PROMPT -ErrorAction SilentlyContinue
|
42 |
+
}
|
43 |
+
|
44 |
+
if (!$NonDestructive) {
|
45 |
+
# Self destruct!
|
46 |
+
Remove-Item function:deactivate
|
47 |
+
Remove-Item function:pydoc
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
function global:pydoc {
|
52 |
+
python -m pydoc $args
|
53 |
+
}
|
54 |
+
|
55 |
+
# unset irrelevant variables
|
56 |
+
deactivate -nondestructive
|
57 |
+
|
58 |
+
$VIRTUAL_ENV = $BASE_DIR
|
59 |
+
$env:VIRTUAL_ENV = $VIRTUAL_ENV
|
60 |
+
|
61 |
+
if ("" -ne "") {
|
62 |
+
$env:VIRTUAL_ENV_PROMPT = ""
|
63 |
+
}
|
64 |
+
else {
|
65 |
+
$env:VIRTUAL_ENV_PROMPT = $( Split-Path $env:VIRTUAL_ENV -Leaf )
|
66 |
+
}
|
67 |
+
|
68 |
+
New-Variable -Scope global -Name _OLD_VIRTUAL_PATH -Value $env:PATH
|
69 |
+
|
70 |
+
$env:PATH = "$env:VIRTUAL_ENV/bin:" + $env:PATH
|
71 |
+
if (!$env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
72 |
+
function global:_old_virtual_prompt {
|
73 |
+
""
|
74 |
+
}
|
75 |
+
$function:_old_virtual_prompt = $function:prompt
|
76 |
+
|
77 |
+
function global:prompt {
|
78 |
+
# Add the custom prefix to the existing prompt
|
79 |
+
$previous_prompt_value = & $function:_old_virtual_prompt
|
80 |
+
("(" + $env:VIRTUAL_ENV_PROMPT + ") " + $previous_prompt_value)
|
81 |
+
}
|
82 |
+
}
|
temp_venv/bin/activate_this.py
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
#
|
3 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
# a copy of this software and associated documentation files (the
|
5 |
+
# "Software"), to deal in the Software without restriction, including
|
6 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
# permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
# the following conditions:
|
10 |
+
#
|
11 |
+
# The above copyright notice and this permission notice shall be
|
12 |
+
# included in all copies or substantial portions of the Software.
|
13 |
+
#
|
14 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
"""
|
23 |
+
Activate virtualenv for current interpreter:
|
24 |
+
|
25 |
+
import runpy
|
26 |
+
runpy.run_path(this_file)
|
27 |
+
|
28 |
+
This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
|
29 |
+
""" # noqa: D415
|
30 |
+
|
31 |
+
from __future__ import annotations
|
32 |
+
|
33 |
+
import os
|
34 |
+
import site
|
35 |
+
import sys
|
36 |
+
|
37 |
+
try:
|
38 |
+
abs_file = os.path.abspath(__file__)
|
39 |
+
except NameError as exc:
|
40 |
+
msg = "You must use import runpy; runpy.run_path(this_file)"
|
41 |
+
raise AssertionError(msg) from exc
|
42 |
+
|
43 |
+
bin_dir = os.path.dirname(abs_file)
|
44 |
+
base = bin_dir[: -len("bin") - 1] # strip away the bin part from the __file__, plus the path separator
|
45 |
+
|
46 |
+
# prepend bin to PATH (this file is inside the bin directory)
|
47 |
+
os.environ["PATH"] = os.pathsep.join([bin_dir, *os.environ.get("PATH", "").split(os.pathsep)])
|
48 |
+
os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
|
49 |
+
os.environ["VIRTUAL_ENV_PROMPT"] = "" or os.path.basename(base) # noqa: SIM222
|
50 |
+
|
51 |
+
# add the virtual environments libraries to the host python import mechanism
|
52 |
+
prev_length = len(sys.path)
|
53 |
+
for lib in "../lib/python3.13/site-packages".split(os.pathsep):
|
54 |
+
path = os.path.realpath(os.path.join(bin_dir, lib))
|
55 |
+
site.addsitedir(path)
|
56 |
+
sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
|
57 |
+
|
58 |
+
sys.real_prefix = sys.prefix
|
59 |
+
sys.prefix = base
|
temp_venv/bin/deactivate.bat
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@REM Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
@REM
|
3 |
+
@REM Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
@REM a copy of this software and associated documentation files (the
|
5 |
+
@REM "Software"), to deal in the Software without restriction, including
|
6 |
+
@REM without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
@REM distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
@REM permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
@REM the following conditions:
|
10 |
+
@REM
|
11 |
+
@REM The above copyright notice and this permission notice shall be
|
12 |
+
@REM included in all copies or substantial portions of the Software.
|
13 |
+
@REM
|
14 |
+
@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
@REM EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
@REM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
@REM NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
@REM LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
@REM OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
@REM WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
@set VIRTUAL_ENV=
|
23 |
+
@set VIRTUAL_ENV_PROMPT=
|
24 |
+
|
25 |
+
@REM Don't use () to avoid problems with them in %PATH%
|
26 |
+
@if not defined _OLD_VIRTUAL_PROMPT @goto ENDIFVPROMPT
|
27 |
+
@set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
|
28 |
+
@set _OLD_VIRTUAL_PROMPT=
|
29 |
+
:ENDIFVPROMPT
|
30 |
+
|
31 |
+
@if not defined _OLD_VIRTUAL_PYTHONHOME @goto ENDIFVHOME
|
32 |
+
@set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
|
33 |
+
@set _OLD_VIRTUAL_PYTHONHOME=
|
34 |
+
:ENDIFVHOME
|
35 |
+
|
36 |
+
@if not defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH
|
37 |
+
@set "PATH=%_OLD_VIRTUAL_PATH%"
|
38 |
+
@set _OLD_VIRTUAL_PATH=
|
39 |
+
:ENDIFVPATH
|
temp_venv/bin/huggingface-cli
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/elan/pi0_nomagic_collecting_film/temp_venv/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import sys
|
4 |
+
from huggingface_hub.commands.huggingface_cli import main
|
5 |
+
if __name__ == "__main__":
|
6 |
+
if sys.argv[0].endswith("-script.pyw"):
|
7 |
+
sys.argv[0] = sys.argv[0][:-11]
|
8 |
+
elif sys.argv[0].endswith(".exe"):
|
9 |
+
sys.argv[0] = sys.argv[0][:-4]
|
10 |
+
sys.exit(main())
|
temp_venv/bin/ipython
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/elan/pi0_nomagic_collecting_film/temp_venv/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import sys
|
4 |
+
from IPython import start_ipython
|
5 |
+
if __name__ == "__main__":
|
6 |
+
if sys.argv[0].endswith("-script.pyw"):
|
7 |
+
sys.argv[0] = sys.argv[0][:-11]
|
8 |
+
elif sys.argv[0].endswith(".exe"):
|
9 |
+
sys.argv[0] = sys.argv[0][:-4]
|
10 |
+
sys.exit(start_ipython())
|
temp_venv/bin/ipython3
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/elan/pi0_nomagic_collecting_film/temp_venv/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import sys
|
4 |
+
from IPython import start_ipython
|
5 |
+
if __name__ == "__main__":
|
6 |
+
if sys.argv[0].endswith("-script.pyw"):
|
7 |
+
sys.argv[0] = sys.argv[0][:-11]
|
8 |
+
elif sys.argv[0].endswith(".exe"):
|
9 |
+
sys.argv[0] = sys.argv[0][:-4]
|
10 |
+
sys.exit(start_ipython())
|
temp_venv/bin/normalizer
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/elan/pi0_nomagic_collecting_film/temp_venv/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import sys
|
4 |
+
from charset_normalizer import cli
|
5 |
+
if __name__ == "__main__":
|
6 |
+
if sys.argv[0].endswith("-script.pyw"):
|
7 |
+
sys.argv[0] = sys.argv[0][:-11]
|
8 |
+
elif sys.argv[0].endswith(".exe"):
|
9 |
+
sys.argv[0] = sys.argv[0][:-4]
|
10 |
+
sys.exit(cli.cli_detect())
|
temp_venv/bin/pydoc.bat
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@REM Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
@REM
|
3 |
+
@REM Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
@REM a copy of this software and associated documentation files (the
|
5 |
+
@REM "Software"), to deal in the Software without restriction, including
|
6 |
+
@REM without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
@REM distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
@REM permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
@REM the following conditions:
|
10 |
+
@REM
|
11 |
+
@REM The above copyright notice and this permission notice shall be
|
12 |
+
@REM included in all copies or substantial portions of the Software.
|
13 |
+
@REM
|
14 |
+
@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
@REM EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
@REM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
@REM NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
@REM LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
@REM OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
@REM WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
python.exe -m pydoc %*
|
temp_venv/bin/pygmentize
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/elan/pi0_nomagic_collecting_film/temp_venv/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import sys
|
4 |
+
from pygments.cmdline import main
|
5 |
+
if __name__ == "__main__":
|
6 |
+
if sys.argv[0].endswith("-script.pyw"):
|
7 |
+
sys.argv[0] = sys.argv[0][:-11]
|
8 |
+
elif sys.argv[0].endswith(".exe"):
|
9 |
+
sys.argv[0] = sys.argv[0][:-4]
|
10 |
+
sys.exit(main())
|
temp_venv/bin/python
ADDED
Binary file (52.6 kB). View file
|
|
temp_venv/bin/python3
ADDED
Binary file (52.6 kB). View file
|
|
temp_venv/bin/python3.13
ADDED
Binary file (52.6 kB). View file
|
|
temp_venv/bin/tqdm
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/elan/pi0_nomagic_collecting_film/temp_venv/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import sys
|
4 |
+
from tqdm.cli import main
|
5 |
+
if __name__ == "__main__":
|
6 |
+
if sys.argv[0].endswith("-script.pyw"):
|
7 |
+
sys.argv[0] = sys.argv[0][:-11]
|
8 |
+
elif sys.argv[0].endswith(".exe"):
|
9 |
+
sys.argv[0] = sys.argv[0][:-4]
|
10 |
+
sys.exit(main())
|
temp_venv/lib/python3.13/site-packages/_virtualenv.py
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Patches that are applied at runtime to the virtual environment."""
|
2 |
+
|
3 |
+
import os
|
4 |
+
import sys
|
5 |
+
|
6 |
+
VIRTUALENV_PATCH_FILE = os.path.join(__file__)
|
7 |
+
|
8 |
+
|
9 |
+
def patch_dist(dist):
|
10 |
+
"""
|
11 |
+
Distutils allows user to configure some arguments via a configuration file:
|
12 |
+
https://docs.python.org/3.11/install/index.html#distutils-configuration-files.
|
13 |
+
|
14 |
+
Some of this arguments though don't make sense in context of the virtual environment files, let's fix them up.
|
15 |
+
""" # noqa: D205
|
16 |
+
# we cannot allow some install config as that would get packages installed outside of the virtual environment
|
17 |
+
old_parse_config_files = dist.Distribution.parse_config_files
|
18 |
+
|
19 |
+
def parse_config_files(self, *args, **kwargs):
|
20 |
+
result = old_parse_config_files(self, *args, **kwargs)
|
21 |
+
install = self.get_option_dict("install")
|
22 |
+
|
23 |
+
if "prefix" in install: # the prefix governs where to install the libraries
|
24 |
+
install["prefix"] = VIRTUALENV_PATCH_FILE, os.path.abspath(sys.prefix)
|
25 |
+
for base in ("purelib", "platlib", "headers", "scripts", "data"):
|
26 |
+
key = f"install_{base}"
|
27 |
+
if key in install: # do not allow global configs to hijack venv paths
|
28 |
+
install.pop(key, None)
|
29 |
+
return result
|
30 |
+
|
31 |
+
dist.Distribution.parse_config_files = parse_config_files
|
32 |
+
|
33 |
+
|
34 |
+
# Import hook that patches some modules to ignore configuration values that break package installation in case
|
35 |
+
# of virtual environments.
|
36 |
+
_DISTUTILS_PATCH = "distutils.dist", "setuptools.dist"
|
37 |
+
# https://docs.python.org/3/library/importlib.html#setting-up-an-importer
|
38 |
+
|
39 |
+
|
40 |
+
class _Finder:
|
41 |
+
"""A meta path finder that allows patching the imported distutils modules."""
|
42 |
+
|
43 |
+
fullname = None
|
44 |
+
|
45 |
+
# lock[0] is threading.Lock(), but initialized lazily to avoid importing threading very early at startup,
|
46 |
+
# because there are gevent-based applications that need to be first to import threading by themselves.
|
47 |
+
# See https://github.com/pypa/virtualenv/issues/1895 for details.
|
48 |
+
lock = [] # noqa: RUF012
|
49 |
+
|
50 |
+
def find_spec(self, fullname, path, target=None): # noqa: ARG002
|
51 |
+
if fullname in _DISTUTILS_PATCH and self.fullname is None:
|
52 |
+
# initialize lock[0] lazily
|
53 |
+
if len(self.lock) == 0:
|
54 |
+
import threading
|
55 |
+
|
56 |
+
lock = threading.Lock()
|
57 |
+
# there is possibility that two threads T1 and T2 are simultaneously running into find_spec,
|
58 |
+
# observing .lock as empty, and further going into hereby initialization. However due to the GIL,
|
59 |
+
# list.append() operation is atomic and this way only one of the threads will "win" to put the lock
|
60 |
+
# - that every thread will use - into .lock[0].
|
61 |
+
# https://docs.python.org/3/faq/library.html#what-kinds-of-global-value-mutation-are-thread-safe
|
62 |
+
self.lock.append(lock)
|
63 |
+
|
64 |
+
from functools import partial
|
65 |
+
from importlib.util import find_spec
|
66 |
+
|
67 |
+
with self.lock[0]:
|
68 |
+
self.fullname = fullname
|
69 |
+
try:
|
70 |
+
spec = find_spec(fullname, path)
|
71 |
+
if spec is not None:
|
72 |
+
# https://www.python.org/dev/peps/pep-0451/#how-loading-will-work
|
73 |
+
is_new_api = hasattr(spec.loader, "exec_module")
|
74 |
+
func_name = "exec_module" if is_new_api else "load_module"
|
75 |
+
old = getattr(spec.loader, func_name)
|
76 |
+
func = self.exec_module if is_new_api else self.load_module
|
77 |
+
if old is not func:
|
78 |
+
try: # noqa: SIM105
|
79 |
+
setattr(spec.loader, func_name, partial(func, old))
|
80 |
+
except AttributeError:
|
81 |
+
pass # C-Extension loaders are r/o such as zipimporter with <3.7
|
82 |
+
return spec
|
83 |
+
finally:
|
84 |
+
self.fullname = None
|
85 |
+
return None
|
86 |
+
|
87 |
+
@staticmethod
|
88 |
+
def exec_module(old, module):
|
89 |
+
old(module)
|
90 |
+
if module.__name__ in _DISTUTILS_PATCH:
|
91 |
+
patch_dist(module)
|
92 |
+
|
93 |
+
@staticmethod
|
94 |
+
def load_module(old, name):
|
95 |
+
module = old(name)
|
96 |
+
if module.__name__ in _DISTUTILS_PATCH:
|
97 |
+
patch_dist(module)
|
98 |
+
return module
|
99 |
+
|
100 |
+
|
101 |
+
sys.meta_path.insert(0, _Finder())
|
temp_venv/lib/python3.13/site-packages/decorator.py
ADDED
@@ -0,0 +1,459 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ######################### LICENSE ############################ #
|
2 |
+
|
3 |
+
# Copyright (c) 2005-2025, Michele Simionato
|
4 |
+
# All rights reserved.
|
5 |
+
|
6 |
+
# Redistribution and use in source and binary forms, with or without
|
7 |
+
# modification, are permitted provided that the following conditions are
|
8 |
+
# met:
|
9 |
+
|
10 |
+
# Redistributions of source code must retain the above copyright
|
11 |
+
# notice, this list of conditions and the following disclaimer.
|
12 |
+
# Redistributions in bytecode form must reproduce the above copyright
|
13 |
+
# notice, this list of conditions and the following disclaimer in
|
14 |
+
# the documentation and/or other materials provided with the
|
15 |
+
# distribution.
|
16 |
+
|
17 |
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
18 |
+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
19 |
+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
20 |
+
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
21 |
+
# HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
22 |
+
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
23 |
+
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
24 |
+
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
25 |
+
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
26 |
+
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
27 |
+
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
28 |
+
# DAMAGE.
|
29 |
+
|
30 |
+
"""
|
31 |
+
Decorator module, see
|
32 |
+
https://github.com/micheles/decorator/blob/master/docs/documentation.md
|
33 |
+
for the documentation.
|
34 |
+
"""
|
35 |
+
import re
|
36 |
+
import sys
|
37 |
+
import inspect
|
38 |
+
import operator
|
39 |
+
import itertools
|
40 |
+
import functools
|
41 |
+
from contextlib import _GeneratorContextManager
|
42 |
+
from inspect import getfullargspec, iscoroutinefunction, isgeneratorfunction
|
43 |
+
|
44 |
+
__version__ = '5.2.1'
|
45 |
+
|
46 |
+
DEF = re.compile(r'\s*def\s*([_\w][_\w\d]*)\s*\(')
|
47 |
+
POS = inspect.Parameter.POSITIONAL_OR_KEYWORD
|
48 |
+
EMPTY = inspect.Parameter.empty
|
49 |
+
|
50 |
+
|
51 |
+
# this is not used anymore in the core, but kept for backward compatibility
|
52 |
+
class FunctionMaker(object):
|
53 |
+
"""
|
54 |
+
An object with the ability to create functions with a given signature.
|
55 |
+
It has attributes name, doc, module, signature, defaults, dict and
|
56 |
+
methods update and make.
|
57 |
+
"""
|
58 |
+
|
59 |
+
# Atomic get-and-increment provided by the GIL
|
60 |
+
_compile_count = itertools.count()
|
61 |
+
|
62 |
+
# make pylint happy
|
63 |
+
args = varargs = varkw = defaults = kwonlyargs = kwonlydefaults = ()
|
64 |
+
|
65 |
+
def __init__(self, func=None, name=None, signature=None,
|
66 |
+
defaults=None, doc=None, module=None, funcdict=None):
|
67 |
+
self.shortsignature = signature
|
68 |
+
if func:
|
69 |
+
# func can be a class or a callable, but not an instance method
|
70 |
+
self.name = func.__name__
|
71 |
+
if self.name == '<lambda>': # small hack for lambda functions
|
72 |
+
self.name = '_lambda_'
|
73 |
+
self.doc = func.__doc__
|
74 |
+
self.module = func.__module__
|
75 |
+
if inspect.isroutine(func) or isinstance(func, functools.partial):
|
76 |
+
argspec = getfullargspec(func)
|
77 |
+
self.annotations = getattr(func, '__annotations__', {})
|
78 |
+
for a in ('args', 'varargs', 'varkw', 'defaults', 'kwonlyargs',
|
79 |
+
'kwonlydefaults'):
|
80 |
+
setattr(self, a, getattr(argspec, a))
|
81 |
+
for i, arg in enumerate(self.args):
|
82 |
+
setattr(self, 'arg%d' % i, arg)
|
83 |
+
allargs = list(self.args)
|
84 |
+
allshortargs = list(self.args)
|
85 |
+
if self.varargs:
|
86 |
+
allargs.append('*' + self.varargs)
|
87 |
+
allshortargs.append('*' + self.varargs)
|
88 |
+
elif self.kwonlyargs:
|
89 |
+
allargs.append('*') # single star syntax
|
90 |
+
for a in self.kwonlyargs:
|
91 |
+
allargs.append('%s=None' % a)
|
92 |
+
allshortargs.append('%s=%s' % (a, a))
|
93 |
+
if self.varkw:
|
94 |
+
allargs.append('**' + self.varkw)
|
95 |
+
allshortargs.append('**' + self.varkw)
|
96 |
+
self.signature = ', '.join(allargs)
|
97 |
+
self.shortsignature = ', '.join(allshortargs)
|
98 |
+
self.dict = func.__dict__.copy()
|
99 |
+
# func=None happens when decorating a caller
|
100 |
+
if name:
|
101 |
+
self.name = name
|
102 |
+
if signature is not None:
|
103 |
+
self.signature = signature
|
104 |
+
if defaults:
|
105 |
+
self.defaults = defaults
|
106 |
+
if doc:
|
107 |
+
self.doc = doc
|
108 |
+
if module:
|
109 |
+
self.module = module
|
110 |
+
if funcdict:
|
111 |
+
self.dict = funcdict
|
112 |
+
# check existence required attributes
|
113 |
+
assert hasattr(self, 'name')
|
114 |
+
if not hasattr(self, 'signature'):
|
115 |
+
raise TypeError('You are decorating a non function: %s' % func)
|
116 |
+
|
117 |
+
def update(self, func, **kw):
|
118 |
+
"""
|
119 |
+
Update the signature of func with the data in self
|
120 |
+
"""
|
121 |
+
func.__name__ = self.name
|
122 |
+
func.__doc__ = getattr(self, 'doc', None)
|
123 |
+
func.__dict__ = getattr(self, 'dict', {})
|
124 |
+
func.__defaults__ = self.defaults
|
125 |
+
func.__kwdefaults__ = self.kwonlydefaults or None
|
126 |
+
func.__annotations__ = getattr(self, 'annotations', None)
|
127 |
+
try:
|
128 |
+
frame = sys._getframe(3)
|
129 |
+
except AttributeError: # for IronPython and similar implementations
|
130 |
+
callermodule = '?'
|
131 |
+
else:
|
132 |
+
callermodule = frame.f_globals.get('__name__', '?')
|
133 |
+
func.__module__ = getattr(self, 'module', callermodule)
|
134 |
+
func.__dict__.update(kw)
|
135 |
+
|
136 |
+
def make(self, src_templ, evaldict=None, addsource=False, **attrs):
|
137 |
+
"""
|
138 |
+
Make a new function from a given template and update the signature
|
139 |
+
"""
|
140 |
+
src = src_templ % vars(self) # expand name and signature
|
141 |
+
evaldict = evaldict or {}
|
142 |
+
mo = DEF.search(src)
|
143 |
+
if mo is None:
|
144 |
+
raise SyntaxError('not a valid function template\n%s' % src)
|
145 |
+
name = mo.group(1) # extract the function name
|
146 |
+
names = set([name] + [arg.strip(' *') for arg in
|
147 |
+
self.shortsignature.split(',')])
|
148 |
+
for n in names:
|
149 |
+
if n in ('_func_', '_call_'):
|
150 |
+
raise NameError('%s is overridden in\n%s' % (n, src))
|
151 |
+
|
152 |
+
if not src.endswith('\n'): # add a newline for old Pythons
|
153 |
+
src += '\n'
|
154 |
+
|
155 |
+
# Ensure each generated function has a unique filename for profilers
|
156 |
+
# (such as cProfile) that depend on the tuple of (<filename>,
|
157 |
+
# <definition line>, <function name>) being unique.
|
158 |
+
filename = '<decorator-gen-%d>' % next(self._compile_count)
|
159 |
+
try:
|
160 |
+
code = compile(src, filename, 'single')
|
161 |
+
exec(code, evaldict)
|
162 |
+
except Exception:
|
163 |
+
print('Error in generated code:', file=sys.stderr)
|
164 |
+
print(src, file=sys.stderr)
|
165 |
+
raise
|
166 |
+
func = evaldict[name]
|
167 |
+
if addsource:
|
168 |
+
attrs['__source__'] = src
|
169 |
+
self.update(func, **attrs)
|
170 |
+
return func
|
171 |
+
|
172 |
+
@classmethod
|
173 |
+
def create(cls, obj, body, evaldict, defaults=None,
|
174 |
+
doc=None, module=None, addsource=True, **attrs):
|
175 |
+
"""
|
176 |
+
Create a function from the strings name, signature and body.
|
177 |
+
evaldict is the evaluation dictionary. If addsource is true an
|
178 |
+
attribute __source__ is added to the result. The attributes attrs
|
179 |
+
are added, if any.
|
180 |
+
"""
|
181 |
+
if isinstance(obj, str): # "name(signature)"
|
182 |
+
name, rest = obj.strip().split('(', 1)
|
183 |
+
signature = rest[:-1] # strip a right parens
|
184 |
+
func = None
|
185 |
+
else: # a function
|
186 |
+
name = None
|
187 |
+
signature = None
|
188 |
+
func = obj
|
189 |
+
self = cls(func, name, signature, defaults, doc, module)
|
190 |
+
ibody = '\n'.join(' ' + line for line in body.splitlines())
|
191 |
+
caller = evaldict.get('_call_') # when called from `decorate`
|
192 |
+
if caller and iscoroutinefunction(caller):
|
193 |
+
body = ('async def %(name)s(%(signature)s):\n' + ibody).replace(
|
194 |
+
'return', 'return await')
|
195 |
+
else:
|
196 |
+
body = 'def %(name)s(%(signature)s):\n' + ibody
|
197 |
+
return self.make(body, evaldict, addsource, **attrs)
|
198 |
+
|
199 |
+
|
200 |
+
def fix(args, kwargs, sig):
|
201 |
+
"""
|
202 |
+
Fix args and kwargs to be consistent with the signature
|
203 |
+
"""
|
204 |
+
ba = sig.bind(*args, **kwargs)
|
205 |
+
ba.apply_defaults() # needed for test_dan_schult
|
206 |
+
return ba.args, ba.kwargs
|
207 |
+
|
208 |
+
|
209 |
+
def decorate(func, caller, extras=(), kwsyntax=False):
|
210 |
+
"""
|
211 |
+
Decorates a function/generator/coroutine using a caller.
|
212 |
+
If kwsyntax is True calling the decorated functions with keyword
|
213 |
+
syntax will pass the named arguments inside the ``kw`` dictionary,
|
214 |
+
even if such argument are positional, similarly to what functools.wraps
|
215 |
+
does. By default kwsyntax is False and the the arguments are untouched.
|
216 |
+
"""
|
217 |
+
sig = inspect.signature(func)
|
218 |
+
if isinstance(func, functools.partial):
|
219 |
+
func = functools.update_wrapper(func, func.func)
|
220 |
+
if iscoroutinefunction(caller):
|
221 |
+
async def fun(*args, **kw):
|
222 |
+
if not kwsyntax:
|
223 |
+
args, kw = fix(args, kw, sig)
|
224 |
+
return await caller(func, *(extras + args), **kw)
|
225 |
+
elif isgeneratorfunction(caller):
|
226 |
+
def fun(*args, **kw):
|
227 |
+
if not kwsyntax:
|
228 |
+
args, kw = fix(args, kw, sig)
|
229 |
+
for res in caller(func, *(extras + args), **kw):
|
230 |
+
yield res
|
231 |
+
else:
|
232 |
+
def fun(*args, **kw):
|
233 |
+
if not kwsyntax:
|
234 |
+
args, kw = fix(args, kw, sig)
|
235 |
+
return caller(func, *(extras + args), **kw)
|
236 |
+
|
237 |
+
fun.__name__ = func.__name__
|
238 |
+
fun.__doc__ = func.__doc__
|
239 |
+
fun.__wrapped__ = func
|
240 |
+
fun.__signature__ = sig
|
241 |
+
fun.__qualname__ = func.__qualname__
|
242 |
+
# builtin functions like defaultdict.__setitem__ lack many attributes
|
243 |
+
try:
|
244 |
+
fun.__defaults__ = func.__defaults__
|
245 |
+
except AttributeError:
|
246 |
+
pass
|
247 |
+
try:
|
248 |
+
fun.__kwdefaults__ = func.__kwdefaults__
|
249 |
+
except AttributeError:
|
250 |
+
pass
|
251 |
+
try:
|
252 |
+
fun.__annotations__ = func.__annotations__
|
253 |
+
except AttributeError:
|
254 |
+
pass
|
255 |
+
try:
|
256 |
+
fun.__module__ = func.__module__
|
257 |
+
except AttributeError:
|
258 |
+
pass
|
259 |
+
try:
|
260 |
+
fun.__name__ = func.__name__
|
261 |
+
except AttributeError: # happens with old versions of numpy.vectorize
|
262 |
+
func.__name__ == 'noname'
|
263 |
+
try:
|
264 |
+
fun.__dict__.update(func.__dict__)
|
265 |
+
except AttributeError:
|
266 |
+
pass
|
267 |
+
return fun
|
268 |
+
|
269 |
+
|
270 |
+
def decoratorx(caller):
|
271 |
+
"""
|
272 |
+
A version of "decorator" implemented via "exec" and not via the
|
273 |
+
Signature object. Use this if you are want to preserve the `.__code__`
|
274 |
+
object properties (https://github.com/micheles/decorator/issues/129).
|
275 |
+
"""
|
276 |
+
def dec(func):
|
277 |
+
return FunctionMaker.create(
|
278 |
+
func,
|
279 |
+
"return _call_(_func_, %(shortsignature)s)",
|
280 |
+
dict(_call_=caller, _func_=func),
|
281 |
+
__wrapped__=func, __qualname__=func.__qualname__)
|
282 |
+
return dec
|
283 |
+
|
284 |
+
|
285 |
+
def decorator(caller, _func=None, kwsyntax=False):
|
286 |
+
"""
|
287 |
+
decorator(caller) converts a caller function into a decorator
|
288 |
+
"""
|
289 |
+
if _func is not None: # return a decorated function
|
290 |
+
# this is obsolete behavior; you should use decorate instead
|
291 |
+
return decorate(_func, caller, (), kwsyntax)
|
292 |
+
# else return a decorator function
|
293 |
+
sig = inspect.signature(caller)
|
294 |
+
dec_params = [p for p in sig.parameters.values() if p.kind is POS]
|
295 |
+
|
296 |
+
def dec(func=None, *args, **kw):
|
297 |
+
na = len(args) + 1
|
298 |
+
extras = args + tuple(kw.get(p.name, p.default)
|
299 |
+
for p in dec_params[na:]
|
300 |
+
if p.default is not EMPTY)
|
301 |
+
if func is None:
|
302 |
+
return lambda func: decorate(func, caller, extras, kwsyntax)
|
303 |
+
else:
|
304 |
+
return decorate(func, caller, extras, kwsyntax)
|
305 |
+
dec.__signature__ = sig.replace(parameters=dec_params)
|
306 |
+
dec.__name__ = caller.__name__
|
307 |
+
dec.__doc__ = caller.__doc__
|
308 |
+
dec.__wrapped__ = caller
|
309 |
+
dec.__qualname__ = caller.__qualname__
|
310 |
+
dec.__kwdefaults__ = getattr(caller, '__kwdefaults__', None)
|
311 |
+
dec.__dict__.update(caller.__dict__)
|
312 |
+
return dec
|
313 |
+
|
314 |
+
|
315 |
+
# ####################### contextmanager ####################### #
|
316 |
+
|
317 |
+
|
318 |
+
class ContextManager(_GeneratorContextManager):
|
319 |
+
def __init__(self, g, *a, **k):
|
320 |
+
_GeneratorContextManager.__init__(self, g, a, k)
|
321 |
+
|
322 |
+
def __call__(self, func):
|
323 |
+
def caller(f, *a, **k):
|
324 |
+
with self.__class__(self.func, *self.args, **self.kwds):
|
325 |
+
return f(*a, **k)
|
326 |
+
return decorate(func, caller)
|
327 |
+
|
328 |
+
|
329 |
+
_contextmanager = decorator(ContextManager)
|
330 |
+
|
331 |
+
|
332 |
+
def contextmanager(func):
|
333 |
+
# Enable Pylint config: contextmanager-decorators=decorator.contextmanager
|
334 |
+
return _contextmanager(func)
|
335 |
+
|
336 |
+
|
337 |
+
# ############################ dispatch_on ############################ #
|
338 |
+
|
339 |
+
def append(a, vancestors):
|
340 |
+
"""
|
341 |
+
Append ``a`` to the list of the virtual ancestors, unless it is already
|
342 |
+
included.
|
343 |
+
"""
|
344 |
+
add = True
|
345 |
+
for j, va in enumerate(vancestors):
|
346 |
+
if issubclass(va, a):
|
347 |
+
add = False
|
348 |
+
break
|
349 |
+
if issubclass(a, va):
|
350 |
+
vancestors[j] = a
|
351 |
+
add = False
|
352 |
+
if add:
|
353 |
+
vancestors.append(a)
|
354 |
+
|
355 |
+
|
356 |
+
# inspired from simplegeneric by P.J. Eby and functools.singledispatch
|
357 |
+
def dispatch_on(*dispatch_args):
|
358 |
+
"""
|
359 |
+
Factory of decorators turning a function into a generic function
|
360 |
+
dispatching on the given arguments.
|
361 |
+
"""
|
362 |
+
assert dispatch_args, 'No dispatch args passed'
|
363 |
+
dispatch_str = '(%s,)' % ', '.join(dispatch_args)
|
364 |
+
|
365 |
+
def check(arguments, wrong=operator.ne, msg=''):
|
366 |
+
"""Make sure one passes the expected number of arguments"""
|
367 |
+
if wrong(len(arguments), len(dispatch_args)):
|
368 |
+
raise TypeError('Expected %d arguments, got %d%s' %
|
369 |
+
(len(dispatch_args), len(arguments), msg))
|
370 |
+
|
371 |
+
def gen_func_dec(func):
|
372 |
+
"""Decorator turning a function into a generic function"""
|
373 |
+
|
374 |
+
# first check the dispatch arguments
|
375 |
+
argset = set(getfullargspec(func).args)
|
376 |
+
if not set(dispatch_args) <= argset:
|
377 |
+
raise NameError('Unknown dispatch arguments %s' % dispatch_str)
|
378 |
+
|
379 |
+
typemap = {}
|
380 |
+
|
381 |
+
def vancestors(*types):
|
382 |
+
"""
|
383 |
+
Get a list of sets of virtual ancestors for the given types
|
384 |
+
"""
|
385 |
+
check(types)
|
386 |
+
ras = [[] for _ in range(len(dispatch_args))]
|
387 |
+
for types_ in typemap:
|
388 |
+
for t, type_, ra in zip(types, types_, ras):
|
389 |
+
if issubclass(t, type_) and type_ not in t.mro():
|
390 |
+
append(type_, ra)
|
391 |
+
return [set(ra) for ra in ras]
|
392 |
+
|
393 |
+
def ancestors(*types):
|
394 |
+
"""
|
395 |
+
Get a list of virtual MROs, one for each type
|
396 |
+
"""
|
397 |
+
check(types)
|
398 |
+
lists = []
|
399 |
+
for t, vas in zip(types, vancestors(*types)):
|
400 |
+
n_vas = len(vas)
|
401 |
+
if n_vas > 1:
|
402 |
+
raise RuntimeError(
|
403 |
+
'Ambiguous dispatch for %s: %s' % (t, vas))
|
404 |
+
elif n_vas == 1:
|
405 |
+
va, = vas
|
406 |
+
mro = type('t', (t, va), {}).mro()[1:]
|
407 |
+
else:
|
408 |
+
mro = t.mro()
|
409 |
+
lists.append(mro[:-1]) # discard t and object
|
410 |
+
return lists
|
411 |
+
|
412 |
+
def register(*types):
|
413 |
+
"""
|
414 |
+
Decorator to register an implementation for the given types
|
415 |
+
"""
|
416 |
+
check(types)
|
417 |
+
|
418 |
+
def dec(f):
|
419 |
+
check(getfullargspec(f).args, operator.lt, ' in ' + f.__name__)
|
420 |
+
typemap[types] = f
|
421 |
+
return f
|
422 |
+
return dec
|
423 |
+
|
424 |
+
def dispatch_info(*types):
|
425 |
+
"""
|
426 |
+
An utility to introspect the dispatch algorithm
|
427 |
+
"""
|
428 |
+
check(types)
|
429 |
+
lst = []
|
430 |
+
for ancs in itertools.product(*ancestors(*types)):
|
431 |
+
lst.append(tuple(a.__name__ for a in ancs))
|
432 |
+
return lst
|
433 |
+
|
434 |
+
def _dispatch(dispatch_args, *args, **kw):
|
435 |
+
types = tuple(type(arg) for arg in dispatch_args)
|
436 |
+
try: # fast path
|
437 |
+
f = typemap[types]
|
438 |
+
except KeyError:
|
439 |
+
pass
|
440 |
+
else:
|
441 |
+
return f(*args, **kw)
|
442 |
+
combinations = itertools.product(*ancestors(*types))
|
443 |
+
next(combinations) # the first one has been already tried
|
444 |
+
for types_ in combinations:
|
445 |
+
f = typemap.get(types_)
|
446 |
+
if f is not None:
|
447 |
+
return f(*args, **kw)
|
448 |
+
|
449 |
+
# else call the default implementation
|
450 |
+
return func(*args, **kw)
|
451 |
+
|
452 |
+
return FunctionMaker.create(
|
453 |
+
func, 'return _f_(%s, %%(shortsignature)s)' % dispatch_str,
|
454 |
+
dict(_f_=_dispatch), register=register, default=func,
|
455 |
+
typemap=typemap, vancestors=vancestors, ancestors=ancestors,
|
456 |
+
dispatch_info=dispatch_info, __wrapped__=func)
|
457 |
+
|
458 |
+
gen_func_dec.__name__ = 'dispatch_on' + dispatch_str
|
459 |
+
return gen_func_dec
|
temp_venv/lib/python3.13/site-packages/idna-3.10.dist-info/LICENSE.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
BSD 3-Clause License
|
2 |
+
|
3 |
+
Copyright (c) 2013-2024, Kim Davies and contributors.
|
4 |
+
All rights reserved.
|
5 |
+
|
6 |
+
Redistribution and use in source and binary forms, with or without
|
7 |
+
modification, are permitted provided that the following conditions are
|
8 |
+
met:
|
9 |
+
|
10 |
+
1. Redistributions of source code must retain the above copyright
|
11 |
+
notice, this list of conditions and the following disclaimer.
|
12 |
+
|
13 |
+
2. Redistributions in binary form must reproduce the above copyright
|
14 |
+
notice, this list of conditions and the following disclaimer in the
|
15 |
+
documentation and/or other materials provided with the distribution.
|
16 |
+
|
17 |
+
3. Neither the name of the copyright holder nor the names of its
|
18 |
+
contributors may be used to endorse or promote products derived from
|
19 |
+
this software without specific prior written permission.
|
20 |
+
|
21 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
22 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
23 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
24 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
25 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
26 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
27 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
28 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
29 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
30 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
31 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
temp_venv/lib/python3.13/site-packages/idna-3.10.dist-info/RECORD
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
idna-3.10.dist-info/INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2
|
2 |
+
idna-3.10.dist-info/LICENSE.md,sha256=pZ8LDvNjWHQQmkRhykT_enDVBpboFHZ7-vch1Mmw2w8,1541
|
3 |
+
idna-3.10.dist-info/METADATA,sha256=URR5ZyDfQ1PCEGhkYoojqfi2Ra0tau2--lhwG4XSfjI,10158
|
4 |
+
idna-3.10.dist-info/RECORD,,
|
5 |
+
idna-3.10.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6 |
+
idna-3.10.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
7 |
+
idna/__init__.py,sha256=MPqNDLZbXqGaNdXxAFhiqFPKEQXju2jNQhCey6-5eJM,868
|
8 |
+
idna/codec.py,sha256=PEew3ItwzjW4hymbasnty2N2OXvNcgHB-JjrBuxHPYY,3422
|
9 |
+
idna/compat.py,sha256=RzLy6QQCdl9784aFhb2EX9EKGCJjg0P3PilGdeXXcx8,316
|
10 |
+
idna/core.py,sha256=YJYyAMnwiQEPjVC4-Fqu_p4CJ6yKKuDGmppBNQNQpFs,13239
|
11 |
+
idna/idnadata.py,sha256=W30GcIGvtOWYwAjZj4ZjuouUutC6ffgNuyjJy7fZ-lo,78306
|
12 |
+
idna/intranges.py,sha256=amUtkdhYcQG8Zr-CoMM_kVRacxkivC1WgxN1b63KKdU,1898
|
13 |
+
idna/package_data.py,sha256=q59S3OXsc5VI8j6vSD0sGBMyk6zZ4vWFREE88yCJYKs,21
|
14 |
+
idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15 |
+
idna/uts46data.py,sha256=rt90K9J40gUSwppDPCrhjgi5AA6pWM65dEGRSf6rIhM,239289
|
temp_venv/lib/python3.13/site-packages/ipython_pygments_lexers.py
ADDED
@@ -0,0 +1,582 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# -*- coding: utf-8 -*-
|
2 |
+
"""
|
3 |
+
Defines a variety of Pygments lexers for highlighting IPython code.
|
4 |
+
|
5 |
+
This includes:
|
6 |
+
|
7 |
+
IPythonLexer, IPython3Lexer
|
8 |
+
Lexers for pure IPython (python + magic/shell commands)
|
9 |
+
|
10 |
+
IPythonPartialTracebackLexer, IPythonTracebackLexer
|
11 |
+
Supports 2.x and 3.x via keyword `python3`. The partial traceback
|
12 |
+
lexer reads everything but the Python code appearing in a traceback.
|
13 |
+
The full lexer combines the partial lexer with an IPython lexer.
|
14 |
+
|
15 |
+
IPythonConsoleLexer
|
16 |
+
A lexer for IPython console sessions, with support for tracebacks.
|
17 |
+
|
18 |
+
IPyLexer
|
19 |
+
A friendly lexer which examines the first line of text and from it,
|
20 |
+
decides whether to use an IPython lexer or an IPython console lexer.
|
21 |
+
This is probably the only lexer that needs to be explicitly added
|
22 |
+
to Pygments.
|
23 |
+
|
24 |
+
"""
|
25 |
+
# -----------------------------------------------------------------------------
|
26 |
+
# Copyright (c) 2013, the IPython Development Team.
|
27 |
+
#
|
28 |
+
# Distributed under the terms of the Modified BSD License.
|
29 |
+
#
|
30 |
+
# The full license is in the file COPYING.txt, distributed with this software.
|
31 |
+
# -----------------------------------------------------------------------------
|
32 |
+
|
33 |
+
__version__ = "1.1.1"
|
34 |
+
|
35 |
+
# Standard library
|
36 |
+
import re
|
37 |
+
|
38 |
+
# Third party
|
39 |
+
from pygments.lexers import (
|
40 |
+
BashLexer,
|
41 |
+
HtmlLexer,
|
42 |
+
JavascriptLexer,
|
43 |
+
RubyLexer,
|
44 |
+
PerlLexer,
|
45 |
+
Python2Lexer,
|
46 |
+
Python3Lexer,
|
47 |
+
TexLexer,
|
48 |
+
)
|
49 |
+
from pygments.lexer import (
|
50 |
+
Lexer,
|
51 |
+
DelegatingLexer,
|
52 |
+
RegexLexer,
|
53 |
+
do_insertions,
|
54 |
+
bygroups,
|
55 |
+
using,
|
56 |
+
)
|
57 |
+
from pygments.token import (
|
58 |
+
Generic,
|
59 |
+
Keyword,
|
60 |
+
Literal,
|
61 |
+
Name,
|
62 |
+
Operator,
|
63 |
+
Other,
|
64 |
+
Text,
|
65 |
+
Error,
|
66 |
+
)
|
67 |
+
|
68 |
+
|
69 |
+
line_re = re.compile(".*?\n")
|
70 |
+
|
71 |
+
__all__ = [
|
72 |
+
"IPython3Lexer",
|
73 |
+
"IPythonLexer",
|
74 |
+
"IPythonPartialTracebackLexer",
|
75 |
+
"IPythonTracebackLexer",
|
76 |
+
"IPythonConsoleLexer",
|
77 |
+
"IPyLexer",
|
78 |
+
]
|
79 |
+
|
80 |
+
|
81 |
+
ipython_tokens = [
|
82 |
+
(
|
83 |
+
r"(?s)(\s*)(%%capture)([^\n]*\n)(.*)",
|
84 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
85 |
+
),
|
86 |
+
(
|
87 |
+
r"(?s)(\s*)(%%debug)([^\n]*\n)(.*)",
|
88 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
89 |
+
),
|
90 |
+
(
|
91 |
+
r"(?is)(\s*)(%%html)([^\n]*\n)(.*)",
|
92 |
+
bygroups(Text, Operator, Text, using(HtmlLexer)),
|
93 |
+
),
|
94 |
+
(
|
95 |
+
r"(?s)(\s*)(%%javascript)([^\n]*\n)(.*)",
|
96 |
+
bygroups(Text, Operator, Text, using(JavascriptLexer)),
|
97 |
+
),
|
98 |
+
(
|
99 |
+
r"(?s)(\s*)(%%js)([^\n]*\n)(.*)",
|
100 |
+
bygroups(Text, Operator, Text, using(JavascriptLexer)),
|
101 |
+
),
|
102 |
+
(
|
103 |
+
r"(?s)(\s*)(%%latex)([^\n]*\n)(.*)",
|
104 |
+
bygroups(Text, Operator, Text, using(TexLexer)),
|
105 |
+
),
|
106 |
+
(
|
107 |
+
r"(?s)(\s*)(%%perl)([^\n]*\n)(.*)",
|
108 |
+
bygroups(Text, Operator, Text, using(PerlLexer)),
|
109 |
+
),
|
110 |
+
(
|
111 |
+
r"(?s)(\s*)(%%prun)([^\n]*\n)(.*)",
|
112 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
113 |
+
),
|
114 |
+
(
|
115 |
+
r"(?s)(\s*)(%%pypy)([^\n]*\n)(.*)",
|
116 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
117 |
+
),
|
118 |
+
(
|
119 |
+
r"(?s)(\s*)(%%python2)([^\n]*\n)(.*)",
|
120 |
+
bygroups(Text, Operator, Text, using(Python2Lexer)),
|
121 |
+
),
|
122 |
+
(
|
123 |
+
r"(?s)(\s*)(%%python3)([^\n]*\n)(.*)",
|
124 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
125 |
+
),
|
126 |
+
(
|
127 |
+
r"(?s)(\s*)(%%python)([^\n]*\n)(.*)",
|
128 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
129 |
+
),
|
130 |
+
(
|
131 |
+
r"(?s)(\s*)(%%ruby)([^\n]*\n)(.*)",
|
132 |
+
bygroups(Text, Operator, Text, using(RubyLexer)),
|
133 |
+
),
|
134 |
+
(
|
135 |
+
r"(?s)(\s*)(%%timeit)([^\n]*\n)(.*)",
|
136 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
137 |
+
),
|
138 |
+
(
|
139 |
+
r"(?s)(\s*)(%%time)([^\n]*\n)(.*)",
|
140 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
141 |
+
),
|
142 |
+
(
|
143 |
+
r"(?s)(\s*)(%%writefile)([^\n]*\n)(.*)",
|
144 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
145 |
+
),
|
146 |
+
(
|
147 |
+
r"(?s)(\s*)(%%file)([^\n]*\n)(.*)",
|
148 |
+
bygroups(Text, Operator, Text, using(Python3Lexer)),
|
149 |
+
),
|
150 |
+
(r"(?s)(\s*)(%%)(\w+)(.*)", bygroups(Text, Operator, Keyword, Text)),
|
151 |
+
(
|
152 |
+
r"(?s)(^\s*)(%%!)([^\n]*\n)(.*)",
|
153 |
+
bygroups(Text, Operator, Text, using(BashLexer)),
|
154 |
+
),
|
155 |
+
(r"(%%?)(\w+)(\?\??)$", bygroups(Operator, Keyword, Operator)),
|
156 |
+
(r"\b(\?\??)(\s*)$", bygroups(Operator, Text)),
|
157 |
+
(r"(%)(sx|sc|system)(.*)(\n)", bygroups(Operator, Keyword, using(BashLexer), Text)),
|
158 |
+
(r"(%)(\w+)(.*\n)", bygroups(Operator, Keyword, Text)),
|
159 |
+
(r"^(!!)(.+)(\n)", bygroups(Operator, using(BashLexer), Text)),
|
160 |
+
(r"(!)(?!=)(.+)(\n)", bygroups(Operator, using(BashLexer), Text)),
|
161 |
+
(r"^(\s*)(\?\??)(\s*%{0,2}[\w\.\*]*)", bygroups(Text, Operator, Text)),
|
162 |
+
(r"(\s*%{0,2}[\w\.\*]*)(\?\??)(\s*)$", bygroups(Text, Operator, Text)),
|
163 |
+
]
|
164 |
+
|
165 |
+
|
166 |
+
class IPython3Lexer(Python3Lexer):
|
167 |
+
"""IPython code lexer (based on Python 3)"""
|
168 |
+
|
169 |
+
name = "IPython"
|
170 |
+
aliases = ["ipython", "ipython3"]
|
171 |
+
|
172 |
+
tokens = Python3Lexer.tokens.copy()
|
173 |
+
tokens["root"] = ipython_tokens + tokens["root"]
|
174 |
+
|
175 |
+
|
176 |
+
IPythonLexer = IPython3Lexer
|
177 |
+
|
178 |
+
|
179 |
+
class IPythonPartialTracebackLexer(RegexLexer):
|
180 |
+
"""
|
181 |
+
Partial lexer for IPython tracebacks.
|
182 |
+
|
183 |
+
Handles all the non-python output.
|
184 |
+
|
185 |
+
"""
|
186 |
+
|
187 |
+
name = "IPython Partial Traceback"
|
188 |
+
|
189 |
+
tokens = {
|
190 |
+
"root": [
|
191 |
+
# Tracebacks for syntax errors have a different style.
|
192 |
+
# For both types of tracebacks, we mark the first line with
|
193 |
+
# Generic.Traceback. For syntax errors, we mark the filename
|
194 |
+
# as we mark the filenames for non-syntax tracebacks.
|
195 |
+
#
|
196 |
+
# These two regexps define how IPythonConsoleLexer finds a
|
197 |
+
# traceback.
|
198 |
+
#
|
199 |
+
## Non-syntax traceback
|
200 |
+
(r"^(\^C)?(-+\n)", bygroups(Error, Generic.Traceback)),
|
201 |
+
## Syntax traceback
|
202 |
+
(
|
203 |
+
r"^( File)(.*)(, line )(\d+\n)",
|
204 |
+
bygroups(
|
205 |
+
Generic.Traceback,
|
206 |
+
Name.Namespace,
|
207 |
+
Generic.Traceback,
|
208 |
+
Literal.Number.Integer,
|
209 |
+
),
|
210 |
+
),
|
211 |
+
# (Exception Identifier)(Whitespace)(Traceback Message)
|
212 |
+
(
|
213 |
+
r"(?u)(^[^\d\W]\w*)(\s*)(Traceback.*?\n)",
|
214 |
+
bygroups(Name.Exception, Generic.Whitespace, Text),
|
215 |
+
),
|
216 |
+
# (Module/Filename)(Text)(Callee)(Function Signature)
|
217 |
+
# Better options for callee and function signature?
|
218 |
+
(
|
219 |
+
r"(.*)( in )(.*)(\(.*\)\n)",
|
220 |
+
bygroups(Name.Namespace, Text, Name.Entity, Name.Tag),
|
221 |
+
),
|
222 |
+
# Regular line: (Whitespace)(Line Number)(Python Code)
|
223 |
+
(
|
224 |
+
r"(\s*?)(\d+)(.*?\n)",
|
225 |
+
bygroups(Generic.Whitespace, Literal.Number.Integer, Other),
|
226 |
+
),
|
227 |
+
# Emphasized line: (Arrow)(Line Number)(Python Code)
|
228 |
+
# Using Exception token so arrow color matches the Exception.
|
229 |
+
(
|
230 |
+
r"(-*>?\s?)(\d+)(.*?\n)",
|
231 |
+
bygroups(Name.Exception, Literal.Number.Integer, Other),
|
232 |
+
),
|
233 |
+
# (Exception Identifier)(Message)
|
234 |
+
(r"(?u)(^[^\d\W]\w*)(:.*?\n)", bygroups(Name.Exception, Text)),
|
235 |
+
# Tag everything else as Other, will be handled later.
|
236 |
+
(r".*\n", Other),
|
237 |
+
],
|
238 |
+
}
|
239 |
+
|
240 |
+
|
241 |
+
class IPythonTracebackLexer(DelegatingLexer):
|
242 |
+
"""
|
243 |
+
IPython traceback lexer.
|
244 |
+
|
245 |
+
For doctests, the tracebacks can be snipped as much as desired with the
|
246 |
+
exception to the lines that designate a traceback. For non-syntax error
|
247 |
+
tracebacks, this is the line of hyphens. For syntax error tracebacks,
|
248 |
+
this is the line which lists the File and line number.
|
249 |
+
|
250 |
+
"""
|
251 |
+
|
252 |
+
# The lexer inherits from DelegatingLexer. The "root" lexer is an
|
253 |
+
# appropriate IPython lexer, which depends on the value of the boolean
|
254 |
+
# `python3`. First, we parse with the partial IPython traceback lexer.
|
255 |
+
# Then, any code marked with the "Other" token is delegated to the root
|
256 |
+
# lexer.
|
257 |
+
#
|
258 |
+
name = "IPython Traceback"
|
259 |
+
aliases = ["ipythontb", "ipython3tb"]
|
260 |
+
|
261 |
+
def __init__(self, **options):
|
262 |
+
"""
|
263 |
+
A subclass of `DelegatingLexer` which delegates to the appropriate to either IPyLexer,
|
264 |
+
IPythonPartialTracebackLexer.
|
265 |
+
"""
|
266 |
+
# note we need a __init__ doc, as otherwise it inherits the doc from the super class
|
267 |
+
# which will fail the documentation build as it references section of the pygments docs that
|
268 |
+
# do not exists when building IPython's docs.
|
269 |
+
DelegatingLexer.__init__(
|
270 |
+
self, IPython3Lexer, IPythonPartialTracebackLexer, **options
|
271 |
+
)
|
272 |
+
|
273 |
+
|
274 |
+
class IPythonConsoleLexer(Lexer):
|
275 |
+
"""
|
276 |
+
An IPython console lexer for IPython code-blocks and doctests, such as:
|
277 |
+
|
278 |
+
.. code-block:: rst
|
279 |
+
|
280 |
+
.. code-block:: ipythonconsole
|
281 |
+
|
282 |
+
In [1]: a = 'foo'
|
283 |
+
|
284 |
+
In [2]: a
|
285 |
+
Out[2]: 'foo'
|
286 |
+
|
287 |
+
In [3]: print(a)
|
288 |
+
foo
|
289 |
+
|
290 |
+
|
291 |
+
Support is also provided for IPython exceptions:
|
292 |
+
|
293 |
+
.. code-block:: rst
|
294 |
+
|
295 |
+
.. code-block:: ipythonconsole
|
296 |
+
|
297 |
+
In [1]: raise Exception
|
298 |
+
Traceback (most recent call last):
|
299 |
+
...
|
300 |
+
Exception
|
301 |
+
|
302 |
+
"""
|
303 |
+
|
304 |
+
name = "IPython console session"
|
305 |
+
aliases = ["ipythonconsole", "ipython3console"]
|
306 |
+
mimetypes = ["text/x-ipython-console"]
|
307 |
+
|
308 |
+
# The regexps used to determine what is input and what is output.
|
309 |
+
# The default prompts for IPython are:
|
310 |
+
#
|
311 |
+
# in = 'In [#]: '
|
312 |
+
# continuation = ' .D.: '
|
313 |
+
# template = 'Out[#]: '
|
314 |
+
#
|
315 |
+
# Where '#' is the 'prompt number' or 'execution count' and 'D'
|
316 |
+
# D is a number of dots matching the width of the execution count
|
317 |
+
#
|
318 |
+
in1_regex = r"In \[[0-9]+\]: "
|
319 |
+
in2_regex = r" \.\.+\.: "
|
320 |
+
out_regex = r"Out\[[0-9]+\]: "
|
321 |
+
|
322 |
+
#: The regex to determine when a traceback starts.
|
323 |
+
ipytb_start = re.compile(r"^(\^C)?(-+\n)|^( File)(.*)(, line )(\d+\n)")
|
324 |
+
|
325 |
+
def __init__(self, **options):
|
326 |
+
"""Initialize the IPython console lexer.
|
327 |
+
|
328 |
+
Parameters
|
329 |
+
----------
|
330 |
+
in1_regex : RegexObject
|
331 |
+
The compiled regular expression used to detect the start
|
332 |
+
of inputs. Although the IPython configuration setting may have a
|
333 |
+
trailing whitespace, do not include it in the regex. If `None`,
|
334 |
+
then the default input prompt is assumed.
|
335 |
+
in2_regex : RegexObject
|
336 |
+
The compiled regular expression used to detect the continuation
|
337 |
+
of inputs. Although the IPython configuration setting may have a
|
338 |
+
trailing whitespace, do not include it in the regex. If `None`,
|
339 |
+
then the default input prompt is assumed.
|
340 |
+
out_regex : RegexObject
|
341 |
+
The compiled regular expression used to detect outputs. If `None`,
|
342 |
+
then the default output prompt is assumed.
|
343 |
+
|
344 |
+
"""
|
345 |
+
in1_regex = options.get("in1_regex", self.in1_regex)
|
346 |
+
in2_regex = options.get("in2_regex", self.in2_regex)
|
347 |
+
out_regex = options.get("out_regex", self.out_regex)
|
348 |
+
|
349 |
+
# So that we can work with input and output prompts which have been
|
350 |
+
# rstrip'd (possibly by editors) we also need rstrip'd variants. If
|
351 |
+
# we do not do this, then such prompts will be tagged as 'output'.
|
352 |
+
# The reason can't just use the rstrip'd variants instead is because
|
353 |
+
# we want any whitespace associated with the prompt to be inserted
|
354 |
+
# with the token. This allows formatted code to be modified so as hide
|
355 |
+
# the appearance of prompts, with the whitespace included. One example
|
356 |
+
# use of this is in copybutton.js from the standard lib Python docs.
|
357 |
+
in1_regex_rstrip = in1_regex.rstrip() + "\n"
|
358 |
+
in2_regex_rstrip = in2_regex.rstrip() + "\n"
|
359 |
+
out_regex_rstrip = out_regex.rstrip() + "\n"
|
360 |
+
|
361 |
+
# Compile and save them all.
|
362 |
+
attrs = [
|
363 |
+
"in1_regex",
|
364 |
+
"in2_regex",
|
365 |
+
"out_regex",
|
366 |
+
"in1_regex_rstrip",
|
367 |
+
"in2_regex_rstrip",
|
368 |
+
"out_regex_rstrip",
|
369 |
+
]
|
370 |
+
for attr in attrs:
|
371 |
+
self.__setattr__(attr, re.compile(locals()[attr]))
|
372 |
+
|
373 |
+
Lexer.__init__(self, **options)
|
374 |
+
|
375 |
+
self.pylexer = IPython3Lexer(**options)
|
376 |
+
self.tblexer = IPythonTracebackLexer(**options)
|
377 |
+
|
378 |
+
self.reset()
|
379 |
+
|
380 |
+
def reset(self):
|
381 |
+
self.mode = "output"
|
382 |
+
self.index = 0
|
383 |
+
self.buffer = ""
|
384 |
+
self.insertions = []
|
385 |
+
|
386 |
+
def buffered_tokens(self):
|
387 |
+
"""
|
388 |
+
Generator of unprocessed tokens after doing insertions and before
|
389 |
+
changing to a new state.
|
390 |
+
|
391 |
+
"""
|
392 |
+
if self.mode == "output":
|
393 |
+
tokens = [(0, Generic.Output, self.buffer)]
|
394 |
+
elif self.mode == "input":
|
395 |
+
tokens = self.pylexer.get_tokens_unprocessed(self.buffer)
|
396 |
+
else: # traceback
|
397 |
+
tokens = self.tblexer.get_tokens_unprocessed(self.buffer)
|
398 |
+
|
399 |
+
for i, t, v in do_insertions(self.insertions, tokens):
|
400 |
+
# All token indexes are relative to the buffer.
|
401 |
+
yield self.index + i, t, v
|
402 |
+
|
403 |
+
# Clear it all
|
404 |
+
self.index += len(self.buffer)
|
405 |
+
self.buffer = ""
|
406 |
+
self.insertions = []
|
407 |
+
|
408 |
+
def get_mci(self, line):
|
409 |
+
"""
|
410 |
+
Parses the line and returns a 3-tuple: (mode, code, insertion).
|
411 |
+
|
412 |
+
`mode` is the next mode (or state) of the lexer, and is always equal
|
413 |
+
to 'input', 'output', or 'tb'.
|
414 |
+
|
415 |
+
`code` is a portion of the line that should be added to the buffer
|
416 |
+
corresponding to the next mode and eventually lexed by another lexer.
|
417 |
+
For example, `code` could be Python code if `mode` were 'input'.
|
418 |
+
|
419 |
+
`insertion` is a 3-tuple (index, token, text) representing an
|
420 |
+
unprocessed "token" that will be inserted into the stream of tokens
|
421 |
+
that are created from the buffer once we change modes. This is usually
|
422 |
+
the input or output prompt.
|
423 |
+
|
424 |
+
In general, the next mode depends on current mode and on the contents
|
425 |
+
of `line`.
|
426 |
+
|
427 |
+
"""
|
428 |
+
# To reduce the number of regex match checks, we have multiple
|
429 |
+
# 'if' blocks instead of 'if-elif' blocks.
|
430 |
+
|
431 |
+
# Check for possible end of input
|
432 |
+
in2_match = self.in2_regex.match(line)
|
433 |
+
in2_match_rstrip = self.in2_regex_rstrip.match(line)
|
434 |
+
if (
|
435 |
+
in2_match and in2_match.group().rstrip() == line.rstrip()
|
436 |
+
) or in2_match_rstrip:
|
437 |
+
end_input = True
|
438 |
+
else:
|
439 |
+
end_input = False
|
440 |
+
if end_input and self.mode != "tb":
|
441 |
+
# Only look for an end of input when not in tb mode.
|
442 |
+
# An ellipsis could appear within the traceback.
|
443 |
+
mode = "output"
|
444 |
+
code = ""
|
445 |
+
insertion = (0, Generic.Prompt, line)
|
446 |
+
return mode, code, insertion
|
447 |
+
|
448 |
+
# Check for output prompt
|
449 |
+
out_match = self.out_regex.match(line)
|
450 |
+
out_match_rstrip = self.out_regex_rstrip.match(line)
|
451 |
+
if out_match or out_match_rstrip:
|
452 |
+
mode = "output"
|
453 |
+
if out_match:
|
454 |
+
idx = out_match.end()
|
455 |
+
else:
|
456 |
+
idx = out_match_rstrip.end()
|
457 |
+
code = line[idx:]
|
458 |
+
# Use the 'heading' token for output. We cannot use Generic.Error
|
459 |
+
# since it would conflict with exceptions.
|
460 |
+
insertion = (0, Generic.Heading, line[:idx])
|
461 |
+
return mode, code, insertion
|
462 |
+
|
463 |
+
# Check for input or continuation prompt (non stripped version)
|
464 |
+
in1_match = self.in1_regex.match(line)
|
465 |
+
if in1_match or (in2_match and self.mode != "tb"):
|
466 |
+
# New input or when not in tb, continued input.
|
467 |
+
# We do not check for continued input when in tb since it is
|
468 |
+
# allowable to replace a long stack with an ellipsis.
|
469 |
+
mode = "input"
|
470 |
+
if in1_match:
|
471 |
+
idx = in1_match.end()
|
472 |
+
else: # in2_match
|
473 |
+
idx = in2_match.end()
|
474 |
+
code = line[idx:]
|
475 |
+
insertion = (0, Generic.Prompt, line[:idx])
|
476 |
+
return mode, code, insertion
|
477 |
+
|
478 |
+
# Check for input or continuation prompt (stripped version)
|
479 |
+
in1_match_rstrip = self.in1_regex_rstrip.match(line)
|
480 |
+
if in1_match_rstrip or (in2_match_rstrip and self.mode != "tb"):
|
481 |
+
# New input or when not in tb, continued input.
|
482 |
+
# We do not check for continued input when in tb since it is
|
483 |
+
# allowable to replace a long stack with an ellipsis.
|
484 |
+
mode = "input"
|
485 |
+
if in1_match_rstrip:
|
486 |
+
idx = in1_match_rstrip.end()
|
487 |
+
else: # in2_match
|
488 |
+
idx = in2_match_rstrip.end()
|
489 |
+
code = line[idx:]
|
490 |
+
insertion = (0, Generic.Prompt, line[:idx])
|
491 |
+
return mode, code, insertion
|
492 |
+
|
493 |
+
# Check for traceback
|
494 |
+
if self.ipytb_start.match(line):
|
495 |
+
mode = "tb"
|
496 |
+
code = line
|
497 |
+
insertion = None
|
498 |
+
return mode, code, insertion
|
499 |
+
|
500 |
+
# All other stuff...
|
501 |
+
if self.mode in ("input", "output"):
|
502 |
+
# We assume all other text is output. Multiline input that
|
503 |
+
# does not use the continuation marker cannot be detected.
|
504 |
+
# For example, the 3 in the following is clearly output:
|
505 |
+
#
|
506 |
+
# In [1]: print(3)
|
507 |
+
# 3
|
508 |
+
#
|
509 |
+
# But the following second line is part of the input:
|
510 |
+
#
|
511 |
+
# In [2]: while True:
|
512 |
+
# print(True)
|
513 |
+
#
|
514 |
+
# In both cases, the 2nd line will be 'output'.
|
515 |
+
#
|
516 |
+
mode = "output"
|
517 |
+
else:
|
518 |
+
mode = "tb"
|
519 |
+
|
520 |
+
code = line
|
521 |
+
insertion = None
|
522 |
+
|
523 |
+
return mode, code, insertion
|
524 |
+
|
525 |
+
def get_tokens_unprocessed(self, text):
|
526 |
+
self.reset()
|
527 |
+
for match in line_re.finditer(text):
|
528 |
+
line = match.group()
|
529 |
+
mode, code, insertion = self.get_mci(line)
|
530 |
+
|
531 |
+
if mode != self.mode:
|
532 |
+
# Yield buffered tokens before transitioning to new mode.
|
533 |
+
for token in self.buffered_tokens():
|
534 |
+
yield token
|
535 |
+
self.mode = mode
|
536 |
+
|
537 |
+
if insertion:
|
538 |
+
self.insertions.append((len(self.buffer), [insertion]))
|
539 |
+
self.buffer += code
|
540 |
+
|
541 |
+
for token in self.buffered_tokens():
|
542 |
+
yield token
|
543 |
+
|
544 |
+
|
545 |
+
class IPyLexer(Lexer):
|
546 |
+
r"""
|
547 |
+
Primary lexer for all IPython-like code.
|
548 |
+
|
549 |
+
This is a simple helper lexer. If the first line of the text begins with
|
550 |
+
"In \[[0-9]+\]:", then the entire text is parsed with an IPython console
|
551 |
+
lexer. If not, then the entire text is parsed with an IPython lexer.
|
552 |
+
|
553 |
+
The goal is to reduce the number of lexers that are registered
|
554 |
+
with Pygments.
|
555 |
+
|
556 |
+
"""
|
557 |
+
|
558 |
+
name = "IPy session"
|
559 |
+
aliases = ["ipy", "ipy3"]
|
560 |
+
|
561 |
+
def __init__(self, **options):
|
562 |
+
"""
|
563 |
+
Create a new IPyLexer instance which dispatch to either an
|
564 |
+
IPythonCOnsoleLexer (if In prompts are present) or and IPythonLexer (if
|
565 |
+
In prompts are not present).
|
566 |
+
"""
|
567 |
+
# init docstring is necessary for docs not to fail to build do to parent
|
568 |
+
# docs referenceing a section in pygments docs.
|
569 |
+
Lexer.__init__(self, **options)
|
570 |
+
|
571 |
+
self.IPythonLexer = IPythonLexer(**options)
|
572 |
+
self.IPythonConsoleLexer = IPythonConsoleLexer(**options)
|
573 |
+
|
574 |
+
def get_tokens_unprocessed(self, text):
|
575 |
+
# Search for the input prompt anywhere...this allows code blocks to
|
576 |
+
# begin with comments as well.
|
577 |
+
if re.match(r".*(In \[[0-9]+\]:)", text.strip(), re.DOTALL):
|
578 |
+
lex = self.IPythonConsoleLexer
|
579 |
+
else:
|
580 |
+
lex = self.IPythonLexer
|
581 |
+
for token in lex.get_tokens_unprocessed(text):
|
582 |
+
yield token
|