Looking Ahead: Modeling Future Evolution in Autoregressive Video Generation
Repo init.
HELLORPG2b1e70ac5f16
diff --git a/.gitignore b/.gitignorenew file mode 100644index 0000000..4060e12--- /dev/null+++ b/.gitignore@@ -0,0 +1,13 @@+.venv/+.uv-venv/+.uv-cache/+__pycache__/+.pytest_cache/+.ruff_cache/+*.pyc+outputs/+.torchrun_logs/+weights/+release_assets/+wandb/+.runtime-cache/diff --git a/LICENSE b/LICENSEnew file mode 100644index 0000000..f710c4d--- /dev/null+++ b/LICENSE@@ -0,0 +1,210 @@+Tencent is pleased to support the open source community by making Looking Ahead available.++Copyright (C) 2026 Tencent. All rights reserved.++Looking Ahead is licensed under the Apache-2.0.+++Terms of the Apache-2.0:+--------------------------------------------------------------------+Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.\ No newline at end of filediff --git a/README.md b/README.mdnew file mode 100644index 0000000..7e66099--- /dev/null+++ b/README.md@@ -0,0 +1,214 @@+<h1 align="center">Looking Ahead: Modeling Future Evolution in Autoregressive Video Generation</h1>++<p align="center">+ <a href="https://ruopenggao.com/">Ruopeng Gao</a><sup>1</sup>,+ <a href="https://yukun-huang.github.io/">Yukun Huang</a><sup>2,†</sup>,+ <a href="https://scholar.google.com/citations?user=0CJPK3IAAAAJ&hl=zh-CN">Jiarui Hu</a><sup>3</sup>,+ <a href="https://wangsssssss.github.io/">Shuai Wang</a><sup>1</sup>,+ <a href="https://wbhu.github.io/">Wenbo Hu</a><sup>2</sup>,+ <a href="https://scholar.google.com.hk/citations?user=4oXBp9UAAAAJ">Ying Shan</a><sup>2</sup>,+ <a href="https://wanglimin.github.io/">Limin Wang</a><sup>1,*</sup>+</p>++<p align="center">+ <sup>1</sup>Nanjing University <sup>2</sup>ARC Lab, Tencent IEG <sup>3</sup>Zhejiang University+</p>++<p align="center">+ <sup>†</sup>Project Lead <sup>*</sup>Corresponding Author+</p>++<p align="center">+ <img src="https://img.shields.io/badge/%F0%9F%93%84_Paper-TODO-EF4444?style=for-the-badge&labelColor=2B2F3A" alt="Paper"> + <a href="https://hellorpg.github.io/looking-ahead/"><img src="https://img.shields.io/badge/%F0%9F%8C%90_Project_Page-6366F1?style=for-the-badge&labelColor=2B2F3A" alt="Project Page"></a> + <img src="https://img.shields.io/badge/%F0%9F%A4%97_Models-TODO-0EA5E9?style=for-the-badge&labelColor=2B2F3A" alt="Models">+</p>++<p align="center">+ <img src="assets/teaser.gif" alt="Looking Ahead teaser" width="100%">+</p>++## 🔍 Introduction++Understanding visual evolution is essential for autoregressive video generation and world modeling.+Yet temporal redundancy can encourage local temporal shortcuts during teacher-forcing training, weakening the incentive to learn underlying dynamics.+To address this challenge, we introduce ***Future Chunk Prediction (FCP)***, which trains autoregressive video models to look ahead through auxiliary branches that predict temporally distant video chunks from intermediate features of the current chunk.+Using ***only video-pixel supervision, FCP improves physical consistency in generated videos and learns more semantically structured representations***.++We provide training and inference code, along with weights for 1.3B and 5B autoregressive text-and-image-to-video (TI2V) models. Stay tuned for more model sizes and variants.++## 🔥 News++- **2026-10-21:** Our [project page](https://hellorpg.github.io/looking-ahead/) and code are now available! Visit the project page for more demos.++## 🚧 Upcoming++We are continuing to improve this project and explore new directions. Watch this repository to stay up to date with our progress. The documentation is also evolving: if you have any questions about using the project, please open an issue. Where helpful, we will incorporate clarifications into future documentation updates.++- Release model weights.+- Release demo datasets.+- Add conda + pip installation instructions.++## ⚙️ Setup++We tested this project on Linux with an NVIDIA H200 GPU, Python 3.12.3 and PyTorch 2.10.0+cu128 (CUDA 12.8); compatibility with other environments has not been tested.++You can set up the environment using any of the following methods.++### uv (recommended)++Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then run the following commands from the repository root.++On Ubuntu / Debian, install FFmpeg if it is not already available:++```bash+sudo apt-get update+sudo apt-get install -y ffmpeg+```++Install the project environment with Python 3.12:++```bash+UV_CACHE_DIR=.uv-cache uv sync --python 3.12+# Activate the virtual environment+source .venv/bin/activate+```++++### conda + pip++> 🚧 **TODO:** Installation instructions will be added here.++++## 🤗 Model Downloads++++### Upstream Model Weights++Download the upstream model corresponding to your selected model size. Each repository includes the base model weights, configuration, text encoder, tokenizer and VAE.+++| Model | Download |+| --------------- | ---------------------------------------------------------------- |+| Wan2.1-T2V-1.3B | [🤗 Hugging Face](https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B) |+| Wan2.2-TI2V-5B | [🤗 Hugging Face](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B) |+++After activating your environment, download the model from the repository root using the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli):++```bash+# 1.3B+hf download Wan-AI/Wan2.1-T2V-1.3B \+ --local-dir weights/Wan-AI/Wan2.1-T2V-1.3B++# 5B+hf download Wan-AI/Wan2.2-TI2V-5B \+ --local-dir weights/Wan-AI/Wan2.2-TI2V-5B+```++These commands place the models in the default lookup directories under `./weights/Wan-AI` when running from the repository root. To use another location, set `WAN_ROOT` to the parent directory containing the model folders.++### Our Model Weights+++| Model Size | Method | Task | Final Weights |+| ---------- | ------------- | ---- | ------------- |+| 1.3B | TF (baseline) | TI2V | 🚧 TODO |+| 1.3B | FCP (ours) | TI2V | 🚧 TODO |+| 5B | TF (baseline) | TI2V | 🚧 TODO |+| 5B | FCP (ours) | TI2V | 🚧 TODO |+++Save the downloaded weights under `weights/Looking-Ahead/`, using the corresponding configuration name as the subdirectory and `model_ema.pt` as the filename.++```text+weights/Looking-Ahead/+├── tf_wan21_t2v_1.3b/model_ema.pt+├── fcp_wan21_t2v_1.3b/model_ema.pt+├── tf_wan22_ti2v_5b/model_ema.pt+└── fcp_wan22_ti2v_5b/model_ema.pt+```++++## 🎬 Inference++++### Text-and-Video-to-Video Generation++Run this single-GPU example from the repository root. It uses the 5B FCP model+and the supplied milk-pouring video and prompt to generate a 5-second video,+including the input context:++```bash+python inference.py \+ --config fcp_wan22_ti2v_5b \+ --checkpoint_path weights/Looking-Ahead/fcp_wan22_ti2v_5b/model_ema.pt \+ --use_ema \+ --video_path examples/inference/v2v/milk_pouring.mp4 \+ --prompt_file examples/inference/v2v/milk_pouring.txt \+ --duration 5s --seed 42 --sink 3 \+ --output_path outputs/v2v/fcp_milk_pouring+```++By default, inference selects the longest valid tail segment of the input video+as the prefix. Use `--v2v_context_latents` to set the prefix length manually.+See the [inference documentation](docs/inference.md) for details.++### General Text-and-Image-to-Video Generation++Run the following single-GPU example from the repository root. It generates a 5-second video using the 1.3B FCP model, the provided sailboat image and its matching prompt file:++```bash+python inference.py \+ --config fcp_wan21_t2v_1.3b \+ --checkpoint_path weights/Looking-Ahead/fcp_wan21_t2v_1.3b/model_ema.pt \+ --use_ema \+ --image_path examples/inference/i2v/sailboat_lake.png \+ --prompt_file examples/inference/i2v/sailboat_lake.txt \+ --duration 5s --seed 42 \+ --output_path outputs/example_inference+```++Input images are automatically resized with their aspect ratio preserved and+center-cropped to match the model's resolution.+See the [inference documentation](docs/inference.md) for more usage details.++## 🏋️ Training++++### Data Preparation++We provide a demo dataset to help you get started with training; custom datasets should follow the format below.++> 🚧 **TODO:** Demo dataset download link will be added here.++Place the downloaded demo datasets in the following directories under the repository root, preserving the `source_a/` and `source_b/` subdirectories:++- **1.3B:** `release_assets/dataset_demo/wan21_t2v_1.3b/`+- **5B:** `release_assets/dataset_demo/wan22_ti2v_5b/`++These paths are configured in `data_sources` in the corresponding YAML files under `configs/` (e.g., [fcp_wan21_t2v_1.3b.yaml](configs/fcp_wan21_t2v_1.3b.yaml) and [fcp_wan22_ti2v_5b.yaml](configs/fcp_wan22_ti2v_5b.yaml)); the TF configurations use the same dataset paths. For each source, `data_path` points to its `latent_shards/` directory, and `annotation_path` points to its `annotations.jsonl` file. If you store the datasets elsewhere, update these fields in your selected configuration.++### Training Examples++```bash+# Use all visible GPUs with W&B enabled and the default output directory+bash run.sh train fcp_wan21_t2v_1.3b++# Select GPUs+CUDA_VISIBLE_DEVICES=0,1,2,3 bash run.sh train fcp_wan21_t2v_1.3b++# Disable W&B+bash run.sh train fcp_wan21_t2v_1.3b --disable_wandb++# Specify the output directory+bash run.sh train fcp_wan21_t2v_1.3b --exp_dir outputs/my_experiment+```++To train another model or baseline, replace `fcp_wan21_t2v_1.3b` with `tf_wan21_t2v_1.3b`, `fcp_wan22_ti2v_5b`, or `tf_wan22_ti2v_5b`. Each name corresponds to a YAML file under `configs/`.diff --git a/assets/teaser.gif b/assets/teaser.gifnew file mode 100644index 0000000..d404f8bBinary files /dev/null and b/assets/teaser.gif differdiff --git a/configs/default_config.yaml b/configs/default_config.yamlnew file mode 100644index 0000000..08e5b32--- /dev/null+++ b/configs/default_config.yaml@@ -0,0 +1,85 @@+# Shared defaults, not an additional training recipe.+model_name: Wan2.1-T2V-1.3B+load_diffusion_pretrained: true+generator_fsdp_sync_module_states: false+independent_first_frame: false+condition_only_first_frame: false+optimizer: adamw+lr_warmup_steps: 0+lr_drop_steps: []+lr_drop_gamma: 0.1+optimizer_config:+ adamw:+ lr: 1.0e-05+ beta1: 0.0+ beta2: 0.999+ weight_decay: 0.01+i2v: false+gc_interval: 100+timestep_bucket_log_interval: 500+seed: 0+wds_sample_shuffle: 1000+wds_sample_shuffle_initial: 100+data_sources: null+inference_train_data_source_id: null+max_iters: -1+snapshot_iters: -1+checkpoint_path: null+resume_checkpoint_path: null+save_resume_checkpoint: false+batch_size: 1+val_batch_size: 1+test_sample_limit: -1+caption_dropout_p: 0.0+negative_prompt: Bright tones, overexposed, static, blurred details, subtitles, style,+ works, paintings, images, static, overall gray, worst quality, low quality, JPEG+ compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly+ drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture,+ messy background, three legs, many people in the background, walking backwards+max_grad_norm: 10.0+separate_predictive_grad_clip: false+max_predictive_grad_norm: null+max_checkpoints: 5+ema_checkpoint_mode: default+future_prediction:+ enabled: false+ init_mode: copy+ source_context:+ streams:+ - clean+ - noisy+ source_layer_fusion:+ mode: mlp+ hidden_ratio: 2.0+ activation: gelu+ aux_future_timestep_range:+ - 0.0+ - 1000.0+model_kwargs:+ timestep_shift: 5.0+ local_attn_size: -1+ sink_size: 0+timestep_shift: 5.0+sampling_steps: 50+sample_solver: unipc+val_num_workers: 4+no_save: false+no_visualize: false+disable_wandb: false+expdir: null+wandb_save_dir: null+wandb_host: https://api.wandb.ai+wandb_entity: null+wandb_project: Looking-Ahead+generator_ckpt: null+require_raw_generator_checkpoint: false+checkpoint_name: null+output_path: null+data_path: null+annotation_path: null+use_ema: false+use_train_data: false+duration: 5s+num_output_frames: -1+long_inference_threshold: 256+vae_decode_chunk: 32diff --git a/configs/fcp_wan21_t2v_1.3b.yaml b/configs/fcp_wan21_t2v_1.3b.yamlnew file mode 100644index 0000000..bb9cf97--- /dev/null+++ b/configs/fcp_wan21_t2v_1.3b.yaml@@ -0,0 +1,80 @@+# TF/FCP recipe. Acquire base weights and prepare or download the matching demo first.+model_name: Wan2.1-T2V-1.3B+timestep_shift: 5.0+guidance_scale: 3.0+mixed_precision: true+sharding_strategy: hybrid_full+lr_warmup_steps: 1000+batch_size: 1+ema_weight: 0.999+ema_checkpoint_mode: default+ema_start_step: 2000+max_iters: 20000+log_iters: 500+snapshot_iters: 10000+seed: 42+num_workers: 8+image_or_video_shape:+- 1+- 22+- 16+- 54+- 96+gradient_checkpointing: true+num_frame_per_block: 3+independent_first_frame: true+condition_only_first_frame: true+model_kwargs:+ timestep_shift: 5.0+data_path: null+annotation_path: null+data_sources:+- id: source_a+ data_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_a/latent_shards+ annotation_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_a/annotations.jsonl+ weight: 1.0+- id: source_b+ data_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_b/latent_shards+ annotation_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_b/annotations.jsonl+ weight: 1.0+max_grad_norm: 0.1+separate_predictive_grad_clip: true+max_predictive_grad_norm: 0.1+future_prediction:+ enabled: true+ future_offsets:+ - 1+ - 2+ - 3+ source_layers:+ - 8+ - 14+ - 20+ - 26+ source_layer_fusion:+ mode: mlp+ hidden_ratio: 2.0+ activation: gelu+ mini_dit_depth: 3+ offset_loss_weights:+ - 0.5+ - 0.5+ - 0.5+ init_mode: copy+ init_source:+ - 16+ - 17+ - 18+ aux_future_timestep_range:+ - 0.0+ - 1000.0+ source_context:+ streams:+ - clean+ - noisy+optimizer_config:+ adamw:+ lr: 1.0e-05+ beta1: 0.0+ beta2: 0.999+ weight_decay: 0.01diff --git a/configs/fcp_wan22_ti2v_5b.yaml b/configs/fcp_wan22_ti2v_5b.yamlnew file mode 100644index 0000000..e9baa66--- /dev/null+++ b/configs/fcp_wan22_ti2v_5b.yaml@@ -0,0 +1,88 @@+# TF/FCP recipe. Acquire base weights and prepare or download the matching demo first.+model_name: Wan2.2-TI2V-5B+generator_fsdp_sync_module_states: true+timestep_shift: 5.0+guidance_scale: 3.0+mixed_precision: true+sharding_strategy: hybrid_full+lr_warmup_steps: 1000+batch_size: 1+ema_weight: 0.9995+ema_checkpoint_mode: default+ema_start_step: 2000+max_iters: 25000+log_iters: 1000+snapshot_iters: 40000+seed: 42+wds_sample_shuffle: 128+wds_sample_shuffle_initial: 128+num_workers: 8+image_or_video_shape:+- 1+- 31+- 48+- 36+- 64+gradient_checkpointing: true+num_frame_per_block: 3+independent_first_frame: true+condition_only_first_frame: true+model_kwargs:+ timestep_shift: 5.0+fps: 24+data_path: null+annotation_path: null+data_sources:+- id: source_a+ data_path: release_assets/dataset_demo/wan22_ti2v_5b/source_a/latent_shards+ annotation_path: release_assets/dataset_demo/wan22_ti2v_5b/source_a/annotations.jsonl+ weight: 1.0+- id: source_b+ data_path: release_assets/dataset_demo/wan22_ti2v_5b/source_b/latent_shards+ annotation_path: release_assets/dataset_demo/wan22_ti2v_5b/source_b/annotations.jsonl+ weight: 1.0+max_grad_norm: 0.1+separate_predictive_grad_clip: true+max_predictive_grad_norm: 0.1+future_prediction:+ enabled: true+ future_offsets:+ - 1+ - 2+ - 3+ - 4+ - 5+ source_layers:+ - 2+ - 11+ - 20+ - 29+ source_layer_fusion:+ mode: mlp+ hidden_ratio: 2.0+ activation: gelu+ mini_dit_depth: 3+ offset_loss_weights:+ - 0.5+ - 0.5+ - 0.5+ - 0.5+ - 0.5+ init_mode: copy+ init_source:+ - 27+ - 28+ - 29+ aux_future_timestep_range:+ - 0.0+ - 1000.0+ source_context:+ streams:+ - clean+ - noisy+optimizer_config:+ adamw:+ lr: 1.0e-05+ beta1: 0.0+ beta2: 0.999+ weight_decay: 0.01diff --git a/configs/tf_wan21_t2v_1.3b.yaml b/configs/tf_wan21_t2v_1.3b.yamlnew file mode 100644index 0000000..73386d1--- /dev/null+++ b/configs/tf_wan21_t2v_1.3b.yaml@@ -0,0 +1,48 @@+# TF/FCP recipe. Acquire base weights and prepare or download the matching demo first.+model_name: Wan2.1-T2V-1.3B+timestep_shift: 5.0+guidance_scale: 3.0+mixed_precision: true+sharding_strategy: hybrid_full+lr_warmup_steps: 1000+batch_size: 1+ema_weight: 0.999+ema_checkpoint_mode: default+ema_start_step: 2000+max_iters: 20000+log_iters: 500+snapshot_iters: 10000+seed: 42+num_workers: 8+image_or_video_shape:+- 1+- 22+- 16+- 54+- 96+gradient_checkpointing: true+num_frame_per_block: 3+independent_first_frame: true+condition_only_first_frame: true+model_kwargs:+ timestep_shift: 5.0+data_path: null+annotation_path: null+data_sources:+- id: source_a+ data_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_a/latent_shards+ annotation_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_a/annotations.jsonl+ weight: 1.0+- id: source_b+ data_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_b/latent_shards+ annotation_path: release_assets/dataset_demo/wan21_t2v_1.3b/source_b/annotations.jsonl+ weight: 1.0+max_grad_norm: 0.1+future_prediction:+ enabled: false+optimizer_config:+ adamw:+ lr: 1.0e-05+ beta1: 0.0+ beta2: 0.999+ weight_decay: 0.01diff --git a/configs/tf_wan22_ti2v_5b.yaml b/configs/tf_wan22_ti2v_5b.yamlnew file mode 100644index 0000000..61d39f8--- /dev/null+++ b/configs/tf_wan22_ti2v_5b.yaml@@ -0,0 +1,52 @@+# TF/FCP recipe. Acquire base weights and prepare or download the matching demo first.+model_name: Wan2.2-TI2V-5B+generator_fsdp_sync_module_states: true+timestep_shift: 5.0+guidance_scale: 3.0+mixed_precision: true+sharding_strategy: hybrid_full+lr_warmup_steps: 1000+batch_size: 1+ema_weight: 0.9995+ema_checkpoint_mode: default+ema_start_step: 2000+max_iters: 25000+log_iters: 1000+snapshot_iters: 40000+seed: 42+wds_sample_shuffle: 128+wds_sample_shuffle_initial: 128+num_workers: 8+image_or_video_shape:+- 1+- 31+- 48+- 36+- 64+gradient_checkpointing: true+num_frame_per_block: 3+independent_first_frame: true+condition_only_first_frame: true+model_kwargs:+ timestep_shift: 5.0+fps: 24+data_path: null+annotation_path: null+data_sources:+- id: source_a+ data_path: release_assets/dataset_demo/wan22_ti2v_5b/source_a/latent_shards+ annotation_path: release_assets/dataset_demo/wan22_ti2v_5b/source_a/annotations.jsonl+ weight: 1.0+- id: source_b+ data_path: release_assets/dataset_demo/wan22_ti2v_5b/source_b/latent_shards+ annotation_path: release_assets/dataset_demo/wan22_ti2v_5b/source_b/annotations.jsonl+ weight: 1.0+max_grad_norm: 0.1+future_prediction:+ enabled: false+optimizer_config:+ adamw:+ lr: 1.0e-05+ beta1: 0.0+ beta2: 0.999+ weight_decay: 0.01diff --git a/docs/inference.md b/docs/inference.mdnew file mode 100644index 0000000..57ad5cd--- /dev/null+++ b/docs/inference.md@@ -0,0 +1,351 @@+# Inference++This guide covers text-and-image-to-video (TI2V) generation and text-and-video-to-video (TV2V) continuation. TI2V conditions on text and a supplied first frame, while TV2V conditions on text and a supplied video segment.++Run the commands from the repository root after preparing the environment and+model assets described in the [README](../README.md). The examples use `uv run python`; `python` also works when the project environment is already activated.++## Contents++- [Models and local assets](#models-and-local-assets)+- [Sampling](#sampling)+ - [TV2V: continue a video](#tv2v-continue-a-video)+ - [Automatic context selection](#automatic-context-selection)+ - [How automatic prefix length is selected](#how-automatic-prefix-length-is-selected)+ - [Explicit prefix length](#explicit-prefix-length)+ - [TI2V: animate an image](#ti2v-animate-an-image)+ - [Single image and prompt](#single-image-and-prompt)+ - [Batch images](#batch-images)+- [Long rollouts](#long-rollouts)+- [Outputs and preprocessing reports](#outputs-and-preprocessing-reports)++## Models and local assets++The released recipes use these defaults. Resolution is shown as width × height.++| Model | TF config | FCP config | Resolution | FPS |+| --- | --- | --- | --- | --- |+| 1.3B | `tf_wan21_t2v_1.3b` | `fcp_wan21_t2v_1.3b` | 768×432 | 16 |+| 5B | `tf_wan22_ti2v_5b` | `fcp_wan22_ti2v_5b` | 1024×576 | 24 |++Base model directories belong under `weights/Wan-AI/`. Each matching project+EMA checkpoint belongs under `weights/Looking-Ahead/<config>/model_ema.pt`.+Both base components and a matching project checkpoint are needed for the+examples below.++## Sampling++Both TV2V and TI2V use `inference.py` as the entry point. The input option+automatically selects the mode: `--video_path` enables TV2V, while+`--image_path` enables TI2V.++| Parameter | Default / behavior |+| --- | --- |+| `--config` / `--config_path` | Required recipe stem or YAML path. |+| `--checkpoint_path` | Explicit selected checkpoint; use a matching `model_ema.pt` with `--use_ema`. |+| `--use_ema` | Load EMA weights; include this flag with the released checkpoints. |+| `--image_path` | Single-image TI2V input; requires text. |+| `--video_path` | Single-video TV2V input; requires text. |+| `--prompt_file` / `--prompt` | Mutually exclusive prompt-file or inline-text inputs. |+| `--duration` | `5s`; positive whole duration with `s`, `m` or `h`. Includes the visual context. |+| `--num_output_frames` | `-1` follows duration; a positive integer takes precedence over duration. |+| `--seed` | `42`; integer from 0 to 2³²−1. |+| `--sink` / `--sink_size` | `3` latent frames retained as the attention sink. `0` disables it. |+| `--output_path` | Output directory; choose a fresh one for a new input or changed settings. |++The attention sink controls retained attention-cache frames. It does not set the+TV2V context length; that is selected automatically or controlled with K.++When no explicit checkpoint path is supplied, `--exp_dir` selects a training+experiment directory. `--checkpoint_name` selects a named checkpoint below its+`checkpoints/` directory; otherwise discovery uses the last lexicographically+sorted `checkpoint_model_*` entry. Explicit `--checkpoint_path` takes precedence.+For EMA, loading first checks for a sibling `model_ema.pt`, then embedded+`generator_ema` in the selected file. Loading fails if EMA weights are unavailable.+Explicit matching paths are recommended for TF/FCP comparisons.++We did not vary the settings below in our experiments. If you understand their+effects, you can customize them using `key=value` arguments:++| Override | Released inference default | Supported values |+| --- | --- | --- |+| `sampling_steps` | `50` | Positive integer; steps per generated chunk. |+| `sample_solver` | `unipc` | `unipc` or `dpm++`. |+| `guidance_scale` | `3.0` | Finite nonnegative CFG scale. |+| `negative_prompt` | Shared negative-prompt string | A string; quote values containing spaces. |+| `timestep_shift` | `5.0` | Finite positive inference scheduler shift. |+| `fps` | 16 for 1.3B; 24 for 5B | Positive integer-valued FPS; also controls video input sampling. |+| `long_inference_threshold` | `256` latent frames | Positive integer; dispatches to the long path at or above this length. |+| `vae_decode_chunk` | `32` latent frames | Positive integer; decode chunk size for the long path. |++Values are merged from shared/inference defaults, the selected recipe and then+`key=value` overrides. Explicit registered flags take precedence over the same+setting in `key=value`, regardless of their order in the command.++> [!IMPORTANT]+> Input images and video frames are automatically resized with their aspect ratio+> preserved and center-cropped to match the model's resolution. Content near the+> edges may be cropped out.++Single-image, MP4 and batch-image inputs share the same spatial resize/crop+function. Each image or selected video frame is:++1. Resized with its aspect ratio preserved until both target dimensions are+ covered. Dimensions are rounded up to whole pixels.+2. Center-cropped to the recipe's target width and height.+3. Converted to a float32 tensor and normalized to `[-1, 1]` before model-side+ precision conversion and VAE encoding.++Resizing uses bilinear interpolation with antialiasing. Image proportions are+preserved, but edge content can be discarded by the crop. Inputs already at the+target size retain their spatial geometry. Original files remain unchanged.++Single-image and MP4 routes save `<sample>.input.json` with original dimensions,+resized dimensions, target dimensions, crop coordinates and a `cropped` flag.+Video reports also include source/target FPS, sampling timestamps, actual source+frame timestamps, selection mode and resolved K. Batch images share the spatial+transform but do not currently emit this per-image JSON report.++### TV2V: continue a video++#### Automatic context selection++This example continues the milk-pouring input with the 5B FCP EMA model:++```bash+uv run python inference.py \+ --config fcp_wan22_ti2v_5b \+ --checkpoint_path weights/Looking-Ahead/fcp_wan22_ti2v_5b/model_ema.pt \+ --use_ema \+ --video_path examples/inference/v2v/milk_pouring.mp4 \+ --prompt_file examples/inference/v2v/milk_pouring.txt \+ --duration 5s --seed 42 --sink 3 \+ --output_path outputs/v2v/fcp_milk_pouring+```++The same flat directory also contains `dominoes.mp4` and `dominoes.txt`.+Replace `milk_pouring` in both input paths and choose another output directory+to use that example.++The duration is the **total output length, including the selected context**.+For this 5B example, 120 output frames contain 25 context frames and 95 generated+continuation frames.++The same MP4 can be used directly with 1.3B:++```bash+uv run python inference.py \+ --config fcp_wan21_t2v_1.3b \+ --checkpoint_path weights/Looking-Ahead/fcp_wan21_t2v_1.3b/model_ema.pt \+ --use_ema \+ --video_path examples/inference/v2v/milk_pouring.mp4 \+ --prompt_file examples/inference/v2v/milk_pouring.txt \+ --duration 5s --seed 42 --sink 3 \+ --output_path outputs/v2v/fcp_milk_pouring_1.3b+```++It is sampled at 16 FPS, resized to 768×432, and uses 13 context frames followed+by 67 continuation frames. No separately converted input file is required.++To override sampling settings for this TV2V example:++```bash+uv run python inference.py \+ --config fcp_wan22_ti2v_5b \+ --checkpoint_path weights/Looking-Ahead/fcp_wan22_ti2v_5b/model_ema.pt \+ --use_ema \+ --video_path examples/inference/v2v/milk_pouring.mp4 \+ --prompt_file examples/inference/v2v/milk_pouring.txt \+ --duration 5s --seed 42 \+ --output_path outputs/v2v/fcp_milk_custom \+ sampling_steps=30 sample_solver=dpm++ guidance_scale=4.0 \+ timestep_shift=5.0 negative_prompt='blur, distorted motion'+```++#### How automatic prefix length is selected++When `--v2v_context_latents` is omitted, the MP4 route:++1. Finds the original video's actual last frame timestamp.+2. Places sampling timestamps backwards from that frame at intervals of+ `1 / target_fps`, then supplies the selected frames in chronological order.+3. Chooses the longest context supported by the video that satisfies the VAE+ and model chunk alignment rules.+4. Limits that context to leave visible continuation and at least one generated+ latent chunk within the requested output length.++Here, **prefix** means the conditioning segment at the beginning of the output;+it can come from the end of the source video. Automatic mode discards the+unneeded beginning of the source video and retains its last frame.++For the released recipes, the VAE temporal stride is 4, the regular chunk size+is 3 latent frames, and the first frame is independent. Therefore:++```text+K = 1 + 3 × M, where M >= 1+condition pixel frames = 1 + 4 × (K - 1)+```++Valid K values are `4, 7, 10, ...`, corresponding to `13, 25, 37, ...` condition+frames. K is a count of **latent frames**, rather than pixel frames or seconds.++Both bundled MP4s contain 25 frames at 24 FPS, with frame timestamps from+0.0 to 1.0 seconds. For a 5-second output:++| Recipe FPS | Automatic K | Condition frames | Selected source timestamps |+| --- | --- | --- | --- |+| 24 (5B) | 7 | 25 | 0.0–1.0 seconds |+| 16 (1.3B) | 4 | 13 | 0.25–1.0 seconds |++Time sampling selects the original frame displayed at each requested timestamp.+A lower target FPS skips some source frames; a higher target FPS can select the+same source frame more than once. No motion interpolation is performed, and the+source MP4 is not rewritten. For variable-frame-rate input, the anchor remains+the actual last frame timestamp.++The target FPS comes from the final `fps` setting, falling back to the model+family default when absent. It controls both input time sampling and output+encoding. A long input can be truncated further by the total output-length+limit. A video that cannot supply the shortest valid context fails rather than+being padded or converted to single-image conditioning.++#### Explicit prefix length++Pass `--v2v_context_latents K` to select a fixed context length. **Explicit K+retains the existing leading-prefix behavior:** it reads from the beginning of+the video, whereas automatic mode selects a segment ending at the last frame.++For example, adding `--v2v_context_latents 7` to the 5B command selects its first+25 frames. The current 1.3B example needs K=4: K=7 at 16 FPS would request a frame+at 1.5 seconds, beyond the supplied input. Invalid alignment, insufficient input+length or an output with no visible continuation fails; explicit K is never+silently shortened. Use a new output directory when changing this setting.++### TI2V: animate an image++#### Single image and prompt++```bash+uv run python inference.py \+ --config fcp_wan21_t2v_1.3b \+ --checkpoint_path weights/Looking-Ahead/fcp_wan21_t2v_1.3b/model_ema.pt \+ --use_ema \+ --image_path examples/inference/i2v/sailboat_lake.png \+ --prompt_file examples/inference/i2v/sailboat_lake.txt \+ --duration 5s --seed 42 \+ --output_path outputs/i2v/fcp_sailboat_lake+```++`--image_path` automatically enables TI2V and uses the supplied image as C0.++The flat `examples/inference/i2v/` directory contains six same-name PNG/TXT pairs:+`sailboat_lake`, `cat_window`, `paper_fan_open`, `book_page_turn`, `can_crush` and+`pendulum`. The fan, book and can examples were selected with 5B; the pendulum+example was selected with 1.3B. Use the matching config and checkpoint when+trying those reference settings. A model name containing `T2V` does not enable+prompt-only sampling; a supplied visual condition is required.++For `--image_path`, EXIF orientation is applied and the image is converted to+RGB. Alpha is discarded, and only the first frame of an animated image is used.+These operations are included in its preprocessing report.++#### Batch images++The batch example contains the original sailboat and cat pairs:++```text+examples/inference/i2v_batch/+├── target_crop_info_1672-941.json+└── 1672-941/+ ├── sailboat_lake.png+ └── cat_window.png+```++```bash+uv run python inference.py \+ --config fcp_wan21_t2v_1.3b \+ --checkpoint_path weights/Looking-Ahead/fcp_wan21_t2v_1.3b/model_ema.pt \+ --use_ema --i2v \+ --data_path examples/inference/i2v_batch \+ --test_sample_limit 2 --duration 5s --seed 42 \+ --output_path outputs/i2v/fcp_batch+```++Use exactly one `target_crop_info_<suffix>.json` file and a matching `<suffix>/`+image subdirectory. The JSON is an array of records with `file_name`, `caption`,+`target_crop` (`target_bbox` and `target_ratio`), `type`, `origin_width` and+`origin_height`; the supplied file is a complete example. Actual spatial+preprocessing uses the loaded image and model resolution, with center cropping;+metadata bounding boxes do not override that transform.++The plain `i2v/` folder is for `--image_path`, rather than this metadata route.+The provided batch metadata covers two images, not all six single-image pairs.++## Long rollouts++> [!CAUTION]+> Our released models were trained on 5-second video clips without dedicated+> anti-drifting techniques. They are therefore not specifically optimized for+> longer rollouts, and generation quality beyond the training duration is not+> guaranteed.++For rollouts beyond the training duration, inference currently uses the+following defaults:++1. **Bounded latent context.** The rolling KV cache retains at most the training+ sequence length in latent frames, given by `image_or_video_shape[1]`: 22 for+ 1.3B and 31 for 5B. This limit includes the sink and the current chunk. Older+ non-sink entries are evicted as generation proceeds. The window is controlled+ by `model_kwargs.local_attn_size`; its default value of `-1` resolves to the+ configured training length.+2. **Attention sink.** The default `--sink 3` preserves the first three latent+ frames in the cache while the remaining context rolls forward. It can be+ changed with `--sink` or `model_kwargs.sink_size`.+3. **Window-relative temporal RoPE.** Both model families assign temporal RoPE+ positions relative to the current cache window and reapply RoPE to cached+ keys as the window rolls. Temporal positions are shifted back and clamped to+ the training range when necessary, rather than growing indefinitely with the+ full rollout. Spatial RoPE is unchanged.++These settings are our initial defaults, not an optimized solution for long+rollouts. If you understand their implications and your requirements, you can+adjust the cache window and sink settings or modify the RoPE implementation.++In preliminary experiments, incorporating simple anti-drifting techniques+inspired by [Helios](https://github.com/PKU-YuanGroup/Helios) improved rollout+stability. We plan to investigate this direction more systematically in future+work.++## Outputs and preprocessing reports++For the first 5B milk example, output files are organized as:++```text+outputs/v2v/fcp_milk_pouring/+├── 00000-42-v2v-k=7.mp4+├── 00000-42-v2v-k=7.png+├── 00000-42-v2v-k=7.input.json+├── 00000.txt+├── conditions/00000-42-v2v-k=7.mp4+├── continuations/00000-42-v2v-k=7.mp4+└── manifests/00000-42-v2v-k=7.json+```++The main MP4 includes both the context and continuation. `conditions/` and+`continuations/` are slices of that decoded output. The PNG shows the processed+first frame of the selected context. The TXT records its prompt. TI2V uses the+same naming without the `-v2v-k=K` suffix and without TV2V companion directories.++The TV2V manifest records the requested and resolved context length, selection+mode (`auto_tail` or `explicit_prefix`), frame counts, FPS,+seed, selected weights and prompt. Automatic mode preserves `null` as the+requested K in the saved configuration; reports contain the actual resolved K.++With `--output_path outputs/v2v/fcp_milk_pouring`, the effective public config is+saved to `outputs/v2v/configs/fcp_milk_pouring.yaml`, and console messages are+also written to `outputs/v2v/logs/fcp_milk_pouring/rank_0.log`.++An existing main MP4 is skipped based on its presence alone. Its companion files+are not regenerated or repaired. Use a fresh output directory when changing+inputs, prefix selection, weights or other settings. Seed alone does not+guarantee identical results across runtime environments.diff --git a/examples/inference/i2v/book_page_turn.png b/examples/inference/i2v/book_page_turn.pngnew file mode 100644index 0000000..a98344fBinary files /dev/null and b/examples/inference/i2v/book_page_turn.png differdiff --git a/examples/inference/i2v/book_page_turn.txt b/examples/inference/i2v/book_page_turn.txtnew file mode 100644index 0000000..f94ed0a--- /dev/null+++ b/examples/inference/i2v/book_page_turn.txt@@ -0,0 +1 @@+The hand slowly turns one blank page from right to left. The page bends in a smooth arc, passes over the spine, and settles on the left side. The book stays on the desk and the camera stays still.diff --git a/examples/inference/i2v/can_crush.png b/examples/inference/i2v/can_crush.pngnew file mode 100644index 0000000..fff5ef0Binary files /dev/null and b/examples/inference/i2v/can_crush.png differdiff --git a/examples/inference/i2v/can_crush.txt b/examples/inference/i2v/can_crush.txtnew file mode 100644index 0000000..ddfb7a1--- /dev/null+++ b/examples/inference/i2v/can_crush.txt@@ -0,0 +1 @@+The hand slowly squeezes the aluminum can, creasing its sides inward. It relaxes while keeping hold of the same crumpled can. The camera stays fixed.diff --git a/examples/inference/i2v/cat_window.png b/examples/inference/i2v/cat_window.pngnew file mode 100644index 0000000..fe91e5fBinary files /dev/null and b/examples/inference/i2v/cat_window.png differdiff --git a/examples/inference/i2v/cat_window.txt b/examples/inference/i2v/cat_window.txtnew file mode 100644index 0000000..aa3e747--- /dev/null+++ b/examples/inference/i2v/cat_window.txt@@ -0,0 +1 @@+An orange tabby cat sits on a wooden windowsill in warm morning light. It slowly turns its head toward the garden, blinks, and makes a small ear movement while its body remains seated. Leaves outside the window sway gently. The camera stays still.diff --git a/examples/inference/i2v/paper_fan_open.png b/examples/inference/i2v/paper_fan_open.pngnew file mode 100644index 0000000..436bf55Binary files /dev/null and b/examples/inference/i2v/paper_fan_open.png differdiff --git a/examples/inference/i2v/paper_fan_open.txt b/examples/inference/i2v/paper_fan_open.txtnew file mode 100644index 0000000..49e296d--- /dev/null+++ b/examples/inference/i2v/paper_fan_open.txt@@ -0,0 +1 @@+The hands gently open the red paper fan into a broad semicircle. The folded sections spread smoothly from the same handle, and the hands hold the open fan still for a moment. The camera stays fixed.diff --git a/examples/inference/i2v/pendulum.png b/examples/inference/i2v/pendulum.pngnew file mode 100644index 0000000..3e0dbf7Binary files /dev/null and b/examples/inference/i2v/pendulum.png differdiff --git a/examples/inference/i2v/pendulum.txt b/examples/inference/i2v/pendulum.txtnew file mode 100644index 0000000..952d60f--- /dev/null+++ b/examples/inference/i2v/pendulum.txt@@ -0,0 +1 @@+The brass pendulum bob swings smoothly from its raised position on the left, down through the center and up to the right, then back toward the left under gravity. The dark string remains straight and taut, keeping a constant length, and the anchor point stays fixed. The pendulum moves in a single vertical plane, slowing at each end and moving fastest at the bottom of its arc. The camera remains completely still.diff --git a/examples/inference/i2v/sailboat_lake.png b/examples/inference/i2v/sailboat_lake.pngnew file mode 100644index 0000000..c063573Binary files /dev/null and b/examples/inference/i2v/sailboat_lake.png differdiff --git a/examples/inference/i2v/sailboat_lake.txt b/examples/inference/i2v/sailboat_lake.txtnew file mode 100644index 0000000..42f38d9--- /dev/null+++ b/examples/inference/i2v/sailboat_lake.txt@@ -0,0 +1 @@+A small red sailboat with an ivory sail drifts slowly to the right across a calm alpine lake. Gentle ripples spread behind the hull and the sail moves lightly in the breeze. Forested slopes and distant mountains remain in the background under warm morning sunlight. The camera stays still.diff --git a/examples/inference/i2v_batch/1672-941/cat_window.png b/examples/inference/i2v_batch/1672-941/cat_window.pngnew file mode 100644index 0000000..fe91e5fBinary files /dev/null and b/examples/inference/i2v_batch/1672-941/cat_window.png differdiff --git a/examples/inference/i2v_batch/1672-941/sailboat_lake.png b/examples/inference/i2v_batch/1672-941/sailboat_lake.pngnew file mode 100644index 0000000..c063573Binary files /dev/null and b/examples/inference/i2v_batch/1672-941/sailboat_lake.png differdiff --git a/examples/inference/i2v_batch/target_crop_info_1672-941.json b/examples/inference/i2v_batch/target_crop_info_1672-941.jsonnew file mode 100644index 0000000..60218b2--- /dev/null+++ b/examples/inference/i2v_batch/target_crop_info_1672-941.json@@ -0,0 +1,34 @@+[+ {+ "file_name": "sailboat_lake.png",+ "caption": "A small red sailboat with an ivory sail drifts slowly to the right across a calm alpine lake. Gentle ripples spread behind the hull and the sail moves lightly in the breeze. Forested slopes and distant mountains remain in the background under warm morning sunlight. The camera stays still.",+ "target_crop": {+ "target_bbox": [+ 0,+ 0,+ 1672,+ 941+ ],+ "target_ratio": 1.7768331562167907+ },+ "type": "image",+ "origin_width": 1672,+ "origin_height": 941+ },+ {+ "file_name": "cat_window.png",+ "caption": "An orange tabby cat sits on a wooden windowsill in warm morning light. It slowly turns its head toward the garden, blinks, and makes a small ear movement while its body remains seated. Leaves outside the window sway gently. The camera stays still.",+ "target_crop": {+ "target_bbox": [+ 0,+ 0,+ 1672,+ 941+ ],+ "target_ratio": 1.7768331562167907+ },+ "type": "image",+ "origin_width": 1672,+ "origin_height": 941+ }+]diff --git a/examples/inference/v2v/dominoes.mp4 b/examples/inference/v2v/dominoes.mp4new file mode 100644index 0000000..ee4d6cdBinary files /dev/null and b/examples/inference/v2v/dominoes.mp4 differdiff --git a/examples/inference/v2v/dominoes.txt b/examples/inference/v2v/dominoes.txtnew file mode 100644index 0000000..a833001--- /dev/null+++ b/examples/inference/v2v/dominoes.txt@@ -0,0 +1 @@+The video showcases a dynamic domino effect sequence featuring a large, colorful representation of a blue cartoon character on a wooden floor. The character is composed of numerous small dominoes arranged to form its body, face, and limbs. The background is a solid yellow, and the character's head is adorned with a small red crown. As the video progresses, the dominoes begin to fall in a chain reaction, starting from the top left corner and moving systematically across the image. The character's mouth opens wide, revealing a red interior with yellow teeth, and its eyes widen in an exaggerated expression of surprise or shock. The dominoes continue their descent, creating a visually striking and energetic display. The sequence captures the intricate details of the character's design and the fluid motion of the falling dominoes, culminating in a dramatic and captivating visual effect.diff --git a/examples/inference/v2v/milk_pouring.mp4 b/examples/inference/v2v/milk_pouring.mp4new file mode 100644index 0000000..a2dcdb1Binary files /dev/null and b/examples/inference/v2v/milk_pouring.mp4 differdiff --git a/examples/inference/v2v/milk_pouring.txt b/examples/inference/v2v/milk_pouring.txtnew file mode 100644index 0000000..3c12417--- /dev/null+++ b/examples/inference/v2v/milk_pouring.txt@@ -0,0 +1 @@+The video captures the dynamic process of pouring milk into a clear glass set against a vibrant blue background. Initially, the glass is empty, standing upright on a reflective surface that mirrors its base. As the milk begins to pour, it creates a smooth, continuous stream that flows steadily into the glass. The milk's creamy white color contrasts sharply with the transparent glass and the deep blue backdrop. Upon contact with the glass, the milk splashes slightly, forming small ripples and droplets that add a sense of motion and fluidity to the scene. The pouring continues until the glass is nearly full, showcasing the milk's texture and the glass's clarity. The entire sequence is captured from a fixed angle, emphasizing the fluid motion and the interplay between the milk, the glass, and the surrounding environment.diff --git a/inference.py b/inference.pynew file mode 100644index 0000000..6e064be--- /dev/null+++ b/inference.py@@ -0,0 +1,41 @@+"""Text + supplied image/video-prefix ordinary inference entry."""++from pathlib import Path++from omegaconf import OmegaConf++from src.utils.config import resolve_config+from src.utils.startup import (+ configure_debug_environment,+ publish_config,+ resolve_inference_paths,+ setup_startup_logging,+)+++def parse_config(argv=None, *, action=None):+ return resolve_config(argv, training=False, action=action)+++def run_inference(resolved):+ from src.pipeline.inference_runtime import run_inference as run++ run(resolved.public)+++def main(argv=None, *, action=None):+ resolved = parse_config(argv, action=action)+ if resolved.dry_run:+ print(OmegaConf.to_yaml(resolved.public))+ return+ config = resolved.public+ resolve_inference_paths(config)+ output = Path(config.output_path)+ publish_config(config, output.parent / "configs" / f"{output.name}.yaml")+ configure_debug_environment()+ setup_startup_logging(config, training=False)+ run_inference(resolved)+++if __name__ == "__main__":+ main()diff --git a/pyproject.toml b/pyproject.tomlnew file mode 100644index 0000000..94ed16f--- /dev/null+++ b/pyproject.toml@@ -0,0 +1,55 @@+[project]+name = "looking-ahead"+version = "0.1.0"+description = "Future Chunk Prediction and Teacher Forcing for causal video diffusion"+readme = "README.md"+requires-python = ">=3.12"+license = "Apache-2.0"+dependencies = [+ "torch==2.10.0",+ "torchvision==0.25.0",+ "torchcodec==0.10.0",+ "accelerate>=1.13.0",+ "diffusers>=0.37.1",+ "transformers>=5.5.3",+ "flash-attn-4>=4.0.0b5",+ "einops>=0.8.2",+ "ftfy>=6.3.1",+ "huggingface-hub>=1.10.1",+ "matplotlib>=3.10.8",+ "numpy>=1.26.4",+ "omegaconf>=2.3.0",+ "pillow>=10.0.0",+ "regex>=2024.0.0",+ "safetensors>=0.4.3",+ "sentencepiece>=0.2.1",+ "tokenizers>=0.22.2",+ "tqdm>=4.67.3",+ "wandb>=0.25.1",+ "webdataset>=1.0.2",+]++[project.optional-dependencies]+dev = ["pytest>=8.0.0", "ruff>=0.6.0"]++[[tool.uv.index]]+name = "pytorch-cu128"+url = "https://download.pytorch.org/whl/cu128"+explicit = true++[tool.uv.sources]+torch = { index = "pytorch-cu128" }+torchvision = { index = "pytorch-cu128" }++[tool.ruff]+line-length = 100+target-version = "py312"+extend-exclude = ["src/wan", "src/wan22"]++[tool.ruff.lint]+select = ["E", "F", "I", "B", "C4", "UP", "W"]+ignore = ["E501"]++[tool.pytest.ini_options]+testpaths = ["tests"]+pythonpath = ["."]diff --git a/run.sh b/run.shnew file mode 100644index 0000000..e3729e4--- /dev/null+++ b/run.sh@@ -0,0 +1,139 @@+#!/bin/bash+# Launch training and inference with public config resolution owned by Python.+set -euo pipefail+PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"+cd "${PROJECT_DIR}"++action="${1:-}"+config="${2:-}"+if [[ "$action" == -h || "$action" == --help ]]; then+ echo 'Usage: bash run.sh <train|test|test_all> <config> [entry arguments or key=value ...]'+ exit 0+fi+case "$action" in+ train|test|test_all) ;;+ *) echo "Unknown action '${action}'; expected train, test or test_all." >&2; exit 1 ;;+esac+if [[ -z "$config" ]]; then+ echo 'A configuration stem or path is required.' >&2+ exit 1+fi+shift 2+extra_args=("$@")++get_num_gpus() {+ if [[ -n "${CUDA_VISIBLE_DEVICES:-}" ]]; then+ local devices+ IFS=',' read -ra devices <<< "$CUDA_VISIBLE_DEVICES"+ echo "${#devices[@]}"+ elif command -v nvidia-smi &>/dev/null; then+ local gpu_names+ gpu_names="$(nvidia-smi --query-gpu=name --format=csv,noheader 2>/dev/null || true)"+ if [[ -n "$gpu_names" ]]; then+ printf '%s\n' "$gpu_names" | awk 'NF {count++} END {print count + 0}'+ else+ echo 1+ fi+ else+ echo 1+ fi+}++build_rdzv_id() {+ local requested_config="$2" canonical_config readable_config digest+ if [[ "$requested_config" == */configs/* ]]; then+ canonical_config="${requested_config##*/configs/}"+ else+ canonical_config="$(basename "$requested_config")"+ fi+ readable_config="${canonical_config%.yaml}"+ readable_config="$(printf '%s' "$readable_config" | tr -c '[:alnum:]_.-' '_')"+ digest="$(printf '%s' "$1:$canonical_config" | sha256sum)"+ digest="${digest%% *}"+ printf '%s-%s-%s' "$1" "${readable_config:0:72}" "${digest:0:12}"+}++positive_integer() {+ if [[ ! "$2" =~ ^[1-9][0-9]*$ ]]; then+ echo "$1 must be a positive integer; got '$2'." >&2+ exit 1+ fi+}++export DEBUG="${DEBUG:-0}"+export WAN_VIS_CAUSAL_MASK="${WAN_VIS_CAUSAL_MASK:-0}"+if [[ "$DEBUG" == 1 ]]; then+ export WAN_VIS_CAUSAL_MASK=1+fi+export NCCL_DEBUG="${NCCL_DEBUG:-WARN}"+export OMP_NUM_THREADS="${OMP_NUM_THREADS-8}"+positive_integer OMP_NUM_THREADS "$OMP_NUM_THREADS"+NUM_GPUS=$(get_num_gpus)+WORLD_SIZE="${WORLD_SIZE:-1}"+RANK="${RANK:-0}"+MASTER_ADDR="${MASTER_ADDR:-localhost}"+MASTER_PORT="${MASTER_PORT:-29500}"+positive_integer WORLD_SIZE "$WORLD_SIZE"+if [[ ! "$RANK" =~ ^(0|[1-9][0-9]*)$ ]] || (( RANK >= WORLD_SIZE )); then+ echo 'RANK must be a nonnegative node rank below WORLD_SIZE.' >&2+ exit 1+fi+if [[ "$DEBUG" == 1 ]] && (( WORLD_SIZE > 1 )); then+ echo 'DEBUG=1 requires WORLD_SIZE=1; multi-node standalone jobs are unsupported.' >&2+ exit 1+fi+if (( WORLD_SIZE > 1 )); then+ RDZV_TIMEOUT_SEC="${RDZV_TIMEOUT_SEC-86400}"+ positive_integer RDZV_TIMEOUT_SEC "$RDZV_TIMEOUT_SEC"+ case "${MASTER_ADDR,,}" in+ localhost|localhost.*|127.*|0.0.0.0|::1|\[::1\])+ echo 'MASTER_ADDR must be a routable rank-0 address for multi-node runs.' >&2+ exit 1 ;;+ esac+fi++if [[ "$action" == train ]]; then+ cmd=(train.py --config_path "$config" "${extra_args[@]}")+else+ cmd=(--module src.utils.launcher_entry "$action" --config_path "$config" "${extra_args[@]}")+fi++# Help/config inspection does not allocate logs, start workers or initialize CUDA.+for arg in "${extra_args[@]}"; do+ case "$arg" in+ -h|--help|--dry_run)+ if [[ "$action" == train ]]; then+ exec uv run python "${cmd[@]}"+ else+ exec uv run python -m src.utils.launcher_entry "$action" \+ --config_path "$config" "${extra_args[@]}"+ fi ;;+ esac+done++torch_args=("--nproc_per_node=$NUM_GPUS")+if [[ "$DEBUG" == 1 ]]; then+ torch_args+=(--standalone)+else+ timeout=36000+ if (( WORLD_SIZE > 1 )); then timeout="$RDZV_TIMEOUT_SEC"; fi+ torch_args+=("--nnodes=$WORLD_SIZE" "--node_rank=$RANK" --rdzv_backend=c10d+ "--rdzv-endpoint=$MASTER_ADDR:$MASTER_PORT"+ "--rdzv_id=$(build_rdzv_id "$action" "$config")"+ "--rdzv-conf=join_timeout=$timeout")+fi++if [[ "$action" == train ]]; then+ TRAIN_LOG_DIR="$(WORLD_SIZE=$(( WORLD_SIZE * NUM_GPUS )) RANK="$RANK" \+ uv run python -m src.utils.train_cli --config_path "$config" "${extra_args[@]}")"+ exec > >(tee -- "$TRAIN_LOG_DIR/launcher.log") 2>&1+ echo "Training launcher logs: $TRAIN_LOG_DIR"+ echo "Node rank: $RANK; nodes: $WORLD_SIZE; GPUs per node: $NUM_GPUS"+ exec uv run torchrun "${torch_args[@]}" --redirects 3 --tee 3 \+ --log-dir "$TRAIN_LOG_DIR" "${cmd[@]}"+else+ if [[ "$DEBUG" != 1 ]]; then+ torch_args+=(--redirects 3 --tee 3 --log-dir .torchrun_logs)+ fi+ exec uv run torchrun "${torch_args[@]}" "${cmd[@]}"+fidiff --git a/src/__init__.py b/src/__init__.pynew file mode 100644index 0000000..72594d9--- /dev/null+++ b/src/__init__.py@@ -0,0 +1 @@+"""Looking-Ahead. Runtime components are imported by their consumers only."""diff --git a/src/dataset/__init__.py b/src/dataset/__init__.pynew file mode 100644index 0000000..ea8963b--- /dev/null+++ b/src/dataset/__init__.py@@ -0,0 +1 @@+"""Deterministic pre-encoded latent WebDataset inputs."""diff --git a/src/dataset/image_preprocessing.py b/src/dataset/image_preprocessing.pynew file mode 100644index 0000000..c9b19b3--- /dev/null+++ b/src/dataset/image_preprocessing.py@@ -0,0 +1,34 @@+"""Shared aspect-preserving resize and center crop for external images."""++from torchvision.transforms import functional as TF+++def resize_center_crop(image, height, width):+ """Scale to cover the target, then crop its center; report pixel geometry."""+ source_width, source_height = image.size+ if source_width * height >= width * source_height:+ resized_height = height+ resized_width = (source_width * height + source_height - 1) // source_height+ else:+ resized_width = width+ resized_height = (source_height * width + source_width - 1) // source_width+ left = (resized_width - width) // 2+ top = (resized_height - height) // 2+ image = TF.resize(image, [resized_height, resized_width], antialias=True)+ image = TF.crop(image, top, left, height, width)+ return image, {+ "resized_size": {"width": resized_width, "height": resized_height},+ "crop_box": [left, top, left + width, top + height],+ "cropped": resized_width != width or resized_height != height,+ }+++class ResizeCenterCrop:+ """Callable transform using the same preprocessing as single-image input."""++ def __init__(self, height, width):+ self.height = height+ self.width = width++ def __call__(self, image):+ return resize_center_crop(image, self.height, self.width)[0]diff --git a/src/dataset/multi_source.py b/src/dataset/multi_source.pynew file mode 100644index 0000000..fef6541--- /dev/null+++ b/src/dataset/multi_source.py@@ -0,0 +1,308 @@+"""Weighted sample-level mixing for multiple latent WebDataset sources."""++from __future__ import annotations++import logging+import math+from collections.abc import Iterator, Mapping, Sequence+from dataclasses import dataclass+from typing import Any++import torch+from torch.utils.data import IterableDataset++from .tensor import PytorchTensorWebDataset+from .utils import (+ DEFAULT_WDS_SAMPLE_SHUFFLE,+ DEFAULT_WDS_SAMPLE_SHUFFLE_INITIAL,+ derive_webdataset_seed,+)++logger = logging.getLogger(__name__)++_WDS_SOURCE_CHOICE_STREAM_ID = 0x5744_5305+_WDS_SOURCE_NAMESPACE_STRIDE = 0x100+++@dataclass(frozen=True)+class WebDatasetSource:+ """Validated configuration for one independently indexed WebDataset."""++ source_id: str+ data_path: str+ annotation_path: str+ weight: float+++def normalize_webdataset_sources(raw_sources: Any) -> list[WebDatasetSource]:+ """Validate the public ``data_sources`` config and normalize its weights."""+ if isinstance(raw_sources, (str, bytes)) or not isinstance(raw_sources, Sequence):+ raise TypeError("data_sources must be a non-empty list of mappings.")+ if not raw_sources:+ raise ValueError("data_sources must contain at least one WebDataset source.")++ sources: list[WebDatasetSource] = []+ seen_ids: set[str] = set()+ for index, raw_source in enumerate(raw_sources):+ if not isinstance(raw_source, Mapping):+ raise TypeError(f"data_sources[{index}] must be a mapping.")++ source_id = raw_source.get("id", f"source_{index}")+ if not isinstance(source_id, str) or not source_id.strip():+ raise ValueError(f"data_sources[{index}].id must be a non-empty string.")+ source_id = source_id.strip()+ if source_id in seen_ids:+ raise ValueError(f"Duplicate data source id: {source_id!r}.")+ seen_ids.add(source_id)++ data_path = raw_source.get("data_path")+ if not isinstance(data_path, str) or not data_path:+ raise ValueError(f"data_sources[{index}].data_path must be a non-empty string.")+ if not data_path.rstrip("/\\").lower().endswith("shards"):+ raise ValueError(+ f"data_sources[{index}].data_path must name a directory ending "+ f"in 'shards', got {data_path!r}."+ )++ annotation_path = raw_source.get("annotation_path")+ if not isinstance(annotation_path, str) or not annotation_path:+ raise ValueError(f"data_sources[{index}].annotation_path must be a non-empty string.")++ weight = raw_source.get("weight")+ if isinstance(weight, bool) or not isinstance(weight, (int, float)):+ raise TypeError(f"data_sources[{index}].weight must be a positive number.")+ weight = float(weight)+ if not math.isfinite(weight) or weight <= 0:+ raise ValueError(f"data_sources[{index}].weight must be finite and greater than zero.")++ sources.append(+ WebDatasetSource(+ source_id=source_id,+ data_path=data_path,+ annotation_path=annotation_path,+ weight=weight,+ )+ )++ weight_sum = sum(source.weight for source in sources)+ return [+ WebDatasetSource(+ source_id=source.source_id,+ data_path=source.data_path,+ annotation_path=source.annotation_path,+ weight=source.weight / weight_sum,+ )+ for source in sources+ ]+++def validate_multi_source_selection(+ raw_sources: Any,+ *,+ legacy_fields: Mapping[str, Any],+) -> list[WebDatasetSource]:+ """Validate opt-in selection and reject ambiguous legacy fields."""+ conflicting_fields = [name for name, value in legacy_fields.items() if value is not None]+ if conflicting_fields:+ joined = ", ".join(conflicting_fields)+ raise ValueError(+ f"data_sources cannot be combined with non-null legacy field(s): {joined}."+ )+ return normalize_webdataset_sources(raw_sources)+++class WeightedMultiSourceDataset(IterableDataset):+ """Mix independent iterable datasets at sample granularity.++ Training sources are expected to be infinite resampled streams. For finite+ validation sources, an exhausted source is removed from the choice set and+ iteration ends after every source has been consumed once.+ """++ def __init__(+ self,+ datasets: Sequence[IterableDataset],+ sources: Sequence[WebDatasetSource],+ *,+ seed: int,+ global_rank: int,+ resampled: bool,+ length: int | None = None,+ ) -> None:+ super().__init__()+ if len(datasets) != len(sources) or not datasets:+ raise ValueError("datasets and sources must have the same non-zero length.")+ if isinstance(seed, bool) or not isinstance(seed, int):+ raise TypeError("Multi-source seed must be a non-boolean integer.")+ if isinstance(global_rank, bool) or not isinstance(global_rank, int):+ raise TypeError("Multi-source global_rank must be a non-boolean integer.")+ if global_rank < 0:+ raise ValueError("Multi-source global_rank must be non-negative.")++ self.datasets = list(datasets)+ self.sources = list(sources)+ self._weights = [source.weight for source in sources]+ self._deterministic = True+ self._seed = seed+ self._global_rank = global_rank+ self._resampled = resampled+ if length is None:+ self._length = sum(len(dataset) for dataset in self.datasets)+ else:+ self._length = min(+ int(length),+ sum(len(dataset) for dataset in self.datasets),+ )+ logger.info(+ "Initialized %s with sources=%s, resampled=%s, deterministic=%s, reported_length=%d",+ type(self).__name__,+ [+ {+ "id": source.source_id,+ "weight": source.weight,+ "samples": len(dataset),+ }+ for source, dataset in zip(+ self.sources,+ self.datasets,+ strict=True,+ )+ ],+ self._resampled,+ self._deterministic,+ self._length,+ )++ def _worker_address(self) -> tuple[int, int]:+ worker = torch.utils.data.get_worker_info()+ if worker is None:+ return 0, 1+ return worker.id, worker.num_workers++ def _choice_seed(self) -> int:+ worker_id, num_workers = self._worker_address()+ return derive_webdataset_seed(+ self._seed,+ self._global_rank,+ worker_id,+ num_workers,+ _WDS_SOURCE_CHOICE_STREAM_ID,+ )++ @property+ def dataloader_seed(self) -> int | None:+ """Return an isolated DataLoader seed for deterministic mixing."""+ return derive_webdataset_seed(+ self._seed,+ self._global_rank,+ worker_id=0,+ num_workers=1,+ stream_id=_WDS_SOURCE_CHOICE_STREAM_ID + 1,+ )++ def _make_generator(self) -> torch.Generator:+ generator = torch.Generator(device="cpu")+ generator.manual_seed(self._choice_seed())+ return generator++ def _choose_source(+ self,+ generator: torch.Generator,+ active: Sequence[bool],+ ) -> int:+ total_weight = sum(+ weight for weight, is_active in zip(self._weights, active, strict=True) if is_active+ )+ if total_weight <= 0:+ raise RuntimeError("No active WebDataset source remains.")+ target = torch.rand((), generator=generator, dtype=torch.float64).item() * total_weight+ cumulative = 0.0+ last_active = -1+ for index, (weight, is_active) in enumerate(zip(self._weights, active, strict=True)):+ if not is_active:+ continue+ last_active = index+ cumulative += weight+ if target < cumulative:+ return index+ return last_active++ def _tag_sample(self, sample: dict[str, Any], source_index: int) -> dict[str, Any]:+ if not isinstance(sample, dict):+ raise TypeError(+ f"WebDataset source {self.sources[source_index].source_id!r} "+ f"yielded {type(sample).__name__}, expected dict."+ )+ tagged = dict(sample)+ metadata = dict(tagged.get("metadata", {}))+ metadata.update(+ {+ "source_id": self.sources[source_index].source_id,+ "source_index": source_index,+ "source_weight": self.sources[source_index].weight,+ }+ )+ tagged["metadata"] = metadata+ return tagged++ def __iter__(self) -> Iterator[dict[str, Any]]:+ iterators: list[Iterator[dict[str, Any]]] = [iter(dataset) for dataset in self.datasets]+ active = [True] * len(iterators)+ generator = self._make_generator()++ while any(active):+ source_index = self._choose_source(generator, active)+ try:+ sample = next(iterators[source_index])+ except StopIteration:+ if self._resampled:+ source_id = self.sources[source_index].source_id+ raise RuntimeError(+ f"Resampled WebDataset source {source_id!r} exhausted unexpectedly."+ ) from None+ active[source_index] = False+ continue+ yield self._tag_sample(sample, source_index)++ def __len__(self) -> int:+ return self._length+++def build_multi_source_tensor_webdataset(+ raw_sources: Any,+ *,+ is_train: bool,+ seed: int,+ global_rank: int,+ length: int | None,+ target_frame_num: int | None = None,+ sample_shuffle: int = DEFAULT_WDS_SAMPLE_SHUFFLE,+ sample_shuffle_initial: int = DEFAULT_WDS_SAMPLE_SHUFFLE_INITIAL,+) -> WeightedMultiSourceDataset:+ """Build one latent WebDataset pipeline per source plus a weighted mixer."""+ sources = normalize_webdataset_sources(raw_sources)+ datasets: list[PytorchTensorWebDataset] = []+ for source_index, source in enumerate(sources):+ datasets.append(+ PytorchTensorWebDataset(+ data_path=source.data_path,+ annotation_path=source.annotation_path,+ target_frame_num=target_frame_num,+ shuffle=sample_shuffle if is_train else 0,+ shuffle_initial=sample_shuffle_initial,+ shardshuffle=is_train,+ resampled=is_train,+ seed=seed,+ global_rank=global_rank,+ seed_namespace=(source_index + 1) * _WDS_SOURCE_NAMESPACE_STRIDE,+ )+ )++ return WeightedMultiSourceDataset(+ datasets,+ sources,+ seed=seed,+ global_rank=global_rank,+ resampled=is_train,+ length=length,+ )diff --git a/src/dataset/single_image.py b/src/dataset/single_image.pynew file mode 100644index 0000000..7ada554--- /dev/null+++ b/src/dataset/single_image.py@@ -0,0 +1,127 @@+"""One image and prompt for TI2V, with an explicit preprocessing report."""++import logging+from pathlib import Path++from PIL import Image, ImageOps+from torch.utils.data import Dataset+from torchvision.transforms import functional as TF++from src.dataset.image_preprocessing import resize_center_crop++logger = logging.getLogger(__name__)++EXIF_OPERATIONS = {+ 2: "horizontal flip",+ 3: "180-degree rotation",+ 4: "vertical flip",+ 5: "transpose across the main diagonal",+ 6: "90-degree clockwise rotation",+ 7: "transpose across the opposite diagonal",+ 8: "90-degree counterclockwise rotation",+}+++def read_prompt_file(filename):+ """Read a whole UTF-8 text file as one prompt; keep interior line breaks."""+ path = Path(filename)+ if not path.is_file():+ raise FileNotFoundError(f"prompt_file: text file not found: {path}")+ try:+ prompt = path.read_text(encoding="utf-8-sig").strip()+ except (OSError, UnicodeError) as error:+ raise ValueError(f"prompt_file: cannot read {path} as UTF-8 text: {error}") from error+ if not prompt:+ raise ValueError(f"prompt_file: file contains no prompt text: {path}")+ logger.info("Single-image prompt file: %s (UTF-8)", path)+ return prompt+++class SingleImageDataset(Dataset):+ """Load and prepare one supplied C0 without a metadata JSON or layout convention."""++ def __init__(self, image_path, prompt, *, height, width):+ self.path = Path(image_path)+ self.prompt = prompt+ if not self.path.is_file():+ raise FileNotFoundError(f"image_path: image file not found: {self.path}")+ operations = []+ try:+ with Image.open(self.path) as source:+ original_size, original_mode = source.size, source.mode+ frames = getattr(source, "n_frames", 1)+ if frames > 1:+ operations.append(f"Selected first frame (0) from {frames} frames.")+ orientation = source.getexif().get(274, 1)+ image = ImageOps.exif_transpose(source)+ if orientation in EXIF_OPERATIONS:+ operations.append(+ f"Applied EXIF orientation {orientation}: {EXIF_OPERATIONS[orientation]}."+ )+ oriented_size = image.size+ has_alpha = "A" in image.getbands() or "transparency" in image.info+ if image.mode != "RGB":+ detail = (+ " Alpha channel discarded; no background compositing." if has_alpha else ""+ )+ operations.append(f"Converted {image.mode} to RGB.{detail}")+ image = image.convert("RGB")+ elif has_alpha:+ operations.append(+ "Discarded RGB color-key transparency; RGB pixels retained, no background compositing."+ )+ # Copy/decode while the source stream is still open.+ image.load()+ except (OSError, ValueError) as error:+ raise ValueError(f"image_path: cannot decode {self.path}: {error}") from error+ aspect_changed = oriented_size[0] * height != width * oriented_size[1]+ image, geometry = resize_center_crop(image, height, width)+ resized = geometry["resized_size"]+ if oriented_size != (resized["width"], resized["height"]):+ operations.append(+ f"Resized {oriented_size[0]}x{oriented_size[1]} to "+ f"{resized['width']}x{resized['height']} preserving aspect ratio "+ "using bilinear interpolation with antialiasing (rounded to whole pixels)."+ )+ if geometry["cropped"]:+ operations.append(+ f"Center-cropped box {geometry['crop_box']} from the resized image "+ f"to {width}x{height}; edge content discarded, no stretching or padding."+ )+ if not operations:+ operations.append("No orientation, RGB conversion, resize, or crop needed.")+ self.image = TF.normalize(TF.to_tensor(image), [0.5], [0.5])+ operations.append(+ "Converted to float32 CHW tensor; pixel range [0,255] normalized to [-1,1]."+ )+ self.report = {+ "source_path": str(self.path.resolve()),+ "source_mode": original_mode,+ "source_size": {"width": original_size[0], "height": original_size[1]},+ "exif_orientation": orientation,+ "oriented_size": {"width": oriented_size[0], "height": oriented_size[1]},+ "input_mode": "RGB",+ "input_size": {"width": width, "height": height},+ "aspect_ratio_changed": aspect_changed,+ "preprocessing": "resize_center_crop",+ **geometry,+ "operations": operations,+ }+ logger.info(+ "Single-image preprocessing: %s; %s %dx%d -> RGB %dx%d",+ self.path,+ original_mode,+ *original_size,+ width,+ height,+ )+ for operation in operations:+ logger.info(" %s", operation)++ def __len__(self):+ return 1++ def __getitem__(self, index):+ if index != 0:+ raise IndexError(index)+ return {"image": self.image, "prompts": self.prompt, "idx": 0}diff --git a/src/dataset/single_video.py b/src/dataset/single_video.pynew file mode 100644index 0000000..dd04c9d--- /dev/null+++ b/src/dataset/single_video.py@@ -0,0 +1,99 @@+"""Video context sampled at model FPS: an explicit prefix or an automatic tail."""++import logging+import math+from pathlib import Path++import torch+from torch.utils.data import Dataset+from torchcodec.decoders import VideoDecoder+from torchvision.transforms import functional as TF++from src.dataset.image_preprocessing import resize_center_crop+from src.utils.video_prefix import automatic_prefix_geometry++logger = logging.getLogger(__name__)+++class SingleVideoDataset(Dataset):+ """Decode only the selected context interval for causal VAE encoding."""++ def __init__(+ self,+ video_path,+ prompt,+ *,+ height,+ width,+ fps,+ condition_frames,+ auto_context_config=None,+ ):+ path = Path(video_path)+ if not path.is_file():+ raise FileNotFoundError(f"video_path: video file not found: {path}")+ decoder = VideoDecoder(str(path), device="cpu", num_ffmpeg_threads=1)+ start = decoder.metadata.begin_stream_seconds+ automatic = condition_frames is None+ self.context_latents = None+ if automatic:+ if auto_context_config is None:+ raise ValueError("Automatic video context requires model/output geometry")+ # Use the actual final frame PTS, including variable-rate videos. Anchoring+ # to stream end minus 1/FPS can silently omit the last source frame.+ last_pts = decoder.get_frame_at(len(decoder) - 1).pts_seconds+ available = math.floor((last_pts - start) * fps + 1e-7) + 1+ self.context_latents, condition_frames = automatic_prefix_geometry(+ auto_context_config, available+ )+ times = [+ max(start, last_pts - (condition_frames - 1 - index) / fps)+ for index in range(condition_frames)+ ]+ else:+ times = [start + index / fps for index in range(condition_frames)]+ if times[-1] >= decoder.metadata.end_stream_seconds:+ raise ValueError(+ "video_path: video is too short for the requested context at model FPS"+ )+ batch = decoder.get_frames_played_at(times)+ frames = batch.data+ images = []+ geometry = None+ for frame in frames:+ image, geometry = resize_center_crop(TF.to_pil_image(frame), height, width)+ images.append(TF.normalize(TF.to_tensor(image), [0.5], [0.5]))+ self.video = torch.stack(images, dim=1) # [C,T,H,W], selected context only.+ self.prompt = prompt+ self.report = {+ "source_path": str(path),+ "source_fps": decoder.metadata.average_fps,+ "source_size": {"width": frames.shape[-1], "height": frames.shape[-2]},+ "input_size": {"width": width, "height": height},+ "fps": fps,+ "condition_frames": condition_frames,+ "context_selection": "auto_tail" if automatic else "explicit_prefix",+ "sample_times_seconds": times,+ "source_pts_seconds": batch.pts_seconds.tolist(),+ "preprocessing": (+ "sample trailing frames at model FPS; RGB resize and center crop"+ if automatic+ else "sample leading frames at model FPS; RGB resize and center crop"+ ),+ **geometry,+ }+ if automatic:+ self.report.update(+ context_latents=self.context_latents,+ available_frames_at_target_fps=available,+ source_last_frame_pts_seconds=last_pts,+ )+ logger.info("Video context preprocessing: %s", self.report)++ def __len__(self):+ return 1++ def __getitem__(self, index):+ if index != 0:+ raise IndexError(index)+ return {"video": self.video, "prompts": self.prompt, "idx": 0}diff --git a/src/dataset/tensor.py b/src/dataset/tensor.pynew file mode 100644index 0000000..937092b--- /dev/null+++ b/src/dataset/tensor.py@@ -0,0 +1,214 @@+import io+import json+import logging+import os+from collections.abc import Callable+from typing import Any, Union++import numpy as np+import torch++from .utils import BaseWebDataset++logger = logging.getLogger(__name__)+++def _load_pth_bytes(raw: bytes) -> Any:+ """Load a torch.save-serialized object from raw bytes."""+ return torch.load(io.BytesIO(raw), map_location="cpu", weights_only=False)+++def _coerce_latent(obj: Any) -> torch.Tensor:+ """Extract a latent tensor from the deserialized .pth payload.++ Strict mode: raises ``TypeError`` / ``KeyError`` if no tensor can be+ extracted. Accepts:++ - a bare ``torch.Tensor`` (returned as-is)+ - a numpy array -> converted to tensor+ - a dict containing one of the common keys: ``vae_latent``,+ ``latent``, ``latents``, ``data`` -> returns that value+ - a dict with exactly one tensor value -> returns it++ Returns:+ A tensor that downstream decoders expect to be 4-D ``[C, T, H, W]``;+ dimensionality is validated by :meth:`PytorchTensorWebDataset._decode_payload`.+ """+ if isinstance(obj, torch.Tensor):+ return obj+ if isinstance(obj, np.ndarray):+ return torch.from_numpy(obj)+ if isinstance(obj, dict):+ for k in ("vae_latent", "latent", "latents", "data"):+ if k in obj:+ v = obj[k]+ if isinstance(v, torch.Tensor):+ return v+ if isinstance(v, np.ndarray):+ return torch.from_numpy(v)+ raise TypeError(+ f"_coerce_latent: payload[{k!r}] has unsupported type {type(v).__name__}"+ )+ # Fallback: if there's exactly one tensor value, take it.+ tensor_vals = [v for v in obj.values() if isinstance(v, torch.Tensor)]+ if len(tensor_vals) == 1:+ return tensor_vals[0]+ raise KeyError(+ f"_coerce_latent: dict payload has no recognized latent key "+ f"(expected one of vae_latent/latent/latents/data); "+ f"keys={list(obj.keys())!r}"+ )+ raise TypeError(f"_coerce_latent: unsupported payload type {type(obj).__name__}")+++class PytorchTensorWebDataset(BaseWebDataset):+ """Pre-encoded latent tar input, with JSONL captions as the authority.++ Store one <key>.latent.pth in [C,T,H,W]; yield float32 [T,C,H,W].+ Optional meta.json is parsed; action payloads are ignored. The runtime has+ no payload-layout selector, custom transform, or disk annotation cache.+ target_frame_num crops a prefix and raises on short samples.+ """++ SHARD_KEY_STRIP_PREFIX = "latent_"++ def __init__(+ self,+ data_path: Union[str, "os.PathLike[str]"],+ annotation_path: str,+ target_frame_num: int | None = None,+ shuffle: int = 1000,+ shuffle_initial: int = 100,+ shardshuffle: bool | int = True,+ resampled: bool = False,+ nodesplitter: Callable | None = None,+ handler: Callable | None = None,+ length: int | None = None,+ seed: int = 0,+ global_rank: int = 0,+ seed_namespace: int = 0,+ ):+ super().__init__(+ data_path=data_path,+ annotation_path=annotation_path,+ shuffle=shuffle,+ shuffle_initial=shuffle_initial,+ shardshuffle=shardshuffle,+ resampled=resampled,+ nodesplitter=nodesplitter,+ handler=handler,+ length=length,+ seed=seed,+ global_rank=global_rank,+ seed_namespace=seed_namespace,+ )++ if isinstance(target_frame_num, bool) or (+ target_frame_num is not None and not isinstance(target_frame_num, int)+ ):+ raise TypeError("target_frame_num must be a positive integer or None.")+ if target_frame_num is not None and target_frame_num <= 0:+ raise ValueError("target_frame_num must be greater than zero.")+ self.target_frame_num = target_frame_num++ logger.info(+ "Initialized %s with %d shard(s) "+ "(annotation_path=%r, caption_index_size=%d, cast_dtype=%s, "+ "target_frame_num=%s)",+ self.__class__.__name__,+ len(self.urls),+ self.annotation_path,+ len(self.caption_index),+ torch.float32,+ self.target_frame_num,+ )++ # -- helpers ----------------------------------------------------------------++ def _decode_payload(self, sample: dict[str, Any]) -> dict[str, Any]:+ """Decode one WebDataset sample into the trainer sample contract.++ Args:+ sample: Raw WebDataset sample containing a latent ``.pth`` payload,+ optional ``actions.json`` and optional ``meta.json``.++ Returns:+ Dict with ``prompts`` string, ``clean_latent`` float tensor+ ``[T, C, H, W]`` and metadata keys. On-disk latent layout must be+ ``[C, T, H, W]`` and is permuted before returning.++ Raises:+ ``KeyError`` / ``TypeError`` / ``ValueError`` on malformed samples.+ The dataset is intentionally strict so shard/index drift is visible.+ """+ key = sample.get("__key__", "")+ url = sample.get("__url__", "")+ shard_key = self._extract_shard_key(url)++ latent_raw: bytes | None = None+ meta_obj: dict[str, Any] = {}++ for k, v in sample.items():+ if k.startswith("__"):+ continue+ kl = k.lower()+ if latent_raw is None and (+ kl == "latent.pth"+ or kl.endswith(".latent.pth")+ or kl == "pth"+ or kl.endswith(".pth")+ ):+ latent_raw = v+ elif kl == "meta.json" or kl.endswith(".meta.json"):+ meta_raw = v+ if isinstance(meta_raw, (bytes, bytearray)):+ meta_raw = meta_raw.decode("utf-8", errors="replace")+ meta_obj = json.loads(meta_raw) if isinstance(meta_raw, str) else (meta_raw or {})++ if latent_raw is None:+ raise KeyError(+ f"{type(self).__name__}: no latent .pth payload found in "+ f"sample (url={url!r}, key={key!r}, fields={list(sample.keys())!r})"+ )+ if not isinstance(latent_raw, (bytes, bytearray)):+ raise TypeError(+ f"{type(self).__name__}: latent payload has unexpected "+ f"type {type(latent_raw).__name__} "+ f"(url={url!r}, key={key!r}); expected raw bytes. "+ f"Did webdataset auto-decode the .pth file?"+ )++ prompt = self._resolve_caption(shard_key, key, meta_obj)++ payload = _load_pth_bytes(bytes(latent_raw))+ latent = _coerce_latent(payload)++ latent = latent.to(dtype=torch.float32)++ # On-disk layout is (C, T, H, W); align with the trainer layout (T, C, H, W).+ if latent.dim() != 4:+ raise ValueError(+ f"{type(self).__name__}: latent must be 4-D (C, T, H, W), "+ f"got shape {tuple(latent.shape)} (url={url!r}, key={key!r})"+ )+ latent = latent.permute(1, 0, 2, 3).contiguous()++ if self.target_frame_num is not None:+ actual_frame_num = latent.shape[0]+ if actual_frame_num < self.target_frame_num:+ raise ValueError(+ f"{type(self).__name__}: latent requires at least "+ f"{self.target_frame_num} frame(s), got {actual_frame_num} "+ f"(url={url!r}, key={key!r}); short samples are not padded."+ )+ latent = latent[: self.target_frame_num].contiguous()++ result: dict[str, Any] = {+ "prompts": prompt,+ "clean_latent": latent,+ "metadata": {+ "key": key,+ "shard_key": shard_key,+ },+ }+ return resultdiff --git a/src/dataset/text.py b/src/dataset/text.pynew file mode 100644index 0000000..151adfc--- /dev/null+++ b/src/dataset/text.py@@ -0,0 +1,92 @@+import json+from pathlib import Path++from PIL import Image+from torch.utils.data import Dataset+++class TextImagePairDataset(Dataset):+ """Image-prompt dataset for I2V inference.++ ``data_dir`` contains one ``target_crop_info_*.json`` metadata file and an+ aspect-ratio subdirectory holding images. Returned images are optionally+ transformed by the caller into tensors before VAE encoding.+ """++ def __init__(+ self,+ data_dir,+ transform=None,+ eval_first_n=-1,+ ):+ """+ Args:+ data_dir (str): Path to the directory containing:+ - target_crop_info_*.json (metadata file)+ - */ (subdirectory containing images with matching aspect ratio)+ transform (callable, optional): Optional transform to be applied on the image+ """+ self.transform = transform+ data_dir = Path(data_dir)++ # Find the metadata JSON file+ metadata_files = list(data_dir.glob("target_crop_info_*.json"))+ if not metadata_files:+ raise FileNotFoundError(f"No metadata file found in {data_dir}")+ if len(metadata_files) > 1:+ raise ValueError(f"Multiple metadata files found in {data_dir}")++ metadata_path = metadata_files[0]+ # Extract aspect ratio from metadata filename (e.g. target_crop_info_26-15.json -> 26-15)+ aspect_ratio = metadata_path.stem.split("_")[-1]++ # Use aspect ratio subfolder for images+ self.image_dir = data_dir / aspect_ratio+ if not self.image_dir.exists():+ raise FileNotFoundError(f"Image directory not found: {self.image_dir}")++ # Load metadata+ with open(metadata_path) as f:+ self.metadata = json.load(f)++ eval_first_n = eval_first_n if eval_first_n != -1 else len(self.metadata)+ self.metadata = self.metadata[:eval_first_n]++ # Verify all images exist+ for item in self.metadata:+ image_path = self.image_dir / item["file_name"]+ if not image_path.exists():+ raise FileNotFoundError(f"Image not found: {image_path}")+++ def __len__(self):+ return len(self.metadata)++ def __getitem__(self, idx):+ """Load one I2V conditioning image and prompt metadata.++ Returns:+ Dict with ``image`` (PIL image or transformed tensor), ``prompts``+ string, ``target_bbox`` ``[x1, y1, x2, y2]``, ``target_ratio``,+ ``type``, ``origin_size`` ``(width, height)`` and stable ``idx``.+ """+ item = self.metadata[idx]++ # Load image+ image_path = self.image_dir / item["file_name"]+ with Image.open(image_path) as source_image:+ image = source_image.convert("RGB")++ # Apply transform if specified+ if self.transform:+ image = self.transform(image)++ return {+ "image": image,+ "prompts": item["caption"],+ "target_bbox": item["target_crop"]["target_bbox"],+ "target_ratio": item["target_crop"]["target_ratio"],+ "type": item["type"],+ "origin_size": (item["origin_width"], item["origin_height"]),+ "idx": idx,+ }diff --git a/src/dataset/utils.py b/src/dataset/utils.pynew file mode 100644index 0000000..44ff558--- /dev/null+++ b/src/dataset/utils.py@@ -0,0 +1,526 @@+import json+import logging+import os+import random+import time+from collections.abc import Callable, Iterable+from concurrent.futures import ThreadPoolExecutor+from typing import Any++import numpy as np+import torch+import webdataset as wds+from torch.utils.data import IterableDataset++logger = logging.getLogger(__name__)+++_WDS_SHARD_RESAMPLE_STREAM_ID = 0x5744_5301+_WDS_SHARD_SHUFFLE_STREAM_ID = 0x5744_5302+_WDS_SAMPLE_SHUFFLE_STREAM_ID = 0x5744_5303+_WDS_DATALOADER_STREAM_ID = 0x5744_5304+DEFAULT_WDS_SAMPLE_SHUFFLE = 1000+DEFAULT_WDS_SAMPLE_SHUFFLE_INITIAL = 100+++def validate_webdataset_sample_shuffle(+ shuffle: int,+ shuffle_initial: int,+) -> tuple[int, int]:+ """Validate sample-buffer shuffle settings without changing their values."""+ values = {+ "wds_sample_shuffle": shuffle,+ "wds_sample_shuffle_initial": shuffle_initial,+ }+ for name, value in values.items():+ if isinstance(value, bool) or not isinstance(value, int):+ raise TypeError(f"{name} must be a non-boolean integer.")+ if value < 0:+ raise ValueError(f"{name} must be non-negative.")+ return shuffle, shuffle_initial+++def resolve_webdataset_sample_shuffle(config: Any) -> tuple[int, int]:+ """Resolve public WebDataset sample-shuffle controls with legacy defaults."""+ return validate_webdataset_sample_shuffle(+ getattr(config, "wds_sample_shuffle", DEFAULT_WDS_SAMPLE_SHUFFLE),+ getattr(+ config,+ "wds_sample_shuffle_initial",+ DEFAULT_WDS_SAMPLE_SHUFFLE_INITIAL,+ ),+ )+++def derive_webdataset_seed(+ base_seed: int,+ global_rank: int,+ worker_id: int,+ num_workers: int,+ stream_id: int,+) -> int:+ """Derive a stable worker-local seed without consuming any global RNG.++ The address includes the training seed, distributed rank, DataLoader+ worker identity/topology and a named integer stream. SplitMix64-style+ integer mixing avoids Python's process-randomized ``hash`` and excludes+ wall-clock time, PIDs and OS entropy.+ """+ components = (base_seed, global_rank, worker_id, num_workers, stream_id)+ if any(isinstance(value, bool) or not isinstance(value, int) for value in components):+ raise TypeError("WebDataset seed components must be non-boolean integers.")+ if global_rank < 0 or worker_id < 0 or num_workers <= 0:+ raise ValueError(+ "WebDataset seed address requires global_rank >= 0, worker_id >= 0, "+ "and num_workers > 0."+ )++ mask = (1 << 64) - 1+ value = 0x6A09_E667_F3BC_C909+ for component in components:+ value ^= (component & mask) + 0x9E37_79B9_7F4A_7C15 + ((value << 6) & mask)+ value ^= value >> 30+ value = (value * 0xBF58_476D_1CE4_E5B9) & mask+ value ^= value >> 27+ value = (value * 0x94D0_49BB_1331_11EB) & mask+ value ^= value >> 31+ return value & ((1 << 63) - 1)+++def seed_webdataset_worker(worker_id: int) -> None:+ """Seed worker-global RNGs from DataLoader's isolated generator stream."""+ del worker_id # ``torch.initial_seed`` already includes the worker offset.+ worker_seed = torch.initial_seed()+ random.seed(worker_seed)+ np.random.seed(worker_seed % (1 << 32))+ torch.manual_seed(worker_seed)+++def _zero_webdataset_worker_seed() -> int:+ """Disable WebDataset's implicit worker seed after explicit derivation."""+ return 0+++def _read_file_parallel(path: str, num_workers: int = 8) -> bytes:+ """Read a file using parallel ``pread`` from a thread pool.++ Why: S3 FUSE backends (s3fs / goofys / mountpoint-s3) generally cap a+ *single* sequential read at ~50–150 MB/s because there is no+ auto-parallelism on a single fd. Issuing several concurrent ``pread``+ calls on independent file descriptors lets the FUSE layer fire multiple+ GET range requests in flight, multiplying effective throughput by+ roughly ``num_workers`` until the underlying network / S3 endpoint+ saturates.++ Falls back to a single-threaded read for small files where the+ parallelism overhead would dominate.+ """+ file_size = os.path.getsize(path)+ if file_size == 0:+ return b""++ # Below ~16 MiB the single-threaded path is already cheap; skip the+ # thread-pool overhead.+ if file_size <= 16 << 20 or num_workers <= 1:+ with open(path, "rb") as f:+ return f.read()++ # Split the file into ``num_workers`` (roughly) equal chunks. Cap the+ # number of chunks to avoid spawning thousands of fds for huge files.+ num_chunks = min(max(num_workers, 1), 64)+ base = file_size // num_chunks+ remainder = file_size % num_chunks+ offsets: list[int] = []+ sizes: list[int] = []+ cur = 0+ for i in range(num_chunks):+ sz = base + (1 if i < remainder else 0)+ offsets.append(cur)+ sizes.append(sz)+ cur += sz++ def _worker(args):+ offset, size = args+ # Each worker uses its *own* file descriptor so pread calls don't+ # contend (and so the FUSE layer can issue independent GETs).+ fd = os.open(path, os.O_RDONLY)+ try:+ parts: list[bytes] = []+ done = 0+ while done < size:+ chunk = os.pread(fd, size - done, offset + done)+ if not chunk:+ raise OSError(f"unexpected EOF reading {path!r} at offset {offset + done}")+ parts.append(chunk)+ done += len(chunk)+ return b"".join(parts) if len(parts) > 1 else parts[0]+ finally:+ os.close(fd)++ with ThreadPoolExecutor(max_workers=min(num_workers, num_chunks)) as ex:+ chunks = list(ex.map(_worker, zip(offsets, sizes, strict=True)))++ return b"".join(chunks)+++class BaseWebDataset(IterableDataset):+ """Annotation-indexed deterministic latent stream with in-memory captions.++ JSONL paths define sorted tar paths; annotation filtering precedes decode.+ Read/decode errors propagate and reported length never truncates iteration.+ Annotation reads use eight workers for large files and serial reads for small+ files. No disk annotation cache or eager shard scan is performed.+ """++ #: Override in subclasses if the dataset writes a different prefix into+ #: shard filenames (e.g. ``"latent_shard-"`` for pre-encoded latents).+ SHARD_KEY_STRIP_PREFIX: str = ""++ def __init__(+ self,+ data_path: str | os.PathLike,+ annotation_path: str,+ shuffle: int = 1000,+ shuffle_initial: int = 100,+ shardshuffle: bool | int = True,+ resampled: bool = False,+ nodesplitter: Callable | None = None,+ handler: Callable | None = None,+ length: int | None = None,+ seed: int = 0,+ global_rank: int = 0,+ seed_namespace: int = 0,+ ):+ super().__init__()++ # ``data_path`` is a *directory* that contains the tar shards. We+ # never glob it; the annotation file enumerates the shards.+ data_dir = str(data_path)+ if not os.path.isdir(data_dir):+ raise NotADirectoryError(+ f"{type(self).__name__}: data_path must be a directory "+ f"containing tar shards, got: {data_dir!r}"+ )+ self.data_path = data_dir+ self.caption_field = "global_caption_en"++ # Load (shard, clip_name) -> caption from the JSONL index. The JSONL+ # is the single source of truth: every entry must have shard,+ # clip_name and a non-empty caption_field. Strict mode: any+ # inconsistency aborts construction.+ if not annotation_path:+ raise FileNotFoundError(+ f"{type(self).__name__}: annotation_path is required, got: {annotation_path!r}"+ )+ self.annotation_path = annotation_path+ self.caption_index: dict[tuple, str] = {}+ shards_in_order: list[str] = [] # preserve first-seen order+ seen_shards: set = set()++ _t0 = time.perf_counter()+ raw_bytes = _read_file_parallel(annotation_path, num_workers=8)+ _t_read = time.perf_counter() - _t0++ _t0 = time.perf_counter()+ # ``splitlines()`` handles \n / \r\n / \r and avoids producing a+ # trailing empty line for files that end with a newline -- cleaner+ # than ``split('\n')``. Decoding once for the whole blob is much+ # faster than decoding per-line.+ text = raw_bytes.decode("utf-8")+ del raw_bytes # free ~JSONL-size buffer before building the index+ for line_no, line in enumerate(text.splitlines(), 1):+ if not line or line.isspace():+ continue+ try:+ entry = json.loads(line)+ except json.JSONDecodeError as e:+ raise ValueError(+ f"{type(self).__name__}: invalid JSON in "+ f"{annotation_path} at line {line_no}: {e}"+ ) from e+ shard = entry.get("shard")+ clip = entry.get("clip_name")+ if not shard or not clip:+ raise ValueError(+ f"{type(self).__name__}: missing 'shard' or "+ f"'clip_name' in {annotation_path} at line {line_no}: {entry!r}"+ )+ cap = entry.get(self.caption_field)+ if not isinstance(cap, str) or not cap:+ raise ValueError(+ f"{type(self).__name__}: missing or empty "+ f"caption field {self.caption_field!r} in "+ f"{annotation_path} at line {line_no}: {entry!r}"+ )+ self.caption_index[(shard, clip)] = cap+ if shard not in seen_shards:+ seen_shards.add(shard)+ shards_in_order.append(shard)+ _t_parse = time.perf_counter() - _t0++ if not self.caption_index:+ raise ValueError(+ f"{type(self).__name__}: no usable entries found in "+ f"{annotation_path} (caption_field={self.caption_field!r})"+ )++ # Derive tar URLs deterministically from the JSONL ``shard`` fields.+ # NOTE: this avoids globbing ``data_path`` (which can be very slow+ # for directories with many files). Sorted for deterministic+ # ordering across ranks / workers.+ self.urls: list[str] = sorted(+ os.path.join(self.data_path, self.SHARD_KEY_STRIP_PREFIX + s + ".tar")+ for s in shards_in_order+ )++ # Optional best-effort existence check. Disabled by default because+ # ``data_path`` is typically an S3 FUSE mount where each+ # ``os.path.isfile`` triggers a HEAD request -- O(num_shards) round+ # trips on the critical path. WebDataset will raise immediately when+ # opening a missing tar anyway, so this check is purely belt-and-+ # suspenders. Enable with ``verify_shards=True`` for local FS or+ # debugging.+ self._shuffle, self._shuffle_initial = validate_webdataset_sample_shuffle(+ shuffle,+ shuffle_initial,+ )+ self._shardshuffle = shardshuffle+ self._resampled = resampled+ self._nodesplitter = nodesplitter if nodesplitter is not None else wds.split_by_node+ if isinstance(seed, bool) or not isinstance(seed, int):+ raise TypeError("WebDataset seed must be a non-boolean integer.")+ if isinstance(global_rank, bool) or not isinstance(global_rank, int):+ raise TypeError("WebDataset global_rank must be a non-boolean integer.")+ if global_rank < 0:+ raise ValueError("WebDataset global_rank must be non-negative.")+ if isinstance(seed_namespace, bool) or not isinstance(seed_namespace, int):+ raise TypeError("WebDataset seed_namespace must be a non-boolean integer.")+ if seed_namespace < 0:+ raise ValueError("WebDataset seed_namespace must be non-negative.")+ self._deterministic = True+ self._seed = seed+ self._global_rank = global_rank+ self._seed_namespace = seed_namespace+ # Strict mode: any tar / decode error must propagate. Do NOT use+ # ``wds.warn_and_continue`` (the previous default) which would+ # silently swallow corrupt shards and could turn into an effective+ # infinite loop when combined with ``ResampledShards``.+ self._handler = handler if handler is not None else wds.reraise_exception++ # Optional dataset length. ``IterableDataset`` has no inherent ``__len__``+ # because the number of samples in a tar generally isn't known without+ # scanning every shard. After annotation-based filtering, however, the+ # JSONL row count *is* the exact number of samples that will be yielded+ # per epoch, so we use it as the default. Callers can still override+ # via ``length=`` (clamped to the index size) or assign :attr:`length`+ # later.+ if length is None:+ self._length: int | None = len(self.caption_index)+ else:+ self._length = min(int(length), len(self.caption_index))++ logger.info(+ "%s: loaded %d annotation entries across %d shards (read=%.2fs, parse=%.2fs)",+ type(self).__name__,+ len(self.caption_index),+ len(self.urls),+ _t_read,+ _t_parse,+ )+ if self._deterministic:+ logger.info(+ "%s: deterministic order enabled (seed=%d, global_rank=%d)",+ type(self).__name__,+ self._seed,+ self._global_rank,+ )++ # -- helpers ----------------------------------------------------------------++ @staticmethod+ def _basename_no_tar(url: str) -> str:+ if not url:+ return ""+ base = os.path.basename(str(url))+ for suffix in (".tar.gz", ".tar.zst", ".tar.xz", ".tar"):+ if base.endswith(suffix):+ return base[: -len(suffix)]+ return base++ def _extract_shard_key(self, url: str) -> str:+ """Extract a shard identifier (e.g. ``shard-000087``) from a tar URL."""+ return self._basename_no_tar(url)++ def _annotation_lookup_key(self, shard_key: str) -> str:+ """Map a shard key to the key used in the JSONL ``shard`` field.++ Default: strip ``SHARD_KEY_STRIP_PREFIX`` from the front of the shard+ key. Subclasses can override for more elaborate mappings.+ """+ if self.SHARD_KEY_STRIP_PREFIX and shard_key.startswith(self.SHARD_KEY_STRIP_PREFIX):+ return shard_key[len(self.SHARD_KEY_STRIP_PREFIX) :]+ return shard_key++ def _resolve_caption(+ self,+ shard_key: str,+ key: str,+ meta_obj: dict[str, Any] | None = None,+ ) -> str:+ """Resolve a caption for ``(shard_key, key)``.++ Strict mode: raises ``KeyError`` if a caption index is configured+ but the entry is missing, or ``ValueError`` if no caption can be+ resolved at all. Never returns ``None``.+ """+ if self.caption_index:+ lookup_shard = self._annotation_lookup_key(shard_key)+ cap = self.caption_index.get((lookup_shard, key))+ if isinstance(cap, str) and cap:+ return cap+ raise KeyError(+ f"{type(self).__name__}: caption miss for "+ f"(shard={lookup_shard!r}, clip_name={key!r}). "+ f"All samples must have a matching entry in the "+ f"annotation index."+ )++ raise ValueError(f"{type(self).__name__}: annotation caption index is empty.")++ # -- subclass hook ----------------------------------------------------------++ def _decode_payload(self, sample: dict[str, Any]) -> dict[str, Any]:+ """Convert one raw webdataset sample dict into a training-ready dict.++ Strict mode: must return a valid sample. Raise an exception on any+ malformed input; do NOT return ``None``.+ """+ raise NotImplementedError++ # -- iteration --------------------------------------------------------------++ def _stream_seed(self, stream_id: int) -> int:+ worker = torch.utils.data.get_worker_info()+ worker_id = 0 if worker is None else worker.id+ num_workers = 1 if worker is None else worker.num_workers+ return derive_webdataset_seed(+ self._seed,+ self._global_rank,+ worker_id,+ num_workers,+ stream_id + self._seed_namespace,+ )++ @property+ def dataloader_seed(self) -> int | None:+ """Return an isolated loader seed when deterministic order is enabled."""+ return derive_webdataset_seed(+ self._seed,+ self._global_rank,+ worker_id=0,+ num_workers=1,+ stream_id=_WDS_DATALOADER_STREAM_ID + self._seed_namespace,+ )++ # -- annotation-driven filter ----------------------------------------------++ def _filter_by_annotation(self, samples: Iterable[dict[str, Any]]):+ """Drop samples whose ``(shard, clip_name)`` is not in the JSONL index.++ The tar shards are packed in **full** (every clip), but the JSONL+ annotation file only covers the **subset** that has captions. Iterating+ all tar samples and then failing in :meth:`_resolve_caption` would be+ wrong (strict mode is meant for *truly* unexpected data, not for the+ known unannotated remainder). Instead we filter as soon as we have+ ``__url__`` + ``__key__`` from ``tarfile_to_samples``, before any+ decode work happens.+ """+ ann = self.caption_index+ for sample in samples:+ url = sample.get("__url__", "")+ key = sample.get("__key__", "")+ shard_key = self._annotation_lookup_key(self._extract_shard_key(url))+ if (shard_key, key) in ann:+ yield sample+ # else: silently skip — this is the unannotated remainder, by design.++ def _build_pipeline(self):+ """Build the underlying webdataset pipeline."""+ if self._resampled:+ pipeline: list[Any] = [+ wds.ResampledShards(+ self.urls,+ seed=self._stream_seed(_WDS_SHARD_RESAMPLE_STREAM_ID),+ worker_seed=_zero_webdataset_worker_seed,+ deterministic=True,+ )+ ]+ else:+ pipeline = [wds.SimpleShardList(self.urls), self._nodesplitter, wds.split_by_worker]+ if self._shardshuffle:+ if isinstance(self._shardshuffle, bool):+ buf = len(self.urls)+ elif isinstance(self._shardshuffle, int):+ buf = self._shardshuffle+ else:+ buf = len(self.urls)+ pipeline.append(+ wds.shuffle(buf, seed=self._stream_seed(_WDS_SHARD_SHUFFLE_STREAM_ID))+ )+ pipeline.append(wds.tarfile_to_samples(handler=self._handler))+ pipeline.append(self._filter_by_annotation)+ if self._shuffle and self._shuffle > 0:+ pipeline.append(+ wds.shuffle(+ self._shuffle,+ initial=self._shuffle_initial,+ seed=self._stream_seed(_WDS_SAMPLE_SHUFFLE_STREAM_ID),+ )+ )+ return wds.DataPipeline(*pipeline)++ def __iter__(self):+ """Iterate the underlying webdataset pipeline.++ Strict mode: ``_decode_payload`` MUST return a valid sample for every+ input. Any exception propagates immediately so failures surface fast+ instead of being silently dropped (which previously could turn into+ an infinite loop under ``ResampledShards`` and a NCCL watchdog hang+ on other ranks).+ """+ pipeline = self._build_pipeline()+ for sample in pipeline:+ yield self._decode_payload(sample)++ # -- length -----------------------------------------------------------------++ @property+ def length(self) -> int | None:+ """User-supplied dataset length (number of samples), if known."""+ return self._length++ @length.setter+ def length(self, value: int | None) -> None:+ self._length = None if value is None else int(value)++ def __len__(self) -> int:+ """Return the number of samples if known.++ ``IterableDataset`` has no inherent length: the number of samples+ packed inside a set of tar shards is generally unknowable without+ scanning every shard. Callers that know the total (e.g. from a+ precomputed manifest) should pass ``length=N`` to ``__init__`` or set+ ``ds.length = N`` afterwards. If neither is done, this raises+ ``TypeError`` to match the behaviour of a plain ``IterableDataset``+ (so ``DataLoader`` / ``len(ds)`` consumers get a clear error rather+ than a silently wrong number).+ """+ if self._length is None:+ logger.warning(+ "%s has no known length. "+ "Pass `length=<int>` to the constructor or set `ds.length = <int>` "+ "if the total sample count is known.",+ type(self).__name__,+ )+ return 0+ return self._lengthdiff --git a/src/model/__init__.py b/src/model/__init__.pynew file mode 100644index 0000000..fae7164--- /dev/null+++ b/src/model/__init__.py@@ -0,0 +1 @@+"""Selected training objectives."""diff --git a/src/model/base.py b/src/model/base.pynew file mode 100644index 0000000..8e46a32--- /dev/null+++ b/src/model/base.py@@ -0,0 +1,34 @@+"""Causal objective base and chunkwise timestep sampling."""++import torch+from torch import nn+++class BaseModel(nn.Module):+ def __init__(self, args, device):+ super().__init__()+ self.args = args+ self.device = device+ self.dtype = torch.bfloat16 if args.mixed_precision else torch.float32+ self.inference_pipeline = None+ self._initialize_models(args, device)++ def _initialize_models(self, args, device):+ raise NotImplementedError++ def _get_timestep(self, min_timestep, max_timestep, batch_size, num_frame, num_frame_per_block):+ # Preserve the full per-frame draw before chunk grouping, including C0.+ timestep = torch.randint(+ min_timestep,+ max_timestep,+ [batch_size, num_frame],+ device=self.device,+ dtype=torch.long,+ )+ if self.independent_first_frame:+ regular = timestep[:, 1:].reshape(batch_size, -1, num_frame_per_block)+ regular[:, :, 1:] = regular[:, :, :1]+ return torch.cat((timestep[:, :1], regular.reshape(batch_size, -1)), dim=1)+ timestep = timestep.reshape(batch_size, -1, num_frame_per_block)+ timestep[:, :, 1:] = timestep[:, :, :1]+ return timestep.reshape(batch_size, num_frame)diff --git a/src/model/fm.py b/src/model/fm.pynew file mode 100644index 0000000..d9420a0--- /dev/null+++ b/src/model/fm.py@@ -0,0 +1,176 @@+"""Teacher-forced flow-matching objective and ordinary previews."""++import logging+from pathlib import Path++import torch++from src.model.base import BaseModel+from src.pipeline.causal_diffusion_inference import CausalDiffusionInferencePipeline+from src.utils.checkpoint_state import normalize_generator_fsdp_state_dict+from src.utils.ckpt_cache import load_ckpt+from src.utils.snapshot_seed import derive_condition_only_snapshot_seed+from src.utils.timestep_bucket_logging import build_chunkwise_loss_observations+from src.utils.wan_model_family import validate_wan_checkpoint_family+from src.utils.wan_wrapper import (+ WanDiffusionWrapper,+ WanTextEncoder,+ WanVAEWrapper,+ isolated_torch_cpu_rng,+)+++class FlowMatching(BaseModel):+ def __init__(self, args, device):+ self.condition_only_first_frame = args.condition_only_first_frame+ self.independent_first_frame = args.independent_first_frame+ self.num_frame_per_block = args.num_frame_per_block+ super().__init__(args, device)+ self.generator.model.num_frame_per_block = self.num_frame_per_block+ self.generator.model.independent_first_frame = self.independent_first_frame+ if args.gradient_checkpointing:+ self.generator.enable_gradient_checkpointing()++ def _initialize_models(self, args, device):+ def initialize_generator_and_aux():+ self.generator = WanDiffusionWrapper(+ model_name=args.model_name,+ latent_shape=args.image_or_video_shape,+ load_diffusion_pretrained=args.load_diffusion_pretrained,+ initialization_seed=int(args.seed) if args.load_diffusion_pretrained else None,+ use_predictive_causal_model=args.future_prediction.enabled,+ **args.model_kwargs,+ )+ self._after_generator_initialized(args)+ self.generator.requires_grad_(True)++ if args.load_diffusion_pretrained:+ initialize_generator_and_aux()+ else:+ # Random initialization isolates both backbone and auxiliary construction+ # under one shared seed, then restores the rank's training CPU RNG.+ with isolated_torch_cpu_rng(int(args.seed)):+ initialize_generator_and_aux()+ self.text_encoder = WanTextEncoder(model_name=args.model_name).requires_grad_(False)+ self.vae = WanVAEWrapper(model_name=args.model_name).requires_grad_(False)+ self.scheduler = self.generator.get_scheduler()+ self.scheduler.timesteps = self.scheduler.timesteps.to(device)+ if args.checkpoint_path and args.resume_checkpoint_path is None:+ payload = load_ckpt(args.checkpoint_path)+ # Objective warm start prefers embedded EMA, then sibling EMA,+ # then live. Trainer generator_ckpt is a separate live-first path.+ if "generator_ema" in payload:+ state = payload["generator_ema"]+ else:+ sibling = Path(args.checkpoint_path).with_name("model_ema.pt")+ if sibling.is_file():+ ema_payload = load_ckpt(str(sibling))+ state = ema_payload.get("generator_ema", ema_payload)+ else:+ state = payload["generator"]+ self.load_generator_checkpoint_state_dict(state)+ logging.info("Objective warm start loaded from %s", args.checkpoint_path)++ def _after_generator_initialized(self, args):+ """Configure method-specific modules before ordinary checkpoint loading."""++ def load_generator_ema_checkpoint_state_dict(self, ema, state, generator):+ ema.load_full_state_dict(state, generator)++ def load_generator_checkpoint_state_dict(self, state_dict):+ state = normalize_generator_fsdp_state_dict(state_dict)+ validate_wan_checkpoint_family(+ state, model_name=self.args.model_name, consumer_name="training generator checkpoint"+ )+ self.generator.load_state_dict(state, strict=True)++ def _flow_matching_frame_loss(+ self, flow_pred, training_target, timestep, batch_size, num_frame+ ):+ loss = torch.nn.functional.mse_loss(+ flow_pred.float(), training_target.float(), reduction="none"+ ).mean(dim=(2, 3, 4))+ return loss * self.scheduler.training_weight(timestep).unflatten(0, (batch_size, num_frame))++ def _reduce_main_frame_loss(self, main_frame_loss):+ if not self.condition_only_first_frame:+ return main_frame_loss.mean(), {}+ return main_frame_loss[:, 1:].mean(), {+ "main_c0_loss": main_frame_loss[:, 0].mean().detach()+ }++ def generator_loss(+ self,+ image_or_video_shape,+ conditional_dict,+ unconditional_dict,+ clean_latent,+ initial_latent=None,+ global_step=None,+ global_rank=None,+ ):+ noise = torch.randn_like(clean_latent)+ batch_size, num_frame = image_or_video_shape[:2]+ index = self._get_timestep(0, 1000, batch_size, num_frame, self.num_frame_per_block)+ canonical_timestep = self.scheduler.timesteps[index]+ timestep = canonical_timestep.to(dtype=self.dtype)+ noisy = self.scheduler.add_noise(+ clean_latent.flatten(0, 1), noise.flatten(0, 1), timestep.flatten()+ ).unflatten(0, (batch_size, num_frame))+ target = self.scheduler.training_target(clean_latent, noise, timestep)+ # Zero context augmentation: no extra draw and no augmentation interface.+ flow, x0 = self.generator(+ noisy_image_or_video=noisy,+ conditional_dict=conditional_dict,+ timestep=timestep,+ clean_x=clean_latent,+ )+ frame_loss = self._flow_matching_frame_loss(flow, target, timestep, batch_size, num_frame)+ loss, metrics = self._reduce_main_frame_loss(frame_loss)+ chunk_loss, chunk_timestep = build_chunkwise_loss_observations(+ frame_loss,+ canonical_timestep,+ num_frame_per_block=self.num_frame_per_block,+ independent_first_frame=self.independent_first_frame,+ exclude_first_frame=self.condition_only_first_frame,+ )+ return loss, {+ "x0": clean_latent.detach(),+ "x0_pred": x0.detach(),+ "_generator_chunk_loss": chunk_loss,+ "_generator_chunk_timestep": chunk_timestep,+ **metrics,+ }++ @torch.no_grad()+ def inference(+ self, batch, image_or_video_shape, sanity_check=False, global_step=0, global_rank=0+ ):+ clean = batch["clean_latent"][:, : image_or_video_shape[1]].to(self.device, self.dtype)+ if self.inference_pipeline is None:+ self.inference_pipeline = CausalDiffusionInferencePipeline(+ self.args,+ self.device,+ generator=self.generator,+ text_encoder=self.text_encoder,+ vae=self.vae,+ )+ shape = list(clean.shape)+ if not sanity_check:+ shape[1] = (shape[1] - 1) * 2 + 1 if self.independent_first_frame else shape[1] * 2+ context_frames = 1 if self.independent_first_frame else self.num_frame_per_block+ shape[1] -= context_frames+ if self.condition_only_first_frame:+ seed = derive_condition_only_snapshot_seed(+ base_seed=int(self.args.seed), global_rank=global_rank, global_step=global_step+ )+ generator = torch.Generator(device=clean.device).manual_seed(seed)+ noise = torch.randn(shape, device=clean.device, dtype=clean.dtype, generator=generator)+ else:+ noise = torch.randn(shape, device=clean.device, dtype=clean.dtype)+ try:+ return self.inference_pipeline.inference(+ noise=noise, text_prompts=batch["prompts"], initial_latent=clean[:, :context_frames]+ )+ finally:+ self.inference_pipeline.reset_cache()diff --git a/src/model/predictive_fm.py b/src/model/predictive_fm.pynew file mode 100644index 0000000..0dd8567--- /dev/null+++ b/src/model/predictive_fm.py@@ -0,0 +1,424 @@+"""FCP flow objective with independent future timesteps."""++import logging+import os+from dataclasses import dataclass++import torch++from src.model.fm import FlowMatching+from src.utils.predictive_multi_chunk_config import (+ build_predictive_chunk_layout,+ configure_predictive_multi_chunk_from_config,+ read_predictive_multi_chunk_config,+)+from src.utils.predictive_training_checkpoint import prepare_predictive_checkpoint+from src.utils.timestep_bucket_logging import (+ build_chunkwise_loss_observations,+ build_predictive_aux_chunkwise_loss_observations,+)+from src.utils.wan_model_family import validate_wan_checkpoint_family+++@dataclass+class PredictiveLossComponents:+ total_loss: torch.Tensor+ main_loss: torch.Tensor+ aux_loss: torch.Tensor+ log_dict: dict+++class PredictiveFlowMatching(FlowMatching):+ _predictive_consumer_name = "FCP"+ _aux_future_timestep_stream_id = 0xA17F_71A5_7E9D_51E1++ def __init__(self, args, device):+ self._independent_aux_scheduler = None+ self._loaded_live_checkpoint_has_predictive_aux = None+ super().__init__(args, device)+ # Validate the physical interval against the effective scheduler eagerly.+ self._build_aux_future_timestep_candidate_indices()++ def _after_generator_initialized(self, args):+ cfg = read_predictive_multi_chunk_config(args, self.generator.model)+ self.predictive_multi_chunk_config = cfg+ self.generator.model.num_frame_per_block = args.num_frame_per_block+ self.generator.model.independent_first_frame = args.independent_first_frame+ configure_predictive_multi_chunk_from_config(self.generator.model, cfg)+ self._predictive_checkpoint_shapes = {+ k: tuple(v.shape) for k, v in self.generator.state_dict().items()+ }++ def _prepare_checkpoint(self, state, *, ema=False):+ validate_wan_checkpoint_family(+ state,+ model_name=self.args.model_name,+ consumer_name="FCP EMA" if ema else "FCP training",+ )+ return prepare_predictive_checkpoint(+ state,+ self.predictive_multi_chunk_config,+ self._predictive_checkpoint_shapes,+ label="FCP EMA" if ema else "FCP training",+ ema=ema,+ )++ def load_generator_checkpoint_state_dict(self, state_dict):+ state, predictive = self._prepare_checkpoint(state_dict)+ self.generator.load_state_dict(+ state, strict=False+ ) # All exceptions checked before mutation.+ self._loaded_live_checkpoint_has_predictive_aux = predictive++ def load_generator_ema_checkpoint_state_dict(self, ema, state_dict, generator):+ state, predictive = self._prepare_checkpoint(state_dict, ema=True)+ live = self._loaded_live_checkpoint_has_predictive_aux+ if live is not None and live != predictive:+ raise RuntimeError("FCP live/EMA checkpoint identity conflict")+ ema.load_full_state_dict(+ state,+ generator,+ allow_missing_aux=True,+ expected_shapes=self._predictive_checkpoint_shapes,+ )++ def _runtime_predictive_chunk_layout(self, num_frame: int):+ """Validate runtime frames against the parser-normalized chunk layout."""+ cfg = self.predictive_multi_chunk_config+ layout = build_predictive_chunk_layout(+ num_frames=num_frame,+ block_size=cfg["num_frame_per_block"],+ independent_first_frame=cfg.get("independent_first_frame", False),+ consumer_name=self._predictive_consumer_name,+ )+ if layout.num_regular_chunks != cfg["num_chunks"]:+ raise ValueError(+ f"{self._predictive_consumer_name} runtime/config chunk mismatch: "+ f"runtime N={layout.num_regular_chunks}, configured N={cfg['num_chunks']}."+ )+ return layout++ def _get_aux_future_scheduler(self):+ """Return the effective scheduler for independent predictive targets."""+ config = getattr(self, "predictive_multi_chunk_config", {})+ aux_shift = config.get("aux_future_timestep_shift")+ if aux_shift is None:+ return self.scheduler+ if getattr(self, "_independent_aux_scheduler", None) is None:+ self._independent_aux_scheduler = self.scheduler.clone_with_shift(aux_shift)+ logging.info(+ "Predictive independent aux scheduler enabled: main_shift=%s, aux_shift=%s",+ self.scheduler.shift,+ aux_shift,+ )+ return self._independent_aux_scheduler++ @staticmethod+ def _mix_aux_future_timestep_seed(*components: int) -> int:+ """Mix position components into one deterministic 64-bit seed."""+ mask = (1 << 64) - 1+ value = 0x9E37_79B9_7F4A_7C15+ for component in components:+ value ^= (+ (int(component) & mask)+ + 0x9E37_79B9_7F4A_7C15+ + ((value << 6) & mask)+ + (value >> 2)+ )+ value &= mask+ value = (value ^ (value >> 30)) * 0xBF58_476D_1CE4_E5B9 & mask+ value = (value ^ (value >> 27)) * 0x94D0_49BB_1331_11EB & mask+ return int(value ^ (value >> 31))++ @staticmethod+ def _generator_device(device) -> torch.device:+ if isinstance(device, int):+ return torch.device("cuda", device)+ return torch.device(device)++ def _sample_aux_future_timestep_indices(+ self,+ *,+ batch_size: int,+ valid_chunks: int,+ block_size: int,+ future_offset: int,+ global_step: int,+ global_rank: int,+ training_seed: int,+ first_regular_chunk_index: int = 0,+ candidate_indices: torch.Tensor | None = None,+ ) -> torch.Tensor:+ """Sample chunk-shared aux timestep indices with isolated per-position seeds."""+ device = self._generator_device(self.device)+ if candidate_indices is not None:+ if candidate_indices.ndim != 1 or candidate_indices.numel() == 0:+ raise ValueError("Aux future timestep candidate indices must be non-empty and 1D.")+ candidate_indices = candidate_indices.to(device=device, dtype=torch.long)+ indices = torch.empty(+ batch_size,+ valid_chunks,+ block_size,+ device=device,+ dtype=torch.long,+ )+ for batch_slot in range(batch_size):+ for retained_position in range(valid_chunks):+ source_chunk_index = retained_position+ global_source_chunk_index = first_regular_chunk_index + source_chunk_index+ seed_components = [+ training_seed,+ global_rank,+ global_step,+ batch_slot,+ global_source_chunk_index,+ future_offset,+ ]+ seed_components.append(self._aux_future_timestep_stream_id)+ seed = self._mix_aux_future_timestep_seed(*seed_components)+ generator = torch.Generator(device=device).manual_seed(seed)+ if candidate_indices is None:+ timestep_index = torch.randint(+ 0,+ self._get_aux_future_scheduler().num_train_timesteps,+ (1,),+ device=device,+ dtype=torch.long,+ generator=generator,+ )+ else:+ ordinal = torch.randint(+ 0,+ candidate_indices.numel(),+ (1,),+ device=device,+ dtype=torch.long,+ generator=generator,+ )+ timestep_index = candidate_indices[ordinal]+ indices[batch_slot, retained_position, :] = timestep_index+ return indices++ def _build_aux_future_timestep_candidate_indices_for_bounds(+ self,+ bounds: list[float],+ *,+ field_name: str,+ ) -> torch.Tensor:+ """Return scheduler indices inside one configured closed physical-t interval."""+ lower, upper = bounds+ timesteps = self._get_aux_future_scheduler().timesteps+ if timesteps.ndim != 1 or timesteps.numel() == 0:+ raise ValueError(+ f"{field_name} requires a non-empty one-dimensional scheduler.timesteps table."+ )++ candidate_indices = torch.nonzero(+ (timesteps >= lower) & (timesteps <= upper),+ as_tuple=False,+ ).flatten()+ if candidate_indices.numel() == 0:+ table_min = float(timesteps.min().item())+ table_max = float(timesteps.max().item())+ raise ValueError(+ f"{field_name} "+ f"[{lower}, {upper}] selects no scheduler timestep; runtime "+ f"scheduler.timesteps spans [{table_min}, {table_max}] across "+ f"{timesteps.numel()} entries."+ )+ return candidate_indices.to(device=self._generator_device(self.device))++ def _build_aux_future_timestep_candidate_indices(self) -> torch.Tensor:+ """Return scheduler indices inside the legacy global physical-t interval."""+ return self._build_aux_future_timestep_candidate_indices_for_bounds(+ self.predictive_multi_chunk_config["aux_future_timestep_range"],+ field_name="future_prediction.aux_future_timestep_range",+ )++ def _build_independent_aux_future_inputs(+ self,+ *,+ clean_latent: torch.Tensor,+ noise: torch.Tensor,+ batch_size: int,+ num_frame: int,+ global_step: int,+ global_rank: int,+ ) -> tuple[dict[int, torch.Tensor], dict[int, torch.Tensor], dict[int, torch.Tensor]]:+ """Build offset-keyed aux noisy chunks, targets and timesteps."""+ cfg = self.predictive_multi_chunk_config+ block_size = cfg["num_frame_per_block"]+ if clean_latent.shape[1] != num_frame or noise.shape[1] != num_frame:+ raise ValueError(+ "Independent predictive aux inputs must match the runtime temporal length: "+ f"clean={clean_latent.shape[1]}, noise={noise.shape[1]}, expected={num_frame}."+ )+ layout = self._runtime_predictive_chunk_layout(num_frame)+ num_chunks = layout.num_regular_chunks+ training_seed = int(getattr(self.args, "seed", 0))+ regular_start = layout.regular_frame_start+ clean_chunks = clean_latent[:, regular_start:].unflatten(1, (num_chunks, block_size))+ noise_chunks = noise[:, regular_start:].unflatten(1, (num_chunks, block_size))+ candidate_indices = self._build_aux_future_timestep_candidate_indices()++ aux_noisy_chunks_by_offset = {}+ aux_training_target_by_offset = {}+ aux_timestep_by_offset = {}+ for offset in cfg["future_offsets"]:+ valid_chunks = layout.valid_pair_count(offset)+ if valid_chunks < 1:+ raise ValueError(+ f"{self._predictive_consumer_name} has no retained regular predictive "+ f"pair for offset {offset}: T={num_frame}, F={block_size}, N={num_chunks}, "+ f"independent_first_frame={layout.independent_first_frame}, "+ f"valid_pair_count="+ f"{valid_chunks}."+ )+ timestep_indices = self._sample_aux_future_timestep_indices(+ batch_size=batch_size,+ valid_chunks=valid_chunks,+ block_size=block_size,+ future_offset=int(offset),+ global_step=global_step,+ global_rank=global_rank,+ training_seed=training_seed,+ first_regular_chunk_index=layout.first_regular_chunk_index,+ candidate_indices=candidate_indices,+ )+ aux_timestep = (+ self._get_aux_future_scheduler()+ .timesteps[timestep_indices]+ .to(+ dtype=self.dtype,+ device=self.device,+ )+ )+ clean_future = clean_chunks[:, offset : offset + valid_chunks]+ noise_future = noise_chunks[:, offset : offset + valid_chunks]+ flat_clean = clean_future.reshape(+ batch_size * valid_chunks * block_size,+ *clean_latent.shape[2:],+ )+ flat_noise = noise_future.reshape_as(flat_clean)+ aux_noisy = (+ self._get_aux_future_scheduler()+ .add_noise(+ flat_clean,+ flat_noise,+ aux_timestep.reshape(-1),+ )+ .reshape(batch_size, valid_chunks, block_size, *clean_latent.shape[2:])+ )+ aux_target = self._get_aux_future_scheduler().training_target(+ clean_future,+ noise_future,+ aux_timestep,+ )+ aux_noisy_chunks_by_offset[int(offset)] = aux_noisy+ aux_training_target_by_offset[int(offset)] = aux_target+ aux_timestep_by_offset[int(offset)] = aux_timestep+ return aux_noisy_chunks_by_offset, aux_training_target_by_offset, aux_timestep_by_offset++ def _auxiliary_losses(self, aux_outputs, targets, timesteps):+ cfg = self.predictive_multi_chunk_config+ scheduler = self._get_aux_future_scheduler()+ total = next(iter(targets.values())).new_zeros(())+ log, losses, times = {}, {}, {}+ for offset, weight in zip(cfg["future_offsets"], cfg["offset_loss_weights"], strict=True):+ expected = cfg["num_chunks"] - offset+ if aux_outputs[offset]["valid_chunks"] != expected:+ raise ValueError(f"FCP valid pair mismatch for offset {offset}")+ target, timestep = targets[offset], timesteps[offset]+ source_losses = []+ for source in cfg["source_context_streams"]:+ pred = aux_outputs[offset]["flow_pred_by_source"][source]+ if pred.shape != target.shape:+ raise ValueError(f"FCP prediction/target shape mismatch for {source}/{offset}")+ frame_loss = (pred.float() - target.float()).square().mean((3, 4, 5))+ frame_loss = frame_loss * scheduler.training_weight(timestep.flatten()).reshape(+ *timestep.shape+ )+ chunk_loss, chunk_time = build_predictive_aux_chunkwise_loss_observations(+ frame_loss, timestep+ )+ losses[(source, offset)], times[(source, offset)] = chunk_loss, chunk_time+ source_loss = frame_loss.mean()+ source_losses.append(source_loss)+ log[f"pred_{source}_{offset}_loss"] = source_loss.detach()+ offset_loss = torch.stack(source_losses).mean()+ total = total + weight * offset_loss+ log[f"pred_{offset}_loss"] = offset_loss.detach()+ log[f"valid_{offset}"] = float(expected)+ log["_predictive_aux_chunk_loss"] = losses+ log["_predictive_aux_chunk_timestep"] = times+ return total, log++ def generator_loss_components(+ self,+ image_or_video_shape,+ conditional_dict,+ unconditional_dict,+ clean_latent,+ initial_latent=None,+ global_step=None,+ global_rank=None,+ ):+ noise = torch.randn_like(clean_latent)+ batch, frames = image_or_video_shape[:2]+ index = self._get_timestep(0, 1000, batch, frames, self.num_frame_per_block)+ canonical = self.scheduler.timesteps[index]+ timestep = canonical.to(dtype=self.dtype)+ noisy = self.scheduler.add_noise(+ clean_latent.flatten(0, 1), noise.flatten(0, 1), timestep.flatten()+ ).unflatten(0, (batch, frames))+ target = self.scheduler.training_target(clean_latent, noise, timestep)+ aux_noisy, aux_target, aux_timestep = self._build_independent_aux_future_inputs(+ clean_latent=clean_latent,+ noise=noise,+ batch_size=batch,+ num_frame=frames,+ global_step=0 if global_step is None else int(global_step),+ global_rank=0 if global_rank is None else int(global_rank),+ )+ flow, x0, outputs = self.generator(+ noisy_image_or_video=noisy,+ conditional_dict=conditional_dict,+ timestep=timestep,+ clean_x=clean_latent,+ return_predictive_aux=True,+ predictive_aux_noisy_chunks_by_offset=aux_noisy,+ predictive_aux_timestep_chunks_by_offset=aux_timestep,+ )+ frame_loss = self._flow_matching_frame_loss(flow, target, timestep, batch, frames)+ main, metrics = self._reduce_main_frame_loss(frame_loss)+ chunk_loss, chunk_time = build_chunkwise_loss_observations(+ frame_loss,+ canonical,+ num_frame_per_block=self.num_frame_per_block,+ independent_first_frame=self.independent_first_frame,+ exclude_first_frame=self.condition_only_first_frame,+ )+ aux, aux_metrics = self._auxiliary_losses(outputs, aux_target, aux_timestep)+ total = main + aux+ log = {+ "x0": clean_latent.detach(),+ "x0_pred": x0.detach(),+ "_generator_loss": main.detach(),+ "pred_total_loss": total.detach(),+ "_generator_chunk_loss": chunk_loss,+ "_generator_chunk_timestep": chunk_time,+ **metrics,+ **aux_metrics,+ }+ if os.environ.get("DEBUG") == "1":+ log.update(+ {+ f"debug_aux_timestep_mean_{offset}": value.detach().float().mean()+ for offset, value in aux_timestep.items()+ }+ )+ return PredictiveLossComponents(total, main, aux, log)++ def generator_loss(self, *args, **kwargs):+ components = self.generator_loss_components(*args, **kwargs)+ return components.total_loss, components.log_dictdiff --git a/src/pipeline/__init__.py b/src/pipeline/__init__.pynew file mode 100644index 0000000..dda5120--- /dev/null+++ b/src/pipeline/__init__.py@@ -0,0 +1 @@+"""Ordinary causal sampling; standalone diagnostics are excluded."""diff --git a/src/pipeline/causal_diffusion_inference.py b/src/pipeline/causal_diffusion_inference.pynew file mode 100644index 0000000..0ef5c82--- /dev/null+++ b/src/pipeline/causal_diffusion_inference.py@@ -0,0 +1,633 @@+"""Ordinary causal TI2V and shared training-preview pipeline."""++import logging+import math++import torch+import torch.distributed as dist+from tqdm import tqdm++from src.utils.wan_wrapper import WanDiffusionWrapper, WanTextEncoder, WanVAEWrapper+from src.wan.utils.fm_solvers import (+ FlowDPMSolverMultistepScheduler,+ get_sampling_sigmas,+ retrieve_timesteps,+)+from src.wan.utils.fm_solvers_unipc import FlowUniPCMultistepScheduler++logger = logging.getLogger(__name__)+++def validate_condition_only_inference_inputs(+ *, enabled, initial_latent, generated_frames, num_frame_per_block, consumer_name+):+ if initial_latent is None or initial_latent.ndim != 5 or initial_latent.shape[1] < 1:+ raise ValueError(f"{consumer_name}: context must have shape [B,T,C,H,W].")+ if enabled and (initial_latent.shape[1] - 1) % num_frame_per_block:+ raise ValueError(f"{consumer_name}: condition-only context must satisfy T=1+M*F.")+ if generated_frames < 0 or generated_frames % num_frame_per_block:+ raise ValueError(f"{consumer_name}: generated tail must be chunk-aligned.")+++class CausalDiffusionInferencePipeline(torch.nn.Module):+ def __init__(self, args, device, generator=None, text_encoder=None, vae=None):+ super().__init__()+ self.args = args+ self.condition_only_first_frame = args.condition_only_first_frame+ self.generator = (+ generator+ if generator is not None+ else WanDiffusionWrapper(+ model_name=args.model_name,+ latent_shape=args.image_or_video_shape,+ load_diffusion_pretrained=args.load_diffusion_pretrained,+ initialization_seed=int(args.seed),+ **args.model_kwargs,+ ).to(device)+ )+ self.text_encoder = (+ text_encoder if text_encoder is not None else WanTextEncoder(args.model_name).to(device)+ )+ self.vae = vae if vae is not None else WanVAEWrapper(args.model_name).to(device)+ self.num_train_timesteps = 1000+ self.sampling_steps = args.sampling_steps+ self.sample_solver = args.sample_solver+ self.shift = args.timestep_shift+ model = self.generator.model+ self.num_heads = model.config.num_heads+ self.head_dim = model.config.dim // self.num_heads+ self.text_len = model.config.text_len+ self.num_transformer_blocks = model.config.num_layers+ self.frame_seq_length = self.generator.frame_seq_len+ self.kv_cache_pos = self.kv_cache_neg = None+ self.crossattn_cache_pos = self.crossattn_cache_neg = None+ self.num_frame_per_block = args.num_frame_per_block+ self.independent_first_frame = args.independent_first_frame+ model.num_frame_per_block = self.num_frame_per_block+ model.independent_first_frame = self.independent_first_frame+ self.local_attn_size = model.local_attn_size+ logger.info("KV inference with %d frames per block", self.num_frame_per_block)++ def _iter_crossattn_cache_lists(self):+ yield self.crossattn_cache_pos+ yield self.crossattn_cache_neg++ @staticmethod+ def _reset_crossattn_cache_list(cache_list):+ for block_cache in cache_list:+ block_cache["is_init"] = False++ def inference(+ self,+ noise: torch.Tensor,+ text_prompts: list[str],+ initial_latent: torch.Tensor | None = None,+ start_frame_index: int | None = 0,+ return_latents: bool = False,+ return_video: bool = True,+ ) -> torch.Tensor:+ """Generate a causal video window on GPU.++ Args:+ noise: Initial noise for generated latent frames,+ ``[B, T_noise, C, H, W]``. It excludes ``initial_latent``.+ text_prompts: List of ``B`` prompts.+ initial_latent: Required context latents+ ``[B, T_init, C, H, W]``. ``T_init=1`` is I2V; larger values+ are video extension/context.+ start_frame_index: Absolute latent-frame index of the first frame+ in this window. Used only for RoPE/KV positions; cache-local+ indices still begin at zero.+ return_latents: If true, return ``(video, output_latents)``.+ return_video: If false, skip VAE decode and return latents only.++ Returns:+ Pixel video ``[B, T_pixel, 3, H_pixel, W_pixel]`` in ``[0, 1]``;+ latents ``[B, T_init + T_noise, C, H, W]`` when requested; or+ latents alone when ``return_video=False``.++ Compatibility:+ Text plus supplied C0 is required. The generated tail must contain+ a whole number of chunks.+ """+ validate_condition_only_inference_inputs(+ enabled=bool(getattr(self, "condition_only_first_frame", False)),+ initial_latent=initial_latent,+ generated_frames=int(noise.shape[1]),+ num_frame_per_block=self.num_frame_per_block,+ consumer_name="CausalDiffusionInferencePipeline.inference",+ )+ batch_size, num_frames, num_channels, height, width = noise.shape+ assert num_frames % self.num_frame_per_block == 0+ num_blocks = num_frames // self.num_frame_per_block+ num_input_frames = initial_latent.shape[1]+ num_output_frames = num_frames + num_input_frames+ conditional_dict = self.text_encoder(text_prompts=text_prompts)+ unconditional_dict = self.text_encoder(+ text_prompts=[self.args.negative_prompt] * len(text_prompts)+ )+ output = torch.zeros(+ [batch_size, num_output_frames, num_channels, height, width],+ device=noise.device,+ dtype=noise.dtype,+ )+ if self.kv_cache_pos is None:+ self._initialize_kv_cache(batch_size=batch_size, dtype=noise.dtype, device=noise.device)+ self._initialize_crossattn_cache(+ batch_size=batch_size, dtype=noise.dtype, device=noise.device+ )+ else:+ for cache_list in self._iter_crossattn_cache_lists():+ self._reset_crossattn_cache_list(cache_list)+ for block_index in range(len(self.kv_cache_pos)):+ self.kv_cache_pos[block_index]["global_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ self.kv_cache_pos[block_index]["local_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ self.kv_cache_neg[block_index]["global_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ self.kv_cache_neg[block_index]["local_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ current_start_frame = start_frame_index+ cache_start_frame = 0+ timestep = torch.ones([batch_size, 1], device=noise.device, dtype=torch.int64) * 0+ if self.independent_first_frame:+ assert (num_input_frames - 1) % self.num_frame_per_block == 0+ num_input_blocks = (num_input_frames - 1) // self.num_frame_per_block+ output[:, :1].copy_(initial_latent[:, :1].detach())+ self.generator(+ noisy_image_or_video=initial_latent[:, :1],+ conditional_dict=conditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ self.generator(+ noisy_image_or_video=initial_latent[:, :1],+ conditional_dict=unconditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ current_start_frame += 1+ cache_start_frame += 1+ else:+ assert num_input_frames % self.num_frame_per_block == 0+ num_input_blocks = num_input_frames // self.num_frame_per_block+ for _ in range(num_input_blocks):+ current_ref_latents = initial_latent[+ :, cache_start_frame : cache_start_frame + self.num_frame_per_block+ ]+ output[:, cache_start_frame : cache_start_frame + self.num_frame_per_block].copy_(+ current_ref_latents.detach()+ )+ self.generator(+ noisy_image_or_video=current_ref_latents,+ conditional_dict=conditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ self.generator(+ noisy_image_or_video=current_ref_latents,+ conditional_dict=unconditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ current_start_frame += self.num_frame_per_block+ cache_start_frame += self.num_frame_per_block+ all_num_frames = [self.num_frame_per_block] * num_blocks+ with tqdm(+ total=sum(all_num_frames), disable=dist.is_initialized() and dist.get_rank() != 0+ ) as pbar:+ pbar.set_description("Processing latent frames")+ for current_num_frames in all_num_frames:+ noisy_input = noise[+ :,+ cache_start_frame - num_input_frames : cache_start_frame+ - num_input_frames+ + current_num_frames,+ ]+ latents = noisy_input+ sample_scheduler = self._initialize_sample_scheduler(noise)+ for _, t in enumerate(tqdm(sample_scheduler.timesteps, disable=True)):+ latent_model_input = latents+ timestep = t * torch.ones(+ [batch_size, current_num_frames], device=noise.device, dtype=torch.float32+ )+ flow_pred_cond, _ = self.generator(+ noisy_image_or_video=latent_model_input,+ conditional_dict=conditional_dict,+ timestep=timestep,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ flow_pred_uncond, _ = self.generator(+ noisy_image_or_video=latent_model_input,+ conditional_dict=unconditional_dict,+ timestep=timestep,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ flow_pred = flow_pred_uncond + self.args.guidance_scale * (+ flow_pred_cond - flow_pred_uncond+ )+ temp_x0 = sample_scheduler.step(flow_pred, t, latents, return_dict=False)[0]+ latents = temp_x0+ logger.debug(+ f"kv_cache local/global_end_index: {self.kv_cache_pos[0]['local_end_index'].item()}/{self.kv_cache_pos[0]['global_end_index'].item()}"+ )+ output[:, cache_start_frame : cache_start_frame + current_num_frames].copy_(+ latents.detach()+ )+ self.generator(+ noisy_image_or_video=latents,+ conditional_dict=conditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ self.generator(+ noisy_image_or_video=latents,+ conditional_dict=unconditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ current_start_frame += current_num_frames+ cache_start_frame += current_num_frames+ pbar.update(current_num_frames)+ pbar.set_description("Processing latent frames")+ if return_video:+ video = self.vae.decode_to_pixel(output)+ video = (video * 0.5 + 0.5).clamp(0, 1)+ if return_latents:+ return (video, output)+ else:+ return video+ else:+ return output++ def inference_long(+ self,+ noise: torch.Tensor,+ text_prompts: list[str],+ initial_latent: torch.Tensor | None = None,+ start_frame_index: int | None = 0,+ return_latents: bool = False,+ return_video: bool = True,+ vae_decode_chunk: int = 32,+ ) -> torch.Tensor:+ """Generate a causal window with CPU latent buffering and chunked VAE decode.++ Args are the same as :meth:`inference`, plus:+ vae_decode_chunk: Number of latent frames per VAE decode call.++ Returns:+ Same return shapes as :meth:`inference`.++ Compatibility:+ The output latent buffer lives on CPU pinned memory to reduce GPU+ peak usage. VAE decoding uses ``use_cache=True`` and therefore+ currently requires batch size ``1`` in ``WanVAEWrapper``.+ """+ validate_condition_only_inference_inputs(+ enabled=bool(getattr(self, "condition_only_first_frame", False)),+ initial_latent=initial_latent,+ generated_frames=int(noise.shape[1]),+ num_frame_per_block=self.num_frame_per_block,+ consumer_name="CausalDiffusionInferencePipeline.inference_long",+ )+ batch_size, num_frames, num_channels, height, width = noise.shape+ assert num_frames % self.num_frame_per_block == 0+ num_blocks = num_frames // self.num_frame_per_block+ num_input_frames = initial_latent.shape[1]+ num_output_frames = num_frames + num_input_frames+ conditional_dict = self.text_encoder(text_prompts=text_prompts)+ unconditional_dict = self.text_encoder(+ text_prompts=[self.args.negative_prompt] * len(text_prompts)+ )+ output = torch.zeros(+ [batch_size, num_output_frames, num_channels, height, width],+ device="cpu",+ dtype=noise.dtype,+ pin_memory=torch.cuda.is_available(),+ )+ if self.kv_cache_pos is None:+ self._initialize_kv_cache(batch_size=batch_size, dtype=noise.dtype, device=noise.device)+ self._initialize_crossattn_cache(+ batch_size=batch_size, dtype=noise.dtype, device=noise.device+ )+ else:+ for cache_list in self._iter_crossattn_cache_lists():+ self._reset_crossattn_cache_list(cache_list)+ for block_index in range(len(self.kv_cache_pos)):+ self.kv_cache_pos[block_index]["global_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ self.kv_cache_pos[block_index]["local_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ self.kv_cache_neg[block_index]["global_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ self.kv_cache_neg[block_index]["local_end_index"] = torch.tensor(+ [0], dtype=torch.long, device=noise.device+ )+ # CPU copy/cat below must not read pending asynchronous D2H transfers.+ # Keep D2H blocking; H2D decode transfers can remain asynchronous.+ current_start_frame = start_frame_index+ cache_start_frame = 0+ timestep = torch.ones([batch_size, 1], device=noise.device, dtype=torch.int64) * 0+ if self.independent_first_frame:+ assert (num_input_frames - 1) % self.num_frame_per_block == 0+ num_input_blocks = (num_input_frames - 1) // self.num_frame_per_block+ output[:, :1].copy_(initial_latent[:, :1].detach().to("cpu"))+ self.generator(+ noisy_image_or_video=initial_latent[:, :1],+ conditional_dict=conditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ self.generator(+ noisy_image_or_video=initial_latent[:, :1],+ conditional_dict=unconditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ current_start_frame += 1+ cache_start_frame += 1+ else:+ assert num_input_frames % self.num_frame_per_block == 0+ num_input_blocks = num_input_frames // self.num_frame_per_block+ for _ in range(num_input_blocks):+ current_ref_latents = initial_latent[+ :, cache_start_frame : cache_start_frame + self.num_frame_per_block+ ]+ output[:, cache_start_frame : cache_start_frame + self.num_frame_per_block].copy_(+ current_ref_latents.detach().to("cpu")+ )+ self.generator(+ noisy_image_or_video=current_ref_latents,+ conditional_dict=conditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ self.generator(+ noisy_image_or_video=current_ref_latents,+ conditional_dict=unconditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ current_start_frame += self.num_frame_per_block+ cache_start_frame += self.num_frame_per_block+ all_num_frames = [self.num_frame_per_block] * num_blocks+ with tqdm(+ total=sum(all_num_frames), disable=dist.is_initialized() and dist.get_rank() != 0+ ) as pbar:+ pbar.set_description("Processing latent frames")+ for current_num_frames in all_num_frames:+ noisy_input = noise[+ :,+ cache_start_frame - num_input_frames : cache_start_frame+ - num_input_frames+ + current_num_frames,+ ]+ latents = noisy_input+ sample_scheduler = self._initialize_sample_scheduler(noise)+ for _, t in enumerate(tqdm(sample_scheduler.timesteps, disable=True)):+ latent_model_input = latents+ timestep = t * torch.ones(+ [batch_size, current_num_frames], device=noise.device, dtype=torch.float32+ )+ flow_pred_cond, _ = self.generator(+ noisy_image_or_video=latent_model_input,+ conditional_dict=conditional_dict,+ timestep=timestep,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ flow_pred_uncond, _ = self.generator(+ noisy_image_or_video=latent_model_input,+ conditional_dict=unconditional_dict,+ timestep=timestep,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ flow_pred = flow_pred_uncond + self.args.guidance_scale * (+ flow_pred_cond - flow_pred_uncond+ )+ temp_x0 = sample_scheduler.step(flow_pred, t, latents, return_dict=False)[0]+ latents = temp_x0+ logger.debug(+ f"kv_cache local/global_end_index: {self.kv_cache_pos[0]['local_end_index'].item()}/{self.kv_cache_pos[0]['global_end_index'].item()}"+ )+ output[:, cache_start_frame : cache_start_frame + current_num_frames].copy_(+ latents.detach().to("cpu")+ )+ self.generator(+ noisy_image_or_video=latents,+ conditional_dict=conditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_pos,+ crossattn_cache=self.crossattn_cache_pos,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ self.generator(+ noisy_image_or_video=latents,+ conditional_dict=unconditional_dict,+ timestep=timestep * 0,+ kv_cache=self.kv_cache_neg,+ crossattn_cache=self.crossattn_cache_neg,+ current_start=current_start_frame * self.frame_seq_length,+ cache_start=cache_start_frame * self.frame_seq_length,+ )+ current_start_frame += current_num_frames+ cache_start_frame += current_num_frames+ pbar.set_description("Processing latent frames")+ pbar.update(current_num_frames)+ del latents, noisy_input, latent_model_input+ del flow_pred, flow_pred_cond, flow_pred_uncond, temp_x0+ del timestep, sample_scheduler+ if torch.cuda.is_available():+ torch.cuda.empty_cache()+ if return_video:+ vae_device = noise.device+ chunk = max(1, int(vae_decode_chunk))+ total_lat = output.shape[1]+ pixel_chunks = []+ try:+ for s in range(0, total_lat, chunk):+ e = min(s + chunk, total_lat)+ lat_chunk = output[:, s:e].to(vae_device, non_blocking=True)+ pix_chunk = self.vae.decode_to_pixel(lat_chunk, use_cache=True)+ pixel_chunks.append(pix_chunk.detach().to("cpu"))+ del lat_chunk, pix_chunk+ if torch.cuda.is_available():+ torch.cuda.empty_cache()+ finally:+ self.vae.model.clear_cache()+ video = torch.cat(pixel_chunks, dim=1)+ video = (video * 0.5 + 0.5).clamp(0, 1)+ if return_latents:+ return (video, output)+ else:+ return video+ else:+ return output++ def _initialize_kv_cache(self, batch_size, dtype, device):+ """Initialize per-GPU self-attention KV caches.++ Args:+ batch_size: ``B``.+ dtype: Cache tensor dtype, usually matching the latent noise dtype.+ device: CUDA device.++ Cache shape:+ For every transformer block, stores ``k`` and ``v`` tensors with+ shape ``[B, local_attn_size * frame_seq_len, num_heads, head_dim]``+ plus scalar ``global_end_index`` / ``local_end_index`` counters.+ """+ kv_cache_pos = []+ kv_cache_neg = []+ kv_cache_size = self.local_attn_size * self.frame_seq_length+ for _ in range(self.num_transformer_blocks):+ kv_cache_pos.append(+ {+ "k": torch.zeros(+ [batch_size, kv_cache_size, self.num_heads, self.head_dim],+ dtype=dtype,+ device=device,+ ),+ "v": torch.zeros(+ [batch_size, kv_cache_size, self.num_heads, self.head_dim],+ dtype=dtype,+ device=device,+ ),+ "global_end_index": torch.tensor([0], dtype=torch.long, device=device),+ "local_end_index": torch.tensor([0], dtype=torch.long, device=device),+ }+ )+ kv_cache_neg.append(+ {+ "k": torch.zeros(+ [batch_size, kv_cache_size, self.num_heads, self.head_dim],+ dtype=dtype,+ device=device,+ ),+ "v": torch.zeros(+ [batch_size, kv_cache_size, self.num_heads, self.head_dim],+ dtype=dtype,+ device=device,+ ),+ "global_end_index": torch.tensor([0], dtype=torch.long, device=device),+ "local_end_index": torch.tensor([0], dtype=torch.long, device=device),+ }+ )+ self.kv_cache_pos = kv_cache_pos+ self.kv_cache_neg = kv_cache_neg++ def _initialize_crossattn_cache(self, batch_size, dtype, device):+ """Initialize per-GPU text cross-attention caches.++ Shape per transformer block is+ ``[B, text_len, num_heads, head_dim]`` for both ``k`` and ``v``. The+ ``is_init`` flag lets the Wan block reuse text K/V across timesteps.+ """++ def make_cache_list():+ cache_list = []+ for _ in range(self.num_transformer_blocks):+ cache_list.append(+ {+ "k": torch.zeros(+ [batch_size, self.text_len, self.num_heads, self.head_dim],+ dtype=dtype,+ device=device,+ ),+ "v": torch.zeros(+ [batch_size, self.text_len, self.num_heads, self.head_dim],+ dtype=dtype,+ device=device,+ ),+ "is_init": False,+ }+ )+ return cache_list++ crossattn_cache_pos = make_cache_list()+ crossattn_cache_neg = make_cache_list()+ self.crossattn_cache_pos = crossattn_cache_pos+ self.crossattn_cache_neg = crossattn_cache_neg++ def _initialize_sample_scheduler(self, noise, sampling_steps=-1, shift=None):+ """Create the per-block sampler on ``noise.device``."""+ if sampling_steps == -1:+ sampling_steps = self.sampling_steps+ if isinstance(shift, bool):+ raise ValueError("Scheduler shift must be finite and positive.")+ effective_shift = self.shift if shift is None else float(shift)+ if effective_shift <= 0 or not math.isfinite(effective_shift):+ raise ValueError("Scheduler shift must be finite and positive.")+ if self.sample_solver == "unipc":+ sample_scheduler = FlowUniPCMultistepScheduler(shift=1)+ sample_scheduler.set_timesteps(+ sampling_steps, device=noise.device, shift=effective_shift+ )+ self.timesteps = sample_scheduler.timesteps+ elif self.sample_solver == "dpm++":+ sample_scheduler = FlowDPMSolverMultistepScheduler(shift=1)+ sampling_sigmas = get_sampling_sigmas(sampling_steps, effective_shift)+ self.timesteps, _ = retrieve_timesteps(+ sample_scheduler, device=noise.device, sigmas=sampling_sigmas+ )+ else:+ raise NotImplementedError("Unsupported solver.")+ return sample_scheduler++ def reset_cache(self):+ """Drop KV/cross-attention caches and release cached CUDA blocks."""+ self.kv_cache_pos = None+ self.kv_cache_neg = None+ self.crossattn_cache_pos = None+ self.crossattn_cache_neg = None+ torch.cuda.empty_cache()diff --git a/src/pipeline/inference_runtime.py b/src/pipeline/inference_runtime.pynew file mode 100644index 0000000..97308ce--- /dev/null+++ b/src/pipeline/inference_runtime.py@@ -0,0 +1,267 @@+"""Text with image/video-prefix sampling and distributed existence voting."""++import json+import logging+import os+import random+from pathlib import Path++import numpy as np+import torch+import torch.distributed as dist+from PIL import Image+from torch.utils.data import DataLoader+from torchcodec.encoders import VideoEncoder+from torchvision import transforms++from src.dataset.image_preprocessing import ResizeCenterCrop+from src.dataset.single_image import SingleImageDataset, read_prompt_file+from src.dataset.single_video import SingleVideoDataset+from src.dataset.text import TextImagePairDataset+from src.pipeline.causal_diffusion_inference import CausalDiffusionInferencePipeline+from src.utils.inference_checkpoint import load_generator_checkpoint+from src.utils.memory import DynamicSwapInstaller, get_cuda_free_memory_gb+from src.utils.train_dataset import build_train_dataset+from src.utils.video_prefix import output_geometry, select_prefix+from src.utils.wan_model_family import get_wan_model_family++logger = logging.getLogger(__name__)+++def output_exists_on_all_ranks(path, device):+ exists = Path(path).exists()+ if dist.is_initialized() and dist.get_world_size() > 1:+ flag = torch.tensor([int(exists)], dtype=torch.int32, device=device)+ dist.all_reduce(flag, op=dist.ReduceOp.MIN)+ exists = bool(flag.item())+ return exists++[email protected]_grad()+def run_inference(config):+ single_dataset = None+ family = get_wan_model_family(config.model_name)+ if config.get("image_path") is not None:+ h, w = config.image_or_video_shape[-2:]+ # Read one prompt/image and report changes before loading GPU models.+ prompt = (+ read_prompt_file(config.prompt_file)+ if config.get("prompt_file") is not None+ else config.prompt+ )+ single_dataset = SingleImageDataset(+ config.image_path,+ prompt,+ height=h * family.vae_spatial_stride,+ width=w * family.vae_spatial_stride,+ )+ v2v = config.get("v2v", False)+ # Config geometry was validated by the resolver; only sample bounds remain below.+ context_count = config.v2v_context_latents if v2v else 1+ automatic_context = v2v and context_count is None+ condition_frames = (+ None if automatic_context else 1 + family.vae_temporal_stride * (context_count - 1)+ )+ if config.get("video_path") is not None:+ h, w = config.image_or_video_shape[-2:]+ prompt = (+ read_prompt_file(config.prompt_file)+ if config.prompt_file is not None+ else config.prompt+ )+ single_dataset = SingleVideoDataset(+ config.video_path,+ prompt,+ height=h * family.vae_spatial_stride,+ width=w * family.vae_spatial_stride,+ fps=config.get("fps", family.default_fps),+ condition_frames=condition_frames,+ auto_context_config=config if automatic_context else None,+ )+ if automatic_context:+ context_count = single_dataset.context_latents+ condition_frames = single_dataset.report["condition_frames"]+ single_dataset.report["context_latents"] = context_count+ distributed = "LOCAL_RANK" in os.environ+ local_rank = int(os.environ.get("LOCAL_RANK", 0))+ torch.cuda.set_device(local_rank)+ device = torch.device("cuda", local_rank)+ if distributed:+ dist.init_process_group(backend="nccl", device_id=device)+ rank = dist.get_rank() if dist.is_initialized() else 0+ world_size = dist.get_world_size() if dist.is_initialized() else 1+ random.seed(config.seed)+ np.random.seed(config.seed)+ torch.manual_seed(config.seed)+ torch.cuda.manual_seed_all(config.seed)+ # Construct on CPU, assign strict ordinary weights, then transfer once.+ pipeline = CausalDiffusionInferencePipeline(config, device="cpu")+ loaded_checkpoint = load_generator_checkpoint(pipeline.generator, config)+ pipeline.to(dtype=torch.bfloat16)+ free_memory = get_cuda_free_memory_gb(device)+ if free_memory < 40:+ DynamicSwapInstaller.install_model(pipeline.text_encoder, device=device)+ else:+ pipeline.text_encoder.to(device)+ pipeline.generator.to(device)+ pipeline.vae.to(device)+ pixel_frames, latent_frames = output_geometry(config)+ height, width = pipeline.generator.frame_shape[-2:]+ _, channels, latent_height, latent_width = pipeline.generator.latent_shape+ limit = int(config.test_sample_limit)+ per_rank_limit = -1 if limit < 0 else (limit + world_size - 1) // world_size+ if config.use_train_data:+ dataset = build_train_dataset(config, max_samples=per_rank_limit)+ else:+ if dist.is_initialized():+ raise ValueError("External-image TI2V requires direct non-distributed Python.")+ transform = transforms.Compose(+ [+ ResizeCenterCrop(height, width),+ transforms.ToTensor(),+ transforms.Normalize([0.5], [0.5]),+ ]+ )+ if single_dataset is not None:+ dataset = single_dataset+ per_rank_limit = 0 if limit == 0 else 1+ else:+ dataset = TextImagePairDataset(+ config.data_path, transform=transform, eval_first_n=limit+ )+ per_rank_limit = len(dataset)+ loader = DataLoader(dataset, batch_size=1, num_workers=0, drop_last=False)+ output = Path(config.output_path)+ output.mkdir(parents=True, exist_ok=True)+ if dist.is_initialized():+ dist.barrier()+ completed = 0+ for index, batch in enumerate(loader):+ if per_rank_limit >= 0 and completed >= per_rank_limit:+ break+ prompt = batch["prompts"][0]+ if config.use_train_data and world_size > 1:+ stem = f"r{rank:02d}-{index:05d}"+ else:+ global_index = int(batch["idx"][0]) if "idx" in batch else index+ stem = f"{global_index:05d}"+ sample_stem = f"{stem}-{config.seed}"+ if v2v:+ sample_stem += f"-v2v-k={context_count}"+ video_path = output / f"{sample_stem}.mp4"+ if output_exists_on_all_ranks(video_path, device):+ completed += 1+ logger.info("Skipped existing video %s (%d/%s)", video_path, completed, per_rank_limit)+ continue+ if single_dataset is not None:+ report_path = output / f"{sample_stem}.input.json"+ report_path.write_text(+ json.dumps(single_dataset.report, indent=2, ensure_ascii=False) + "\n",+ encoding="utf-8",+ )+ logger.info("Image preprocessing report: %s", report_path)+ image_for_save = None+ if config.use_train_data:+ clean = batch["clean_latent"]+ if clean.ndim != 5 or tuple(clean.shape[2:]) != (channels, latent_height, latent_width):+ raise ValueError(+ f"TI2V latent input incompatible with model geometry: {tuple(clean.shape)}"+ )+ prefix = select_prefix(clean, context_count) if v2v else clean[:, :1].contiguous()+ initial = prefix.to(device=device, dtype=torch.bfloat16)+ else:+ image = (batch["video"] if v2v else batch["image"].unsqueeze(2)).to(+ device=device, dtype=torch.bfloat16+ )+ initial = pipeline.vae.encode_to_latent(image).to(dtype=torch.bfloat16)+ if initial.shape[1] != context_count:+ raise ValueError("video_path: encoded prefix length differs from requested context")+ image_for_save = image[0, :, 0].float().cpu()+ noise_generator = torch.Generator(device=device).manual_seed(int(config.seed) % (2**63))+ noise = torch.randn(+ (1, latent_frames - context_count, channels, latent_height, latent_width),+ device=device,+ dtype=torch.bfloat16,+ generator=noise_generator,+ )+ logger.info(+ "Generating %s; context=%s, total latent frames=%d",+ video_path,+ tuple(initial.shape),+ latent_frames,+ )+ long_path = latent_frames >= config.long_inference_threshold+ logger.info(+ "Sampling path: %s; context_latents=%d; generated_latents=%d",+ "long" if long_path else "short",+ context_count,+ latent_frames - context_count,+ )+ if long_path:+ video = pipeline.inference_long(+ noise, [prompt], initial_latent=initial, vae_decode_chunk=config.vae_decode_chunk+ )+ else:+ video = pipeline.inference(noise, [prompt], initial_latent=initial)+ pixels = (video[0, :pixel_frames].clamp(0, 1) * 255).byte().cpu()+ VideoEncoder(pixels, frame_rate=config.get("fps", pipeline.generator.default_fps)).to_file(+ str(video_path)+ )+ if v2v:+ fps = config.get("fps", pipeline.generator.default_fps)+ for folder, interval in (+ ("conditions", slice(0, condition_frames)),+ ("continuations", slice(condition_frames, pixel_frames)),+ ):+ destination = output / folder / f"{sample_stem}.mp4"+ destination.parent.mkdir(parents=True, exist_ok=True)+ VideoEncoder(pixels[interval].contiguous(), frame_rate=fps).to_file(+ str(destination)+ )+ manifest_dir = output / "manifests"+ manifest_dir.mkdir(exist_ok=True)+ manifest = {+ "mode": "v2v",+ "context_latents": context_count,+ "requested_context_latents": config.v2v_context_latents,+ "context_selection": (+ single_dataset.report["context_selection"]+ if single_dataset is not None+ else "latent_prefix"+ ),+ "condition_frames": condition_frames,+ "output_frames": pixel_frames,+ "continuation_frames": pixel_frames - condition_frames,+ "total_latents": latent_frames,+ "fps": fps,+ "seed": config.seed,+ "model_name": config.model_name,+ "checkpoint_path": config.checkpoint_path,+ "loaded_checkpoint_path": loaded_checkpoint,+ "use_ema": config.use_ema,+ "source_id": config.get("inference_train_data_source_id"),+ "video_path": config.get("video_path"),+ "sample_metadata": {+ key: value[0] for key, value in batch.get("metadata", {}).items()+ },+ "prompt": prompt,+ "condition_interval": [0, condition_frames],+ "continuation_interval": [condition_frames, pixel_frames],+ }+ (manifest_dir / f"{sample_stem}.json").write_text(+ json.dumps(manifest, indent=2, ensure_ascii=False) + "\n", encoding="utf-8"+ )+ (output / f"{stem}.txt").write_text(prompt + "\n", encoding="utf-8")+ if image_for_save is None:+ image_for_save = (+ pipeline.vae.decode_to_pixel(initial[:, :1], use_cache=False)[0, 0].float().cpu()+ )+ pipeline.vae.model.clear_cache()+ png = ((image_for_save + 1) / 2).clamp(0, 1).mul(255).byte().permute(1, 2, 0).numpy()+ Image.fromarray(png).save(output / f"{sample_stem}.png")+ pipeline.vae.model.clear_cache()+ completed += 1+ logger.info("Completed %s (%d/%s)", video_path, completed, per_rank_limit)+ if dist.is_initialized():+ dist.barrier()+ dist.destroy_process_group()diff --git a/src/trainer/__init__.py b/src/trainer/__init__.pynew file mode 100644index 0000000..fe04e54--- /dev/null+++ b/src/trainer/__init__.py@@ -0,0 +1 @@+"""Selected diffusion training runtime."""diff --git a/src/trainer/diffusion.py b/src/trainer/diffusion.pynew file mode 100644index 0000000..de436f9--- /dev/null+++ b/src/trainer/diffusion.py@@ -0,0 +1,606 @@+"""Selected TF/FCP diffusion trainer, single EMA and strict training-state resume."""++import gc+import json+import logging+import os+import random+import shutil+import time+from pathlib import Path++import numpy as np+import torch+import torch.distributed as dist+import wandb+from omegaconf import OmegaConf+from torchcodec.encoders import VideoEncoder++from src.utils.caption_dropout import (+ replace_prompt_embeds_with_negative,+ sample_caption_dropout_mask,+)+from src.utils.checkpoint_state import normalize_generator_fsdp_state_dict+from src.utils.ckpt_cache import load_ckpt+from src.utils.distributed import (+ EMA_FSDP,+ barrier,+ fsdp_state_dict,+ fsdp_wrap,+ launch_distributed_job,+)+from src.utils.optimizer import (+ LinearLrWarmup,+ build_generator_optimizer,+ optimizer_learning_rate_metrics,+)+from src.utils.timestep_bucket_logging import TimestepBucketAccumulator+from src.utils.train_dataset import build_training_dataloader+from src.utils.training_snapshot import should_run_training_snapshot+from src.utils.wan_model_family import validate_wan_latent_tensor+++def select_generator_checkpoint_state_dict(+ payload, *, require_raw_generator_checkpoint, checkpoint_path+):+ if "generator" in payload:+ return payload["generator"]+ if "model" in payload:+ return payload["model"]+ if "generator_ema" in payload:+ if require_raw_generator_checkpoint:+ raise RuntimeError(+ f"Raw generator checkpoint required; only generator_ema: {checkpoint_path}"+ )+ return payload["generator_ema"]+ return payload+++def initialize_wandb(config):+ """Normal production initialization is online; failures propagate unchanged."""+ wandb.login(host=config.wandb_host, key=os.environ.get("WANDB_API_KEY"))+ return wandb.init(+ config=OmegaConf.to_container(config, resolve=True),+ name=config.config_name,+ mode="online",+ entity=config.wandb_entity,+ project=config.wandb_project,+ dir=config.wandb_save_dir,+ )+++def reject_existing_targets(paths, *, device, label):+ conflict = next((str(path) for path in paths if path.exists()), None)+ vote = torch.tensor(int(conflict is not None), device=device)+ if dist.is_initialized():+ dist.all_reduce(vote, op=dist.ReduceOp.MAX)+ if vote.item():+ raise FileExistsError(+ f"{label}: existing target on a participating filesystem: {conflict or 'another rank'}"+ )+++def propagate_write_failure(error, *, device, label):+ """Writers report failure before the next collective or any retention step."""+ failed = torch.tensor(int(error is not None), device=device)+ if dist.is_initialized():+ dist.all_reduce(failed, op=dist.ReduceOp.MAX)+ if failed.item():+ if error is not None:+ raise error+ raise RuntimeError(f"{label}: writing failed on another participating rank")+++def preview_manifest(batch, *, step, global_rank):+ samples = []+ for index, prompt in enumerate(batch["prompts"]):+ stem = f"rank_{global_rank:04d}_sample_{index:04d}"+ samples.append(+ {+ "index": index,+ "prompt": prompt,+ "videos": {kind: f"{stem}_{kind}.mp4" for kind in ("gt", "gen")},+ }+ )+ return {"step": step, "global_rank": global_rank, "samples": samples}+++class DiffusionTrainer:+ def __init__(self, config):+ if config.future_prediction.enabled:+ from src.model.predictive_fm import PredictiveFlowMatching as Objective+ else:+ from src.model.fm import FlowMatching as Objective++ self.config = config+ self.step = 0+ self.logger = logging.getLogger("looking_ahead")+ launch_distributed_job()+ self.global_rank = dist.get_rank()+ self.is_main_process = self.global_rank == 0+ self.device = torch.device("cuda", torch.cuda.current_device())+ self.exact_resume_manager = None+ if config.save_resume_checkpoint or config.resume_checkpoint_path is not None:+ from src.utils.exact_resume import ExactResumeManager++ self.exact_resume_manager = ExactResumeManager(config, logger=self.logger)+ self.dtype = torch.bfloat16 if config.mixed_precision else torch.float32+ torch.backends.cuda.matmul.allow_tf32 = True+ torch.backends.cudnn.allow_tf32 = True+ seed = int(config.seed) + self.global_rank+ random.seed(seed)+ np.random.seed(seed)+ torch.manual_seed(seed)+ torch.cuda.manual_seed_all(seed)+ self.wandb_run = (+ initialize_wandb(config) if self.is_main_process and not config.disable_wandb else None+ )+ self.output_path = Path(config.checkpoint_dir)+ self.snapshot_path = Path(config.snapshot_dir)+ os.environ.setdefault(+ "WAN_VIS_CAUSAL_MASK_DIR", str(self.snapshot_path / "causal_mask_vis")+ )+ self.model = Objective(config, self.device)+ if config.generator_ckpt and config.resume_checkpoint_path is None:+ payload = load_ckpt(config.generator_ckpt)+ state = select_generator_checkpoint_state_dict(+ payload,+ require_raw_generator_checkpoint=config.require_raw_generator_checkpoint,+ checkpoint_path=config.generator_ckpt,+ )+ self.model.load_generator_checkpoint_state_dict(state)+ from src.utils.grad_clip import (+ bind_predictive_grad_clip_plan,+ build_predictive_grad_clip_plan,+ )++ plan = (+ build_predictive_grad_clip_plan(self.model.generator)+ if config.separate_predictive_grad_clip+ else None+ )+ self.model.generator = fsdp_wrap(+ self.model.generator,+ sharding_strategy=config.sharding_strategy,+ mixed_precision=config.mixed_precision,+ sync_module_states=config.generator_fsdp_sync_module_states,+ )+ self.predictive_grad_clip_plan = (+ bind_predictive_grad_clip_plan(plan, self.model.generator) if plan is not None else None+ )+ self.model.text_encoder = fsdp_wrap(+ self.model.text_encoder,+ sharding_strategy=config.sharding_strategy,+ mixed_precision=config.mixed_precision,+ )+ if not config.no_visualize:+ self.model.vae.to(device=self.device, dtype=self.dtype)+ self.generator_optimizer = build_generator_optimizer(config, self.model.generator)+ self.lr_warmup = LinearLrWarmup(+ self.generator_optimizer,+ config.lr_warmup_steps,+ config.lr_drop_steps,+ config.lr_drop_gamma,+ )+ self.generator_ema = None+ if config.ema_weight > 0 and self.step >= config.ema_start_step:+ self._start_generator_ema()+ if config.generator_ckpt and config.resume_checkpoint_path is None:+ sibling = Path(config.generator_ckpt).with_name("model_ema.pt")+ if sibling.is_file():+ payload = load_ckpt(str(sibling))+ state = normalize_generator_fsdp_state_dict(+ payload.get("generator_ema", payload)+ )+ self.model.load_generator_ema_checkpoint_state_dict(+ self.generator_ema, state, self.model.generator+ )+ self._train_dataloader = build_training_dataloader(config, is_train=True)+ self._train_iterator = None+ self._exact_prefetched_batch = None+ self._exact_data_cursor = 0+ self._exact_data_replay_initial_rng = None+ self._exact_loader_initial_rng = None+ self.val_dataloader = build_training_dataloader(config, is_train=False)+ self._val_batch_cache = None+ self.unconditional_dict = None+ self.timestep_bucket_accumulator = TimestepBucketAccumulator(+ interval=config.timestep_bucket_log_interval, max_timestep=1000, device=self.device+ )+ self.predictive_timestep_accumulators = {+ (source, int(offset)): TimestepBucketAccumulator(+ interval=config.timestep_bucket_log_interval, max_timestep=1000, device=self.device+ )+ for source in (+ config.future_prediction.source_context.streams+ if config.future_prediction.enabled+ else []+ )+ for offset in config.future_prediction.get("future_offsets", [])+ }+ self.logger.info(+ "Training initialized rank=%d world_size=%d seed=%d optimizer=adamw",+ self.global_rank,+ dist.get_world_size(),+ seed,+ )++ if (+ self.exact_resume_manager is not None+ and self.exact_resume_manager.resume_path is not None+ ):+ self._restore_exact_training_state()++ def _read_training_batch(self):+ if self._train_iterator is None:+ if (+ self.exact_resume_manager is not None+ and self._exact_data_replay_initial_rng is None+ ):+ from src.utils.exact_resume import capture_cpu_replay_rng++ self._exact_data_replay_initial_rng = capture_cpu_replay_rng()+ self._exact_loader_initial_rng = (+ self._train_dataloader.generator.get_state().clone()+ )+ self._train_iterator = iter(self._train_dataloader)+ try:+ return next(self._train_iterator)+ except StopIteration:+ # Finite streams cycle; resampled exhaustion is a RuntimeError.+ self._train_iterator = iter(self._train_dataloader)+ return next(self._train_iterator)++ def _next_training_batch(self):+ if self._exact_prefetched_batch is None:+ batch = self._read_training_batch()+ else:+ batch = self._exact_prefetched_batch+ self._exact_prefetched_batch = None+ if self.exact_resume_manager is not None:+ self._exact_data_cursor += 1+ return batch++ def _restore_exact_training_state(self):+ from src.utils.exact_resume import (+ _raise_if_any_rank_failed,+ batch_identity,+ restore_and_validate_rng_state,+ restore_cpu_replay_rng,+ )++ manager = self.exact_resume_manager+ state = manager.restore(self)+ error = None+ try:+ # Replay each reader's deterministic stream using its original loader+ # generator. Warm caches before restoring boundary RNG, deliberately last.+ restore_cpu_replay_rng(state["data_replay_initial_rng"])+ self._train_dataloader.generator.set_state(state["data_loader_initial_rng"])+ self._train_iterator = None+ self._exact_data_replay_initial_rng = state["data_replay_initial_rng"]+ self._exact_loader_initial_rng = state["data_loader_initial_rng"]+ for _ in range(state["data_cursor"]):+ self._read_training_batch()+ next_batch = self._read_training_batch()+ actual = batch_identity(next_batch)+ if actual != state["next_batch_sha256"]:+ raise RuntimeError(+ f"Resume next-batch identity mismatch: saved={state['next_batch_sha256']}, replayed={actual}"+ )+ self._exact_data_cursor = state["data_cursor"]+ self._exact_prefetched_batch = next_batch+ if state["trainer_state"]["preview_cached"]:+ self._get_val_batch()+ with torch.no_grad():+ self.unconditional_dict = self.model.text_encoder(+ text_prompts=[self.config.negative_prompt] * self.config.batch_size+ )+ self.unconditional_dict = {+ key: value.detach() for key, value in self.unconditional_dict.items()+ }+ if self.wandb_run is not None:+ self.wandb_run.config.update(+ {+ "exact_resume_parent_bundle": str(manager.resume_path),+ "exact_resume_parent_step": self.step,+ "exact_resume_parent_wandb_run_id": manager.metadata["logging"].get(+ "wandb_run_id"+ ),+ },+ allow_val_change=True,+ )+ restore_and_validate_rng_state(state["rng"])+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("data replay/RNG restore", error)+ self.logger.info(+ "Exact training state restored from %s at completed step %d",+ manager.resume_path,+ self.step,+ )++ def _save_exact_resume_state(self):+ from src.utils.exact_resume import batch_identity++ if self._exact_prefetched_batch is None:+ self._exact_prefetched_batch = self._read_training_batch()+ directory = self.output_path / f"checkpoint_model_{self.step:06d}"+ self.exact_resume_manager.save(+ self,+ checkpoint_dir=directory,+ data_cursor=self._exact_data_cursor,+ data_replay_initial_rng=self._exact_data_replay_initial_rng,+ data_loader_initial_rng=self._exact_loader_initial_rng,+ next_batch_sha256=batch_identity(self._exact_prefetched_batch),+ )+ self._prune_old_checkpoints()+ barrier()++ def _start_generator_ema(self):+ self.generator_ema = EMA_FSDP(self.model.generator, decay=float(self.config.ema_weight))+ self.logger.info(+ "EMA started at completed step %d decay=%s", self.step, self.config.ema_weight+ )++ def _update_generator_ema(self):+ if self.config.ema_weight <= 0 or self.step < self.config.ema_start_step:+ return+ if self.generator_ema is None:+ self._start_generator_ema()+ else:+ self.generator_ema.update(self.model.generator)++ def _log_metrics(self, metrics):+ if not self.is_main_process:+ return+ if not self.config.disable_wandb:+ wandb.log(metrics, step=self.step)+ self.logger.info("step=%d metrics=%s", self.step, metrics)++ def _flush_timestep_bucket_metrics(self):+ result = self.timestep_bucket_accumulator.flush()+ if result is not None:+ packed, window_steps = result+ self._log_metrics(+ {+ **self.timestep_bucket_accumulator.format_metrics(packed),+ "timestep_bucket_window_steps": window_steps,+ }+ )++ for (source, offset), accumulator in self.predictive_timestep_accumulators.items():+ result = accumulator.flush()+ if result is not None:+ packed, _ = result+ self._log_metrics(+ accumulator.format_metrics(+ packed,+ loss_prefix=f"pred_aux_loss_timestep_bucket/{source}/offset_{offset}",+ count_prefix=f"pred_aux_loss_timestep_bucket_count/{source}/offset_{offset}",+ )+ )++ def train_one_step(self, batch):+ clean = batch["clean_latent"].to(device=self.device, dtype=self.dtype)+ clean = clean[:, : self.config.image_or_video_shape[1]]+ validate_wan_latent_tensor(clean, self.config, consumer_name="training batch")+ prompts = batch["prompts"]+ batch_size = len(prompts)+ with torch.no_grad():+ conditional = self.model.text_encoder(text_prompts=prompts)+ if (+ self.unconditional_dict is None+ or self.unconditional_dict["prompt_embeds"].shape[0] != batch_size+ ):+ self.unconditional_dict = self.model.text_encoder(+ text_prompts=[self.config.negative_prompt] * batch_size+ )+ self.unconditional_dict = {+ key: value.detach() for key, value in self.unconditional_dict.items()+ }+ mask = sample_caption_dropout_mask(+ self.config.caption_dropout_p,+ batch_size,+ base_seed=int(self.config.seed),+ global_rank=self.global_rank,+ global_step=self.step,+ )+ if self.config.caption_dropout_p > 0:+ conditional = replace_prompt_embeds_with_negative(+ conditional, self.unconditional_dict, mask+ )+ self.lr_warmup.apply(self.step)+ shape = list(self.config.image_or_video_shape)+ shape[0] = batch_size+ loss, log_dict = self.model.generator_loss(+ shape,+ conditional,+ self.unconditional_dict,+ clean,+ global_step=self.step,+ global_rank=self.global_rank,+ )+ self.generator_optimizer.zero_grad()+ loss.backward()+ clip_metrics = {}+ if self.predictive_grad_clip_plan is not None:+ from src.utils.grad_clip import clip_predictive_grad_norms_++ norm, main_norm, aux_norm = clip_predictive_grad_norms_(+ self.model.generator,+ self.predictive_grad_clip_plan,+ max_main_norm=self.config.max_grad_norm,+ max_predictive_norm=self.config.max_predictive_grad_norm,+ )+ clip_metrics = {+ "main_grad_norm": main_norm.item(),+ "predictive_grad_norm": aux_norm.item(),+ }+ else:+ norm = self.model.generator.clip_grad_norm_(self.config.max_grad_norm)+ self.generator_optimizer.step()+ self.step += 1+ self.timestep_bucket_accumulator.update(+ log_dict["_generator_chunk_loss"], log_dict["_generator_chunk_timestep"]+ )+ for key, accumulator in self.predictive_timestep_accumulators.items():+ accumulator.update(+ log_dict["_predictive_aux_chunk_loss"][key],+ log_dict["_predictive_aux_chunk_timestep"][key],+ )+ metrics = {+ **clip_metrics,+ "generator_loss": log_dict.get("_generator_loss", loss.detach()).item(),+ "grad_norm": norm.item(),+ **optimizer_learning_rate_metrics(self.generator_optimizer),+ }+ if self.config.caption_dropout_p > 0:+ metrics["caption_dropout_fraction"] = mask.float().mean().item()+ for key, value in log_dict.items():+ if not key.startswith("_") and torch.is_tensor(value) and value.numel() == 1:+ metrics[key] = value.item()+ self._log_metrics(metrics)+ if self.timestep_bucket_accumulator.ready:+ self._flush_timestep_bucket_metrics()+ if self.step % self.config.gc_interval == 0:+ gc.collect()+ return metrics++ def _prune_old_checkpoints(self):+ keep = self.config.max_checkpoints+ if keep is None or keep <= 0:+ return+ if self.config.save_resume_checkpoint:+ from src.utils.exact_resume import prune_completed_checkpoints++ prune_completed_checkpoints(+ self.output_path, keep, self.exact_resume_manager, logger=self.logger+ )+ return+ directories = sorted(+ path for path in self.output_path.glob("checkpoint_model_*") if path.is_dir()+ )+ for path in directories[:-keep]:+ try:+ shutil.rmtree(path)+ except FileNotFoundError:+ pass+ except OSError as error:+ self.logger.warning("Failed to prune %s: %s", path, error)++ def save(self):+ directory = self.output_path / f"checkpoint_model_{self.step:06d}"+ reject_existing_targets([directory], device=self.device, label="checkpoint save")+ state = fsdp_state_dict(self.model.generator)+ error = None+ if self.is_main_process:+ try:+ directory.mkdir(parents=True)+ torch.save({"generator": state}, directory / "model.pt")+ self.logger.info("Live weights saved: %s", directory / "model.pt")+ except Exception as caught:+ error = caught+ propagate_write_failure(error, device=self.device, label="live checkpoint")+ if self.generator_ema is not None and self.step > self.config.ema_start_step:+ ema_state = self.generator_ema.full_state_dict(self.model.generator)+ # Source-ordered integer metadata is copied, never EMA-averaged.+ if self.config.future_prediction.enabled:+ ema_state["model.predictive_multi_chunk_source_layers_metadata"] = (+ self.model.generator.model.predictive_multi_chunk_source_layers_metadata.detach()+ .cpu()+ .clone()+ )+ error = None+ if self.is_main_process:+ try:+ torch.save({"generator_ema": ema_state}, directory / "model_ema.pt")+ self.logger.info("EMA weights saved: %s", directory / "model_ema.pt")+ except Exception as caught:+ error = caught+ propagate_write_failure(error, device=self.device, label="EMA checkpoint")+ barrier()+ if not self.config.save_resume_checkpoint and self.is_main_process:+ self._prune_old_checkpoints()++ def _get_val_batch(self):+ if self._val_batch_cache is None:+ self._val_batch_cache = next(iter(self.val_dataloader))+ return self._val_batch_cache++ def save_video_from_latent(self, tensor, path, *, is_latent):+ if is_latent:+ tensor = self.model.vae.decode_to_pixel(+ tensor.to(self.device, self.dtype), use_cache=False+ )+ tensor = tensor * 127.5 + 127.5+ else:+ tensor = tensor * 255+ video = tensor.clamp(0, 255).byte().cpu().squeeze(0)+ VideoEncoder(video, frame_rate=self.config.get("fps", self.model.vae.default_fps)).to_file(+ str(path)+ )++ @torch.no_grad()+ def snapshot(self):+ batch = self._get_val_batch()+ manifest = preview_manifest(batch, step=self.step, global_rank=self.global_rank)+ directory = self.snapshot_path / f"{self.step:06d}"+ metadata = directory / f"rank_{self.global_rank:04d}_samples.json"+ targets = [metadata] + [+ directory / name for sample in manifest["samples"] for name in sample["videos"].values()+ ]+ reject_existing_targets(targets, device=self.device, label="training preview")+ directory.mkdir(parents=True, exist_ok=True)+ self.model.generator.eval()+ try:+ video = self.model.inference(+ batch,+ list(self.config.image_or_video_shape),+ global_step=self.step,+ global_rank=self.global_rank,+ )+ error = None+ try:+ for sample in manifest["samples"]:+ index = sample["index"]+ clean = batch["clean_latent"][+ index : index + 1, : self.config.image_or_video_shape[1]+ ]+ self.save_video_from_latent(+ clean, directory / sample["videos"]["gt"], is_latent=True+ )+ self.save_video_from_latent(+ video[index : index + 1],+ directory / sample["videos"]["gen"],+ is_latent=False,+ )+ with metadata.open("x", encoding="utf-8") as stream:+ json.dump(manifest, stream, ensure_ascii=False, indent=2)+ except Exception as caught:+ error = caught+ propagate_write_failure(error, device=self.device, label="training preview")+ finally:+ self.model.generator.train()+ self.logger.info("Training preview complete: %s", metadata)++ def train(self):+ while self.config.max_iters == -1 or self.step < self.config.max_iters:+ start = time.perf_counter()+ if self.step % 20 == 0:+ torch.cuda.empty_cache()+ self.train_one_step(self._next_training_batch())+ self._update_generator_ema()+ if not self.config.no_save and self.step % self.config.log_iters == 0:+ torch.cuda.empty_cache()+ self.save()+ torch.cuda.empty_cache()+ if should_run_training_snapshot(self.config, self.step):+ self.snapshot()+ torch.cuda.empty_cache()+ barrier()+ self._log_metrics({"step_time": time.perf_counter() - start})+ if self.config.save_resume_checkpoint and self.step % self.config.log_iters == 0:+ self._save_exact_resume_state()+ self._flush_timestep_bucket_metrics()+ self.logger.info("Training complete after %d optimizer updates", self.step)diff --git a/src/utils/__init__.py b/src/utils/__init__.pynew file mode 100644index 0000000..18c2811--- /dev/null+++ b/src/utils/__init__.py@@ -0,0 +1 @@+"""Shared utilities; importing this package does not load models or CUDA."""diff --git a/src/utils/attention.py b/src/utils/attention.pynew file mode 100644index 0000000..14fc90e--- /dev/null+++ b/src/utils/attention.py@@ -0,0 +1,152 @@+import warnings++# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+import torch+from transformers.utils.import_utils import is_flash_attn_4_available++FLASH_ATTN_4_AVAILABLE = is_flash_attn_4_available()+if FLASH_ATTN_4_AVAILABLE:+ import flash_attn.cute+++__all__ = [+ "flash_attention",+ "attention",+]+++def flash_attention(+ q,+ k,+ v,+ q_lens=None,+ k_lens=None,+ dropout_p=0.0,+ softmax_scale=None,+ q_scale=None,+ causal=False,+ window_size=(-1, -1),+ deterministic=False,+ dtype=torch.bfloat16,+):+ """+ q: [B, Lq, Nq, C1].+ k: [B, Lk, Nk, C1].+ v: [B, Lk, Nk, C2]. Nq must be divisible by Nk.+ q_lens: [B].+ k_lens: [B].+ dropout_p: float. Dropout probability.+ softmax_scale: float. The scaling of QK^T before applying softmax.+ causal: bool. Whether to apply causal attention mask.+ window_size: (left right). If not (-1, -1), apply sliding window local attention.+ deterministic: bool. If True, slightly slower and uses more memory.+ dtype: torch.dtype. Apply when dtype of q/k/v is not float16/bfloat16.+ """+ half_dtypes = (torch.float16, torch.bfloat16)+ assert dtype in half_dtypes+ assert q.device.type == "cuda" and q.size(-1) <= 256++ # params+ b, lq, lk, out_dtype = q.size(0), q.size(1), k.size(1), q.dtype++ def half(x):+ return x if x.dtype in half_dtypes else x.to(dtype)++ # preprocess query+ if q_lens is None:+ q = half(q.flatten(0, 1))+ q_lens = torch.tensor([lq] * b, dtype=torch.int32).to(device=q.device, non_blocking=True)+ else:+ q = half(torch.cat([u[:v] for u, v in zip(q, q_lens, strict=False)]))++ # preprocess key, value+ if k_lens is None:+ k = half(k.flatten(0, 1))+ v = half(v.flatten(0, 1))+ k_lens = torch.tensor([lk] * b, dtype=torch.int32).to(device=k.device, non_blocking=True)+ else:+ k = half(torch.cat([u[:v] for u, v in zip(k, k_lens, strict=False)]))+ v = half(torch.cat([u[:v] for u, v in zip(v, k_lens, strict=False)]))++ q = q.to(v.dtype)+ k = k.to(v.dtype)++ if q_scale is not None:+ q = q * q_scale++ # apply attention+ # Note: dropout_p is not supported in FA4.+ assert FLASH_ATTN_4_AVAILABLE, (+ "Flash Attention 4 is not available. Install the required flash-attn-4 dependency."+ )+ assert dropout_p == 0.0, (+ "Dropout is not supported in Flash Attention 4. Please set dropout_p to 0."+ )+ x = flash_attn.cute.flash_attn_varlen_func(+ q=q,+ k=k,+ v=v,+ cu_seqlens_q=torch.cat([q_lens.new_zeros([1]), q_lens])+ .cumsum(0, dtype=torch.int32)+ .to(q.device, non_blocking=True),+ cu_seqlens_k=torch.cat([k_lens.new_zeros([1]), k_lens])+ .cumsum(0, dtype=torch.int32)+ .to(q.device, non_blocking=True),+ max_seqlen_q=lq,+ max_seqlen_k=lk,+ softmax_scale=softmax_scale,+ causal=causal,+ window_size=window_size,+ deterministic=deterministic,+ )[0].unflatten(0, (b, lq))+ # output+ return x.type(out_dtype)+++def attention(+ q,+ k,+ v,+ q_lens=None,+ k_lens=None,+ dropout_p=0.0,+ softmax_scale=None,+ q_scale=None,+ causal=False,+ window_size=(-1, -1),+ deterministic=False,+ dtype=torch.bfloat16,+):+ if FLASH_ATTN_4_AVAILABLE:+ return flash_attention(+ q=q,+ k=k,+ v=v,+ q_lens=q_lens,+ k_lens=k_lens,+ dropout_p=dropout_p,+ softmax_scale=softmax_scale,+ q_scale=q_scale,+ causal=causal,+ window_size=window_size,+ deterministic=deterministic,+ dtype=dtype,+ )+ else:+ if q_lens is not None or k_lens is not None:+ warnings.warn(+ "Padding mask is disabled when using scaled_dot_product_attention. It can have a significant impact on performance.",+ stacklevel=2,+ )+ attn_mask = None++ q = q.transpose(1, 2).to(dtype)+ k = k.transpose(1, 2).to(dtype)+ v = v.transpose(1, 2).to(dtype)++ out = torch.nn.functional.scaled_dot_product_attention(+ q, k, v, attn_mask=attn_mask, is_causal=causal, dropout_p=dropout_p+ )++ out = out.transpose(1, 2).contiguous()+ return outdiff --git a/src/utils/caption_dropout.py b/src/utils/caption_dropout.pynew file mode 100644index 0000000..319c6d1--- /dev/null+++ b/src/utils/caption_dropout.py@@ -0,0 +1,127 @@+"""Deterministic, RNG-isolated caption dropout for diffusion training."""++from __future__ import annotations++import math+from collections.abc import Mapping+from numbers import Real++import torch++_CAPTION_DROPOUT_STREAM_ID = 0x4341_5054_494F_4E01+++def validate_caption_dropout_probability(value: object) -> float:+ """Return a validated caption-dropout probability in ``[0, 1]``."""+ if isinstance(value, bool) or not isinstance(value, Real):+ raise TypeError("caption_dropout_p must be a non-boolean real number.")+ probability = float(value)+ if not math.isfinite(probability) or not 0.0 <= probability <= 1.0:+ raise ValueError("caption_dropout_p must be finite and within [0, 1].")+ return probability+++def derive_caption_dropout_seed(+ base_seed: int,+ global_rank: int,+ global_step: int,+) -> int:+ """Derive a stable, position-addressed seed without consuming global RNG.++ The address deliberately includes rank and global training step. Batch-slot+ identity is supplied by the stable position within the mask vector sampled+ from this seed.+ """+ components = (base_seed, global_rank, global_step, _CAPTION_DROPOUT_STREAM_ID)+ if any(isinstance(value, bool) or not isinstance(value, int) for value in components):+ raise TypeError("Caption-dropout seed components must be non-boolean integers.")+ if global_rank < 0 or global_step < 0:+ raise ValueError("Caption-dropout seed address requires global_rank and global_step >= 0.")++ mask = (1 << 64) - 1+ value = 0x510E_527F_ADE6_82D1+ for component in components:+ value ^= (component & mask) + 0x9E37_79B9_7F4A_7C15 + ((value << 6) & mask)+ value ^= value >> 30+ value = (value * 0xBF58_476D_1CE4_E5B9) & mask+ value ^= value >> 27+ value = (value * 0x94D0_49BB_1331_11EB) & mask+ value ^= value >> 31+ return value & ((1 << 63) - 1)+++def sample_caption_dropout_mask(+ probability: object,+ batch_size: int,+ *,+ base_seed: int,+ global_rank: int,+ global_step: int,+) -> torch.Tensor:+ """Sample a per-sample CPU mask from an isolated generator.++ ``p=0`` and ``p=1`` use exact deterministic fast paths. For intermediate+ probabilities, a fresh CPU generator is addressed by seed/rank/step, so+ this function never reads or advances the process-global CPU or CUDA RNG.+ """+ probability = validate_caption_dropout_probability(probability)+ if isinstance(batch_size, bool) or not isinstance(batch_size, int):+ raise TypeError("caption-dropout batch_size must be a non-boolean integer.")+ if batch_size <= 0:+ raise ValueError("caption-dropout batch_size must be positive.")++ seed = derive_caption_dropout_seed(+ base_seed=base_seed,+ global_rank=global_rank,+ global_step=global_step,+ )+ if probability == 0.0:+ return torch.zeros(batch_size, dtype=torch.bool)+ if probability == 1.0:+ return torch.ones(batch_size, dtype=torch.bool)++ generator = torch.Generator(device="cpu")+ generator.manual_seed(seed)+ return torch.rand(batch_size, generator=generator) < probability+++def replace_prompt_embeds_with_negative(+ conditional_dict: Mapping[str, object],+ unconditional_dict: Mapping[str, object],+ dropout_mask: torch.Tensor,+) -> dict[str, object]:+ """Return conditioning with selected prompt-embedding rows replaced.++ Only ``prompt_embeds`` is changed. Other conditioning fields and both input+ mappings remain untouched.+ """+ if not torch.is_tensor(dropout_mask):+ raise TypeError("caption-dropout mask must be a torch.Tensor.")+ if dropout_mask.dtype != torch.bool or dropout_mask.ndim != 1:+ raise ValueError("caption-dropout mask must be a one-dimensional bool tensor.")++ conditional = conditional_dict.get("prompt_embeds")+ negative = unconditional_dict.get("prompt_embeds")+ if not torch.is_tensor(conditional) or not torch.is_tensor(negative):+ raise KeyError("Both conditioning dictionaries must contain tensor prompt_embeds.")+ if conditional.shape != negative.shape:+ raise ValueError(+ "Conditional and negative prompt_embeds must have identical shapes, "+ f"got {tuple(conditional.shape)} and {tuple(negative.shape)}."+ )+ if conditional.ndim < 1 or conditional.shape[0] != dropout_mask.numel():+ raise ValueError(+ "caption-dropout mask length must equal the prompt_embeds batch dimension."+ )+ if conditional.device != negative.device or conditional.dtype != negative.dtype:+ raise ValueError("Conditional and negative prompt_embeds must share device and dtype.")++ broadcast_shape = (dropout_mask.numel(),) + (1,) * (conditional.ndim - 1)+ selected = torch.where(+ dropout_mask.to(device=conditional.device).reshape(broadcast_shape),+ negative,+ conditional,+ )+ result = dict(conditional_dict)+ result["prompt_embeds"] = selected+ return resultdiff --git a/src/utils/causal_mask.py b/src/utils/causal_mask.pynew file mode 100644index 0000000..24ad131--- /dev/null+++ b/src/utils/causal_mask.py@@ -0,0 +1,435 @@+import math++import matplotlib.pyplot as plt+import numpy as np+import torch+from PIL import Image, ImageDraw+from torch.nn.attention.flex_attention import BlockMask, create_block_mask+++def _compute_block_edges(+ length: int, block_size: int, independent_first_frame: int = 0, segment_starts=None+):+ """+ 生成 block 边界点列表 [b0, b1, b2, ...],相邻两个边界构成一个 block [b_i, b_{i+1})。++ 支持多段(segment)布局:``segment_starts`` 给出每个段的起点(如 teacher forcing+ 中 clean 段起点 0、noise 段起点 num_frames*frame_seqlen)。每个段内部从段起点开始+ 按 ``block_size`` 切分;若 ``independent_first_frame > 0``,则每个段的第一个 block+ 长度为 ``independent_first_frame``。++ Returns+ -------+ edges : list[int]+ 长度 = block 数 + 1,满足 edges[0] == 0、edges[-1] == length,且单调递增。+ is_independent : list[bool]+ 长度 = block 数,标记每个 block 是否是某个段的独立首帧 block。+ """+ if block_size is None or block_size <= 0:+ return ([0, length], [False])+ if segment_starts is None or len(segment_starts) == 0:+ segment_starts = [0]+ segs = sorted({int(s) for s in segment_starts if 0 <= int(s) < length})+ if not segs or segs[0] != 0:+ segs = [0] + [s for s in segs if s != 0]+ seg_ends = segs[1:] + [length]+ edges = [0]+ is_independent = []+ has_indep = independent_first_frame is not None and independent_first_frame > 0+ for s_start, s_end in zip(segs, seg_ends, strict=False):+ cur = s_start+ if has_indep:+ first_end = min(cur + independent_first_frame, s_end)+ if first_end > cur:+ edges.append(first_end)+ is_independent.append(True)+ cur = first_end+ if cur >= s_end:+ continue+ while cur < s_end:+ nxt = min(cur + block_size, s_end)+ edges.append(nxt)+ is_independent.append(False)+ cur = nxt+ return (edges, is_independent)+++def mask_to_attention_with_grid(+ mask,+ upscale=32,+ grid_color=(0, 0, 0),+ block_size=None,+ highlight_color=(255, 0, 0),+ highlight_alpha=1.0,+ highlight_only_active=True,+ block_grid_color=None,+ history_size: int = 0,+ history_grid_color=(0, 255, 0),+ history_alpha=0.35,+ independent_first_frame: int = 0,+ clean_length: int = 0,+):+ """+ 可视化 attention masking 矩阵。++ Parameters+ ----------+ mask : np.ndarray+ HxW 的 0/1 mask。++ 注意:本项目里 ``mask`` 通常来自+ ``BlockMask.to_dense().squeeze(0).squeeze(0).cpu().numpy()``,+ FlexAttention 的 ``BlockMask`` dense 出来后是 *block 粒度*+ (H = total_token_length / FLEX_BLOCK_SIZE,FLEX_BLOCK_SIZE 默认 128)。+ 当 ``frame_seqlen == FLEX_BLOCK_SIZE`` 时,``mask`` 的 1 像素 = 1 帧;+ 所有 ``block_size`` / ``clean_length`` / ``independent_first_frame``+ 参数都按 *帧* 单位(即 mask 的行/列像素位置)传入。++ upscale : int+ 每个 cell 放大的像素大小++ grid_color : tuple+ 普通网格颜色++ block_size : int | None+ block 粒度,单位为 **帧**(即 ``num_frame_per_block``)。++ highlight_color : tuple+ 对角 block 高亮颜色++ highlight_alpha : float+ 对角 block 高亮混合系数++ highlight_only_active : bool+ True:+ 仅高亮 mask>0 区域+ False:+ 整个 block 区域高亮++ block_grid_color : tuple | None+ block 外框颜色++ history_size : int+ block-wise history 数量(block 个数)++ history_grid_color : tuple+ history block 内部染色颜色++ history_alpha : float+ history block 混合透明度++ independent_first_frame : int+ > 0 时,每个段的前 ``independent_first_frame`` *帧* 视为一个独立+ block(对应 i2v 模式下被分离出来的第一帧),其余帧再按 ``block_size``+ 切分。等于 0 时表示常规均匀分块。+ 注意:该独立首帧 block 不计入 history_size 统计,也不会被染上+ history 颜色。++ clean_length : int+ > 0 时,表示输入 mask 是 teacher forcing 双段布局+ ``[clean (clean_length 帧) | noise]``,clean 段和 noise 段会各自+ 独立按 ``block_size`` 切分。若同时指定了 ``independent_first_frame > 0``,+ 每个段的首个 block 长度为 ``independent_first_frame`` *帧*(用于 i2v)。+ 等于 0 时退化为单段布局。+ """+ H, W = mask.shape+ block_size_tok = block_size+ indep_tok = (+ independent_first_frame if independent_first_frame and independent_first_frame > 0 else 0+ )+ clean_length_tok = clean_length if clean_length and clean_length > 0 else 0+ cmap = plt.get_cmap("plasma")+ colored = cmap(mask.astype(np.float32))[:, :, :3]+ img = (colored * 255).astype(np.uint8)+ img = img.astype(np.float32)+ if block_size_tok is not None and block_size_tok > 0 and (history_size > 0):+ history_color = np.array(history_grid_color, dtype=np.float32)+ seg_starts = [0]+ if clean_length_tok and clean_length_tok > 0:+ seg_starts.append(clean_length_tok)+ row_edges, row_is_indep = _compute_block_edges(H, block_size_tok, indep_tok, seg_starts)+ col_edges, col_is_indep = _compute_block_edges(W, block_size_tok, indep_tok, seg_starts)+ n_row_blocks = len(row_edges) - 1+ n_col_blocks = len(col_edges) - 1+ n_diag_blocks = min(n_row_blocks, n_col_blocks)+ for br in range(n_diag_blocks):+ valid_history_found = 0+ for bc in range(br - 1, -1, -1):+ if col_is_indep[bc]:+ continue+ r0 = row_edges[br]+ r1 = row_edges[br + 1]+ c0 = col_edges[bc]+ c1 = col_edges[bc + 1]+ sub_mask = mask[r0:r1, c0:c1] > 0+ if not np.any(sub_mask):+ continue+ valid_history_found += 1+ if valid_history_found > history_size:+ break+ region = img[r0:r1, c0:c1]+ if highlight_only_active:+ blended = region.copy()+ blended[sub_mask] = (1.0 - history_alpha) * region[+ sub_mask+ ] + history_alpha * history_color+ else:+ blended = (1.0 - history_alpha) * region + history_alpha * history_color+ img[r0:r1, c0:c1] = blended+ if block_size_tok is not None and block_size_tok > 0:+ hl = np.array(highlight_color, dtype=np.float32)+ seg_starts = [0]+ if clean_length_tok and clean_length_tok > 0:+ seg_starts.append(clean_length_tok)+ row_edges, _ = _compute_block_edges(H, block_size_tok, indep_tok, seg_starts)+ col_edges, _ = _compute_block_edges(W, block_size_tok, indep_tok, seg_starts)+ n_blocks = min(len(row_edges) - 1, len(col_edges) - 1)+ for i in range(n_blocks):+ r0 = row_edges[i]+ r1 = row_edges[i + 1]+ c0 = col_edges[i]+ c1 = col_edges[i + 1]+ region = img[r0:r1, c0:c1]+ if highlight_only_active:+ sub_mask = mask[r0:r1, c0:c1] > 0+ if not np.any(sub_mask):+ continue+ blended = region.copy()+ blended[sub_mask] = (1.0 - highlight_alpha) * region[+ sub_mask+ ] + highlight_alpha * hl+ else:+ blended = (1.0 - highlight_alpha) * region + highlight_alpha * hl+ img[r0:r1, c0:c1] = blended+ img = np.clip(img, 0, 255).astype(np.uint8)+ pil_img = Image.fromarray(img)+ pil_img = pil_img.resize((W * upscale, H * upscale), resample=Image.NEAREST)+ draw = ImageDraw.Draw(pil_img)+ for x in range(0, W * upscale, upscale):+ draw.line([(x, 0), (x, H * upscale)], fill=grid_color)+ for y in range(0, H * upscale, upscale):+ draw.line([(0, y), (W * upscale, y)], fill=grid_color)+ if block_size_tok is not None and block_size_tok > 0 and (block_grid_color is not None):+ seg_starts = [0]+ if clean_length_tok and clean_length_tok > 0:+ seg_starts.append(clean_length_tok)+ row_edges, _ = _compute_block_edges(H, block_size_tok, indep_tok, seg_starts)+ col_edges, _ = _compute_block_edges(W, block_size_tok, indep_tok, seg_starts)+ n_blocks = min(len(row_edges) - 1, len(col_edges) - 1)+ for i in range(n_blocks):+ x0 = col_edges[i] * upscale+ y0 = row_edges[i] * upscale+ x1 = col_edges[i + 1] * upscale - 1+ y1 = row_edges[i + 1] * upscale - 1+ draw.rectangle([(x0, y0), (x1, y1)], outline=block_grid_color, width=2)+ return pil_img+++def visualize_causal_mask(+ mode: str,+ *,+ num_frames: int,+ num_frame_per_block: int,+ local_attn_size: int = -1,+ sink_size: int = 0,+ independent_first_frame: bool = False,+ out_dir: str,+ vis_frame_seqlen: int = 128,+ upscale: int = 16,+ filename: str | None = None,+):+ """+ Build a *toy* causal mask with the same block / window / sink layout as the+ real model but a tiny ``frame_seqlen`` (default 128 instead of ~1560), then+ render it via :func:`mask_to_attention_with_grid` and save to ``out_dir``.++ The real ``self.block_mask`` is way too large to materialise as a dense+ matrix (e.g. ``(21*1560)^2`` ~ 1e9 entries), so we visualise an equivalent+ *structure-preserving* mini version which is enough to inspect the block+ pattern (causal window, sink, independent first frame, TF clean/noise+ layout, etc.).++ The arguments forwarded to :func:`mask_to_attention_with_grid` are now+ expressed in **frames** (matching the convention used by+ ``notebooks/jupyter_causal_mask.ipynb``):+ ``block_size = num_frame_per_block``, ``clean_length = num_frames``,+ ``independent_first_frame = 0 or 1``, ``history_size`` counts past+ *blocks* within the local-attention window (excluding the sink and the+ current block). ``frame_seqlen`` is forwarded so the renderer can map+ these frame-unit args to token-unit positions on the dense mask.++ Parameters+ ----------+ mode : {"TF"}+ Teacher-forcing two-segment layout.+ out_dir : str+ Directory the PNG is saved to. Created if missing.+ filename : str | None+ Override output filename. If None, a descriptive name is generated.++ Returns+ -------+ str+ Full path to the saved PNG.+ """+ import os++ mode = mode.upper()+ assert mode == "TF", f"unknown mode {mode!r}"+ kwargs = {+ "device": "cpu",+ "num_frames": num_frames,+ "frame_seqlen": vis_frame_seqlen,+ "num_frame_per_block": num_frame_per_block,+ "local_attn_size": local_attn_size,+ "sink_size": sink_size,+ "independent_first_frame": independent_first_frame,+ "_compile": False,+ }+ mask = CausalMaskMixin._prepare_teacher_forcing_mask(**kwargs)+ dense_mask = mask.to_dense().squeeze(0).squeeze(0).cpu().numpy()+ if local_attn_size > 0:+ history_size = max(0, (local_attn_size - sink_size) // num_frame_per_block - 1)+ else:+ history_size = 0+ pil_img = mask_to_attention_with_grid(+ dense_mask,+ upscale=upscale,+ block_size=num_frame_per_block,+ history_size=history_size,+ independent_first_frame=int(bool(independent_first_frame)),+ clean_length=num_frames,+ )+ os.makedirs(out_dir, exist_ok=True)+ if filename is None:+ filename = f"{mode}_F{num_frames}_B{num_frame_per_block}_L{local_attn_size}_K{sink_size}_I{int(bool(independent_first_frame))}.png"+ out_path = os.path.join(out_dir, filename)+ pil_img.save(out_path)+ return out_path+++class CausalMaskMixin:+ @staticmethod+ def _prepare_teacher_forcing_mask(+ device: torch.device | str,+ num_frames: int = 21,+ frame_seqlen: int = 1560,+ num_frame_per_block: int = 1,+ local_attn_size: int = -1,+ sink_size: int = 0,+ independent_first_frame: bool = False,+ _compile: bool = True,+ ) -> BlockMask:+ """+ we will divide the token sequence into the following format+ [clean frames] [noisy frames]+ where each segment is laid out as++ independent_first_frame=False:+ [N latent frame] [N latent frame] ... [N latent frame]+ independent_first_frame=True:+ [1 latent frame] [N latent frame] ... [N latent frame]+ (N = num_frame_per_block; the 1-frame block is the i2v image+ conditioning frame)++ We use flex attention to construct the attention mask.+ """+ if local_attn_size == -1:+ local_attn_size = num_frames+ assert local_attn_size >= num_frame_per_block, (+ f"local_attn_size ({local_attn_size}) should be greater than or equal to num_frame_per_block ({num_frame_per_block})"+ )+ assert sink_size <= local_attn_size - num_frame_per_block, (+ f"sink_size ({sink_size}) should be less than or equal to local_attn_size ({local_attn_size}) - num_frame_per_block ({num_frame_per_block})"+ )+ if independent_first_frame:+ assert (num_frames - 1) % num_frame_per_block == 0, (+ f"For independent_first_frame, (num_frames - 1) % num_frame_per_block == 0, got num_frames={num_frames} and num_frame_per_block={num_frame_per_block}"+ )+ total_length = num_frames * frame_seqlen * 2+ padded_length = math.ceil(total_length / 128) * 128 - total_length+ clean_ends = num_frames * frame_seqlen+ attention_block_size = num_frame_per_block * frame_seqlen+ attention_window_size = local_attn_size * frame_seqlen+ attention_sink_size = sink_size * frame_seqlen+ B_size = attention_block_size+ W_size = attention_window_size+ S_size = attention_sink_size+ CE = clean_ends+ pad_start = total_length+ I_off = frame_seqlen if independent_first_frame else 0++ def attention_mask(b, h, q_idx, kv_idx):+ is_clean_q = q_idx < CE+ is_noise_q = (q_idx >= CE) & (q_idx < pad_start)+ is_clean_first = is_clean_q & (q_idx < I_off)+ q_clean_rel = q_idx - I_off+ q_clean_block_end_regular = I_off + (q_clean_rel // B_size + 1) * B_size+ c_end = torch.where(is_clean_first, I_off, q_clean_block_end_regular)+ c_start = c_end - W_size + S_size+ C0 = (kv_idx >= c_start) & (kv_idx < c_end)+ C0_Sink = (kv_idx < S_size) & (kv_idx < c_start)+ clean_mask = is_clean_q & (C0 | C0_Sink)+ q_noise_rel = q_idx - CE+ is_noise_first = is_noise_q & (q_noise_rel < I_off)+ nb_regular = (q_noise_rel - I_off) // B_size+ n_start_regular = CE + I_off + nb_regular * B_size+ n_end_regular = n_start_regular + B_size+ n_start = torch.where(is_noise_first, CE, n_start_regular)+ n_end = torch.where(is_noise_first, CE + I_off, n_end_regular)+ nc_end_regular = I_off + nb_regular * B_size+ nc_start_regular = I_off + (nb_regular + 1) * B_size - W_size + S_size+ nc_end = torch.where(is_noise_first, torch.zeros_like(nc_end_regular), nc_end_regular)+ nc_start_first = I_off - W_size + S_size+ nc_start = torch.where(is_noise_first, nc_start_first, nc_start_regular)+ C1 = (kv_idx >= n_start) & (kv_idx < n_end)+ C2 = (kv_idx >= nc_start) & (kv_idx < nc_end)+ C1_Sink = (kv_idx < S_size) & (kv_idx < nc_start)+ noise_mask = is_noise_q & (C1 | C2 | C1_Sink)+ eye_mask = q_idx == kv_idx+ return eye_mask | clean_mask | noise_mask++ block_mask = create_block_mask(+ attention_mask,+ B=None,+ H=None,+ Q_LEN=total_length + padded_length,+ KV_LEN=total_length + padded_length,+ _compile=_compile,+ device=device,+ )+ return block_mask+++if __name__ == "__main__":+ device = "cpu"+ kwargs = {"device": device, "num_frames": 21, "frame_seqlen": 128, "num_frame_per_block": 3}+ local_attn_size = 6+ sink_size = 1+ mask = CausalMaskMixin._prepare_teacher_forcing_mask(+ **kwargs, local_attn_size=local_attn_size, sink_size=sink_size+ )+ dense_mask = mask.to_dense().squeeze(0).squeeze(0).cpu().numpy()+ mask_image = mask_to_attention_with_grid(+ dense_mask,+ upscale=4,+ block_size=kwargs["num_frame_per_block"],+ clean_length=kwargs["num_frames"],+ )+ mask_image.save("teacher_forcing_mask.png")+ kwargs_i2v = dict(kwargs, num_frames=22)+ mask_i2v = CausalMaskMixin._prepare_teacher_forcing_mask(+ **kwargs_i2v,+ local_attn_size=local_attn_size,+ sink_size=sink_size,+ independent_first_frame=True,+ )+ dense_mask_i2v = mask_i2v.to_dense().squeeze(0).squeeze(0).cpu().numpy()+ mask_image_i2v = mask_to_attention_with_grid(+ dense_mask_i2v,+ upscale=4,+ block_size=kwargs_i2v["num_frame_per_block"],+ independent_first_frame=1,+ clean_length=kwargs_i2v["num_frames"],+ )+ mask_image_i2v.save("teacher_forcing_mask_i2v.png")diff --git a/src/utils/causal_model.py b/src/utils/causal_model.pynew file mode 100644index 0000000..3474f29--- /dev/null+++ b/src/utils/causal_model.py@@ -0,0 +1,776 @@+import logging+import math+import os++import torch+import torch.nn as nn+from diffusers.configuration_utils import ConfigMixin, register_to_config+from diffusers.models.modeling_utils import ModelMixin+from torch.nn.attention.flex_attention import flex_attention++from src.utils.causal_mask import CausalMaskMixin, visualize_causal_mask+from src.utils.causal_rope import causal_rope_apply+from src.utils.distributed import is_main_process+from src.wan.modules.model import WAN_CROSSATTENTION_CLASSES+from src.wan22.modules.model import (+ WanLayerNorm,+ WanRMSNorm,+ rope_apply,+ rope_params,+ sinusoidal_embedding_1d,+)++from .attention import attention++flex_attention = torch.compile(flex_attention, dynamic=False, mode="default")+++class CausalWanSelfAttention(nn.Module):+ def __init__(+ self,+ dim: int,+ num_heads: int,+ local_attn_size: int = -1,+ train_frame_size: int = -1,+ sink_size: int = 0,+ qk_norm: bool = True,+ eps: float = 1e-06,+ ):+ assert dim % num_heads == 0+ super().__init__()+ self.dim = dim+ self.num_heads = num_heads+ self.head_dim = dim // num_heads+ self.local_attn_size = local_attn_size+ self.sink_size = sink_size+ self.qk_norm = qk_norm+ self.eps = eps+ self.train_frame_size = train_frame_size+ self.inference_frame_size = local_attn_size if local_attn_size != -1 else train_frame_size+ self.q = nn.Linear(dim, dim)+ self.k = nn.Linear(dim, dim)+ self.v = nn.Linear(dim, dim)+ self.o = nn.Linear(dim, dim)+ self.norm_q = WanRMSNorm(dim, eps=eps) if qk_norm else nn.Identity()+ self.norm_k = WanRMSNorm(dim, eps=eps) if qk_norm else nn.Identity()++ def forward(+ self,+ x,+ seq_lens,+ grid_sizes,+ freqs,+ block_mask,+ kv_cache=None,+ current_start=0,+ cache_start=None,+ ):+ """+ Args:+ x(Tensor): Shape [B, L, num_heads, C / num_heads]+ seq_lens(Tensor): Shape [B]+ grid_sizes(Tensor): Shape [B, 3], the second dimension contains (F, H, W)+ freqs(Tensor): Rope freqs, shape [1024, C / num_heads / 2]+ block_mask (BlockMask)+ """+ b, s, n, d = (*x.shape[:2], self.num_heads, self.head_dim)+ if cache_start is None:+ cache_start = current_start++ def qkv_fn(x):+ q = self.norm_q(self.q(x)).view(b, s, n, d)+ k = self.norm_k(self.k(x)).view(b, s, n, d)+ v = self.v(x).view(b, s, n, d)+ return (q, k, v)++ q, k, v = qkv_fn(x)+ if kv_cache is None:+ is_tf = s == seq_lens[0].item() * 2+ if not is_tf:+ raise ValueError(+ "Uncached attention requires a teacher-forcing clean/noisy sequence."+ )+ q_chunk = torch.chunk(q, 2, dim=1)+ k_chunk = torch.chunk(k, 2, dim=1)+ roped_query = []+ roped_key = []+ for ii in range(2):+ rq = rope_apply(q_chunk[ii], grid_sizes, freqs).type_as(v)+ rk = rope_apply(k_chunk[ii], grid_sizes, freqs).type_as(v)+ roped_query.append(rq)+ roped_key.append(rk)+ roped_query = torch.cat(roped_query, dim=1)+ roped_key = torch.cat(roped_key, dim=1)+ padded_length = math.ceil(q.shape[1] / 128) * 128 - q.shape[1]+ padded_roped_query = torch.cat(+ [+ roped_query,+ torch.zeros(+ [q.shape[0], padded_length, q.shape[2], q.shape[3]],+ device=q.device,+ dtype=v.dtype,+ ),+ ],+ dim=1,+ )+ padded_roped_key = torch.cat(+ [+ roped_key,+ torch.zeros(+ [k.shape[0], padded_length, k.shape[2], k.shape[3]],+ device=k.device,+ dtype=v.dtype,+ ),+ ],+ dim=1,+ )+ padded_v = torch.cat(+ [+ v,+ torch.zeros(+ [v.shape[0], padded_length, v.shape[2], v.shape[3]],+ device=v.device,+ dtype=v.dtype,+ ),+ ],+ dim=1,+ )+ x = flex_attention(+ query=padded_roped_query.transpose(2, 1),+ key=padded_roped_key.transpose(2, 1),+ value=padded_v.transpose(2, 1),+ block_mask=block_mask,+ )+ if padded_length > 0:+ x = x[:, :, :-padded_length]+ x = x.transpose(2, 1)+ else:+ frame_seqlen = math.prod(grid_sizes[0][1:]).item()+ max_attention_size = self.inference_frame_size * frame_seqlen+ current_end = current_start + q.shape[1]+ sink_tokens = self.sink_size * frame_seqlen+ kv_cache_size = kv_cache["k"].shape[1]+ num_new_tokens = q.shape[1]+ if (+ self.local_attn_size != -1+ and current_end > kv_cache["global_end_index"].item()+ and (num_new_tokens + kv_cache["local_end_index"].item() > kv_cache_size)+ ):+ num_evicted_tokens = (+ num_new_tokens + kv_cache["local_end_index"].item() - kv_cache_size+ )+ num_rolled_tokens = (+ kv_cache["local_end_index"].item() - num_evicted_tokens - sink_tokens+ )+ rolling_dst = slice(sink_tokens, sink_tokens + num_rolled_tokens)+ rolling_src = slice(+ sink_tokens + num_evicted_tokens,+ sink_tokens + num_evicted_tokens + num_rolled_tokens,+ )+ kv_cache["k"][:, rolling_dst] = kv_cache["k"][:, rolling_src].clone()+ kv_cache["v"][:, rolling_dst] = kv_cache["v"][:, rolling_src].clone()+ local_end_index = (+ kv_cache["local_end_index"].item()+ + current_end+ - kv_cache["global_end_index"].item()+ - num_evicted_tokens+ )+ local_start_index = local_end_index - num_new_tokens+ kv_cache["k"][:, local_start_index:local_end_index] = k+ kv_cache["v"][:, local_start_index:local_end_index] = v+ else:+ local_end_index = (+ kv_cache["local_end_index"].item()+ + current_end+ - kv_cache["global_end_index"].item()+ )+ local_start_index = local_end_index - num_new_tokens+ kv_cache["k"][:, local_start_index:local_end_index] = k+ kv_cache["v"][:, local_start_index:local_end_index] = v+ local_start_frame_index = local_start_index // frame_seqlen+ local_end_frame_index = local_end_index // frame_seqlen+ assert local_start_frame_index + grid_sizes[0][0].item() == local_end_frame_index, (+ f"local_start_frame_index: {local_start_frame_index}, local_end_frame_index: {local_end_frame_index}, grid_sizes[0][0]: {grid_sizes[0][0].item()}"+ )+ query_relative_indices = torch.arange(+ local_start_frame_index, local_end_frame_index, device=q.device+ )+ cache_relative_indices = torch.arange(0, local_end_frame_index, device=k.device)+ if self.train_frame_size == -1:+ query_shift = 0+ cache_shift = 0+ else:+ max_train_frame_index = self.train_frame_size - 1+ query_shift = max(query_relative_indices.max().item() - max_train_frame_index, 0)+ cache_shift = max(cache_relative_indices.max().item() - max_train_frame_index, 0)+ query_relative_indices = torch.clamp(query_relative_indices - query_shift, min=0)+ cache_relative_indices = torch.clamp(cache_relative_indices - cache_shift, min=0)+ if (+ self.local_attn_size != -1+ and current_end > kv_cache["global_end_index"].item()+ and (num_new_tokens + kv_cache["local_end_index"].item() > kv_cache_size)+ ):+ tail_start = max(sink_tokens, local_end_index - max_attention_size + sink_tokens)+ tail_end = local_end_index+ sink_end = min(kv_cache["local_end_index"].item(), sink_tokens)+ if sink_end > 0:+ k = torch.cat(+ [kv_cache["k"][:, :sink_end], kv_cache["k"][:, tail_start:tail_end]], dim=1+ )+ v = torch.cat(+ [kv_cache["v"][:, :sink_end], kv_cache["v"][:, tail_start:tail_end]], dim=1+ )+ else:+ k = kv_cache["k"][:, tail_start:tail_end]+ v = kv_cache["v"][:, tail_start:tail_end]+ else:+ k = kv_cache["k"][:, max(0, local_end_index - max_attention_size) : local_end_index]+ v = kv_cache["v"][:, max(0, local_end_index - max_attention_size) : local_end_index]+ roped_query = causal_rope_apply(+ q, grid_sizes, freqs, relative_frame_indices=query_relative_indices+ ).type_as(v)+ roped_key = causal_rope_apply(+ k, grid_sizes, freqs, relative_frame_indices=cache_relative_indices+ ).type_as(v)+ x = attention(roped_query, roped_key, v)+ kv_cache["global_end_index"].fill_(current_end)+ kv_cache["local_end_index"].fill_(local_end_index)+ x = x.flatten(2)+ x = self.o(x)+ return x+++class CausalWanAttentionBlock(nn.Module):+ def __init__(+ self,+ model_type: str,+ dim: int,+ ffn_dim: int,+ num_heads: int,+ local_attn_size: int = -1,+ sink_size: int = 0,+ qk_norm: bool = True,+ cross_attn_norm: bool = False,+ eps: float = 1e-06,+ train_frame_size: int = 21,+ ):+ super().__init__()+ self.dim = dim+ self.ffn_dim = ffn_dim+ self.num_heads = num_heads+ self.qk_norm = qk_norm+ self.cross_attn_norm = cross_attn_norm+ self.eps = eps+ self.local_attn_size = local_attn_size+ self.sink_size = sink_size+ self.norm1 = WanLayerNorm(dim, eps)+ self.self_attn = CausalWanSelfAttention(+ dim=dim,+ num_heads=num_heads,+ local_attn_size=local_attn_size,+ sink_size=sink_size,+ qk_norm=qk_norm,+ eps=eps,+ train_frame_size=train_frame_size,+ )+ self.norm3 = (+ WanLayerNorm(dim, eps, elementwise_affine=True) if cross_attn_norm else nn.Identity()+ )+ WanCrossAttentionClass = WAN_CROSSATTENTION_CLASSES["t2v_cross_attn"]+ self.cross_attn = WanCrossAttentionClass(+ dim=dim, num_heads=num_heads, window_size=(-1, -1), qk_norm=qk_norm, eps=eps+ )+ self.norm2 = WanLayerNorm(dim, eps)+ self.ffn = nn.Sequential(+ nn.Linear(dim, ffn_dim), nn.GELU(approximate="tanh"), nn.Linear(ffn_dim, dim)+ )+ self.modulation = nn.Parameter(torch.randn(1, 6, dim) / dim**0.5)++ def forward(+ self,+ x,+ e,+ seq_lens,+ grid_sizes,+ freqs,+ context,+ context_lens,+ block_mask,+ kv_cache=None,+ crossattn_cache=None,+ current_start=0,+ cache_start=None,+ ):+ """+ Args:+ x(Tensor): Shape [B, L, C]+ e(Tensor): Shape [B, F, 6, C]+ seq_lens(Tensor): Shape [B], length of each sequence in batch+ grid_sizes(Tensor): Shape [B, 3], the second dimension contains (F, H, W)+ freqs(Tensor): Rope freqs, shape [1024, C / num_heads / 2]+ """+ num_frames, frame_seqlen = (e.shape[1], x.shape[1] // e.shape[1])+ e = (self.modulation.unsqueeze(1) + e).chunk(6, dim=2)+ y = self.self_attn(+ (+ self.norm1(x).unflatten(dim=1, sizes=(num_frames, frame_seqlen)) * (1 + e[1]) + e[0]+ ).flatten(1, 2),+ seq_lens,+ grid_sizes,+ freqs,+ block_mask,+ kv_cache,+ current_start,+ cache_start,+ )+ x = x + (y.unflatten(dim=1, sizes=(num_frames, frame_seqlen)) * e[2]).flatten(1, 2)++ def cross_attn_ffn(x, context, context_lens, e, crossattn_cache=None):+ x = x + self.cross_attn(+ self.norm3(x), context, context_lens, crossattn_cache=crossattn_cache+ )+ y = self.ffn(+ (+ self.norm2(x).unflatten(dim=1, sizes=(num_frames, frame_seqlen)) * (1 + e[4])+ + e[3]+ ).flatten(1, 2)+ )+ x = x + (y.unflatten(dim=1, sizes=(num_frames, frame_seqlen)) * e[5]).flatten(1, 2)+ return x++ x = cross_attn_ffn(x, context, context_lens, e, crossattn_cache)+ return x+++class CausalHead(nn.Module):+ def __init__(self, dim, out_dim, patch_size, eps=1e-06):+ super().__init__()+ self.dim = dim+ self.out_dim = out_dim+ self.patch_size = patch_size+ self.eps = eps+ out_dim = math.prod(patch_size) * out_dim+ self.norm = WanLayerNorm(dim, eps)+ self.head = nn.Linear(dim, out_dim)+ self.modulation = nn.Parameter(torch.randn(1, 2, dim) / dim**0.5)++ def forward(self, x, e):+ """+ Args:+ x(Tensor): Shape [B, L1, C]+ e(Tensor): Shape [B, F, 1, C]+ """+ num_frames, frame_seqlen = (e.shape[1], x.shape[1] // e.shape[1])+ shift, scale = (self.modulation.unsqueeze(1) + e).chunk(2, dim=2)+ x = self.norm(x).unflatten(dim=1, sizes=(num_frames, frame_seqlen))+ x = self.head(x * (1 + scale) + shift)+ return x+++class CausalWanModel(ModelMixin, ConfigMixin, CausalMaskMixin):+ """+ Wan diffusion backbone supporting both text-to-video and image-to-video.+ """++ ignore_for_config = ["patch_size", "cross_attn_norm", "qk_norm", "text_dim"]+ _no_split_modules = ["CausalWanAttentionBlock"]+ _supports_gradient_checkpointing = True++ @register_to_config+ def __init__(+ self,+ model_type="t2v",+ patch_size=(1, 2, 2),+ text_len=512,+ in_dim=16,+ dim=2048,+ ffn_dim=8192,+ freq_dim=256,+ text_dim=4096,+ out_dim=16,+ num_heads=16,+ num_layers=32,+ local_attn_size=21,+ sink_size=0,+ train_frame_size=21,+ qk_norm=True,+ cross_attn_norm=True,+ eps=1e-06,+ num_frame_per_block: int = 1,+ independent_first_frame: bool = False,+ ):+ """+ Initialize the diffusion model backbone.++ Args:+ model_type (`str`, *optional*, defaults to 't2v'):+ Selected backbone family: 't2v' or 'ti2v'; sampling requires supplied C0.+ patch_size (`tuple`, *optional*, defaults to (1, 2, 2)):+ 3D patch dimensions for video embedding (t_patch, h_patch, w_patch)+ text_len (`int`, *optional*, defaults to 512):+ Fixed length for text embeddings+ in_dim (`int`, *optional*, defaults to 16):+ Input video channels (C_in)+ dim (`int`, *optional*, defaults to 2048):+ Hidden dimension of the transformer+ ffn_dim (`int`, *optional*, defaults to 8192):+ Intermediate dimension in feed-forward network+ freq_dim (`int`, *optional*, defaults to 256):+ Dimension for sinusoidal time embeddings+ text_dim (`int`, *optional*, defaults to 4096):+ Input dimension for text embeddings+ out_dim (`int`, *optional*, defaults to 16):+ Output video channels (C_out)+ num_heads (`int`, *optional*, defaults to 16):+ Number of attention heads+ num_layers (`int`, *optional*, defaults to 32):+ Number of transformer blocks+ local_attn_size (`int`, *optional*, defaults to 21):+ Window size for temporal local attention (-1 indicates global attention)+ sink_size (`int`, *optional*, defaults to 0):+ Size of the attention sink, we keep the first `sink_size` frames unchanged when rolling the KV cache+ train_frame_size (`int`, *optional*, defaults to 21):+ Number of frames in training sequences, used for block-relative RoPE in inference+ qk_norm (`bool`, *optional*, defaults to True):+ Enable query/key normalization+ cross_attn_norm (`bool`, *optional*, defaults to False):+ Enable cross-attention normalization+ eps (`float`, *optional*, defaults to 1e-6):+ Epsilon value for normalization layers+ """+ super().__init__()+ assert model_type in ["t2v", "ti2v"]+ self.model_type = model_type+ self.patch_size = patch_size+ self.text_len = text_len+ self.in_dim = in_dim+ self.dim = dim+ self.ffn_dim = ffn_dim+ self.freq_dim = freq_dim+ self.text_dim = text_dim+ self.out_dim = out_dim+ self.num_heads = num_heads+ self.num_layers = num_layers+ self.local_attn_size = local_attn_size+ self.train_frame_size = train_frame_size+ self.sink_size = sink_size+ self.qk_norm = qk_norm+ self.cross_attn_norm = cross_attn_norm+ self.eps = eps+ self.num_frame_per_block = num_frame_per_block+ self.independent_first_frame = independent_first_frame+ self.patch_embedding = nn.Conv3d(in_dim, dim, kernel_size=patch_size, stride=patch_size)+ self.text_embedding = nn.Sequential(+ nn.Linear(text_dim, dim), nn.GELU(approximate="tanh"), nn.Linear(dim, dim)+ )+ self.time_embedding = nn.Sequential(+ nn.Linear(freq_dim, dim), nn.SiLU(), nn.Linear(dim, dim)+ )+ self.time_projection = nn.Sequential(nn.SiLU(), nn.Linear(dim, dim * 6))+ block_cls = CausalWanAttentionBlock+ self.blocks = nn.ModuleList(+ [+ block_cls(+ model_type=model_type,+ dim=dim,+ ffn_dim=ffn_dim,+ num_heads=num_heads,+ local_attn_size=local_attn_size,+ sink_size=sink_size,+ train_frame_size=train_frame_size,+ qk_norm=qk_norm,+ cross_attn_norm=cross_attn_norm,+ eps=eps,+ )+ for _ in range(num_layers)+ ]+ )+ self.head = CausalHead(dim, out_dim, patch_size, eps)+ assert dim % num_heads == 0 and dim // num_heads % 2 == 0+ d = dim // num_heads+ self.freqs = torch.cat(+ [+ rope_params(1024, d - 4 * (d // 6)),+ rope_params(1024, 2 * (d // 6)),+ rope_params(1024, 2 * (d // 6)),+ ],+ dim=1,+ )+ self.init_weights()+ self.gradient_checkpointing = False+ self.block_mask = None++ def _forward_inference(+ self,+ x,+ t,+ context,+ kv_cache: dict = None,+ crossattn_cache: dict = None,+ current_start: int = 0,+ cache_start: int = 0,+ ):+ """+ Run the diffusion model with kv caching.+ See Algorithm 2 of CausVid paper https://arxiv.org/abs/2412.07772 for details.+ This function will be run for num_frame times.+ Process the latent frames one by one (1560 tokens each)++ Args:+ x (List[Tensor]):+ List of input video tensors, each with shape [C_in, F, H, W]+ t (Tensor):+ Diffusion timesteps tensor of shape [B, F]+ context (List[Tensor]):+ List of text embeddings each with shape [L, C]+ clip_fea (Tensor, *optional*):+ CLIP image features for image-to-video mode+ y (List[Tensor], *optional*):+ Conditional video inputs for image-to-video mode, same shape as x++ Returns:+ List[Tensor]:+ List of denoised video tensors with original input shapes [C_out, F, H / 8, W / 8]+ """+ device = self.patch_embedding.weight.device+ if self.freqs.device != device:+ self.freqs = self.freqs.to(device)+ patch_embedding = self.patch_embedding+ x = [patch_embedding(u.unsqueeze(0)) for u in x]+ grid_sizes = torch.stack([torch.tensor(u.shape[2:], dtype=torch.long) for u in x])+ x = [u.flatten(2).transpose(1, 2) for u in x]+ seq_lens = torch.tensor([u.size(1) for u in x], dtype=torch.long)+ x = torch.cat(x)+ e = self.time_embedding(sinusoidal_embedding_1d(self.freq_dim, t.flatten()).type_as(x))+ e0 = self.time_projection(e).unflatten(1, (6, self.dim)).unflatten(dim=0, sizes=t.shape)+ context_lens = None+ context = self.text_embedding(+ torch.stack(+ [torch.cat([u, u.new_zeros(self.text_len - u.size(0), u.size(1))]) for u in context]+ )+ )+ kwargs = {+ "e": e0,+ "seq_lens": seq_lens,+ "grid_sizes": grid_sizes,+ "freqs": self.freqs,+ "context": context,+ "context_lens": context_lens,+ "block_mask": self.block_mask,+ }++ def create_custom_forward(module):++ def custom_forward(*inputs, **kwargs):+ return module(*inputs, **kwargs)++ return custom_forward++ for block_index, block in enumerate(self.blocks):+ if torch.is_grad_enabled() and self.gradient_checkpointing:+ kwargs.update(+ {+ "kv_cache": kv_cache[block_index],+ "current_start": current_start,+ "cache_start": cache_start,+ }+ )+ x = torch.utils.checkpoint.checkpoint(+ create_custom_forward(block), x, **kwargs, use_reentrant=False+ )+ else:+ kwargs.update(+ {+ "kv_cache": kv_cache[block_index],+ "crossattn_cache": crossattn_cache[block_index],+ "current_start": current_start,+ "cache_start": cache_start,+ }+ )+ x = block(x, **kwargs)+ x = self.head(x, e.unflatten(dim=0, sizes=t.shape).unsqueeze(2))+ x = self.unpatchify(x, grid_sizes)+ output = torch.stack(x)+ return output++ def _forward_train(self, x, t, context, clean_x=None):+ """+ Forward pass through the diffusion model++ Args:+ x (List[Tensor]):+ List of input video tensors, each with shape [C_in, F, H, W]+ t (Tensor):+ Diffusion timesteps tensor of shape [B, F]+ context (List[Tensor]):+ List of text embeddings each with shape [L, C]+ clip_fea (Tensor, *optional*):+ CLIP image features for image-to-video mode+ y (List[Tensor], *optional*):+ Conditional video inputs for image-to-video mode, same shape as x++ Returns:+ List[Tensor]:+ List of denoised video tensors with original input shapes [C_out, F, H / 8, W / 8]+ """+ if clean_x is None:+ raise ValueError("Teacher-forcing forward requires clean_x.")+ device = self.patch_embedding.weight.device+ if self.freqs.device != device:+ self.freqs = self.freqs.to(device)+ if self.block_mask is None:+ self.block_mask = self._prepare_teacher_forcing_mask(+ device,+ num_frames=x.shape[2],+ frame_seqlen=x.shape[-2] * x.shape[-1] // (self.patch_size[1] * self.patch_size[2]),+ num_frame_per_block=self.num_frame_per_block,+ local_attn_size=self.local_attn_size,+ sink_size=self.sink_size,+ independent_first_frame=self.independent_first_frame,+ )+ _vis_flag = os.environ.get("WAN_VIS_CAUSAL_MASK", "0")+ if _vis_flag and _vis_flag != "0":+ if is_main_process():+ if not hasattr(self, "_causal_mask_vis_done"):+ self._causal_mask_vis_done = set()+ mode = "TF"+ vis_key = (mode, int(x.shape[2]), bool(self.independent_first_frame))+ if vis_key not in self._causal_mask_vis_done:+ out_dir = os.environ.get(+ "WAN_VIS_CAUSAL_MASK_DIR", os.path.join("outputs", "causal_mask_vis")+ )+ try:+ saved_path = visualize_causal_mask(+ mode=mode,+ num_frames=int(x.shape[2]),+ num_frame_per_block=self.num_frame_per_block,+ local_attn_size=self.local_attn_size,+ sink_size=self.sink_size,+ independent_first_frame=bool(self.independent_first_frame),+ out_dir=out_dir,+ )+ logging.info(+ "[causal_mask_vis] saved %s mask (num_frames=%d, num_frame_per_block=%d, local_attn_size=%d, sink_size=%d, independent_first_frame=%s) -> %s",+ mode,+ int(x.shape[2]),+ self.num_frame_per_block,+ self.local_attn_size,+ self.sink_size,+ bool(self.independent_first_frame),+ saved_path,+ )+ except Exception as _e:+ logging.warning("[causal_mask_vis] failed: %s", _e)+ self._causal_mask_vis_done.add(vis_key)+ x = [self.patch_embedding(u.unsqueeze(0)) for u in x]+ grid_sizes = torch.stack([torch.tensor(u.shape[2:], dtype=torch.long) for u in x])+ x = [u.flatten(2).transpose(1, 2) for u in x]+ seq_lens = torch.tensor([u.size(1) for u in x], dtype=torch.long)+ x = torch.cat(+ [torch.cat([u, u.new_zeros(1, seq_lens[0] - u.size(1), u.size(2))], dim=1) for u in x]+ )+ e = self.time_embedding(sinusoidal_embedding_1d(self.freq_dim, t.flatten()).type_as(x))+ e0 = self.time_projection(e).unflatten(1, (6, self.dim)).unflatten(dim=0, sizes=t.shape)+ context_lens = None+ context = self.text_embedding(+ torch.stack(+ [torch.cat([u, u.new_zeros(self.text_len - u.size(0), u.size(1))]) for u in context]+ )+ )+ clean_patch_embedding = self.patch_embedding+ clean_x = [clean_patch_embedding(u.unsqueeze(0)) for u in clean_x]+ clean_x = [u.flatten(2).transpose(1, 2) for u in clean_x]+ seq_lens_clean = torch.tensor([u.size(1) for u in clean_x], dtype=torch.long)+ clean_x = torch.cat(+ [+ torch.cat([u, u.new_zeros(1, seq_lens_clean[0] - u.size(1), u.size(2))], dim=1)+ for u in clean_x+ ]+ )+ x = torch.cat([clean_x, x], dim=1)+ aug_t = torch.zeros_like(t)+ e_clean = self.time_embedding(+ sinusoidal_embedding_1d(self.freq_dim, aug_t.flatten()).type_as(x)+ )+ e0_clean = (+ self.time_projection(e_clean)+ .unflatten(1, (6, self.dim))+ .unflatten(dim=0, sizes=t.shape)+ )+ e0 = torch.cat([e0_clean, e0], dim=1)+ kwargs = {+ "e": e0,+ "seq_lens": seq_lens,+ "grid_sizes": grid_sizes,+ "freqs": self.freqs,+ "context": context,+ "context_lens": context_lens,+ "block_mask": self.block_mask,+ }++ def create_custom_forward(module):++ def custom_forward(*inputs, **kwargs):+ return module(*inputs, **kwargs)++ return custom_forward++ for block in self.blocks:+ if torch.is_grad_enabled() and self.gradient_checkpointing:+ x = torch.utils.checkpoint.checkpoint(+ create_custom_forward(block), x, **kwargs, use_reentrant=False+ )+ else:+ x = block(x, **kwargs)+ x = x[:, x.shape[1] // 2 :]+ x = self.head(x, e.unflatten(dim=0, sizes=t.shape).unsqueeze(2))+ x = self.unpatchify(x, grid_sizes)+ return torch.stack(x)++ def forward(self, *args, **kwargs):+ if kwargs.get("kv_cache", None) is not None:+ return self._forward_inference(*args, **kwargs)+ else:+ return self._forward_train(*args, **kwargs)++ def unpatchify(self, x, grid_sizes):+ """+ Reconstruct video tensors from patch embeddings.++ Args:+ x (List[Tensor]):+ List of patchified features, each with shape [L, C_out * prod(patch_size)]+ grid_sizes (Tensor):+ Original spatial-temporal grid dimensions before patching,+ shape [B, 3] (3 dimensions correspond to F_patches, H_patches, W_patches)++ Returns:+ List[Tensor]:+ Reconstructed video tensors with shape [C_out, F, H / 8, W / 8]+ """+ c = self.out_dim+ out = []+ for u, v in zip(x, grid_sizes.tolist(), strict=False):+ u = u[: math.prod(v)].view(*v, *self.patch_size, c)+ u = torch.einsum("fhwpqrc->cfphqwr", u)+ u = u.reshape(c, *[i * j for i, j in zip(v, self.patch_size, strict=False)])+ out.append(u)+ return out++ def init_weights(self):+ """+ Initialize model parameters using Xavier initialization.+ """+ for m in self.modules():+ if isinstance(m, nn.Linear):+ nn.init.xavier_uniform_(m.weight)+ if m.bias is not None:+ nn.init.zeros_(m.bias)+ nn.init.xavier_uniform_(self.patch_embedding.weight.flatten(1))+ for m in self.text_embedding.modules():+ if isinstance(m, nn.Linear):+ nn.init.normal_(m.weight, std=0.02)+ for m in self.time_embedding.modules():+ if isinstance(m, nn.Linear):+ nn.init.normal_(m.weight, std=0.02)+ nn.init.zeros_(self.head.head.weight)diff --git a/src/utils/causal_rope.py b/src/utils/causal_rope.pynew file mode 100644index 0000000..50e201c--- /dev/null+++ b/src/utils/causal_rope.py@@ -0,0 +1,92 @@+import torch+++def rope_time_delta_multiply(k_chunk: torch.Tensor, freqs: torch.Tensor, delta_frames: int) -> None:+ """+ k_chunk: [B, L_sink, H, D] (view of the sink portion of K, with RoPE already applied)+ freqs : [1024, C/2] complex (self.freqs)+ delta_frames: how many frames to shift the sink to the left (negative) / right (positive)+ In-place, multiplies only the time-axis channels by exp(i * ω * delta_frames)+ """+ if delta_frames == 0:+ return++ B, L, H, D = k_chunk.shape+ assert D % 2 == 0+ c = D // 2+ t_c = c - 2 * (c // 3) # time channel complex dim+ h_c = c // 3+ w_c = c // 3+ # freqs -> time / height / width split+ freqs_t, _, _ = freqs.split([t_c, h_c, w_c], dim=1) # [1024, t_c], complex++ # Complex rotation factor corresponding to the delta (for the time axis)+ shift = abs(int(delta_frames))+ max_pos = freqs_t.shape[0] - 1+ if shift > max_pos:+ shift = max_pos+ mult = freqs_t[shift] if delta_frames >= 0 else torch.conj(freqs_t[shift])+ mult = mult.view(1, 1, 1, t_c) # [1,1,1,t_c]++ # Convert only the time-axis channels to complex and multiply (in-place)+ time_ri = k_chunk[..., : 2 * t_c] # [B,L,H,2*t_c]+ time_cx = torch.view_as_complex(time_ri.to(torch.float64).reshape(-1, t_c, 2)) # [(B*L*H), t_c]+ time_cx = time_cx * mult.to(time_cx.dtype) # delta rotate+ time_ri_new = torch.view_as_real(time_cx).reshape(B, L, H, t_c, 2).flatten(-2) # [B,L,H,2*t_c]+ time_ri.copy_(time_ri_new.to(time_ri.dtype)) # in-place+++def causal_rope_apply(x, grid_sizes, freqs, start_frame=0, relative_frame_indices=None):+ """+ Apply causal RoPE (Rotary Position Embedding) to input tensor. Adapted from Infinity-RoPE (https://arxiv.org/abs/2511.20649)++ Args:+ x: Input tensor of shape [B, L, num_heads, head_dim]+ grid_sizes: Tensor of shape [B, 3] containing (F, H, W)+ freqs: RoPE frequencies+ start_frame: Starting frame index for sequential RoPE (default: 0)+ relative_frame_indices: Optional tensor of shape [F] specifying explicit frame indices+ for Block-Relativistic RoPE. If provided, overrides start_frame.+ """+ n, c = x.size(2), x.size(3) // 2++ # split freqs+ freqs = freqs.split([c - 2 * (c // 3), c // 3, c // 3], dim=1)++ # loop over samples+ output = []++ for i, (f, h, w) in enumerate(grid_sizes.tolist()):+ # override f with the length of provided relative frame indices for Block-Relativistic RoPE+ if relative_frame_indices is not None:+ f = len(relative_frame_indices)++ seq_len = f * h * w++ # precompute multipliers+ x_i = torch.view_as_complex(x[i, :seq_len].to(torch.float64).reshape(seq_len, n, -1, 2))++ # Use relative_frame_indices if provided (Block-Relativistic RoPE),+ # otherwise use sequential indices starting from start_frame+ if relative_frame_indices is not None:+ # relative_frame_indices should be a tensor of shape [f] with explicit frame indices+ frame_indices = relative_frame_indices.long()+ else:+ frame_indices = slice(start_frame, start_frame + f)++ freqs_i = torch.cat(+ [+ freqs[0][frame_indices].view(f, 1, 1, -1).expand(f, h, w, -1),+ freqs[1][:h].view(1, h, 1, -1).expand(f, h, w, -1),+ freqs[2][:w].view(1, 1, w, -1).expand(f, h, w, -1),+ ],+ dim=-1,+ ).reshape(seq_len, 1, -1)++ # apply rotary embedding+ x_i = torch.view_as_real(x_i * freqs_i).flatten(2)+ x_i = torch.cat([x_i, x[i, seq_len:]])++ # append to collection+ output.append(x_i)+ return torch.stack(output).type_as(x)diff --git a/src/utils/checkpoint_state.py b/src/utils/checkpoint_state.pynew file mode 100644index 0000000..949ee87--- /dev/null+++ b/src/utils/checkpoint_state.py@@ -0,0 +1,35 @@+"""Lightweight checkpoint state-dict key normalization."""++from __future__ import annotations++from collections.abc import Mapping+from typing import Any+++def normalize_generator_fsdp_key(key: str) -> str:+ """Map supported inner/outer FSDP generator namespaces to canonical keys."""++ while key.startswith("_fsdp_wrapped_module."):+ key = key[len("_fsdp_wrapped_module.") :]+ while "._fsdp_wrapped_module." in key:+ key = key.replace("._fsdp_wrapped_module.", ".")+ return key+++def normalize_generator_fsdp_state_dict(+ state_dict: Mapping[str, Any],+) -> dict[str, Any]:+ """Return a generator state dict using the unwrapped canonical namespace."""++ normalized: dict[str, Any] = {}+ origins: dict[str, str] = {}+ for key, value in state_dict.items():+ canonical = normalize_generator_fsdp_key(key)+ if canonical in normalized:+ raise ValueError(+ "FSDP checkpoint key normalization collision for "+ f"{origins[canonical]!r} and {key!r} -> {canonical!r}."+ )+ normalized[canonical] = value+ origins[canonical] = key+ return normalizeddiff --git a/src/utils/ckpt_cache.py b/src/utils/ckpt_cache.pynew file mode 100644index 0000000..fb9e3ee--- /dev/null+++ b/src/utils/ckpt_cache.py@@ -0,0 +1,368 @@+"""Local NVMe staging + loading helpers for slow-filesystem-backed checkpoints.++Why this module exists+----------------------++Repeated checkpoint reads from network or FUSE filesystems can be slow.+Training initialization and inference share these helpers to stage checkpoint+files in a local cache and reuse them across runs.++What it does+------------++* :func:`stage_ckpt_to_local` optionally copies a checkpoint file or its+ regular sibling files to a local cache root and returns the resulting path.+ Callers can choose their own ``torch.load`` semantics.+* :func:`load_ckpt` is the convenience wrapper used by training and inference:+ stages, then ``torch.load(..., mmap=True, weights_only=True)`` with a+ graceful fallback chain and explicit timing logs.++Both honour the same env vars:++* ``WAN_CKPT_LOCAL_CACHE`` - cache root (default+ ``/tmp/wan-ckpt-cache``).+* ``WAN_CKPT_LOCAL_CACHE_ENABLE`` - set to ``0`` / ``false`` to bypass+ staging entirely.+* ``WAN_CKPT_LOCAL_CACHE_BUDGET_GIB`` - LRU eviction budget in GiB+ (default 200).+* ``WAN_CKPT_REMOTE_PREFIXES`` - optional comma-separated list of+ path prefixes whose checkpoints should be staged. When **unset**,+ staging applies to *every* source path outside the cache root.+ When set, only paths starting+ with one of the prefixes are staged - useful if some of your+ checkpoints already live on fast local disk and you want to skip the+ copy for those.++Concurrency+-----------++Multiple ranks / processes on the same node may all enter staging at+once. We serialise per-checkpoint via ``fcntl.flock`` on a sibling+lockfile and gate completion on a ``.stage_done`` sentinel file inside+the staged dir. Whoever wins the race performs the copy; everyone else+hits the fast path on wakeup.++Failure handling+----------------++Every external dependency has a fall-through branch that logs a warning+and returns the *original* path. The caller's load will then succeed,+just slowly. This is intentional: a flaky cache must never block a run.+"""++from __future__ import annotations++import logging+import os+import time++import torch++__all__ = [+ "stage_ckpt_to_local",+ "load_ckpt",+]++# --- Configuration (env-driven) ------------------------------------------++_CKPT_LOCAL_CACHE_DIR = os.environ.get("WAN_CKPT_LOCAL_CACHE", "/tmp/wan-ckpt-cache")+_CKPT_LOCAL_CACHE_ENABLE = os.environ.get("WAN_CKPT_LOCAL_CACHE_ENABLE", "1").lower() not in (+ "0",+ "false",+ "no",+)+# Cache budget in GiB; configurable through the environment.+_CKPT_LOCAL_CACHE_BUDGET_BYTES = int(+ float(os.environ.get("WAN_CKPT_LOCAL_CACHE_BUDGET_GIB", "200")) * (1024**3)+)++# Optional whitelist: only paths under one of these prefixes are staged.+# Configure via the comma-separated ``WAN_CKPT_REMOTE_PREFIXES`` env var+# (e.g. ``WAN_CKPT_REMOTE_PREFIXES=/mnt/s3/,/mnt/nfs/``). When unset,+# *every* source path is eligible for staging (we still skip paths that+# are already inside the cache dir, see ``_should_stage`` below).+_REMOTE_FUSE_PREFIX = tuple(+ p for p in os.environ.get("WAN_CKPT_REMOTE_PREFIXES", "").split(",") if p+)+++def _should_stage(path: str) -> bool:+ """Return True iff ``path`` should be copied to the local cache.++ Rules:++ * If staging is disabled via env var -> False.+ * If ``WAN_CKPT_REMOTE_PREFIXES`` is set, only paths under one of the+ configured prefixes are staged. This preserves the original opt-in+ whitelist behaviour for users who want it.+ * Otherwise (default), every path is eligible *except* paths that+ already live inside the local cache directory - copying ``cache/x``+ to ``cache/y`` would be pointless and would also break the+ "directory hash -> staged subdir" mapping.+ """+ if not _CKPT_LOCAL_CACHE_ENABLE:+ return False+ if _REMOTE_FUSE_PREFIX:+ return path.startswith(_REMOTE_FUSE_PREFIX)+ # Default: stage everything that isn't already in the cache root.+ try:+ path_abs = os.path.realpath(path)+ cache_abs = os.path.realpath(_CKPT_LOCAL_CACHE_DIR)+ except OSError:+ return True+ return not path_abs.startswith(cache_abs.rstrip("/") + "/")+++def _get_logger(logger):+ """Return a usable logger.++ Callers in ``inference.py`` already have a structured logger; the+ trainer/model code just imports ``logging`` at module level. Accepting+ ``None`` lets us slot into both without forcing every call site to+ construct one.+ """+ return logger if logger is not None else logging.getLogger(__name__)+++# --- Public API ----------------------------------------------------------+++def stage_ckpt_to_local(path: str, *, logger=None, copy_siblings: bool = True) -> str:+ """Mirror a slow-filesystem-backed checkpoint to a local cache; return new path.++ Staging is enabled by default (``WAN_CKPT_LOCAL_CACHE_ENABLE=1``) and+ applies to every source path unless ``WAN_CKPT_REMOTE_PREFIXES`` is+ set, in which case only paths under one of the configured prefixes+ are staged. Paths that already live inside the cache root are+ returned as-is to avoid self-copies. See :func:`_should_stage` for+ the full predicate.++ When staging applies:++ 1. With ``copy_siblings=True`` (the trainer default), hash the parent+ directory and copy every regular sibling so warm-start EMA lookup sees+ the complete checkpoint. With ``False`` (used by inference), hash the+ parent plus selected filename and copy only that file.+ 3. Write ``.stage_done`` to mark completion; subsequent calls hit the+ fast path and ``utime`` the sentinel so LRU reflects "most+ recently *used*" rather than "most recently *fetched*".+ 4. After a successful stage, evict oldest staged dirs until the cache+ size is back under :data:`_CKPT_LOCAL_CACHE_BUDGET_BYTES`.++ On any error (copy failure, disk full, ...) returns the original+ ``path`` so the caller's ``torch.load`` still works.+ """+ log = _get_logger(logger)++ if not _should_stage(path):+ return path++ import fcntl+ import hashlib+ import shutil++ src_dir = os.path.dirname(path)+ fname = os.path.basename(path)+ scope_key = src_dir if copy_siblings else f"{src_dir}\0{fname}"+ dir_key = hashlib.sha1(scope_key.encode("utf-8")).hexdigest()[:16]+ scope_suffix = (+ os.path.basename(src_dir) if copy_siblings else f"{os.path.basename(src_dir)}__{fname}"+ )+ cache_subdir = os.path.join(_CKPT_LOCAL_CACHE_DIR, f"{dir_key}__{scope_suffix}")+ sentinel = os.path.join(cache_subdir, ".stage_done")+ lock_path = os.path.join(_CKPT_LOCAL_CACHE_DIR, f".{dir_key}.lock")+ staged_path = os.path.join(cache_subdir, fname)++ try:+ os.makedirs(_CKPT_LOCAL_CACHE_DIR, exist_ok=True)+ except OSError as e:+ log.warning(+ f"[ckpt-cache] cannot create cache dir {_CKPT_LOCAL_CACHE_DIR} "+ f"({e}); falling back to source path."+ )+ return path++ # Fast path: directory already staged.+ if os.path.isfile(sentinel) and os.path.isfile(staged_path):+ try:+ os.utime(sentinel, None) # bump LRU mtime+ except OSError:+ pass+ log.info(f"[ckpt-cache] hit: {staged_path}")+ return staged_path++ log.info(+ f"[ckpt-cache] staging {src_dir} -> {cache_subdir} "+ f"(once per ckpt; reused on subsequent runs)"+ )+ _t = time.perf_counter()+ os.makedirs(cache_subdir, exist_ok=True)+ with open(lock_path, "w") as lf:+ fcntl.flock(lf.fileno(), fcntl.LOCK_EX)+ try:+ # Re-check after lock acquisition: a sibling rank may have+ # finished while we were waiting.+ if os.path.isfile(sentinel) and os.path.isfile(staged_path):+ log.info(+ "[ckpt-cache] another process finished staging while "+ f"we waited; using {staged_path}"+ )+ else:+ try:+ if copy_siblings:+ for entry in os.scandir(src_dir):+ if not entry.is_file(follow_symlinks=False):+ continue+ shutil.copy2(entry.path, os.path.join(cache_subdir, entry.name))+ else:+ shutil.copy2(path, staged_path)+ except OSError as e:+ log.warning(+ f"[ckpt-cache] copy failed ({e}); falling back to source path {path}"+ )+ return path+ if not os.path.isfile(staged_path):+ log.warning(+ f"[ckpt-cache] expected staged file {staged_path} "+ f"missing after copy; falling back to {path}"+ )+ return path+ with open(sentinel, "w") as f:+ f.write(f"staged {src_dir} -> {cache_subdir}\n")+ finally:+ fcntl.flock(lf.fileno(), fcntl.LOCK_UN)++ dt = time.perf_counter() - _t+ try:+ sz = os.path.getsize(staged_path) / (1024**3)+ rate = f", {sz * 1024 / dt:.0f} MiB/s" if dt > 0 else ""+ log.info(f"[ckpt-cache] staged {sz:.1f} GiB in {dt:.1f}s{rate} -> {staged_path}")+ except OSError:+ log.info(f"[ckpt-cache] staged in {dt:.1f}s -> {staged_path}")++ _evict_ckpt_cache_lru(logger=log, keep_subdir=cache_subdir)+ return staged_path+++def load_ckpt(+ path: str,+ *,+ logger=None,+ label: str = "ckpt",+ map_location: str = "cpu",+) -> dict:+ """Stage to local NVMe (if remote) and ``torch.load`` with mmap fallback.++ Convenience wrapper for callers that want the full inference-style+ fast path:++ - ``mmap=True`` so tensor storages are demand-paged from the file+ rather than copied into Python memory up-front.+ - ``weights_only=True`` skips arbitrary pickle execution. Falls back+ to ``weights_only=False`` if the file contains non-tensor objects+ (older checkpoints occasionally do), then to a non-mmap full-read+ if mmap fails for any reason.++ Callers that need to control the load flags themselves (e.g. trainer+ code that wants a full-read for predictable timing) should call+ :func:`stage_ckpt_to_local` directly and run their own ``torch.load``.+ """+ log = _get_logger(logger)++ path = stage_ckpt_to_local(path, logger=log, copy_siblings=False)++ file_size_mb: float | None = None+ try:+ file_size_mb = os.path.getsize(path) / (1024 * 1024)+ except OSError:+ pass++ size_str = f" ({file_size_mb:.1f} MiB)" if file_size_mb is not None else ""+ log.info(f"[ckpt] Loading {label} from {path}{size_str}")+ t0 = time.perf_counter()++ try:+ blob = torch.load(path, map_location=map_location, mmap=True, weights_only=True)+ mode = "mmap+weights_only"+ except Exception as e_safe: # noqa: BLE001+ log.warning(+ f"[ckpt] weights_only=True load failed ({type(e_safe).__name__}: "+ f"{e_safe}); retrying without it."+ )+ try:+ blob = torch.load(path, map_location=map_location, mmap=True, weights_only=False)+ mode = "mmap"+ except Exception as e_mmap: # noqa: BLE001+ log.warning(+ f"[ckpt] mmap=True load failed ({type(e_mmap).__name__}: "+ f"{e_mmap}); retrying with full read."+ )+ blob = torch.load(path, map_location=map_location, weights_only=False)+ mode = "full-read"++ dt = time.perf_counter() - t0+ rate = f", {file_size_mb / dt:.1f} MiB/s" if file_size_mb is not None and dt > 0 else ""+ log.info(f"[ckpt] {label} loaded in {dt:.2f}s [{mode}]{rate}")+ return blob+++# --- Internal: LRU eviction ----------------------------------------------+++def _evict_ckpt_cache_lru(*, logger, keep_subdir: str | None = None) -> None:+ """LRU-evict staged ckpt dirs until total size <= budget.++ Order is by ``.stage_done`` mtime, oldest first. ``keep_subdir`` is+ never evicted (typically the one we just staged). Best-effort: any+ I/O error during scanning or removal is logged and ignored.+ """+ try:+ entries: list[tuple[float, str, int]] = [] # (mtime, dir, bytes)+ with os.scandir(_CKPT_LOCAL_CACHE_DIR) as it:+ for de in it:+ if not de.is_dir(follow_symlinks=False):+ continue+ sub = de.path+ sentinel = os.path.join(sub, ".stage_done")+ if not os.path.isfile(sentinel):+ continue # in-progress or unrelated; skip+ try:+ mt = os.path.getmtime(sentinel)+ except OSError:+ continue+ total = 0+ for root, _, files in os.walk(sub):+ for fn in files:+ try:+ total += os.path.getsize(os.path.join(root, fn))+ except OSError:+ pass+ entries.append((mt, sub, total))+ except FileNotFoundError:+ return++ total_bytes = sum(e[2] for e in entries)+ if total_bytes <= _CKPT_LOCAL_CACHE_BUDGET_BYTES:+ return++ import shutil as _shutil++ entries.sort(key=lambda e: e[0]) # oldest first+ budget = _CKPT_LOCAL_CACHE_BUDGET_BYTES+ over = total_bytes - budget+ logger.info(+ f"[ckpt-cache] LRU eviction: {total_bytes / 1024**3:.1f} GiB > "+ f"{budget / 1024**3:.1f} GiB budget, freeing "+ f"{over / 1024**3:.1f} GiB"+ )+ for _mt, sub, sz in entries:+ if total_bytes <= budget:+ break+ if keep_subdir is not None and os.path.realpath(sub) == os.path.realpath(keep_subdir):+ continue+ try:+ _shutil.rmtree(sub)+ total_bytes -= sz+ logger.info(f"[ckpt-cache] evicted {sub} ({sz / 1024**3:.1f} GiB)")+ except OSError as e:+ logger.warning(f"[ckpt-cache] failed to evict {sub}: {e}")diff --git a/src/utils/cli.py b/src/utils/cli.pynew file mode 100644index 0000000..15f8a25--- /dev/null+++ b/src/utils/cli.py@@ -0,0 +1,35 @@+"""Model-free path conventions for training and inference entry points."""++from pathlib import Path++PROJECT_ROOT = Path(__file__).resolve().parents[2]+CONFIGS_DIR = PROJECT_ROOT / "configs"+++def resolve_config_path(arg: str) -> Path:+ """Bare stems use configs/; relative config paths use the project root."""+ if not isinstance(arg, str) or not arg.strip():+ raise ValueError("config_path must be a nonempty path or config stem")+ path = Path(arg)+ if path.is_absolute():+ candidate = path+ elif "/" in arg or path.suffix.lower() in (".yaml", ".yml"):+ candidate = PROJECT_ROOT / path+ else:+ candidate = CONFIGS_DIR / f"{arg}.yaml"+ if not candidate.is_file():+ raise FileNotFoundError(f"config_path: file not found: {candidate}")+ return candidate.resolve()+++def derive_expdir(config_path: Path) -> str:+ """Derive experiment paths using flat dash-split and nested config layouts."""+ path = config_path.resolve()+ try:+ relative = path.relative_to(CONFIGS_DIR)+ except ValueError:+ return str(PROJECT_ROOT / "outputs" / path.stem)+ if relative.parent == Path(".") and "-" in path.stem:+ method, setting = path.stem.split("-", 1)+ return str(PROJECT_ROOT / "outputs" / method / setting)+ return str(PROJECT_ROOT / "outputs" / relative.with_suffix(""))diff --git a/src/utils/config.py b/src/utils/config.pynew file mode 100644index 0000000..49ba871--- /dev/null+++ b/src/utils/config.py@@ -0,0 +1,199 @@+"""Shared YAML/dotlist/flag resolution before any runtime side effects."""++import argparse+import os+import re+from dataclasses import dataclass+from pathlib import Path++from omegaconf import DictConfig, OmegaConf++from src.utils.cli import PROJECT_ROOT, derive_expdir, resolve_config_path+from src.utils.config_schema import validate_names+from src.utils.config_validation import validate_config+++@dataclass(frozen=True)+class ResolvedConfig:+ public: DictConfig+ config_path: Path+ dry_run: bool++ @property+ def model_cls(self) -> str:+ return "PredictiveFlowMatching" if self.public.future_prediction.enabled else "FlowMatching"++ @property+ def model_internal_kwargs(self) -> dict:+ return {+ "use_predictive_causal_model": self.public.future_prediction.enabled,+ "use_infinite_rope": self.public.model_name.startswith("Wan2.1-"),+ }+++def build_parser(*, training: bool) -> argparse.ArgumentParser:+ parser = argparse.ArgumentParser(+ description="Looking-Ahead training"+ if training+ else "Looking-Ahead text + image/video-prefix inference",+ allow_abbrev=False,+ argument_default=argparse.SUPPRESS,+ )+ parser.add_argument(+ "--config_path",+ "--config",+ required=True,+ help="Config stem under configs/, project-relative path, or absolute path",+ )+ parser.add_argument("--exp_dir", "--expdir", dest="expdir")+ parser.add_argument(+ "--dry_run",+ action="store_true",+ help="Validate and print the final public config; no snapshots/model/data/GPU",+ )+ if training:+ parser.add_argument("--no_save", action="store_true")+ parser.add_argument("--no_visualize", action="store_true")+ parser.add_argument("--disable_wandb", "--disable-wandb", action="store_true")+ parser.add_argument("--wandb_save_dir", "--wandb-save-dir")+ else:+ parser.add_argument("--checkpoint_path", "--ckpt")+ parser.add_argument("--checkpoint_name", "--ckpt_name")+ parser.add_argument("--output_path")+ parser.add_argument("--data_path", "--data", help="External-image metadata directory")+ parser.add_argument(+ "--image_path",+ help="One first-frame image; requires --prompt or --prompt_file, no JSON",+ )+ prompts = parser.add_mutually_exclusive_group()+ prompts.add_argument(+ "--prompt", help="Text and motion description for --image_path or --video_path"+ )+ prompts.add_argument(+ "--prompt_file", help="UTF-8 .txt prompt for --image_path or --video_path"+ )+ parser.add_argument("--duration", help="Positive whole duration, e.g. 5s, 1m, 1h")+ parser.add_argument("--num_output_frames", type=int)+ parser.add_argument(+ "--video_path", help="One video prefix; requires a prompt and context length"+ )+ parser.add_argument(+ "--v2v", action="store_true", help="Continue a clean video-latent prefix"+ )+ parser.add_argument(+ "--v2v_context_latents",+ type=int,+ help="Context length in latent frames; omit with --video_path to select the longest valid tail",+ )+ parser.add_argument("--seed", type=int)+ parser.add_argument("--test_sample_limit", type=int)+ parser.add_argument(+ "--i2v",+ action="store_true",+ help="Supply text + C0 for metadata/latent input; implicit with --image_path",+ )+ parser.add_argument(+ "--use_train_data",+ action="store_true",+ help="Use the first clean latent frame of one configured finite source",+ )+ parser.add_argument(+ "--train_data_source_id",+ "--train-data-source-id",+ dest="inference_train_data_source_id",+ )+ parser.add_argument(+ "--sink_size",+ "--sink",+ dest="model_kwargs.sink_size",+ type=int,+ help="Retained prefix length in latent frames",+ )+ weights = parser.add_mutually_exclusive_group()+ weights.add_argument("--use_ema", "--ema", dest="use_ema", action="store_true")+ weights.add_argument("--no_ema", dest="use_ema", action="store_false")+ return parser+++def _layer(config, label):+ data = OmegaConf.to_container(config, resolve=False)+ try:+ validate_names(data)+ except ValueError as error:+ raise ValueError(f"{label}: {error}") from error+ return config+++def _dotlist(tokens):+ layers = []+ for token in tokens:+ key, separator, _ = token.partition("=")+ if not separator or not re.fullmatch(+ r"[A-Za-z_][A-Za-z_0-9]*(\.[A-Za-z_][A-Za-z_0-9]*)*", key+ ):+ raise ValueError(f"Invalid argument {token!r}; use a registered flag or key=value")+ # Each occurrence is checked, even if the same key is overridden later.+ layers.append(_layer(OmegaConf.from_dotlist([token]), token))+ return layers+++def resolve_config(+ argv=None, *, training: bool, action: str | None = None, world_size: int | None = None+) -> ResolvedConfig:+ parser = build_parser(training=training)+ args, tokens = parser.parse_known_args(argv)+ flags = vars(args).copy()+ path = resolve_config_path(flags.pop("config_path"))+ dry_run = flags.pop("dry_run", False)+ defaults = _layer(OmegaConf.load(PROJECT_ROOT / "configs/default_config.yaml"), "defaults")+ recipe = _layer(OmegaConf.load(path), str(path))+ action_defaults = (+ {}+ if training+ else {+ "seed": 42,+ "test_sample_limit": 32 if action == "test" else -1,+ "image_path": None,+ "prompt": None,+ "prompt_file": None,+ "video_path": None,+ "v2v": False,+ "v2v_context_latents": None,+ "model_kwargs": {"sink_size": 3},+ }+ )+ explicit = OmegaConf.create({})+ for key, value in flags.items():+ OmegaConf.update(explicit, key, value, merge=True)+ layers = [defaults, OmegaConf.create(action_defaults), recipe, *_dotlist(tokens), explicit]+ merged = OmegaConf.merge(*layers)+ data = OmegaConf.to_container(merged, resolve=True, throw_on_missing=True)+ validate_names(data)+ if world_size is None:+ # Parent WORLD_SIZE denotes nodes; only worker WORLD_SIZE denotes processes.+ world_size = int(os.environ.get("WORLD_SIZE", "1")) if "LOCAL_RANK" in os.environ else 1+ validate_config(data, training=training, world_size=world_size)+ if (+ not training+ and not data["use_train_data"]+ and (action is not None or "LOCAL_RANK" in os.environ)+ ):+ raise ValueError(+ "i2v: external-image input requires direct non-distributed Python execution"+ )+ if training and os.environ.get("DEBUG") == "1":+ data["disable_wandb"] = True+ data["expdir"] = data["expdir"] if data["expdir"] is not None else derive_expdir(path)+ if data["wandb_save_dir"] is None:+ data["wandb_save_dir"] = str(Path(data["expdir"]) / "wandb")+ data["config_name"] = path.stem+ if training:+ for key, child in (+ ("checkpoint_dir", "checkpoints"),+ ("snapshot_dir", "snapshots"),+ ("log_dir", "logs"),+ ):+ data[key] = str(Path(data["expdir"]) / child)+ public = OmegaConf.create(data)+ OmegaConf.set_struct(public, True)+ return ResolvedConfig(public, path, dry_run)diff --git a/src/utils/config_schema.py b/src/utils/config_schema.pynew file mode 100644index 0000000..a6c338e--- /dev/null+++ b/src/utils/config_schema.py@@ -0,0 +1,64 @@+"""Public input boundary for the selected TF/FCP workflows.++Only names belong here: validate every input layer before merging, so a later+override cannot hide a removed control. Value/combination checks run on the final+configuration. Lists are fields, never dotlist-indexable containers.+"""++SCHEMA = dict.fromkeys(+ """+model_name load_diffusion_pretrained generator_fsdp_sync_module_states+independent_first_frame condition_only_first_frame optimizer lr_warmup_steps+lr_drop_steps lr_drop_gamma i2v gc_interval timestep_bucket_log_interval seed+wds_sample_shuffle wds_sample_shuffle_initial inference_train_data_source_id+max_iters snapshot_iters checkpoint_path resume_checkpoint_path save_resume_checkpoint+batch_size val_batch_size test_sample_limit caption_dropout_p negative_prompt+max_grad_norm separate_predictive_grad_clip max_predictive_grad_norm max_checkpoints+ema_checkpoint_mode ema_weight ema_start_step timestep_shift guidance_scale+mixed_precision wandb_host wandb_entity wandb_project sharding_strategy log_iters+num_workers image_or_video_shape gradient_checkpointing num_frame_per_block+data_path annotation_path fps generator_ckpt require_raw_generator_checkpoint+sampling_steps sample_solver val_num_workers no_save no_visualize disable_wandb+expdir wandb_save_dir checkpoint_name output_path duration num_output_frames+use_ema use_train_data long_inference_threshold vae_decode_chunk image_path prompt prompt_file+v2v v2v_context_latents video_path+""".split()+)+SCHEMA.update(+ {+ "optimizer_config": {"adamw": dict.fromkeys(["lr", "beta1", "beta2", "weight_decay"])},+ "model_kwargs": dict.fromkeys(["timestep_shift", "sink_size", "local_attn_size"]),+ "future_prediction": {+ **dict.fromkeys(+ """enabled future_offsets offset_loss_weights source_layers+ mini_dit_depth init_mode init_source aux_future_timestep_range+ aux_future_timestep_shift""".split()+ ),+ "source_context": {"streams": None},+ "source_layer_fusion": dict.fromkeys(["mode", "activation", "hidden_ratio"]),+ },+ "data_sources": [dict.fromkeys(["id", "data_path", "annotation_path", "weight"])],+ # Public FSDP wrapping strategies remain configurable.+ "generator_fsdp_wrap_strategy": None,+ "text_encoder_fsdp_wrap_strategy": None,+ }+)+++def validate_names(data: dict, schema: dict = SCHEMA, prefix: str = "") -> None:+ if not isinstance(data, dict):+ raise ValueError(f"{prefix or 'configuration'} must be a mapping")+ for key, value in data.items():+ path = f"{prefix}.{key}" if prefix else str(key)+ if key not in schema:+ raise ValueError(f"{path}: unknown, removed, fixed or derived public field")+ child = schema[key]+ if isinstance(child, dict):+ validate_names(value, child, path)+ elif isinstance(child, list):+ if value is None:+ continue # A null default is allowed; active data routes require a list.+ if not isinstance(value, list):+ raise ValueError(f"{path} must be a list of mappings")+ for index, entry in enumerate(value):+ validate_names(entry, child[0], f"{path}[{index}]")diff --git a/src/utils/config_validation.py b/src/utils/config_validation.pynew file mode 100644index 0000000..8e0a447--- /dev/null+++ b/src/utils/config_validation.py@@ -0,0 +1,436 @@+"""Configuration-only validation for TF/FCP workflows.++No dataset, checkpoint, model, distributed group or CUDA is initialized here.+The narrow auxiliary range check uses a CPU timestep table to preserve the scheduler's+float32 endpoint semantics; the usual full range needs no tensor imports.+"""++import math+import re++# channels, backbone blocks, hidden width, FPS; these are family facts, not recipes.+FAMILIES = {+ "Wan2.1-T2V-1.3B": (16, 30, 1536, 16),+ "Wan2.1-T2V-14B": (16, 40, 5120, 16),+ "Wan2.2-TI2V-5B": (48, 30, 3072, 24),+}+++def fail(field, rule):+ raise ValueError(f"{field}: {rule}")+++def integer(value, field, minimum=None):+ if type(value) is not int or (minimum is not None and value < minimum):+ fail(+ field,+ f"must be a non-boolean integer >= {minimum}"+ if minimum is not None+ else "must be a non-boolean integer",+ )+ return value+++def number(value, field, minimum=None, maximum=None, *, strict_min=False, strict_max=False):+ if isinstance(value, bool) or not isinstance(value, (int, float)) or not math.isfinite(value):+ fail(field, "must be a finite non-boolean number")+ if minimum is not None and (value < minimum or (strict_min and value == minimum)):+ fail(field, f"must be {'>' if strict_min else '>='} {minimum}")+ if maximum is not None and (value > maximum or (strict_max and value == maximum)):+ fail(field, f"must be {'<' if strict_max else '<='} {maximum}")+ return value+++def string(value, field, *, nullable=False, empty=False):+ if nullable and value is None:+ return+ if not isinstance(value, str) or (not empty and not value.strip()):+ fail(field, "must be a string" if empty else "must be a nonempty string")+++def choice(value, field, choices):+ if value not in choices:+ fail(field, f"must be one of {', '.join(map(str, choices))}")+++def items(value, field, *, nonempty=False):+ if not isinstance(value, list) or (nonempty and not value):+ fail(field, "must be a nonempty list" if nonempty else "must be a list")+ return value+++def increasing(values, field, *, minimum=0, nonempty=False):+ items(values, field, nonempty=nonempty)+ for value in values:+ integer(value, field, minimum)+ if any(left >= right for left, right in zip(values, values[1:], strict=False)):+ fail(field, "must be strictly increasing with no duplicates")+++def validate_sources(config, *, required):+ sources = config.get("data_sources")+ if sources is None and not required:+ return+ items(sources, "data_sources", nonempty=True)+ seen = set()+ for index, source in enumerate(sources):+ prefix = f"data_sources[{index}]"+ source_id = source.get("id", f"source_{index}")+ string(source_id, f"{prefix}.id")+ source_id = source_id.strip()+ if source_id in seen:+ fail(f"{prefix}.id", f"duplicate source ID {source_id!r}")+ seen.add(source_id)+ source["id"] = source_id+ for key in ("data_path", "annotation_path"):+ string(source.get(key), f"{prefix}.{key}")+ if not source["data_path"].rstrip("/\\").lower().endswith("shards"):+ fail(f"{prefix}.data_path", "must name a directory ending in 'shards'")+ number(source.get("weight"), f"{prefix}.weight", 0, strict_min=True)+ if required:+ for key in ("data_path", "annotation_path"):+ if config.get(key) is not None:+ fail(key, "must be null/omitted when using data_sources")+++def validate_auxiliary_range(bounds, shift):+ field = "future_prediction.aux_future_timestep_range"+ items(bounds, field)+ if len(bounds) != 2:+ fail(field, "requires two finite nonnegative endpoints")+ lower, upper = [number(value, field, 0) for value in bounds]+ if lower > upper:+ fail(field, "lower endpoint must not exceed upper endpoint")+ # Every retained training schedule starts at 1000. Avoid importing torch for+ # the reference interval; a narrower interval needs the exact CPU arithmetic.+ if lower <= 1000 <= upper:+ return+ import torch++ sigmas = torch.linspace(1.0, 0.0, 1001, dtype=torch.float32, device="cpu")[:-1]+ timesteps = (shift * sigmas / (1 + (shift - 1) * sigmas)) * 1000+ if not ((timesteps >= lower) & (timesteps <= upper)).any().item():+ fail(field, "closed interval selects no actual training scheduler timestep")+++def validate_future_prediction(config, family, chunks):+ fp = config["future_prediction"]+ prefix = "future_prediction."+ if type(fp["enabled"]) is not bool:+ fail(prefix + "enabled", "must be boolean")+ if fp["enabled"]:+ for field in ("future_offsets", "offset_loss_weights", "source_layers", "mini_dit_depth"):+ if field not in fp:+ fail(+ prefix + field, "is required for FCP; method changes do not construct a recipe"+ )+ offsets = fp.get("future_offsets")+ if "future_offsets" in fp:+ increasing(offsets, prefix + "future_offsets", minimum=1, nonempty=True)+ if offsets[-1] >= chunks:+ fail(prefix + "future_offsets", f"every offset must be below {chunks} regular chunks")+ if "offset_loss_weights" in fp:+ weights = items(fp["offset_loss_weights"], prefix + "offset_loss_weights", nonempty=True)+ if offsets is not None and len(weights) != len(offsets):+ fail(prefix + "offset_loss_weights", "requires one weight per offset")+ for weight in weights:+ number(weight, prefix + "offset_loss_weights", 0)+ if not any(weight > 0 for weight in weights):+ fail(prefix + "offset_loss_weights", "at least one weight must be positive")+ layers = fp.get("source_layers")+ if "source_layers" in fp:+ increasing(layers, prefix + "source_layers", nonempty=True)+ if layers[-1] >= family[1]:+ fail(prefix + "source_layers", f"indices must be below {family[1]}")+ depth = None+ if "mini_dit_depth" in fp:+ depth = integer(fp["mini_dit_depth"], prefix + "mini_dit_depth", 1)+ mode = fp["init_mode"]+ choice(mode, prefix + "init_mode", ("copy", "random"))+ if mode == "random":+ if "init_source" in fp:+ fail(+ prefix + "init_source", "must be absent for random initialization (null is invalid)"+ )+ elif fp["enabled"] or "init_source" in fp:+ if depth is None:+ fail(prefix + "mini_dit_depth", "is required with init_source")+ if "init_source" not in fp:+ if len(layers) != 1:+ fail(prefix + "init_source", "is required for multi-layer copy initialization")+ indices = list(range(layers[0] + 1, layers[0] + 1 + depth))+ else:+ indices = items(fp["init_source"], prefix + "init_source", nonempty=True)+ if len(indices) == 1 and isinstance(indices[0], str):+ match = re.fullmatch(r"\s*(-?\d+)\s*:\s*(-?\d+)\s*", indices[0])+ if not match:+ fail(prefix + "init_source", "range must use start:end (end exclusive)")+ start, end = map(int, match.groups())+ if not 0 <= start < end <= family[1]:+ fail(prefix + "init_source", "range must lie inside backbone blocks")+ indices = list(range(start, end))+ for index in indices:+ integer(index, prefix + "init_source", 0)+ if index >= family[1]:+ fail(prefix + "init_source", f"indices must be below {family[1]}")+ if len(indices) != depth or len(set(indices)) != len(indices):+ fail(prefix + "init_source", "distinct index count must equal mini_dit_depth")+ fp["init_source"] = indices+ fusion = fp["source_layer_fusion"]+ choice(fusion["mode"], prefix + "source_layer_fusion.mode", ("mlp",))+ choice(fusion["activation"], prefix + "source_layer_fusion.activation", ("gelu",))+ ratio = number(+ fusion["hidden_ratio"], prefix + "source_layer_fusion.hidden_ratio", 0, strict_min=True+ )+ if not math.isfinite(ratio * family[2]) or round(ratio * family[2]) <= 0:+ fail(+ prefix + "source_layer_fusion.hidden_ratio", "must produce a positive finite MLP width"+ )+ streams = fp["source_context"].get("streams")+ if streams is None:+ streams = ["noisy"]+ items(streams, prefix + "source_context.streams", nonempty=True)+ if any(not isinstance(value, str) or value not in ("clean", "noisy") for value in streams):+ fail(prefix + "source_context.streams", "only clean and noisy are supported")+ if len(set(streams)) != len(streams):+ fail(prefix + "source_context.streams", "duplicates are not allowed")+ fp["source_context"]["streams"] = [name for name in ("clean", "noisy") if name in streams]+ shift = fp.get("aux_future_timestep_shift", config["model_kwargs"]["timestep_shift"])+ number(shift, prefix + "aux_future_timestep_shift", 0, strict_min=True)+ validate_auxiliary_range(fp["aux_future_timestep_range"], shift)+++def validate_config(config: dict, *, training: bool, world_size: int = 1) -> None:+ """Validate and normalize one final merged public config before side effects."""+ for key in (+ "image_or_video_shape",+ "num_frame_per_block",+ "ema_weight",+ "ema_start_step",+ "mixed_precision",+ "gradient_checkpointing",+ "sharding_strategy",+ "log_iters",+ "num_workers",+ "guidance_scale",+ ):+ if key not in config:+ fail(key, "is required; select a complete training recipe")+ bool_fields = """load_diffusion_pretrained generator_fsdp_sync_module_states+ independent_first_frame condition_only_first_frame i2v mixed_precision gradient_checkpointing+ separate_predictive_grad_clip save_resume_checkpoint require_raw_generator_checkpoint+ no_save no_visualize disable_wandb use_ema use_train_data""".split()+ for key in bool_fields:+ if type(config[key]) is not bool:+ fail(key, "must be boolean")+ model = config["model_name"]+ if not isinstance(model, str) or model not in FAMILIES:+ fail("model_name", f"must be one of {', '.join(FAMILIES)}")+ family = FAMILIES[model]+ positive_ints = """batch_size val_batch_size log_iters gc_interval+ timestep_bucket_log_interval num_frame_per_block sampling_steps+ long_inference_threshold vae_decode_chunk""".split()+ for key in positive_ints:+ integer(config[key], key, 1)+ for key in (+ "num_workers",+ "val_num_workers",+ "lr_warmup_steps",+ "ema_start_step",+ "wds_sample_shuffle",+ "wds_sample_shuffle_initial",+ ):+ integer(config[key], key, 0)+ for key in ("max_iters", "snapshot_iters", "num_output_frames"):+ value = integer(config[key], key)+ if value != -1 and value <= 0:+ fail(key, "must be positive or -1")+ integer(config["test_sample_limit"], "test_sample_limit", -1)+ if config["max_checkpoints"] is not None:+ integer(config["max_checkpoints"], "max_checkpoints")+ seed = integer(config["seed"], "seed", 0)+ integer(world_size, "world_size", 1)+ if seed > 2**32 - 1 or (training and (seed == 0 or seed + world_size - 1 > 2**32 - 1)):+ fail("seed", "must fit NumPy uint32 for every rank; training also requires nonzero")+ string(config["optimizer"], "optimizer")+ config["optimizer"] = config["optimizer"].strip().lower()+ choice(config["optimizer"], "optimizer", ("adamw",))+ choice(config["ema_checkpoint_mode"], "ema_checkpoint_mode", ("default",))+ choice(config["sample_solver"], "sample_solver", ("unipc", "dpm++"))+ choice(+ config["sharding_strategy"],+ "sharding_strategy",+ ("full", "hybrid_full", "hybrid_zero2", "no_shard"),+ )+ for key in ("generator_fsdp_wrap_strategy", "text_encoder_fsdp_wrap_strategy"):+ if key in config:+ choice(config[key], key, ("size",))+ adamw = config["optimizer_config"]["adamw"]+ for key in ("lr", "weight_decay"):+ number(adamw[key], f"optimizer_config.adamw.{key}", 0)+ for key in ("beta1", "beta2"):+ number(adamw[key], f"optimizer_config.adamw.{key}", 0, 1, strict_max=True)+ increasing(config["lr_drop_steps"], "lr_drop_steps", minimum=1)+ if any(step <= config["lr_warmup_steps"] for step in config["lr_drop_steps"]):+ fail("lr_drop_steps", "each node must be after lr_warmup_steps")+ number(config["lr_drop_gamma"], "lr_drop_gamma", 0, 1, strict_min=True, strict_max=True)+ number(config["ema_weight"], "ema_weight", 0, 1, strict_max=True)+ number(config["caption_dropout_p"], "caption_dropout_p", 0, 1)+ number(config["guidance_scale"], "guidance_scale", 0)+ number(config["max_grad_norm"], "max_grad_norm", 0, strict_min=True)+ number(config["timestep_shift"], "timestep_shift", 0, strict_min=True)+ number(+ config["model_kwargs"]["timestep_shift"], "model_kwargs.timestep_shift", 0, strict_min=True+ )+ string(config["negative_prompt"], "negative_prompt", empty=True)+ for key in ("wandb_host", "wandb_project"):+ string(config[key], key)+ for key in (+ "wandb_entity",+ "wandb_save_dir",+ "expdir",+ "checkpoint_path",+ "generator_ckpt",+ "resume_checkpoint_path",+ "data_path",+ "annotation_path",+ "output_path",+ "checkpoint_name",+ "inference_train_data_source_id",+ ):+ string(config[key], key, nullable=True)+ shape = items(config["image_or_video_shape"], "image_or_video_shape")+ if len(shape) != 5:+ fail("image_or_video_shape", "must be [B,T,C,H,W]")+ for value in shape:+ integer(value, "image_or_video_shape", 1)+ _, frames, channels, height, width = shape+ if channels != family[0]:+ fail("image_or_video_shape", f"{model} requires C={family[0]}")+ if height % 2 or width % 2:+ fail("image_or_video_shape", "H and W must be divisible by the spatial patch size 2")+ independent = config["independent_first_frame"]+ if config["condition_only_first_frame"] and not independent:+ fail("condition_only_first_frame", "requires independent_first_frame=true")+ regular = frames - int(independent)+ block = config["num_frame_per_block"]+ if regular <= 0 or regular % block:+ fail("image_or_video_shape", "T must contain positive whole regular chunks after C0")+ fps = config.get("fps", family[3])+ number(fps, "fps", 0, strict_min=True)+ if int(fps) != fps:+ fail("fps", "must be integer-valued")+ kwargs = config["model_kwargs"]+ window = integer(kwargs["local_attn_size"], "model_kwargs.local_attn_size")+ if window == -1:+ window = frames+ elif window <= 0:+ fail("model_kwargs.local_attn_size", "must be positive or -1 (automatic)")+ sink = integer(kwargs["sink_size"], "model_kwargs.sink_size", 0)+ if sink + block > window:+ fail("model_kwargs.local_attn_size", "must fit sink_size plus an incoming regular chunk")+ validate_future_prediction(config, family, regular // block)+ predictive = config["future_prediction"]["enabled"]+ separate = config["separate_predictive_grad_clip"]+ if separate and not predictive:+ fail("separate_predictive_grad_clip", "requires future_prediction.enabled=true")+ if separate:+ number(config["max_predictive_grad_norm"], "max_predictive_grad_norm", 0, strict_min=True)+ elif config["max_predictive_grad_norm"] is not None:+ fail("max_predictive_grad_norm", "must be null/absent when separate clipping is off")+ if config["save_resume_checkpoint"] and config["no_save"]:+ fail("save_resume_checkpoint", "cannot be enabled with no_save=true")+ single_image = config.get("image_path") is not None+ if training:+ for key in (+ "image_path",+ "video_path",+ "prompt",+ "prompt_file",+ "v2v",+ "v2v_context_latents",+ ):+ if key in config:+ fail(key, "is an inference-only input")+ else:+ string(config.get("image_path"), "image_path", nullable=True)+ string(config.get("prompt"), "prompt", nullable=True)+ string(config.get("prompt_file"), "prompt_file", nullable=True)+ string(config.get("video_path"), "video_path", nullable=True)+ single_video = config.get("video_path") is not None+ if single_image and single_video:+ fail("video_path", "cannot combine with image_path")+ if type(config["v2v"]) is not bool:+ fail("v2v", "must be boolean")+ if single_video:+ config["v2v"] = True+ v2v = config["v2v"]+ if v2v and config["i2v"]:+ fail("v2v", "cannot combine with i2v")+ if v2v and single_image:+ fail("v2v", "cannot combine with image_path")+ if v2v and not (single_video or config["use_train_data"]):+ fail("v2v", "requires video_path or use_train_data=true")+ if single_video:+ if config["data_path"] is not None or config["use_train_data"]:+ fail("video_path", "cannot combine with data_path or use_train_data")+ if config["inference_train_data_source_id"] is not None:+ fail("video_path", "cannot combine with train_data_source_id")+ if not v2v and config["v2v_context_latents"] is not None:+ fail("v2v_context_latents", "requires v2v=true or video_path")+ inline_prompt = config.get("prompt") is not None+ file_prompt = config.get("prompt_file") is not None+ if inline_prompt and file_prompt:+ fail("prompt/prompt_file", "are mutually exclusive; choose only one")+ if file_prompt and not config["prompt_file"].lower().endswith(".txt"):+ fail("prompt_file", "must name a .txt file")+ if (single_image or single_video) != (inline_prompt or file_prompt):+ fail(+ "image_path/--prompt",+ "provide both --image_path or --video_path and either --prompt or --prompt_file",+ )+ if single_image:+ if config["data_path"] is not None:+ fail("image_path", "cannot combine with data_path; select one input route")+ if config["use_train_data"] or config["inference_train_data_source_id"] is not None:+ fail("image_path", "cannot combine with use_train_data or train_data_source_id")+ # A single supplied first frame selects TI2V without a redundant --i2v flag.+ config["i2v"] = True+ validate_sources(config, required=training or config["use_train_data"])+ duration = config["duration"]+ string(duration, "duration")+ if config["num_output_frames"] == -1 and not re.fullmatch(r"[1-9][0-9]*[smhSMH]", duration):+ fail("duration", "must be a positive whole duration with s/m/h units")+ if training:+ return+ if not config["i2v"] and not config["v2v"]:+ fail("i2v", "ordinary inference requires text plus supplied C0; enable i2v")+ if not config["v2v"] and not independent and block != 1:+ fail(+ "num_frame_per_block",+ "single-C0 inference without an independent first frame requires 1",+ )+ if config["v2v"]:+ from src.utils.video_prefix import prefix_geometry++ if single_video and config["v2v_context_latents"] is None:+ # Metadata-dependent tail selection happens before GPU/model loading.+ minimum = 1 + block if independent else block+ prefix_geometry({**config, "v2v_context_latents": minimum})+ else:+ prefix_geometry(config)+ source_id = config["inference_train_data_source_id"]+ if config["use_train_data"]:+ sources = config["data_sources"]+ if source_id is None and len(sources) == 1:+ source_id = sources[0]["id"]+ if source_id not in {source["id"] for source in sources}:+ fail("inference_train_data_source_id", "select one configured source for inference")+ config["inference_train_data_source_id"] = source_id+ else:+ if source_id is not None:+ fail("inference_train_data_source_id", "requires use_train_data=true")+ if not single_image and not single_video:+ string(config["data_path"], "data_path")+ if world_size != 1:+ fail("i2v", "external-image input requires non-distributed Python execution")diff --git a/src/utils/distributed.py b/src/utils/distributed.pynew file mode 100644index 0000000..a1d0b19--- /dev/null+++ b/src/utils/distributed.py@@ -0,0 +1,337 @@+"""FSDP readers/writers and one scalar EMA; no implicit fabric overrides."""++import os+import tempfile+from datetime import timedelta+from functools import partial++import torch+import torch.distributed as dist+from torch.distributed.checkpoint.state_dict import StateDictOptions, get_model_state_dict+from torch.distributed.fsdp import FullyShardedDataParallel as FSDP+from torch.distributed.fsdp import MixedPrecision, ShardingStrategy+from torch.distributed.fsdp.wrap import size_based_auto_wrap_policy++from src.utils.checkpoint_state import (+ normalize_generator_fsdp_key,+ normalize_generator_fsdp_state_dict,+)+++def launch_distributed_job():+ """Direct Python uses a local process group; torchrun uses its own rendezvous."""+ local_rank = int(os.environ.get("LOCAL_RANK", "0"))+ torch.cuda.set_device(local_rank)+ if dist.is_initialized():+ return+ kwargs = {+ "backend": "nccl",+ "device_id": torch.device("cuda", local_rank),+ "timeout": timedelta(minutes=30),+ }+ if "RANK" in os.environ:+ dist.init_process_group(**kwargs)+ else:+ descriptor, filename = tempfile.mkstemp(prefix="looking-ahead-pg-")+ os.close(descriptor)+ os.unlink(filename)+ dist.init_process_group(init_method=f"file://{filename}", rank=0, world_size=1, **kwargs)+++def barrier():+ if dist.is_initialized():+ dist.barrier()+++def is_main_process():+ return not dist.is_initialized() or dist.get_rank() == 0+++def fsdp_state_dict(model):+ """All ranks collect; only global rank zero retains ordinary weight tensors."""+ checkpoint = get_model_state_dict(+ model, options=StateDictOptions(full_state_dict=True, cpu_offload=True)+ )+ return checkpoint if is_main_process() else {}+++def fsdp_wrap(module, *, sharding_strategy, mixed_precision, sync_module_states=False):+ precision = (+ MixedPrecision(+ param_dtype=torch.bfloat16,+ reduce_dtype=torch.float32,+ buffer_dtype=torch.float32,+ cast_forward_inputs=False,+ )+ if mixed_precision+ else None+ )+ strategy = {+ "full": ShardingStrategy.FULL_SHARD,+ "hybrid_full": ShardingStrategy.HYBRID_SHARD,+ "hybrid_zero2": ShardingStrategy._HYBRID_SHARD_ZERO2,+ "no_shard": ShardingStrategy.NO_SHARD,+ }[sharding_strategy]+ return FSDP(+ module,+ auto_wrap_policy=partial(size_based_auto_wrap_policy, min_num_params=int(5e7)),+ sharding_strategy=strategy,+ mixed_precision=precision,+ device_id=torch.cuda.current_device(),+ limit_all_gathers=True,+ use_orig_params=True,+ sync_module_states=sync_module_states,+ )+++def _fsdp_sharding_strategy(module: torch.nn.Module):+ strategy = getattr(module, "sharding_strategy", None)+ if strategy is not None:+ return strategy+ fsdp_state = getattr(module, "_fsdp_state", None)+ if fsdp_state is not None:+ return getattr(fsdp_state, "sharding_strategy", None)+ return None+++def _effective_no_shard(module: torch.nn.Module) -> bool:+ """Return true when all FSDP wrappers use effective ``NO_SHARD``.++ A plain module is treated like ``NO_SHARD`` for EMA serialization helpers;+ this keeps the direct save/load path testable without requiring CUDA/FSDP.+ """+ fsdp_modules = [submodule for submodule in module.modules() if isinstance(submodule, FSDP)]+ if not fsdp_modules:+ return True+ return all(+ _fsdp_sharding_strategy(submodule) == ShardingStrategy.NO_SHARD+ for submodule in fsdp_modules+ )+++class EMA_FSDP:+ """+ Exponential Moving Average for an FSDP-wrapped model.++ Design notes+ ------------+ * **Sharded, on-GPU shadow.** Each rank stores an EMA shadow of *only its+ own local shard* of every ``flat_param`` (FSDP1) / ``DTensor`` (FSDP2),+ keeping the buffer in fp32 on the same device as the live parameter.+ This means ``update`` is a pure local elementwise op -- no+ ``summon_full_params``, no all-gather, no host-device traffic, no+ cross-rank synchronization -- so it is essentially free compared to+ the optimizer step.+ * **Collective only on save.** ``full_state_dict`` is the only path that+ materializes full EMA tensors for checkpointing. Sharded FSDP uses+ ``summon_full_params``; effective ``NO_SHARD`` returns the already-full+ local EMA shadows directly. It should only run at checkpoint time, never+ per-step.+ * Non-floating-point buffers (e.g. ``num_batches_tracked``) are never+ averaged.+ """++ def __init__(+ self,+ fsdp_module: torch.nn.Module,+ decay: float = 0.999,+ ):+ self.decay = decay+ self.num_updates = 0++ # name -> fp32 tensor on the *same device & with the same local+ # shape* as the corresponding live (sharded) parameter. Each rank+ # only holds its own shard.+ self.shadow: dict = {}+ self._is_main = is_main_process()++ self._init_shadow(fsdp_module)++ # ------------------------------------------------------------------+ # Helpers+ # ------------------------------------------------------------------+ def _iter_named_tensors(self, module):+ yield from module.named_parameters()++ # ------------------------------------------------------------------+ # Initialization+ # ------------------------------------------------------------------+ @torch.no_grad()+ def _init_shadow(self, fsdp_module):+ # No collective: each rank just clones its own shard in fp32. For+ # FSDP1 the local shard is a 1-D ``flat_param`` slice; for FSDP2 it+ # is a ``DTensor`` whose ``_local_tensor`` we read transparently+ # (``detach().clone()`` on a DTensor preserves the DTensor wrapping,+ # which is exactly what we want for arithmetic later).+ for n, t in self._iter_named_tensors(fsdp_module):+ self.shadow[n] = t.detach().to(dtype=torch.float32).clone()++ # ------------------------------------------------------------------+ # Update -- per-step hot path+ # ------------------------------------------------------------------+ @torch.no_grad()+ def update(self, fsdp_module):+ """Per-rank local EMA update. **No** collective communication.++ Cost is one fp32 mul_+add_ over the local shard, which is dominated+ by memory bandwidth and negligible next to the optimizer step.+ """+ self.num_updates += 1+ d = self.decay+ one_minus_d = 1.0 - d++ for n, t in self._iter_named_tensors(fsdp_module):+ shadow = self.shadow.get(n)+ if shadow is None:+ # New / unseen parameter -- initialize on the fly.+ self.shadow[n] = t.detach().to(dtype=torch.float32).clone()+ continue+ # Cast live param to fp32 *on device* (cheap if already fp32,+ # otherwise a fused kernel). No host transfer, no collective.+ src = t.detach()+ if src.dtype != torch.float32:+ src = src.to(dtype=torch.float32)+ shadow.mul_(d).add_(src, alpha=one_minus_d)++ # ------------------------------------------------------------------+ # (De)serialization helpers+ # ------------------------------------------------------------------+ def state_dict(self):+ """Return the *local-shard* shadow on every rank.++ Note: this is **not** a full state dict. Use :meth:`full_state_dict`+ if you want the rank-0-only fully-gathered version (e.g. for+ checkpointing). Each rank's tensors live on its own device.+ """+ return self.shadow++ @torch.no_grad()+ def load_full_state_dict(+ self, full_sd, fsdp_module, *, allow_missing_aux=False, expected_shapes=None+ ):+ """Restore ordinary EMA from each rank's validated full source state.++ All-rank writeback avoids PyTorch's unsupported rank0-only writeback.+ The temporary swap restores the original independent live shards.+ """+ full_sd = normalize_generator_fsdp_state_dict(full_sd)+ expected = {+ normalize_generator_fsdp_key(name): tensor+ for name, tensor in self._iter_named_tensors(fsdp_module)+ }+ missing = set(expected) - set(full_sd)+ unexpected = set(full_sd) - set(expected)+ if unexpected or (missing and not allow_missing_aux):+ raise RuntimeError("EMA checkpoint has missing or unexpected parameter keys.")+ if allow_missing_aux:+ from src.utils.predictive_training_checkpoint import is_predictive_aux_key++ if any(not is_predictive_aux_key(k) for k in missing):+ raise RuntimeError("EMA checkpoint is missing backbone parameters")+ if expected_shapes is not None:+ for name, value in full_sd.items():+ if tuple(value.shape) != expected_shapes[name]:+ raise RuntimeError(f"EMA checkpoint shape mismatch: {name}")+ if _effective_no_shard(fsdp_module):+ for name, tensor in expected.items():+ if name in full_sd and full_sd[name].shape != tensor.shape:+ raise RuntimeError(f"EMA checkpoint shape mismatch: {name}")+ new_shadow = {}+ for n, t in self._iter_named_tensors(fsdp_module):+ canonical_name = normalize_generator_fsdp_key(n)+ src = full_sd.get(canonical_name, t)+ new_shadow[n] = (+ src.detach()+ .to(+ device=t.device,+ dtype=torch.float32,+ )+ .clone()+ )+ self.shadow = new_shadow+ return++ # Backup live shards (each rank saves its own).+ backup = {n: t.data.clone() for n, t in self._iter_named_tensors(fsdp_module)}++ try:+ with FSDP.summon_full_params(+ fsdp_module, writeback=True, rank0_only=False, offload_to_cpu=False+ ):+ for name, tensor in self._iter_named_tensors(fsdp_module):+ canonical_name = normalize_generator_fsdp_key(name)+ if canonical_name in full_sd:+ tensor.copy_(+ full_sd[canonical_name].to(dtype=tensor.dtype, device=tensor.device)+ )+ new_shadow = {+ name: tensor.detach().to(dtype=torch.float32).clone()+ for name, tensor in self._iter_named_tensors(fsdp_module)+ }+ self.shadow = new_shadow+ finally:+ for name, tensor in self._iter_named_tensors(fsdp_module):+ tensor.data.copy_(backup[name])++ @torch.no_grad()+ def full_state_dict(self, fsdp_module):+ """Return the *full* EMA state dict on rank 0 (empty dict elsewhere).++ This should only be used at checkpoint time. Effective ``NO_SHARD``+ returns the already-full EMA shadows directly. Sharded FSDP temporarily+ swaps the live FSDP parameters for the EMA shadows, summons them in+ full on rank 0, copies them out, then restores the live weights -- all+ without persisting any change.+ """+ if _effective_no_shard(fsdp_module):+ if not self._is_main:+ return {}+ return {+ normalize_generator_fsdp_key(n): shadow.detach()+ .to("cpu", dtype=torch.float32)+ .clone()+ for n, shadow in self.shadow.items()+ }++ # Clone the live local shards before copying EMA into their storage.+ # ``use_orig_params=True`` exposes views into FSDP's FlatParameter, so+ # retaining ``t.data`` here would only retain an alias. FSDP may reuse+ # and overwrite that storage while summoning full parameters, turning+ # an apparent restore into an accidental live <- EMA switch.+ backup = {}+ for n, t in self._iter_named_tensors(fsdp_module):+ shadow = self.shadow.get(n)+ if shadow is None:+ continue+ backup[n] = t.detach().clone()+ t.copy_(shadow.to(device=t.device, dtype=t.dtype), non_blocking=True)++ # CPU FSDP parameters are already host-resident. Asking PyTorch to+ # offload a rank0-only summon back to the same device can hang under+ # Gloo, while CUDA training still benefits from the original offload.+ offload_to_cpu = any(t.device.type != "cpu" for t in backup.values())++ try:+ with FSDP.summon_full_params(+ fsdp_module,+ writeback=False,+ rank0_only=True,+ offload_to_cpu=offload_to_cpu,+ ):+ if not self._is_main:+ out = {}+ else:+ out = {}+ for n, t in self._iter_named_tensors(fsdp_module):+ out[normalize_generator_fsdp_key(n)] = (+ t.detach().to(device="cpu", dtype=torch.float32).clone()+ )+ finally:+ # Restore the independent live-shard copies regardless of what+ # happened above. Copying into the post-context parameter views+ # preserves FSDP's storage/view invariants.+ for n, t in self._iter_named_tensors(fsdp_module):+ if n in backup:+ t.copy_(backup[n], non_blocking=True)++ return outdiff --git a/src/utils/exact_resume.py b/src/utils/exact_resume.pynew file mode 100644index 0000000..38add58--- /dev/null+++ b/src/utils/exact_resume.py@@ -0,0 +1,856 @@+"""Strict-resume protocol for the single-EMA checkpoint format.++Only boundary metadata/config and the next batch are hashed. External inputs and+large DCP/rank payloads are never checksum-scanned.+"""++from __future__ import annotations++import hashlib+import json+import os+import random+import uuid+from collections.abc import Mapping, Sequence+from pathlib import Path+from typing import Any++import numpy as np+import torch+import torch.distributed as dist+import torch.distributed.checkpoint as dcp+from omegaconf import OmegaConf+from torch.distributed.checkpoint.state_dict import StateDictOptions, get_state_dict, set_state_dict++FORMAT = "looking_ahead.training_resume"+SCHEMA_VERSION = 1+BOUNDARY_NAME = "next_optimizer_update"+METADATA_FILENAME = "metadata.json"+COMPLETE_FILENAME = "COMPLETE"+_RANK_STATE_TEMPLATE = "rank_{rank:05d}.pt"+_OPERATIONAL_CONFIG_PATHS = frozenset(+ {+ "resume_checkpoint_path",+ "save_resume_checkpoint",+ "max_iters",+ "log_iters",+ "max_checkpoints",+ "expdir",+ "checkpoint_dir",+ "snapshot_dir",+ "log_dir",+ "wandb_save_dir",+ "disable_wandb",+ "wandb_host",+ "wandb_entity",+ "wandb_project",+ "config_name",+ }+)+_LEGACY_PROVENANCE_PATHS = frozenset({"checkpoint_path", "generator_ckpt"})+++def _cfg_get(config: Any, key: str, default: Any = None) -> Any:+ if isinstance(config, Mapping):+ return config.get(key, default)+ return getattr(config, key, default)+++def _jsonable(value: Any) -> Any:+ if isinstance(value, Mapping):+ return {str(key): _jsonable(item) for key, item in value.items()}+ if isinstance(value, (list, tuple)):+ return [_jsonable(item) for item in value]+ if isinstance(value, Path):+ return str(value)+ if isinstance(value, (str, int, float, bool)) or value is None:+ return value+ return str(value)+++def canonical_config(config: Any) -> dict[str, Any]:+ """Return the resolved public config; credentials are environment-only."""++ if OmegaConf.is_config(config):+ result = OmegaConf.to_container(config, resolve=True)+ elif isinstance(config, Mapping):+ result = dict(config)+ else:+ raise TypeError("Exact-resume config must be an OmegaConf or mapping.")+ result = _jsonable(result)+ if not isinstance(result, dict):+ raise TypeError("Resolved exact-resume config must be a mapping.")+ return result+++def _flatten(value: Any, prefix: str = "") -> dict[str, Any]:+ if isinstance(value, Mapping):+ result: dict[str, Any] = {}+ for key in sorted(value):+ child = f"{prefix}.{key}" if prefix else str(key)+ result.update(_flatten(value[key], child))+ return result+ if isinstance(value, list):+ result = {}+ for index, item in enumerate(value):+ child = f"{prefix}[{index}]"+ result.update(_flatten(item, child))+ if not value:+ result[prefix] = []+ return result+ return {prefix: value}+++def validate_config_compatibility(+ saved: Mapping[str, Any],+ current: Mapping[str, Any],+ *,+ saved_step: int,+) -> None:+ """Apply the confirmed operational allowlist and emit a deterministic difference report."""++ saved_flat = _flatten(saved)+ current_flat = _flatten(current)+ differences: list[str] = []+ all_paths = sorted(set(saved_flat) | set(current_flat))+ for path in all_paths:+ old = saved_flat.get(path, "<missing>")+ new = current_flat.get(path, "<missing>")+ if old == new:+ continue+ root = path.split(".", 1)[0].split("[", 1)[0]+ if root in _OPERATIONAL_CONFIG_PATHS:+ continue+ if root in _LEGACY_PROVENANCE_PATHS:+ if new is None or new == old:+ continue+ differences.append(f"{path}: legacy provenance must be null or {old!r}, got {new!r}")+ continue+ if path.startswith("data_sources[") and path.rsplit(".", 1)[-1] in {+ "data_path",+ "annotation_path",+ }:+ continue+ differences.append(f"{path}: saved={old!r}, current={new!r}")++ old_max = saved.get("max_iters", -1)+ new_max = current.get("max_iters", -1)+ if old_max == -1:+ if new_max != -1:+ differences.append(f"max_iters: saved run is unbounded (-1), current={new_max!r}")+ elif new_max != -1 and (new_max < old_max or new_max <= saved_step):+ differences.append(+ "max_iters: must remain equal/increase and exceed saved step "+ f"{saved_step}; saved={old_max!r}, current={new_max!r}"+ )++ for field in sorted(_LEGACY_PROVENANCE_PATHS):+ old = saved.get(field, None)+ new = current.get(field, None)+ if new is not None and new != old:+ message = f"{field}: legacy provenance must be null or {old!r}, got {new!r}"+ if message not in differences:+ differences.append(message)++ if differences:+ joined = "\n - ".join(differences)+ raise ValueError(f"Exact-resume configuration mismatch:\n - {joined}")+++def _sha256_bytes(value: bytes) -> str:+ return hashlib.sha256(value).hexdigest()+++def current_topology(config: Any) -> dict[str, Any]:+ world_size = dist.get_world_size() if dist.is_initialized() else 1+ rank = dist.get_rank() if dist.is_initialized() else 0+ local_world_size = int(os.environ.get("LOCAL_WORLD_SIZE", world_size))+ local_rank = int(os.environ.get("LOCAL_RANK", rank))+ node_rank = int(os.environ.get("GROUP_RANK", rank // max(local_world_size, 1)))+ return {+ "world_size": world_size,+ "local_world_size": local_world_size,+ "node_count": world_size // max(local_world_size, 1),+ "rank": rank,+ "local_rank": local_rank,+ "node_rank": node_rank,+ "distributed_backend": dist.get_backend() if dist.is_initialized() else None,+ "sharding_strategy": str(_cfg_get(config, "sharding_strategy", "full")),+ "batch_size": int(_cfg_get(config, "batch_size", 1)),+ "num_workers": int(_cfg_get(config, "num_workers", 8)),+ }+++def _expected_topologies(config: Any, world_size: int) -> list[dict[str, Any]]:+ """Derive the fixed logical rank layout without an object collective."""++ local = current_topology(config)+ local_world_size = int(local["local_world_size"])+ if local_world_size <= 0 or world_size % local_world_size != 0:+ raise ValueError(+ "Exact-resume topology requires world_size to be divisible by "+ f"LOCAL_WORLD_SIZE; got {world_size} and {local_world_size}."+ )+ return [+ {+ **local,+ "rank": rank,+ "local_rank": rank % local_world_size,+ "node_rank": rank // local_world_size,+ }+ for rank in range(world_size)+ ]+++def validate_topology(saved: Sequence[Mapping[str, Any]], config: Any) -> None:+ current = current_topology(config)+ rank = current["rank"]+ if rank >= len(saved):+ raise ValueError(f"Exact-resume topology mismatch: rank {rank} absent from saved topology.")+ if len(saved) != current["world_size"]:+ raise ValueError(+ "Exact-resume topology mismatch: "+ f"saved world_size={len(saved)}, current={current['world_size']}."+ )+ expected = dict(saved[rank])+ if expected != current:+ raise ValueError(+ "Exact-resume logical topology mismatch for rank "+ f"{rank}: saved={expected!r}, current={current!r}."+ )+++def capture_cpu_replay_rng() -> dict[str, Any]:+ return {+ "python": random.getstate(),+ "numpy": np.random.get_state(),+ "torch_cpu": torch.get_rng_state().clone(),+ }+++def restore_cpu_replay_rng(state: Mapping[str, Any]) -> None:+ random.setstate(state["python"])+ np.random.set_state(state["numpy"])+ torch.set_rng_state(state["torch_cpu"])+++def _probe_rng_state(state: Mapping[str, Any]) -> dict[str, str]:+ py_rng = random.Random()+ py_rng.setstate(state["python"])+ python_probe = [py_rng.getrandbits(64) for _ in range(8)]++ np_rng = np.random.RandomState()+ np_rng.set_state(state["numpy"])+ numpy_probe = np_rng.bytes(64)++ cpu_generator = torch.Generator(device="cpu")+ cpu_generator.set_state(state["torch_cpu"])+ cpu_probe = torch.rand(16, generator=cpu_generator, dtype=torch.float64).numpy().tobytes()++ result = {+ "python": _sha256_bytes(repr(python_probe).encode("ascii")),+ "numpy": _sha256_bytes(numpy_probe),+ "torch_cpu": _sha256_bytes(cpu_probe),+ }+ for index, cuda_state in enumerate(state.get("torch_cuda", [])):+ generator = torch.Generator(device=f"cuda:{index}")+ generator.set_state(cuda_state)+ probe = (+ torch.rand(+ 16,+ generator=generator,+ device=f"cuda:{index}",+ dtype=torch.float32,+ )+ .cpu()+ .numpy()+ .tobytes()+ )+ result[f"torch_cuda:{index}"] = _sha256_bytes(probe)+ return result+++def capture_rng_state() -> dict[str, Any]:+ state = capture_cpu_replay_rng()+ state["torch_cuda"] = [item.cpu().clone() for item in torch.cuda.get_rng_state_all()]+ state["probe"] = _probe_rng_state(state)+ return state+++def assert_rng_state_unchanged(state: Mapping[str, Any]) -> None:+ current = {+ "python": random.getstate(),+ "numpy": np.random.get_state(),+ "torch_cpu": torch.get_rng_state(),+ "torch_cuda": [item.cpu() for item in torch.cuda.get_rng_state_all()],+ }+ actual_probe = _probe_rng_state(current)+ if actual_probe != state["probe"]:+ raise RuntimeError(+ "Exact-resume checkpoint capture advanced a training RNG stream: "+ f"before={state['probe']!r}, after={actual_probe!r}."+ )+++def restore_and_validate_rng_state(state: Mapping[str, Any]) -> None:+ random.setstate(state["python"])+ np.random.set_state(state["numpy"])+ torch.set_rng_state(state["torch_cpu"])+ cuda_states = list(state.get("torch_cuda", []))+ if len(cuda_states) != torch.cuda.device_count():+ raise ValueError(+ "Exact-resume CUDA RNG device-count mismatch: "+ f"saved={len(cuda_states)}, current={torch.cuda.device_count()}."+ )+ torch.cuda.set_rng_state_all(cuda_states)+ current_state = {+ "python": random.getstate(),+ "numpy": np.random.get_state(),+ "torch_cpu": torch.get_rng_state(),+ "torch_cuda": [item.cpu() for item in torch.cuda.get_rng_state_all()],+ }+ actual_probe = _probe_rng_state(current_state)+ if actual_probe != state["probe"]:+ raise RuntimeError(+ f"Exact-resume RNG probe mismatch: saved={state['probe']!r}, restored={actual_probe!r}."+ )+++def batch_identity(batch: Any) -> str:+ """Return a stable content identity for an accepted or prefetched batch."""++ digest = hashlib.sha256()++ def update(value: Any) -> None:+ if torch.is_tensor(value):+ tensor = value.detach().cpu().contiguous()+ digest.update(b"tensor\0")+ digest.update(str(tensor.dtype).encode("ascii"))+ digest.update(repr(tuple(tensor.shape)).encode("ascii"))+ digest.update(tensor.view(torch.uint8).numpy().tobytes())+ elif isinstance(value, np.ndarray):+ array = np.ascontiguousarray(value)+ digest.update(b"numpy\0")+ digest.update(str(array.dtype).encode("ascii"))+ digest.update(repr(array.shape).encode("ascii"))+ digest.update(array.tobytes())+ elif isinstance(value, Mapping):+ digest.update(b"mapping\0")+ for key in sorted(value, key=str):+ update(str(key))+ update(value[key])+ elif isinstance(value, (list, tuple)):+ digest.update(b"sequence\0")+ for item in value:+ update(item)+ else:+ digest.update(type(value).__name__.encode("ascii", errors="replace"))+ digest.update(b"\0")+ digest.update(repr(value).encode("utf-8", errors="replace"))+ digest.update(b"\0")++ update(batch)+ return digest.hexdigest()+++def _accumulator_state(accumulator: Any) -> dict[str, Any]:+ return {+ "interval": int(accumulator.interval),+ "max_timestep": int(accumulator.max_timestep),+ "sums": accumulator._sums.detach().cpu().clone(),+ "counts": accumulator._counts.detach().cpu().clone(),+ "steps_accumulated": int(accumulator.steps_accumulated),+ }+++def _restore_accumulator_state(accumulator: Any, saved: Mapping[str, Any]) -> None:+ if int(saved["interval"]) != int(accumulator.interval):+ raise ValueError("Exact-resume timestep-bucket interval mismatch.")+ if int(saved["max_timestep"]) != int(accumulator.max_timestep):+ raise ValueError("Exact-resume timestep-bucket maximum mismatch.")+ for field, target in (("sums", accumulator._sums), ("counts", accumulator._counts)):+ source = saved[field]+ if tuple(source.shape) != tuple(target.shape):+ raise ValueError(f"Exact-resume timestep-bucket {field} shape mismatch.")+ target.copy_(source.to(device=target.device, dtype=target.dtype))+ accumulator.steps_accumulated = int(saved["steps_accumulated"])+++def _write_json(path: Path, value: Any) -> None:+ encoded = json.dumps(value, sort_keys=True, indent=2, ensure_ascii=False).encode("utf-8")+ with path.open("wb") as handle:+ handle.write(encoded)+ handle.flush()+ os.fsync(handle.fileno())+++def _collective_device() -> torch.device:+ if dist.is_initialized() and dist.get_backend() == "nccl":+ return torch.device("cuda", torch.cuda.current_device())+ return torch.device("cpu")+++def _raise_if_any_rank_failed(stage: str, local_error: str | None) -> None:+ """Propagate rank-local failure using one fixed-size tensor collective."""++ if not dist.is_initialized():+ if local_error is not None:+ raise RuntimeError(f"Exact-resume {stage} failed: {local_error}")+ return++ succeeded = torch.tensor(+ int(local_error is None),+ dtype=torch.int32,+ device=_collective_device(),+ )+ dist.all_reduce(succeeded, op=dist.ReduceOp.MIN)+ if not bool(succeeded.item()):+ detail = local_error or "another rank reported a local failure"+ raise RuntimeError(f"Exact-resume {stage} failed: {detail}")+++def _broadcast_save_token(rank: int) -> str:+ """Broadcast a UUID as a fixed 16-byte tensor, never as a Python object."""++ if not dist.is_initialized():+ return uuid.uuid4().hex+ device = _collective_device()+ if rank == 0:+ token = torch.tensor(list(uuid.uuid4().bytes), dtype=torch.uint8, device=device)+ else:+ token = torch.empty(16, dtype=torch.uint8, device=device)+ dist.broadcast(token, src=0)+ return bytes(token.cpu().tolist()).hex()+++def _checkpoint_process_group() -> Any:+ """Keep DCP's Python-object coordination off the NCCL/GPU data plane."""++ if not dist.is_initialized() or dist.get_backend() != "nccl":+ return None+ try:+ return dist.new_group(backend="gloo")+ except RuntimeError as error:+ raise RuntimeError(+ "Exact resume on an NCCL training group requires an auxiliary Gloo "+ "process group for bounded CPU-side DCP coordination."+ ) from error+++def _commit_rank_local_directory(temporary: Path, final: Path) -> None:+ """Commit a local shard, tolerating a peer's rename on a shared filesystem."""++ try:+ os.replace(temporary, final)+ except OSError:+ # On a shared filesystem all ranks address the same directory. One+ # peer wins the rename and the others observe the already-finalized+ # path. On rank-local filesystems every rank takes the normal branch.+ if temporary.exists() or not final.is_dir():+ raise+++def _config_digest(config):+ return _sha256_bytes(json.dumps(config, sort_keys=True, separators=(",", ":")).encode())+++def _validate_envelope(value, *, label):+ if (+ value.get("format") != FORMAT+ or type(value.get("schema_version")) is not int+ or value.get("schema_version") != SCHEMA_VERSION+ ):+ raise ValueError(f"{label}: expected {FORMAT} schema_version={SCHEMA_VERSION}")+++def resolve_bundle_path(path):+ """Select only the explicit directory or its immediate resume_state child."""+ root = Path(path).expanduser().resolve()+ if not root.is_dir():+ raise FileNotFoundError(f"Resume bundle directory not found: {root}")++ def has_layout(candidate):+ return any(+ (candidate / name).exists()+ for name in (METADATA_FILENAME, COMPLETE_FILENAME, "distributed_state")+ ) or any(candidate.glob("rank_*.pt"))++ direct = has_layout(root)+ child = root / "resume_state"+ if direct and has_layout(child):+ raise ValueError(f"Ambiguous resume path (direct and child layouts): {root}")+ return root if direct else child+++def _load_and_validate_bundle(bundle):+ if not (bundle / COMPLETE_FILENAME).is_file():+ raise RuntimeError(f"Resume bundle is incomplete (missing COMPLETE): {bundle}")+ encoded = (bundle / METADATA_FILENAME).read_bytes()+ metadata = json.loads(encoded)+ completion = json.loads((bundle / COMPLETE_FILENAME).read_text())+ _validate_envelope(metadata, label="metadata")+ _validate_envelope(completion, label="COMPLETE")+ if completion.get("metadata_sha256") != _sha256_bytes(encoded):+ raise RuntimeError("Resume metadata checksum mismatch")+ if metadata.get("config_sha256") != _config_digest(metadata.get("resolved_config")):+ raise RuntimeError("Resume resolved-config digest mismatch")+ if metadata.get("boundary") != BOUNDARY_NAME:+ raise ValueError("Unsupported resume boundary")+ step = metadata.get("step")+ if isinstance(step, bool) or not isinstance(step, int) or step < 0:+ raise ValueError("Invalid resume completed step")+ if completion.get("step") != step:+ raise ValueError("Resume completion step disagreement")+ topologies = metadata["topology"]+ expected = [_RANK_STATE_TEMPLATE.format(rank=rank) for rank in range(len(topologies))]+ if (+ not expected+ or metadata.get("rank_state_files") != expected+ or sorted(p.name for p in bundle.glob("rank_*.pt")) != expected+ ):+ raise RuntimeError("Resume rank-file coverage mismatch; collect all rank-local pieces")+ if [item["rank"] for item in topologies] != list(range(len(topologies))):+ raise ValueError("Resume topology rank coverage mismatch")+ # Inspect bounded DCP metadata and existence, never hash large tensor files.+ dcp_metadata = dcp.FileSystemReader(bundle / "distributed_state").read_metadata()+ payload_model_schema = {+ key.removeprefix("model."): {+ "shape": list(value.size),+ "dtype": str(value.properties.dtype),+ }+ for key, value in dcp_metadata.state_dict_metadata.items()+ if key.startswith("model.") and isinstance(value, dcp.TensorStorageMetadata)+ }+ if payload_model_schema != metadata["model_schema"]:+ raise ValueError("Resume DCP model schema disagrees with metadata")+ for storage in dcp_metadata.storage_data.values():+ if not (bundle / "distributed_state" / storage.relative_path).is_file():+ raise RuntimeError(f"Resume DCP payload is missing: {storage.relative_path}")+ return metadata+++def _trainer_rank_state(trainer):+ return {+ "timestep_bucket": _accumulator_state(trainer.timestep_bucket_accumulator),+ "predictive_timestep_buckets": {+ key: _accumulator_state(value)+ for key, value in trainer.predictive_timestep_accumulators.items()+ },+ "preview_cached": trainer._val_batch_cache is not None,+ }+++def _restore_trainer_rank_state(trainer, saved):+ _restore_accumulator_state(trainer.timestep_bucket_accumulator, saved["timestep_bucket"])+ auxiliary = saved["predictive_timestep_buckets"]+ if set(auxiliary) != set(trainer.predictive_timestep_accumulators):+ raise ValueError("Resume predictive timestep-bucket keys mismatch")+ for key, value in trainer.predictive_timestep_accumulators.items():+ _restore_accumulator_state(value, auxiliary[key])+++def _ema_rank_state(trainer):+ ema = trainer.generator_ema+ if ema is None:+ return None+ return {+ "decay": ema.decay,+ "num_updates": ema.num_updates,+ "shadow": {key: value.detach().cpu().clone() for key, value in ema.shadow.items()},+ }+++def _restore_ema_rank_state(trainer, saved):+ expected_active = (+ trainer.config.ema_weight > 0 and trainer.step >= trainer.config.ema_start_step+ )+ if (saved is not None) != expected_active:+ raise ValueError("Resume active single-EMA state mismatch")+ if saved is None:+ trainer.generator_ema = None+ return+ if saved["decay"] != trainer.config.ema_weight or saved["num_updates"] < 0:+ raise ValueError("Resume EMA controller mismatch")+ if trainer.generator_ema is None:+ trainer._start_generator_ema()+ ema = trainer.generator_ema+ if set(saved["shadow"]) != set(ema.shadow):+ raise ValueError("Resume EMA tensor set mismatch")+ for key, tensor in saved["shadow"].items():+ target = ema.shadow[key]+ if tensor.shape != target.shape or tensor.dtype != torch.float32:+ raise ValueError(f"Resume EMA tensor schema mismatch: {key}")+ # The rank already owns its complete local shadow. Copy into that storage+ # after validating every tensor, avoiding two additional GPU-sized shadows+ # from a device-converted mapping followed by load_state_dict's clones.+ with torch.no_grad():+ for key, tensor in saved["shadow"].items():+ ema.shadow[key].copy_(tensor)+ ema.num_updates = int(saved["num_updates"])+++def _model_schema(state):+ return {+ key: {"shape": list(value.shape), "dtype": str(value.dtype)}+ for key, value in state.items()+ if torch.is_tensor(value)+ }+++class ExactResumeManager:+ """Rank-local save/restore with distributed commit and public format checks."""++ def __init__(self, config, *, logger):+ self.config = config+ self.logger = logger+ self.save_enabled = config.save_resume_checkpoint+ self.resume_path = None+ self.metadata = None+ self.resolved_config = canonical_config(config)+ error = None+ try:+ if config.resume_checkpoint_path is not None:+ self.resume_path = resolve_bundle_path(config.resume_checkpoint_path)+ self.metadata = _load_and_validate_bundle(self.resume_path)+ validate_config_compatibility(+ self.metadata["resolved_config"],+ self.resolved_config,+ saved_step=self.metadata["step"],+ )+ validate_topology(self.metadata["topology"], config)+ for field in _LEGACY_PROVENANCE_PATHS:+ if self.resolved_config.get(field) is None:+ self.resolved_config[field] = self.metadata["resolved_config"].get(field)+ self.logger.info("Resolved resume bundle: %s", self.resume_path)+ except Exception as caught:+ error = f"{type(caught).__name__}: {caught}"+ _raise_if_any_rank_failed("preflight", error)+ self._checkpoint_group = _checkpoint_process_group()++ def save(+ self,+ trainer,+ *,+ checkpoint_dir,+ data_cursor,+ data_replay_initial_rng,+ data_loader_initial_rng,+ next_batch_sha256,+ ):+ if not self.save_enabled:+ raise RuntimeError("Full-state saving is disabled")+ rank = dist.get_rank() if dist.is_initialized() else 0+ world_size = dist.get_world_size() if dist.is_initialized() else 1+ final = Path(checkpoint_dir) / "resume_state"+ temporary = Path(checkpoint_dir) / f".resume_state.incomplete-{_broadcast_save_token(rank)}"+ error = None+ try:+ if final.exists():+ raise FileExistsError(f"Resume bundle already exists: {final}")+ temporary.mkdir(parents=True, exist_ok=True)+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("directory setup", error)+ boundary_rng = capture_rng_state()+ options = StateDictOptions(full_state_dict=False, cpu_offload=True, strict=True)+ model_state, optimizer_state = get_state_dict(+ trainer.model.generator, trainer.generator_optimizer, options=options+ )+ dcp.save(+ {"model": model_state, "optimizer": optimizer_state},+ checkpoint_id=temporary / "distributed_state",+ process_group=self._checkpoint_group,+ )+ error = None+ try:+ rank_state = {+ "format": FORMAT,+ "schema_version": SCHEMA_VERSION,+ "rank": rank,+ "step": int(trainer.step),+ "data_cursor": int(data_cursor),+ "data_replay_initial_rng": data_replay_initial_rng,+ "data_loader_initial_rng": data_loader_initial_rng,+ "next_batch_sha256": next_batch_sha256,+ "rng": boundary_rng,+ "ema": _ema_rank_state(trainer),+ "trainer_state": _trainer_rank_state(trainer),+ "effective_lrs": [+ float(group["lr"]) for group in trainer.generator_optimizer.param_groups+ ],+ }+ torch.save(rank_state, temporary / _RANK_STATE_TEMPLATE.format(rank=rank))+ assert_rng_state_unchanged(boundary_rng)+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("rank-state write/RNG capture", error)+ error = None+ if rank == 0:+ try:+ metadata = {+ "format": FORMAT,+ "schema_version": SCHEMA_VERSION,+ "boundary": BOUNDARY_NAME,+ "step": int(trainer.step),+ "resolved_config": self.resolved_config,+ "config_sha256": _config_digest(self.resolved_config),+ "topology": _expected_topologies(trainer.config, world_size),+ "optimizer": {+ "name": "adamw",+ "param_group_count": len(trainer.generator_optimizer.param_groups),+ },+ "model_schema": _model_schema(model_state),+ "ema": {+ "active": trainer.generator_ema is not None,+ "num_updates": trainer.generator_ema.num_updates+ if trainer.generator_ema+ else None,+ },+ "rank_state_files": [+ _RANK_STATE_TEMPLATE.format(rank=item) for item in range(world_size)+ ],+ "parent": {"bundle": str(self.resume_path), "step": self.metadata["step"]}+ if self.metadata+ else None,+ "logging": {+ "wandb_run_id": getattr(trainer.wandb_run, "id", None),+ "config_name": trainer.config.config_name,+ },+ }+ _write_json(temporary / METADATA_FILENAME, metadata)+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("metadata write", error)+ error = None+ try:+ _commit_rank_local_directory(temporary, final)+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("local commit", error)+ error = None+ if rank == 0:+ try:+ completion = {+ "format": FORMAT,+ "schema_version": SCHEMA_VERSION,+ "step": int(trainer.step),+ "metadata_sha256": _sha256_bytes((final / METADATA_FILENAME).read_bytes()),+ }+ sibling = final / f".COMPLETE-{uuid.uuid4().hex}"+ _write_json(sibling, completion)+ os.replace(sibling, final / COMPLETE_FILENAME)+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("completion publication", error)+ self.logger.info("Full training-state bundle committed: %s", final)+ return final++ def restore(self, trainer):+ metadata = self.metadata+ rank = dist.get_rank() if dist.is_initialized() else 0+ error = None+ options = StateDictOptions(full_state_dict=False, cpu_offload=True, strict=True)+ model_state, optimizer_state = get_state_dict(+ trainer.model.generator, trainer.generator_optimizer, options=options+ )+ try:+ rank_state = torch.load(+ self.resume_path / _RANK_STATE_TEMPLATE.format(rank=rank),+ map_location="cpu",+ weights_only=False,+ )+ _validate_envelope(rank_state, label="rank state")+ if rank_state["rank"] != rank or rank_state["step"] != metadata["step"]:+ raise ValueError("Resume rank/step envelope disagreement")+ if rank_state["data_cursor"] != metadata["step"]:+ raise ValueError("Resume training data cursor disagreement")+ if metadata["model_schema"] != _model_schema(model_state):+ raise ValueError("Resume model schema mismatch before tensor application")+ if metadata["optimizer"] != {+ "name": "adamw",+ "param_group_count": len(trainer.generator_optimizer.param_groups),+ }:+ raise ValueError("Resume optimizer manifest mismatch")+ if metadata["ema"]["active"] != (rank_state["ema"] is not None) or (+ rank_state["ema"] is not None+ and metadata["ema"]["num_updates"] != rank_state["ema"]["num_updates"]+ ):+ raise ValueError("Resume EMA manifest disagreement")+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("rank/schema preflight", error)+ state = {"model": model_state, "optimizer": optimizer_state}+ dcp.load(+ state,+ checkpoint_id=self.resume_path / "distributed_state",+ process_group=self._checkpoint_group,+ )+ error = None+ try:+ incompatible = set_state_dict(+ trainer.model.generator,+ trainer.generator_optimizer,+ model_state_dict=state["model"],+ optim_state_dict=state["optimizer"],+ options=options,+ )+ if incompatible.missing_keys or incompatible.unexpected_keys:+ raise RuntimeError(f"Resume model keys mismatch: {incompatible}")+ trainer.step = metadata["step"]+ _restore_ema_rank_state(trainer, rank_state["ema"])+ _restore_trainer_rank_state(trainer, rank_state["trainer_state"])+ if [+ float(group["lr"]) for group in trainer.generator_optimizer.param_groups+ ] != rank_state["effective_lrs"]:+ raise RuntimeError("Resume effective LR mismatch after optimizer restoration")+ except Exception as caught:+ error = str(caught)+ _raise_if_any_rank_failed("state application", error)+ return rank_state+++def prune_completed_checkpoints(root, keep, manager, *, logger):+ """Rank-zero's existing completion evidence classifies shared/local fragments.++ Broadcast eligible numeric steps, then prune each local tree. Peers need no+ local COMPLETE and rank zero never probes peer filesystems.+ """+ rank = dist.get_rank() if dist.is_initialized() else 0+ removable = []+ if rank == 0:+ completed = []+ for path in root.glob("checkpoint_model_*"):+ if not path.is_dir():+ continue+ try:+ step = int(path.name.removeprefix("checkpoint_model_"))+ bundle = path / "resume_state"+ encoded = (bundle / METADATA_FILENAME).read_bytes()+ metadata = json.loads(encoded)+ completion = json.loads((bundle / COMPLETE_FILENAME).read_text())+ _validate_envelope(metadata, label="retention metadata")+ _validate_envelope(completion, label="retention COMPLETE")+ if (+ metadata["step"] == step == completion["step"]+ and completion["metadata_sha256"] == _sha256_bytes(encoded)+ and metadata["config_sha256"] == _config_digest(metadata["resolved_config"])+ ):+ completed.append((step, path.name))+ except (OSError, ValueError, KeyError, TypeError):+ continue # Incomplete/unclassified remnants are never eligible.+ removable = [name for _, name in sorted(completed)[:-keep]]+ names = [removable]+ if dist.is_initialized():+ dist.broadcast_object_list(names, src=0, group=manager._checkpoint_group)+ import shutil++ error = None+ for name in names[0]:+ try:+ shutil.rmtree(root / name)+ except FileNotFoundError:+ pass # A peer may already have pruned this shared tree.+ except OSError as caught:+ error = str(caught)+ _raise_if_any_rank_failed("retention", error)+ logger.info("Completed checkpoint retention removed: %s", names[0])diff --git a/src/utils/grad_clip.py b/src/utils/grad_clip.pynew file mode 100644index 0000000..0bde5c1--- /dev/null+++ b/src/utils/grad_clip.py@@ -0,0 +1,162 @@+"""Disjoint main/auxiliary gradient clipping with root FSDP reductions."""++from dataclasses import dataclass++import torch+from torch import nn++from src.utils.checkpoint_state import normalize_generator_fsdp_key as canonical_parameter_name++PREDICTIVE_PRIVATE_NAMESPACES = frozenset(+ {"predictive_multi_chunk_branches", "predictive_multi_chunk_shared_direct_modules"}+)+++@dataclass(frozen=True)+class PredictiveGradClipPlan:+ """Canonical trainable-parameter names for disjoint gradient clipping."""++ main_names: frozenset[str]+ predictive_names: frozenset[str]+++@dataclass(frozen=True)+class BoundPredictiveGradClipPlan:+ """Live parameters bound from a pre-FSDP predictive clipping plan."""++ main_parameters: tuple[nn.Parameter, ...]+ predictive_parameters: tuple[nn.Parameter, ...]+++def build_predictive_grad_clip_plan(generator: nn.Module) -> PredictiveGradClipPlan:+ """Partition raw trainable generator parameters by aux-branch ownership."""++ main_names: set[str] = set()+ predictive_names: set[str] = set()+ for name, parameter in generator.named_parameters():+ if not parameter.requires_grad:+ continue+ canonical_name = canonical_parameter_name(name)+ destination = (+ predictive_names if is_predictive_private_parameter_name(canonical_name) else main_names+ )+ if canonical_name in main_names or canonical_name in predictive_names:+ raise ValueError(f"Duplicate trainable parameter name: {canonical_name}")+ destination.add(canonical_name)++ if not main_names:+ raise ValueError("Separate predictive gradient clipping found no main parameters.")+ if not predictive_names:+ raise ValueError(+ "separate_predictive_grad_clip=true requires trainable parameters under "+ f"one of {sorted(PREDICTIVE_PRIVATE_NAMESPACES)}."+ )+ return PredictiveGradClipPlan(+ main_names=frozenset(main_names),+ predictive_names=frozenset(predictive_names),+ )+++def is_predictive_private_parameter_name(name: str) -> bool:+ """Return whether a canonical parameter belongs to either aux namespace."""+ return bool(PREDICTIVE_PRIVATE_NAMESPACES.intersection(name.split(".")))+++def bind_predictive_grad_clip_plan(+ plan: PredictiveGradClipPlan,+ generator: nn.Module,+) -> BoundPredictiveGradClipPlan:+ """Bind canonical raw names to live parameters after FSDP wrapping."""++ expected_names = plan.main_names | plan.predictive_names+ bound: dict[str, nn.Parameter] = {}+ for name, parameter in generator.named_parameters():+ if not parameter.requires_grad:+ continue+ canonical_name = canonical_parameter_name(name)+ if canonical_name not in expected_names:+ raise ValueError(+ "FSDP-wrapped generator exposed an unexpected trainable parameter: "+ f"{name!r} -> {canonical_name!r}."+ )+ if canonical_name in bound:+ raise ValueError(f"Duplicate live trainable parameter name: {canonical_name}")+ bound[canonical_name] = parameter++ missing = sorted(expected_names - set(bound))+ if missing:+ raise ValueError(+ "Predictive gradient clipping parameters were not found after FSDP wrapping: "+ f"{missing[:10]}"+ )+ return BoundPredictiveGradClipPlan(+ main_parameters=tuple(bound[name] for name in sorted(plan.main_names)),+ predictive_parameters=tuple(bound[name] for name in sorted(plan.predictive_names)),+ )+++def clip_predictive_grad_norms_(+ fsdp_generator: nn.Module,+ plan: BoundPredictiveGradClipPlan,+ *,+ max_main_norm: float,+ max_predictive_norm: float,+) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]:+ """Clip main and predictive-private gradients with separate FSDP collectives.++ The FSDP root owns the distributed norm calculation. Temporarily hiding the+ other disjoint group's gradients lets each call retain FSDP's FULL_SHARD,+ HYBRID_SHARD and NO_SHARD reduction semantics while applying an independent+ scale factor. Shared backbone parameters stay in the main group even when+ their gradients include a predictive-loss contribution.++ Returns:+ ``(total_norm, main_norm, predictive_norm)`` before clipping. The total+ norm preserves the historical global L2 ``grad_norm`` metric.+ """++ main_norm = _clip_parameter_group_with_fsdp_(+ fsdp_generator,+ selected_parameters=plan.main_parameters,+ hidden_parameters=plan.predictive_parameters,+ max_norm=max_main_norm,+ )+ predictive_norm = _clip_parameter_group_with_fsdp_(+ fsdp_generator,+ selected_parameters=plan.predictive_parameters,+ hidden_parameters=plan.main_parameters,+ max_norm=max_predictive_norm,+ )+ total_norm = torch.linalg.vector_norm(+ torch.stack(+ (+ main_norm.detach().to(dtype=torch.float32),+ predictive_norm.detach().to(dtype=torch.float32),+ )+ ),+ ord=2,+ )+ return total_norm, main_norm, predictive_norm+++def _clip_parameter_group_with_fsdp_(+ fsdp_generator: nn.Module,+ *,+ selected_parameters: tuple[nn.Parameter, ...],+ hidden_parameters: tuple[nn.Parameter, ...],+ max_norm: float,+) -> torch.Tensor:+ if not selected_parameters:+ raise ValueError("Gradient clipping parameter group cannot be empty.")+ hidden_gradients = tuple(parameter.grad for parameter in hidden_parameters)+ try:+ for parameter in hidden_parameters:+ parameter.grad = None+ return fsdp_generator.clip_grad_norm_(max_norm)+ finally:+ for parameter, gradient in zip(+ hidden_parameters,+ hidden_gradients,+ strict=True,+ ):+ parameter.grad = gradientdiff --git a/src/utils/inference_checkpoint.py b/src/utils/inference_checkpoint.pynew file mode 100644index 0000000..f4cb572--- /dev/null+++ b/src/utils/inference_checkpoint.py@@ -0,0 +1,67 @@+"""Strict ordinary backbone loading with live/default-single-EMA selection."""++import logging+from collections.abc import Mapping+from pathlib import Path++from src.utils.checkpoint_state import normalize_generator_fsdp_state_dict+from src.utils.ckpt_cache import load_ckpt+from src.utils.wan_model_family import validate_wan_checkpoint_family++logger = logging.getLogger(__name__)+_AUX_NAMES = {+ "predictive_multi_chunk_branches",+ "predictive_multi_chunk_shared_direct_modules",+ "predictive_multi_chunk_source_layers_metadata",+ "predictive_history_context_marker",+ "predictive_offset_source_mode_marker",+ "predictive_source_unshared_scope_marker",+ "predictive_aux_shared_across_offsets_marker",+}+++def filter_inference_backbone(state_dict):+ return {+ key: value+ for key, value in state_dict.items()+ if not any(component in _AUX_NAMES for component in key.split("."))+ }+++def load_generator_checkpoint(generator, config):+ path = config.checkpoint_path+ if not path:+ if config.use_ema:+ raise FileNotFoundError("EMA requested but no training checkpoint was selected.")+ logger.info("No training checkpoint was loaded; using the pipeline's initial weights.")+ return None+ if config.use_ema:+ sibling = Path(path).with_name("model_ema.pt")+ if sibling.is_file():+ selected = str(sibling)+ payload = load_ckpt(selected, logger=logger, label=sibling.name)+ state_dict = payload.get("generator_ema", payload)+ else:+ selected = str(path)+ payload = load_ckpt(selected, logger=logger, label=Path(path).name)+ if "generator_ema" not in payload:+ raise FileNotFoundError(f"EMA unavailable: no {sibling} or embedded generator_ema.")+ state_dict = payload["generator_ema"]+ else:+ selected = str(path)+ payload = load_ckpt(selected, logger=logger, label=Path(path).name)+ state_dict = payload["generator"]+ if not isinstance(state_dict, Mapping):+ raise TypeError(f"{selected}: generator state must be a mapping.")+ state_dict = normalize_generator_fsdp_state_dict(state_dict)+ validate_wan_checkpoint_family(+ state_dict, model_name=config.model_name, consumer_name="inference generator checkpoint"+ )+ filtered = filter_inference_backbone(state_dict)+ logger.info(+ "Loading %s; filtered %d training-only tensors", selected, len(state_dict) - len(filtered)+ )+ # PyTorch 2.10 supports assign; all compatibility errors remain fatal.+ generator.load_state_dict(filtered, strict=True, assign=True)+ logger.info("Strict backbone load complete: %s", selected)+ return selecteddiff --git a/src/utils/launcher_entry.py b/src/utils/launcher_entry.pynew file mode 100644index 0000000..10a7d05--- /dev/null+++ b/src/utils/launcher_entry.py@@ -0,0 +1,16 @@+"""Internal torchrun module carrying an action default below user configuration."""++import sys+++def main():+ action, *argv = sys.argv[1:]+ if action not in ("test", "test_all"):+ raise ValueError("Launcher inference action must be test or test_all")+ from inference import main as inference_main++ inference_main(argv, action=action)+++if __name__ == "__main__":+ main()diff --git a/src/utils/memory.py b/src/utils/memory.pynew file mode 100644index 0000000..91a14f6--- /dev/null+++ b/src/utils/memory.py@@ -0,0 +1,68 @@+# Copied from https://github.com/lllyasviel/FramePack/tree/main/demo_utils++# Apache-2.0 License++# By lllyasviel++import torch+++class DynamicSwapInstaller:+ @staticmethod+ def _install_module(module: torch.nn.Module, **kwargs):+ original_class = module.__class__+ module.__dict__['forge_backup_original_class'] = original_class++ def hacked_get_attr(self, name: str):+ if '_parameters' in self.__dict__:+ _parameters = self.__dict__['_parameters']+ if name in _parameters:+ p = _parameters[name]+ if p is None:+ return None+ if p.__class__ == torch.nn.Parameter:+ return torch.nn.Parameter(p.to(**kwargs), requires_grad=p.requires_grad)+ else:+ return p.to(**kwargs)+ if '_buffers' in self.__dict__:+ _buffers = self.__dict__['_buffers']+ if name in _buffers:+ return _buffers[name].to(**kwargs)+ return super(original_class, self).__getattr__(name)++ module.__class__ = type('DynamicSwap_' + original_class.__name__, (original_class,), {+ '__getattr__': hacked_get_attr,+ })++ return++ @staticmethod+ def _uninstall_module(module: torch.nn.Module):+ if 'forge_backup_original_class' in module.__dict__:+ module.__class__ = module.__dict__.pop('forge_backup_original_class')+ return++ @staticmethod+ def install_model(model: torch.nn.Module, **kwargs):+ for m in model.modules():+ DynamicSwapInstaller._install_module(m, **kwargs)+ return++ @staticmethod+ def uninstall_model(model: torch.nn.Module):+ for m in model.modules():+ DynamicSwapInstaller._uninstall_module(m)+ return+++def get_cuda_free_memory_gb(device=None):+ if device is None:+ device = torch.device(f"cuda:{torch.cuda.current_device()}")++ memory_stats = torch.cuda.memory_stats(device)+ bytes_active = memory_stats['active_bytes.all.current']+ bytes_reserved = memory_stats['reserved_bytes.all.current']+ bytes_free_cuda, _ = torch.cuda.mem_get_info(device)+ bytes_inactive_reserved = bytes_reserved - bytes_active+ bytes_total_available = bytes_free_cuda + bytes_inactive_reserved+ return bytes_total_available / (1024 ** 3)diff --git a/src/utils/optimizer.py b/src/utils/optimizer.pynew file mode 100644index 0000000..67601cc--- /dev/null+++ b/src/utils/optimizer.py@@ -0,0 +1,41 @@+"""AdamW and step-addressed warmup/drop schedule."""++import torch+++def build_generator_optimizer(config, generator):+ settings = config.optimizer_config.adamw+ return torch.optim.AdamW(+ [parameter for parameter in generator.parameters() if parameter.requires_grad],+ lr=float(settings.lr),+ betas=(float(settings.beta1), float(settings.beta2)),+ weight_decay=float(settings.weight_decay),+ )+++class LinearLrWarmup:+ """Updates 1..N use 1/N..1; drop nodes address completed optimizer updates."""++ def __init__(self, optimizer, warmup_steps, drop_steps=(), drop_gamma=0.1):+ self.optimizer = optimizer+ self.warmup_steps = int(warmup_steps)+ self.drop_steps = tuple(drop_steps)+ self.drop_gamma = float(drop_gamma)+ self.base_lrs = tuple(float(group["lr"]) for group in optimizer.param_groups)++ def apply(self, step):+ if self.warmup_steps == 0 and not self.drop_steps:+ return 1.0+ update = step + 1+ factor = min(update / self.warmup_steps, 1.0) if self.warmup_steps else 1.0+ factor *= self.drop_gamma ** sum(update >= node for node in self.drop_steps)+ for group, base_lr in zip(self.optimizer.param_groups, self.base_lrs, strict=True):+ group["lr"] = base_lr * factor+ return factor+++def optimizer_learning_rate_metrics(optimizer):+ metrics = {"learning_rate": float(optimizer.param_groups[0]["lr"])}+ for index, group in enumerate(optimizer.param_groups[1:], start=1):+ metrics[f"learning_rate/group_{index}"] = float(group["lr"])+ return metricsdiff --git a/src/utils/predictive_causal_model.py b/src/utils/predictive_causal_model.pynew file mode 100644index 0000000..94401fe--- /dev/null+++ b/src/utils/predictive_causal_model.py@@ -0,0 +1,432 @@+"""FCP with shared source streams and per-offset AdaLN mini DiTs.++The causal backbone/cached preview route is shared with TF. Auxiliary modules+retain checkpoint-compatible serialized names and are used only during teacher-forced training.+"""++import copy+import logging+import os++import torch+from torch import nn+from torch.utils.checkpoint import checkpoint++from src.utils.attention import attention+from src.utils.causal_mask import visualize_causal_mask+from src.utils.causal_model import CausalHead, CausalWanModel+from src.utils.distributed import is_main_process+from src.utils.predictive_multi_chunk_config import build_predictive_chunk_layout+from src.wan22.modules.model import WanLayerNorm, WanRMSNorm, rope_apply, sinusoidal_embedding_1d+++class PredictiveSourceAdaLNProjection(nn.Linear):+ def reset_parameters(self):+ nn.init.zeros_(self.weight)+ if self.bias is not None:+ nn.init.zeros_(self.bias)+++class PredictiveMultiChunkSelfAttention(nn.Module):+ def __init__(self, dim, num_heads, qk_norm=True, eps=1e-6):+ super().__init__()+ self.num_heads = num_heads+ self.head_dim = dim // num_heads+ self.q = nn.Linear(dim, dim)+ self.k = nn.Linear(dim, dim)+ self.v = nn.Linear(dim, dim)+ self.o = nn.Linear(dim, dim)+ self.norm_q = WanRMSNorm(dim, eps) if qk_norm else nn.Identity()+ self.norm_k = WanRMSNorm(dim, eps) if qk_norm else nn.Identity()++ def forward(self, x, grid_sizes, freqs):+ b, s = x.shape[:2]+ n, d = self.num_heads, self.head_dim+ q = self.norm_q(self.q(x)).view(b, s, n, d)+ k = self.norm_k(self.k(x)).view(b, s, n, d)+ v = self.v(x).view(b, s, n, d)+ out = attention(+ rope_apply(q, grid_sizes, freqs).type_as(v),+ rope_apply(k, grid_sizes, freqs).type_as(v),+ v,+ causal=False,+ window_size=(-1, -1),+ )+ return self.o(out.type_as(v).flatten(2))+++class PredictiveMultiChunkAttentionBlock(nn.Module):+ def __init__(self, dim, ffn_dim, num_heads, qk_norm=True, eps=1e-6):+ super().__init__()+ self.dim = dim+ self.norm1 = WanLayerNorm(dim, eps)+ self.self_attn = PredictiveMultiChunkSelfAttention(dim, num_heads, qk_norm, eps)+ self.norm2 = WanLayerNorm(dim, eps)+ self.ffn = nn.Sequential(+ nn.Linear(dim, ffn_dim), nn.GELU(approximate="tanh"), nn.Linear(ffn_dim, dim)+ )+ self.modulation = nn.Parameter(torch.randn(1, 6, dim) / dim**0.5)+ self.source_adaln_projection = PredictiveSourceAdaLNProjection(dim, 6 * dim)++ def forward(self, x, e, grid_sizes, freqs, source_tokens):+ if source_tokens.shape != x.shape:+ raise ValueError("FCP AdaLN source and future token shapes must match")+ frames, seq = e.shape[1], x.shape[1] // e.shape[1]+ source_mod = (+ self.source_adaln_projection(source_tokens)+ .unflatten(1, (frames, seq))+ .unflatten(-1, (6, self.dim))+ )+ e = (self.modulation.view(1, 1, 1, 6, self.dim) + e.unsqueeze(2) + source_mod).unbind(3)+ y = self.self_attn(+ (self.norm1(x).unflatten(1, (frames, seq)) * (1 + e[1]) + e[0]).flatten(1, 2),+ grid_sizes,+ freqs,+ )+ x = x + (y.unflatten(1, (frames, seq)) * e[2]).flatten(1, 2)+ y = self.ffn((self.norm2(x).unflatten(1, (frames, seq)) * (1 + e[4]) + e[3]).flatten(1, 2))+ return x + (y.unflatten(1, (frames, seq)) * e[5]).flatten(1, 2)+++class PredictiveMultiChunkBranch(nn.Module):+ def __init__(self, model, config):+ super().__init__()+ dim = model.dim+ self.hidden_adapter = nn.Sequential(+ nn.Linear(+ len(config["source_layers"]) * dim, config["source_layer_fusion"]["hidden_dim"]+ ),+ nn.GELU(),+ nn.Linear(config["source_layer_fusion"]["hidden_dim"], dim),+ )+ self.blocks = nn.ModuleList(+ [+ PredictiveMultiChunkAttentionBlock(+ dim, model.ffn_dim, model.num_heads, model.qk_norm, model.eps+ )+ for _ in range(config["mini_dit_depth"])+ ]+ )+ _init_predictive_module(self)+ if config["init_mode"] == "copy":+ for block, index in zip(self.blocks, config["init_source"], strict=True):+ main = model.blocks[index].state_dict()+ target = block.state_dict()+ selected = {k: v for k, v in main.items() if k in target}+ missing, unexpected = block.load_state_dict(selected, strict=False)+ if unexpected or any(not k.startswith("source_adaln_projection.") for k in missing):+ raise RuntimeError("FCP mini DiT copy is incompatible with backbone blocks")+ block.source_adaln_projection.reset_parameters()+ # Fresh private modules preserve source initialization order. Do not+ # recopy these modules after a subsequent TF checkpoint warm start.+ for name in ("patch_embedding", "time_embedding", "time_projection", "head"):+ original = getattr(model, name)+ if name == "patch_embedding":+ module = nn.Conv3d(+ model.in_dim, dim, kernel_size=model.patch_size, stride=model.patch_size+ )+ elif name == "time_embedding":+ module = nn.Sequential(+ nn.Linear(model.freq_dim, dim), nn.SiLU(), nn.Linear(dim, dim)+ )+ elif name == "time_projection":+ module = nn.Sequential(nn.SiLU(), nn.Linear(dim, dim * 6))+ else:+ module = CausalHead(dim, model.out_dim, model.patch_size, model.eps)+ reference = next(original.parameters())+ module.to(device=reference.device, dtype=reference.dtype)+ if config["init_mode"] == "copy":+ module.load_state_dict(original.state_dict(), strict=True)+ else:+ _init_predictive_module(module)+ setattr(self, name, module)+ reference = next(model.parameters())+ self.to(device=reference.device, dtype=reference.dtype)+ self.freq_dim, self.dim = model.freq_dim, dim++ def forward(+ self,+ hidden_tokens,+ future_latents,+ future_t,+ grid_sizes,+ freqs,+ gradient_checkpointing=False,+ ):+ dtype = hidden_tokens.dtype+ patch = self.patch_embedding(future_latents.to(self.patch_embedding.weight.dtype))+ if tuple(patch.shape[2:]) != tuple(grid_sizes[0].tolist()):+ raise ValueError("FCP future latent patch grid mismatch")+ x = patch.flatten(2).transpose(1, 2).to(dtype)+ embeds = sinusoidal_embedding_1d(self.freq_dim, future_t.flatten()).to(+ self.time_embedding[0].weight.dtype+ )+ embeds = self.time_embedding(embeds)+ e = (+ self.time_projection(embeds)+ .unflatten(1, (6, self.dim))+ .unflatten(0, future_t.shape)+ .to(dtype)+ )+ head_e = embeds.unflatten(0, future_t.shape).unsqueeze(2).to(dtype)+ source = self.hidden_adapter(hidden_tokens).to(dtype)+ for block in self.blocks:+ if torch.is_grad_enabled() and gradient_checkpointing:+ x = checkpoint(block, x, e, grid_sizes, freqs, source, use_reentrant=False)+ else:+ x = block(x, e, grid_sizes, freqs, source)+ return self.head(x.to(self.head.head.weight.dtype), head_e.to(self.head.head.weight.dtype))+++def _init_predictive_module(module):+ for child in module.modules():+ if isinstance(child, PredictiveSourceAdaLNProjection):+ child.reset_parameters()+ elif isinstance(child, nn.Linear):+ nn.init.xavier_uniform_(child.weight)+ if child.bias is not None:+ nn.init.zeros_(child.bias)+++class PredictiveCausalWanModel(CausalWanModel):+ def configure_predictive_multi_chunk(self, config):+ if hasattr(self, "predictive_multi_chunk_branches"):+ raise RuntimeError("FCP branches are already configured")+ self.predictive_multi_chunk_config = copy.deepcopy(config)+ self.predictive_multi_chunk_branches = nn.ModuleDict(+ {+ f"offset_{offset}": PredictiveMultiChunkBranch(self, config)+ for offset in config["future_offsets"]+ }+ )+ self.register_buffer(+ "predictive_multi_chunk_source_layers_metadata",+ torch.tensor(+ config["source_layers"], dtype=torch.int64, device=next(self.parameters()).device+ ),+ )++ def _forward_predictive_multi_chunk(+ self, sources, grid_sizes, aux_noisy_chunks_by_offset, aux_timestep_chunks_by_offset+ ):+ cfg = self.predictive_multi_chunk_config+ batch = sources[cfg["source_layers"][0]].shape[0]+ frames = int(grid_sizes[0, 0])+ layout = build_predictive_chunk_layout(+ num_frames=frames,+ block_size=self.num_frame_per_block,+ independent_first_frame=self.independent_first_frame,+ )+ if layout.num_regular_chunks != cfg["num_chunks"]:+ raise ValueError("FCP runtime and configured chunk counts differ")+ frame_seq = int(grid_sizes[0, 1] * grid_sizes[0, 2])+ noisy_tokens = frames * frame_seq+ regular_start = layout.regular_frame_start * frame_seq+ hidden = torch.cat([sources[layer] for layer in cfg["source_layers"]], dim=-1)+ chunk_tokens = self.num_frame_per_block * frame_seq+ source_chunks = {+ "clean": hidden[:, regular_start:noisy_tokens],+ "noisy": hidden[:, noisy_tokens + regular_start : 2 * noisy_tokens],+ }+ source_chunks = {+ name: value.reshape(batch, layout.num_regular_chunks, chunk_tokens, hidden.shape[-1])+ for name, value in source_chunks.items()+ }+ chunk_grid = grid_sizes.clone()+ chunk_grid[:, 0] = self.num_frame_per_block+ outputs = {}+ for offset in cfg["future_offsets"]:+ valid = layout.valid_pair_count(offset)+ if (+ offset not in aux_noisy_chunks_by_offset+ or offset not in aux_timestep_chunks_by_offset+ ):+ raise ValueError(f"Missing independent FCP inputs for offset {offset}")+ future = aux_noisy_chunks_by_offset[offset]+ future_t = aux_timestep_chunks_by_offset[offset]+ expected = (batch, self.in_dim, valid, self.num_frame_per_block)+ if tuple(future.shape[:4]) != expected or tuple(future_t.shape) != (+ batch,+ valid,+ self.num_frame_per_block,+ ):+ raise ValueError(f"Invalid FCP auxiliary input shapes for offset {offset}")+ future = future.permute(0, 2, 1, 3, 4, 5).reshape(+ batch * valid, self.in_dim, self.num_frame_per_block, *future.shape[-2:]+ )+ grids = chunk_grid.repeat_interleave(valid, dim=0)+ predictions = {}+ branch = self.predictive_multi_chunk_branches[f"offset_{offset}"]+ for name in cfg["source_context_streams"]:+ current = source_chunks[name][:, :valid].reshape(+ batch * valid, chunk_tokens, hidden.shape[-1]+ )+ head = branch(+ current,+ future,+ future_t.reshape(batch * valid, self.num_frame_per_block),+ grids,+ self.freqs,+ self.gradient_checkpointing,+ )+ prediction = torch.stack(self.unpatchify(head, grids)).permute(0, 2, 1, 3, 4)+ predictions[name] = prediction.unflatten(0, (batch, valid))+ outputs[offset] = {"flow_pred_by_source": predictions, "valid_chunks": valid}+ return outputs++ def _forward_train(+ self,+ x,+ t,+ context,+ clean_x=None,+ return_predictive_aux=False,+ aux_noisy_chunks_by_offset=None,+ aux_timestep_chunks_by_offset=None,+ ):+ """+ Forward pass through the diffusion model++ Args:+ x (List[Tensor]):+ List of input video tensors, each with shape [C_in, F, H, W]+ t (Tensor):+ Diffusion timesteps tensor of shape [B, F]+ context (List[Tensor]):+ List of text embeddings each with shape [L, C]+ clip_fea (Tensor, *optional*):+ CLIP image features for image-to-video mode+ y (List[Tensor], *optional*):+ Conditional video inputs for image-to-video mode, same shape as x++ Returns:+ List[Tensor]:+ List of denoised video tensors with original input shapes [C_out, F, H / 8, W / 8]+ """+ if clean_x is None:+ raise ValueError("Teacher-forcing forward requires clean_x.")+ device = self.patch_embedding.weight.device+ if self.freqs.device != device:+ self.freqs = self.freqs.to(device)+ if self.block_mask is None:+ self.block_mask = self._prepare_teacher_forcing_mask(+ device,+ num_frames=x.shape[2],+ frame_seqlen=x.shape[-2] * x.shape[-1] // (self.patch_size[1] * self.patch_size[2]),+ num_frame_per_block=self.num_frame_per_block,+ local_attn_size=self.local_attn_size,+ sink_size=self.sink_size,+ independent_first_frame=self.independent_first_frame,+ )+ _vis_flag = os.environ.get("WAN_VIS_CAUSAL_MASK", "0")+ if _vis_flag and _vis_flag != "0":+ if is_main_process():+ if not hasattr(self, "_causal_mask_vis_done"):+ self._causal_mask_vis_done = set()+ mode = "TF"+ vis_key = (mode, int(x.shape[2]), bool(self.independent_first_frame))+ if vis_key not in self._causal_mask_vis_done:+ out_dir = os.environ.get(+ "WAN_VIS_CAUSAL_MASK_DIR", os.path.join("outputs", "causal_mask_vis")+ )+ try:+ saved_path = visualize_causal_mask(+ mode=mode,+ num_frames=int(x.shape[2]),+ num_frame_per_block=self.num_frame_per_block,+ local_attn_size=self.local_attn_size,+ sink_size=self.sink_size,+ independent_first_frame=bool(self.independent_first_frame),+ out_dir=out_dir,+ )+ logging.info(+ "[causal_mask_vis] saved %s mask (num_frames=%d, num_frame_per_block=%d, local_attn_size=%d, sink_size=%d, independent_first_frame=%s) -> %s",+ mode,+ int(x.shape[2]),+ self.num_frame_per_block,+ self.local_attn_size,+ self.sink_size,+ bool(self.independent_first_frame),+ saved_path,+ )+ except Exception as _e:+ logging.warning("[causal_mask_vis] failed: %s", _e)+ self._causal_mask_vis_done.add(vis_key)+ x = [self.patch_embedding(u.unsqueeze(0)) for u in x]+ grid_sizes = torch.stack([torch.tensor(u.shape[2:], dtype=torch.long) for u in x])+ x = [u.flatten(2).transpose(1, 2) for u in x]+ seq_lens = torch.tensor([u.size(1) for u in x], dtype=torch.long)+ x = torch.cat(+ [torch.cat([u, u.new_zeros(1, seq_lens[0] - u.size(1), u.size(2))], dim=1) for u in x]+ )+ e = self.time_embedding(sinusoidal_embedding_1d(self.freq_dim, t.flatten()).type_as(x))+ e0 = self.time_projection(e).unflatten(1, (6, self.dim)).unflatten(dim=0, sizes=t.shape)+ context_lens = None+ context = self.text_embedding(+ torch.stack(+ [torch.cat([u, u.new_zeros(self.text_len - u.size(0), u.size(1))]) for u in context]+ )+ )+ clean_patch_embedding = self.patch_embedding+ clean_x = [clean_patch_embedding(u.unsqueeze(0)) for u in clean_x]+ clean_x = [u.flatten(2).transpose(1, 2) for u in clean_x]+ seq_lens_clean = torch.tensor([u.size(1) for u in clean_x], dtype=torch.long)+ clean_x = torch.cat(+ [+ torch.cat([u, u.new_zeros(1, seq_lens_clean[0] - u.size(1), u.size(2))], dim=1)+ for u in clean_x+ ]+ )+ x = torch.cat([clean_x, x], dim=1)+ aug_t = torch.zeros_like(t)+ e_clean = self.time_embedding(+ sinusoidal_embedding_1d(self.freq_dim, aug_t.flatten()).type_as(x)+ )+ e0_clean = (+ self.time_projection(e_clean)+ .unflatten(1, (6, self.dim))+ .unflatten(dim=0, sizes=t.shape)+ )+ e0 = torch.cat([e0_clean, e0], dim=1)+ kwargs = {+ "e": e0,+ "seq_lens": seq_lens,+ "grid_sizes": grid_sizes,+ "freqs": self.freqs,+ "context": context,+ "context_lens": context_lens,+ "block_mask": self.block_mask,+ }++ def create_custom_forward(module):++ def custom_forward(*inputs, **kwargs):+ return module(*inputs, **kwargs)++ return custom_forward++ sources, auxiliary = {}, None+ selected = (+ self.predictive_multi_chunk_config["source_layers"] if return_predictive_aux else []+ )+ for index, block in enumerate(self.blocks):+ if torch.is_grad_enabled() and self.gradient_checkpointing:+ x = torch.utils.checkpoint.checkpoint(+ create_custom_forward(block), x, **kwargs, use_reentrant=False+ )+ else:+ x = block(x, **kwargs)+ if index in selected:+ sources[index] = x+ if index == selected[-1]:+ auxiliary = self._forward_predictive_multi_chunk(+ sources,+ grid_sizes,+ aux_noisy_chunks_by_offset,+ aux_timestep_chunks_by_offset,+ )+ x = x[:, x.shape[1] // 2 :]+ x = self.head(x, e.unflatten(dim=0, sizes=t.shape).unsqueeze(2))+ x = self.unpatchify(x, grid_sizes)+ output = torch.stack(x)+ return (output, auxiliary) if return_predictive_aux else outputdiff --git a/src/utils/predictive_checkpoint.py b/src/utils/predictive_checkpoint.pynew file mode 100644index 0000000..1511c94--- /dev/null+++ b/src/utils/predictive_checkpoint.py@@ -0,0 +1,52 @@+"""Training-only compatibility for retaining a subset of predictive offsets."""++import logging+import re+from collections.abc import Mapping, Sequence+from typing import Any++_BRANCH_OFFSET = re.compile(+ r"^(?:model\.)?predictive_multi_chunk_branches\."+ r"(?:(?:clean|noisy)\.)?offset_([1-9][0-9]*)\."+)+++def retain_predictive_checkpoint_offsets(+ state_dict: Mapping[str, Any],+ target_offsets: Sequence[int],+ *,+ logger: logging.Logger,+ label: str,+) -> tuple[Mapping[str, Any], bool]:+ """Filter canonical branch keys only for a nonempty proper offset subset.++ Callers normalize FSDP keys first and retain all existing family checks.+ The returned flag requires strict validation of the retained state; it must+ not be used with the ordinary missing-aux initialization fallback.+ Shared owners, metadata and unrecognized keys are preserved for validation.+ No tensor is copied and the input mapping is never mutated.+ """+ key_offsets = {+ key: int(match.group(1))+ for key in state_dict+ if (match := _BRANCH_OFFSET.match(key)) is not None+ }+ checkpoint_offsets = set(key_offsets.values())+ wanted = set(target_offsets)+ if not wanted or not wanted < checkpoint_offsets:+ return state_dict, False++ dropped = checkpoint_offsets - wanted+ retained = {+ key: value for key, value in state_dict.items() if key_offsets.get(key) not in dropped+ }+ logger.info(+ "%s offset subset: checkpoint_offsets=%s training_offsets=%s "+ "dropped_offsets=%s dropped_tensors=%d",+ label,+ sorted(checkpoint_offsets),+ sorted(wanted),+ sorted(dropped),+ len(state_dict) - len(retained),+ )+ return retained, Truediff --git a/src/utils/predictive_multi_chunk_config.py b/src/utils/predictive_multi_chunk_config.pynew file mode 100644index 0000000..e51aabe--- /dev/null+++ b/src/utils/predictive_multi_chunk_config.py@@ -0,0 +1,324 @@+"""FCP geometry and checkpoint identity checks.++Excluded checkpoint families are recognized for rejection, without retaining their+model construction or execution branches. Public inputs use future_prediction.+"""++from collections.abc import Mapping, Sequence+from dataclasses import dataclass++from omegaconf import OmegaConf++PREDICTIVE_SOURCE_LAYERS_METADATA_BUFFER = "predictive_multi_chunk_source_layers_metadata"+PREDICTIVE_OFFSET_SOURCE_MODE_MARKER = "predictive_offset_source_mode_marker"+PREDICTIVE_CHAINED_SOURCE_MODE_MARKER_VALUE = 1+PREDICTIVE_SOURCE_UNSHARED_SCOPE_MARKER = "predictive_source_unshared_scope_marker"+PREDICTIVE_SOURCE_CONDITIONING_SCOPE_MARKER_VALUE = 1+PREDICTIVE_AUX_SHARED_ACROSS_OFFSETS_MARKER = "predictive_aux_shared_across_offsets_marker"+PREDICTIVE_DIRECT_MODULE_NAMES = (+ "patch_embedding",+ "time_embedding",+ "time_projection",+ "text_embedding",+ "head",+)+PREDICTIVE_SHARED_DIRECT_MODULES_NAMESPACE = "predictive_multi_chunk_shared_direct_modules"+++def is_predictive_source_layers_metadata_key(key: str) -> bool:+ """Return whether ``key`` stores the ordered MLP source-layer signature."""+ return key == PREDICTIVE_SOURCE_LAYERS_METADATA_BUFFER or key.endswith(+ f".{PREDICTIVE_SOURCE_LAYERS_METADATA_BUFFER}"+ )+++def is_predictive_offset_source_mode_marker_key(key: str) -> bool:+ """Return whether ``key`` stores chained offset-source identity."""+ return key == PREDICTIVE_OFFSET_SOURCE_MODE_MARKER or key.endswith(+ f".{PREDICTIVE_OFFSET_SOURCE_MODE_MARKER}"+ )+++def is_predictive_source_unshared_scope_marker_key(key: str) -> bool:+ """Return whether ``key`` stores source-conditioning scope identity."""+ return key == PREDICTIVE_SOURCE_UNSHARED_SCOPE_MARKER or key.endswith(+ f".{PREDICTIVE_SOURCE_UNSHARED_SCOPE_MARKER}"+ )+++def is_predictive_aux_shared_across_offsets_marker_key(key: str) -> bool:+ """Return whether ``key`` stores cross-offset direct-module identity."""+ return key == PREDICTIVE_AUX_SHARED_ACROSS_OFFSETS_MARKER or key.endswith(+ f".{PREDICTIVE_AUX_SHARED_ACROSS_OFFSETS_MARKER}"+ )+++def checkpoint_has_predictive_aux_state(state_dict: Mapping) -> bool:+ """Return whether a checkpoint contains any predictive aux namespace."""+ return any(+ ".predictive_multi_chunk_branches." in key+ or key.startswith("predictive_multi_chunk_branches.")+ or key.startswith("model.predictive_multi_chunk_branches.")+ or f".{PREDICTIVE_SHARED_DIRECT_MODULES_NAMESPACE}." in key+ or key.startswith(f"{PREDICTIVE_SHARED_DIRECT_MODULES_NAMESPACE}.")+ or key.startswith(f"model.{PREDICTIVE_SHARED_DIRECT_MODULES_NAMESPACE}.")+ or is_predictive_source_layers_metadata_key(key)+ or is_predictive_offset_source_mode_marker_key(key)+ or is_predictive_source_unshared_scope_marker_key(key)+ or is_predictive_aux_shared_across_offsets_marker_key(key)+ for key in state_dict+ )+++def validate_aux_shared_across_offsets_checkpoint(+ state_dict: Mapping,+ *,+ label: str,+) -> bool:+ """Require exact cross-offset direct-module checkpoint-family identity."""+ source_is_predictive = checkpoint_has_predictive_aux_state(state_dict)+ if not source_is_predictive:+ return False++ marker_keys = [+ key for key in state_dict if is_predictive_aux_shared_across_offsets_marker_key(key)+ ]+ if len(marker_keys) > 1:+ raise RuntimeError(+ f"{label} contains duplicate predictive aux_shared_across_offsets markers: "+ f"{marker_keys}."+ )+ checkpoint_value = 0+ if marker_keys:+ marker = state_dict[marker_keys[0]]+ if (+ not hasattr(marker, "detach")+ or marker.numel() != 1+ or marker.ndim != 0+ or marker.is_floating_point()+ or marker.is_complex()+ or str(marker.dtype) == "torch.bool"+ ):+ raise RuntimeError(f"{label} predictive aux_shared_across_offsets marker is malformed.")+ checkpoint_value = marker.detach().cpu().item()+ max_value = (1 << len(PREDICTIVE_DIRECT_MODULE_NAMES)) - 1+ if (+ isinstance(checkpoint_value, bool)+ or checkpoint_value <= 0+ or checkpoint_value > max_value+ ):+ raise RuntimeError(+ f"{label} predictive aux_shared_across_offsets marker has unknown "+ f"value {checkpoint_value!r}."+ )++ if checkpoint_value != 0:+ raise RuntimeError(+ f"{label} predictive aux_shared_across_offsets mismatch: "+ f"checkpoint_marker={checkpoint_value}, runtime_marker=0."+ )+ return True+++def validate_offset_source_mode_checkpoint(+ state_dict: Mapping,+ *,+ label: str,+) -> bool:+ """Require exact direct/chained identity for predictive warm starts."""+ source_is_predictive = checkpoint_has_predictive_aux_state(state_dict)+ if not source_is_predictive:+ return False++ marker_keys = [key for key in state_dict if is_predictive_offset_source_mode_marker_key(key)]+ if len(marker_keys) > 1:+ raise RuntimeError(+ f"{label} contains duplicate predictive offset-source mode markers: {marker_keys}."+ )+ checkpoint_mode = "direct"+ if marker_keys:+ marker = state_dict[marker_keys[0]]+ if (+ not hasattr(marker, "detach")+ or marker.numel() != 1+ or marker.ndim != 0+ or marker.is_floating_point()+ or marker.is_complex()+ ):+ raise RuntimeError(f"{label} predictive offset-source mode marker is malformed.")+ value = marker.detach().cpu().item()+ if isinstance(value, bool) or value != PREDICTIVE_CHAINED_SOURCE_MODE_MARKER_VALUE:+ raise RuntimeError(+ f"{label} predictive offset-source mode marker has unknown value {value!r}."+ )+ checkpoint_mode = "chained"+ if checkpoint_mode != "direct":+ raise RuntimeError(+ f"{label} predictive offset-source mode mismatch: "+ f"checkpoint={checkpoint_mode}, runtime=direct."+ )+ return True+++def validate_source_unshared_scope_checkpoint(+ state_dict: Mapping,+ *,+ label: str,+) -> bool:+ """Require exact legacy/source-conditioning checkpoint-family identity."""+ source_is_predictive = checkpoint_has_predictive_aux_state(state_dict)+ if not source_is_predictive:+ return False+ marker_keys = [key for key in state_dict if is_predictive_source_unshared_scope_marker_key(key)]+ if len(marker_keys) > 1:+ raise RuntimeError(+ f"{label} contains duplicate predictive source-unshared scope markers: {marker_keys}."+ )+ checkpoint_scope = "source_conditioning" if marker_keys else None+ if marker_keys:+ marker = state_dict[marker_keys[0]]+ if (+ not hasattr(marker, "detach")+ or marker.numel() != 1+ or marker.ndim != 0+ or marker.is_floating_point()+ or marker.is_complex()+ or str(marker.dtype) == "torch.bool"+ ):+ raise RuntimeError(f"{label} predictive source-unshared scope marker is malformed.")+ value = marker.detach().cpu().item()+ if isinstance(value, bool) or value != PREDICTIVE_SOURCE_CONDITIONING_SCOPE_MARKER_VALUE:+ raise RuntimeError(+ f"{label} predictive source-unshared scope marker has unknown value {value!r}."+ )+ if checkpoint_scope is not None:+ raise RuntimeError(+ f"{label} predictive source-unshared scope mismatch: "+ f"checkpoint={checkpoint_scope or 'legacy'}, "+ f"runtime=legacy."+ )+ return True+++def validate_mlp_source_layer_checkpoint(+ state_dict: Mapping,+ *,+ source_layers: Sequence[int],+ label: str,+) -> bool:+ """Validate ordered source-layer metadata for an MLP target.++ Returns true when the source checkpoint is predictive. A checkpoint with+ no predictive aux state is a valid non-predictive warm start and returns+ false without requiring metadata.+ """+ source_is_predictive = checkpoint_has_predictive_aux_state(state_dict)+ if not source_is_predictive:+ return source_is_predictive++ metadata_keys = [key for key in state_dict if is_predictive_source_layers_metadata_key(key)]+ if len(metadata_keys) != 1:+ raise RuntimeError(+ f"{label} must contain exactly one ordered source-layer metadata tensor "+ f"for an MLP target; found {metadata_keys}."+ )+ metadata = state_dict[metadata_keys[0]]+ if not hasattr(metadata, "detach"):+ raise RuntimeError(f"{label} source-layer metadata must be a tensor.")+ if metadata.ndim != 1:+ raise RuntimeError(f"{label} source-layer metadata must be a one-dimensional tensor.")+ metadata_values = metadata.detach().cpu().tolist()+ if any(isinstance(value, bool) or not isinstance(value, int) for value in metadata_values):+ raise RuntimeError(f"{label} source-layer metadata must contain integers.")+ checkpoint_layers = list(metadata_values)+ expected_layers = [int(value) for value in source_layers]+ if checkpoint_layers != expected_layers:+ raise RuntimeError(+ f"{label} source_layers mismatch: checkpoint={checkpoint_layers}, "+ f"runtime={expected_layers}."+ )+ return True+++@dataclass(frozen=True)+class PredictiveChunkLayout:+ num_frames: int+ block_size: int+ independent_first_frame: bool+ regular_frame_start: int+ num_regular_chunks: int++ @property+ def first_regular_chunk_index(self):+ return int(self.independent_first_frame)++ def valid_pair_count(self, future_offset):+ return self.num_regular_chunks - future_offset++ def regular_pair_indices(self, future_offset):+ return tuple(+ (self.first_regular_chunk_index + i, self.first_regular_chunk_index + i + future_offset)+ for i in range(self.valid_pair_count(future_offset))+ )+++def build_predictive_chunk_layout(+ *, num_frames, block_size, independent_first_frame, consumer_name="FCP"+):+ start = int(independent_first_frame)+ if block_size <= 0 or num_frames <= start or (num_frames - start) % block_size:+ raise ValueError(+ f"{consumer_name}: incompatible chunk layout T={num_frames}, "+ f"block={block_size}, independent_first_frame={independent_first_frame}"+ )+ return PredictiveChunkLayout(+ num_frames, block_size, independent_first_frame, start, (num_frames - start) // block_size+ )+++def read_predictive_multi_chunk_config(args, model):+ # The public resolver validates names and value domains before model loading.+ cfg = OmegaConf.to_container(args.future_prediction, resolve=True)+ if not cfg["enabled"]:+ raise ValueError("FCP requires future_prediction.enabled=true")+ layout = build_predictive_chunk_layout(+ num_frames=args.image_or_video_shape[1],+ block_size=args.num_frame_per_block,+ independent_first_frame=args.independent_first_frame,+ )+ layers = cfg["source_layers"]+ if layers[-1] >= len(model.blocks):+ raise ValueError("future_prediction.source_layers exceeds the loaded backbone")+ depth = cfg["mini_dit_depth"]+ init_source = cfg.get("init_source")+ if cfg["init_mode"] == "copy":+ if init_source is None:+ if len(layers) != 1:+ raise ValueError("future_prediction.init_source is required for multi-layer copy")+ init_source = list(range(layers[0] + 1, layers[0] + 1 + depth))+ if (+ len(init_source) != depth+ or len(set(init_source)) != depth+ or any(i < 0 or i >= len(model.blocks) for i in init_source)+ ):+ raise ValueError("future_prediction.init_source is incompatible with loaded blocks")+ elif "init_source" in cfg:+ raise ValueError("future_prediction.init_source must be absent for random initialization")+ hidden_dim = round(cfg["source_layer_fusion"]["hidden_ratio"] * model.dim)+ if hidden_dim <= 0:+ raise ValueError("future_prediction.source_layer_fusion.hidden_ratio gives zero width")+ if any(layout.valid_pair_count(offset) <= 0 for offset in cfg["future_offsets"]):+ raise ValueError("future_prediction.future_offsets leaves no regular pair")+ return {+ **cfg,+ "init_source": init_source,+ "source_layer_fusion": {**cfg["source_layer_fusion"], "hidden_dim": hidden_dim},+ "source_context_streams": cfg["source_context"]["streams"],+ "num_frame_per_block": args.num_frame_per_block,+ "independent_first_frame": args.independent_first_frame,+ "num_chunks": layout.num_regular_chunks,+ }+++def configure_predictive_multi_chunk_from_config(model, config):+ model.configure_predictive_multi_chunk(config)diff --git a/src/utils/predictive_training_checkpoint.py b/src/utils/predictive_training_checkpoint.pynew file mode 100644index 0000000..9e5031e--- /dev/null+++ b/src/utils/predictive_training_checkpoint.py@@ -0,0 +1,80 @@+"""Ordinary TF/FCP initialization compatibility; full resume is separate."""++import logging+import re++from src.utils.checkpoint_state import normalize_generator_fsdp_state_dict+from src.utils.predictive_checkpoint import retain_predictive_checkpoint_offsets+from src.utils.predictive_multi_chunk_config import (+ is_predictive_source_layers_metadata_key,+ validate_aux_shared_across_offsets_checkpoint,+ validate_mlp_source_layer_checkpoint,+ validate_offset_source_mode_checkpoint,+ validate_source_unshared_scope_checkpoint,+)+++def is_predictive_aux_key(key):+ return (+ "predictive_multi_chunk_branches" in key.split(".")+ or "predictive_multi_chunk_shared_direct_modules" in key.split(".")+ or is_predictive_source_layers_metadata_key(key)+ )+++def prepare_predictive_checkpoint(state, config, expected_shapes, *, label, ema=False):+ state = normalize_generator_fsdp_state_dict(state)+ if any(key.endswith("predictive_history_context_marker") for key in state):+ raise RuntimeError(f"{label}: history-context checkpoint is incompatible with FCP")+ predictive = validate_offset_source_mode_checkpoint(state, label=label)+ validate_source_unshared_scope_checkpoint(state, label=label)+ validate_aux_shared_across_offsets_checkpoint(state, label=label)+ validate_mlp_source_layer_checkpoint(+ state,+ source_layers=config["source_layers"],+ label=label,+ )+ state, subset = retain_predictive_checkpoint_offsets(+ state, config["future_offsets"], logger=logging.getLogger(__name__), label=label+ )+ if predictive:+ present_offsets = {+ int(match.group(1))+ for key in state+ if (match := re.search(r"predictive_multi_chunk_branches\.offset_(\d+)\.", key))+ }+ if not set(config["future_offsets"]) <= present_offsets:+ raise RuntimeError(f"{label}: requested offsets absent from checkpoint")+ if ema:+ state = {k: v for k, v in state.items() if not is_predictive_source_layers_metadata_key(k)}+ expected_shapes = {+ k: v+ for k, v in expected_shapes.items()+ if not is_predictive_source_layers_metadata_key(k)+ }+ missing = set(expected_shapes) - state.keys()+ unexpected = state.keys() - set(expected_shapes)+ bad_missing = [+ k+ for k in missing+ if subset+ or not is_predictive_aux_key(k)+ or (predictive and (".hidden_adapter." in k or is_predictive_source_layers_metadata_key(k)))+ ]+ if bad_missing or unexpected:+ raise RuntimeError(+ f"{label}: missing required keys={sorted(bad_missing)}; "+ f"unexpected keys={sorted(unexpected)}"+ )+ for key, value in state.items():+ if not hasattr(value, "shape") or tuple(value.shape) != expected_shapes[key]:+ raise RuntimeError(+ f"{label}: incompatible shape for {key}; expected {expected_shapes[key]}"+ )+ if missing:+ logging.getLogger(__name__).warning(+ "%s keeps %d initialized auxiliary tensors (TF warm start or compatible depth increase)",+ label,+ len(missing),+ )+ return state, predictivediff --git a/src/utils/scheduler.py b/src/utils/scheduler.pynew file mode 100644index 0000000..c2c3f52--- /dev/null+++ b/src/utils/scheduler.py@@ -0,0 +1,82 @@+import torch+++class FlowMatchScheduler:+ def __init__(self, num_inference_steps=100, shift=3.0, sigma_max=1.0, sigma_min=0.003 / 1.002):+ self.num_train_timesteps = 1000+ self.shift = shift+ self.sigma_max = sigma_max+ self.sigma_min = sigma_min+ self.set_timesteps(num_inference_steps)++ def set_timesteps(self, num_inference_steps=100, denoising_strength=1.0, training=False):+ sigma_start = self.sigma_min + (self.sigma_max - self.sigma_min) * denoising_strength+ self.sigmas = torch.linspace(sigma_start, self.sigma_min, num_inference_steps + 1)[:-1]+ self.sigmas = self.shift * self.sigmas / (1 + (self.shift - 1) * self.sigmas)+ self.timesteps = self.sigmas * self.num_train_timesteps+ if training:+ x = self.timesteps+ y = torch.exp(-2 * ((x - num_inference_steps / 2) / num_inference_steps) ** 2)+ y_shifted = y - y.min()+ bsmntw_weighing = y_shifted * (num_inference_steps / y_shifted.sum())+ self.linear_timesteps_weights = bsmntw_weighing++ def clone_with_shift(self, shift: float):+ """Clone this schedule while replacing only ``shift``."""+ clone = type(self)(+ num_inference_steps=len(self.timesteps),+ shift=shift,+ sigma_max=self.sigma_max,+ sigma_min=self.sigma_min,+ )+ training = hasattr(self, "linear_timesteps_weights")+ clone.set_timesteps(len(self.timesteps), training=training)+ clone.sigmas = clone.sigmas.to(device=self.sigmas.device, dtype=self.sigmas.dtype)+ clone.timesteps = clone.timesteps.to(+ device=self.timesteps.device, dtype=self.timesteps.dtype+ )+ if training:+ clone.linear_timesteps_weights = clone.linear_timesteps_weights.to(+ device=self.linear_timesteps_weights.device,+ dtype=self.linear_timesteps_weights.dtype,+ )+ return clone++ def add_noise(self, original_samples, noise, timestep):+ """+ Diffusion forward corruption process.+ Input:+ - clean_latent: the clean latent with shape [B*T, C, H, W]+ - noise: the noise with shape [B*T, C, H, W]+ - timestep: the timestep with shape [B*T]+ Output: the corrupted latent with shape [B*T, C, H, W]+ """+ if timestep.ndim == 2:+ timestep = timestep.flatten(0, 1)+ self.sigmas = self.sigmas.to(noise.device)+ self.timesteps = self.timesteps.to(noise.device)+ timestep_id = torch.argmin(+ (self.timesteps.unsqueeze(0) - timestep.unsqueeze(1)).abs(), dim=1+ )+ sigma = self.sigmas[timestep_id].reshape(-1, 1, 1, 1)+ sample = (1 - sigma) * original_samples + sigma * noise+ return sample.type_as(noise)++ def training_target(self, sample, noise, timestep):+ target = noise - sample+ return target++ def training_weight(self, timestep):+ """+ Input:+ - timestep: the timestep with shape [B*T]+ Output: the corresponding weighting [B*T]+ """+ if timestep.ndim == 2:+ timestep = timestep.flatten(0, 1)+ self.linear_timesteps_weights = self.linear_timesteps_weights.to(timestep.device)+ timestep_id = torch.argmin(+ (self.timesteps.unsqueeze(1) - timestep.unsqueeze(0)).abs(), dim=0+ )+ weights = self.linear_timesteps_weights[timestep_id]+ return weightsdiff --git a/src/utils/snapshot_seed.py b/src/utils/snapshot_seed.pynew file mode 100644index 0000000..bd52fe9--- /dev/null+++ b/src/utils/snapshot_seed.py@@ -0,0 +1,30 @@+"""Isolated preview RNG address, independent of training noise."""++_MASK64 = (1 << 64) - 1+_TORCH_SEED_MODULUS = (1 << 63) - 1+_SNAPSHOT_STREAM_ID = 0x434F4646534E4150+++def _mix_u64(value: int) -> int:+ value &= _MASK64+ value ^= value >> 30+ value = (value * 0xBF58476D1CE4E5B9) & _MASK64+ value ^= value >> 27+ value = (value * 0x94D049BB133111EB) & _MASK64+ value ^= value >> 31+ return value & _MASK64+++def derive_condition_only_snapshot_seed(+ *,+ base_seed: int,+ global_rank: int,+ global_step: int,+) -> int:+ """Derive the isolated snapshot-noise seed from stable position fields."""+ if global_rank < 0 or global_step < 0:+ raise ValueError("global_rank and global_step must be non-negative.")+ mixed = _mix_u64(int(base_seed) ^ _SNAPSHOT_STREAM_ID)+ mixed = _mix_u64(mixed ^ int(global_rank))+ mixed = _mix_u64(mixed ^ int(global_step))+ return mixed % _TORCH_SEED_MODULUSdiff --git a/src/utils/startup.py b/src/utils/startup.pynew file mode 100644index 0000000..b15aef9--- /dev/null+++ b/src/utils/startup.py@@ -0,0 +1,127 @@+"""Node-local startup snapshots and inference output naming (no tensor loading)."""++import logging+import os+import tempfile+from pathlib import Path++from omegaconf import OmegaConf+++def setup_startup_logging(config, *, training):+ """Append one local file per global rank; the trainer records successful restore."""+ if training:+ directory = Path(config.log_dir)+ else:+ output = Path(config.output_path)+ directory = output.parent / "logs" / output.name+ directory.mkdir(parents=True, exist_ok=True)+ rank = int(os.environ.get("RANK", "0")) if "LOCAL_RANK" in os.environ else 0+ logger = logging.getLogger("looking_ahead")+ root_logger = logging.getLogger()+ root_logger.setLevel(logging.INFO)+ logger.setLevel(logging.INFO)+ logger.propagate = False+ for handler in logger.handlers[:]:+ logger.removeHandler(handler)+ if handler in root_logger.handlers:+ root_logger.removeHandler(handler)+ handler.close()+ for handler in (+ logging.FileHandler(directory / f"rank_{rank}.log", mode="a", encoding="utf-8"),+ logging.StreamHandler(),+ ):+ handler.setFormatter(logging.Formatter("%(asctime)s %(levelname)s %(message)s"))+ logger.addHandler(handler)+ root_logger.addHandler(handler)+ logger.info(+ "Starting session config=%s resume_source=%s",+ config.config_name,+ config.resume_checkpoint_path if training else None,+ )+ return logger+++def configure_debug_environment():+ if os.environ.get("DEBUG") == "1":+ os.environ["WAN_VIS_CAUSAL_MASK"] = "1"+ else:+ os.environ.setdefault("WAN_VIS_CAUSAL_MASK", "0")+++def publish_config(config, destination: Path) -> None:+ """LOCAL_RANK=0 publishes a closed temporary YAML by same-directory replacement."""+ if int(os.environ.get("LOCAL_RANK", "0")) != 0:+ return+ destination = Path(destination)+ destination.parent.mkdir(parents=True, exist_ok=True)+ temporary = None+ try:+ with tempfile.NamedTemporaryFile(+ mode="w",+ encoding="utf-8",+ suffix=".yaml",+ prefix=".startup-",+ dir=destination.parent,+ delete=False,+ ) as stream:+ temporary = Path(stream.name)+ OmegaConf.save(config, stream, resolve=True)+ os.replace(temporary, destination)+ finally:+ if temporary is not None:+ temporary.unlink(missing_ok=True)+++def resolve_inference_paths(config) -> None:+ """Resolve inference paths without loading or validating checkpoint contents."""+ checkpoint = config.checkpoint_path+ if checkpoint is not None:+ checkpoint_name = Path(checkpoint).parent.name or "checkpoint_model_init"+ else:+ root = Path(config.expdir) / "checkpoints"+ if config.checkpoint_name is not None:+ checkpoint_name = config.checkpoint_name+ checkpoint = str(root / checkpoint_name / "model.pt")+ if not Path(checkpoint).is_file():+ raise FileNotFoundError(+ f"checkpoint_name: specified checkpoint not found: {checkpoint}"+ )+ else:+ candidates = sorted(root.glob("checkpoint_model_*")) if root.is_dir() else []+ checkpoint = str(candidates[-1] / "model.pt") if candidates else None+ checkpoint_name = candidates[-1].name if candidates else "checkpoint_model_init"+ if checkpoint is None and config.use_ema:+ raise FileNotFoundError("use_ema: no training checkpoint was requested or discovered")+ if checkpoint is None:+ print("[inference] No training checkpoint loaded; retaining pipeline initial weights.")+ config.checkpoint_path = checkpoint+ if config.output_path is not None:+ return+ data_path = config.get("image_path") or config.get("video_path") or config.data_path+ if config.use_train_data:+ data_path = next(+ source.data_path+ for source in config.data_sources+ if source.id == config.inference_train_data_source_id+ )+ suffix = ""+ if config.model_kwargs.sink_size > 0:+ suffix += f"-sink={config.model_kwargs.sink_size}"+ if config.use_ema:+ suffix += "-ema"+ if config.use_train_data:+ suffix += "-train_data"+ if config.get("v2v", False):+ context = config.v2v_context_latents+ suffix += f"-v2v-k={context if context is not None else 'auto'}"+ if config.i2v:+ suffix += "-i2v"+ if config.get("image_path") is not None:+ suffix += "-single_image"+ config.output_path = str(+ Path(config.expdir)+ / "inference"+ / f"{checkpoint_name}-{Path(data_path).stem}"+ / f"test_{config.duration}{suffix}"+ )diff --git a/src/utils/timestep_bucket_logging.py b/src/utils/timestep_bucket_logging.pynew file mode 100644index 0000000..42f5164--- /dev/null+++ b/src/utils/timestep_bucket_logging.py@@ -0,0 +1,265 @@+"""Chunk-wise timestep-bucket metrics for diffusion training logs."""++from __future__ import annotations++import math++import torch+import torch.distributed as dist++from src.utils.timestep_buckets import (+ TIMESTEP_BUCKET_COUNT,+ physical_timestep_bucket_bounds,+ validate_timestep_bucket_count,+)+++def validate_timestep_bucket_log_interval(value: object) -> int:+ """Validate the positive optimizer-step window used by bucket logging."""+ if isinstance(value, bool) or not isinstance(value, int):+ raise TypeError("timestep_bucket_log_interval must be a positive integer.")+ if value <= 0:+ raise ValueError("timestep_bucket_log_interval must be greater than zero.")+ return value+++def physical_timestep_bucket_ids(+ timestep: torch.Tensor,+ *,+ max_timestep: int | float,+ bucket_count: int = TIMESTEP_BUCKET_COUNT,+) -> torch.Tensor:+ """Map physical scheduler timesteps to the shared canonical buckets."""+ bucket_count = validate_timestep_bucket_count(bucket_count)+ if isinstance(max_timestep, bool) or not isinstance(max_timestep, (int, float)):+ raise TypeError("max_timestep must be positive.")+ if max_timestep <= 0:+ raise ValueError("max_timestep must be greater than zero.")++ bucket_ids = torch.floor(timestep.detach().to(torch.float64) * bucket_count / max_timestep).to(+ torch.long+ )+ return bucket_ids.clamp(0, bucket_count - 1)+++def build_chunkwise_loss_observations(+ frame_loss: torch.Tensor,+ timestep: torch.Tensor,+ *,+ num_frame_per_block: int,+ independent_first_frame: bool,+ exclude_first_frame: bool,+) -> tuple[torch.Tensor, torch.Tensor]:+ """Reduce frame losses to the timestep-sharing units used for logging.++ Args:+ frame_loss: Scheduler-weighted main loss in ``[B, T]``.+ timestep: Canonical physical scheduler timesteps in ``[B, T]``.+ num_frame_per_block: Number of regular latent frames sharing one+ timestep.+ independent_first_frame: Whether frame zero is a one-frame timestep+ unit outside the regular chunk layout.+ exclude_first_frame: Whether frame zero is conditioning-only and does+ not participate in the main generator loss.++ Returns:+ Flattened ``(chunk_loss, chunk_timestep)`` tensors. Every regular+ chunk contributes one mean loss and one physical timestep. An included+ independent first frame contributes one additional observation.+ """+ if frame_loss.ndim != 2 or timestep.ndim != 2:+ raise ValueError("frame_loss and timestep must both have shape [B, T].")+ if frame_loss.shape != timestep.shape:+ raise ValueError(+ "frame_loss and timestep must have identical shapes, got "+ f"{tuple(frame_loss.shape)} and {tuple(timestep.shape)}."+ )+ if isinstance(num_frame_per_block, bool) or not isinstance(num_frame_per_block, int):+ raise TypeError("num_frame_per_block must be a positive integer.")+ if num_frame_per_block <= 0:+ raise ValueError("num_frame_per_block must be greater than zero.")+ if exclude_first_frame and not independent_first_frame:+ raise ValueError("exclude_first_frame requires independent_first_frame=true.")++ if independent_first_frame:+ first_loss = frame_loss[:, :1]+ first_timestep = timestep[:, :1]+ regular_loss = frame_loss[:, 1:]+ regular_timestep = timestep[:, 1:]+ else:+ first_loss = frame_loss[:, :0]+ first_timestep = timestep[:, :0]+ regular_loss = frame_loss+ regular_timestep = timestep++ regular_frames = regular_loss.shape[1]+ if regular_frames % num_frame_per_block != 0:+ raise ValueError(+ "Regular frame count must be divisible by num_frame_per_block, got "+ f"T_regular={regular_frames}, F={num_frame_per_block}."+ )++ batch_size = frame_loss.shape[0]+ regular_chunks = regular_frames // num_frame_per_block+ regular_chunk_loss = regular_loss.reshape(+ batch_size,+ regular_chunks,+ num_frame_per_block,+ ).mean(dim=2)+ regular_chunk_timestep = regular_timestep.reshape(+ batch_size,+ regular_chunks,+ num_frame_per_block,+ )[:, :, 0]++ if independent_first_frame and not exclude_first_frame:+ chunk_loss = torch.cat((first_loss, regular_chunk_loss), dim=1)+ chunk_timestep = torch.cat((first_timestep, regular_chunk_timestep), dim=1)+ else:+ chunk_loss = regular_chunk_loss+ chunk_timestep = regular_chunk_timestep+ return chunk_loss.flatten().detach(), chunk_timestep.flatten().detach()+++class TimestepBucketAccumulator:+ """Accumulate and globally reduce ten chunk-wise timestep loss buckets."""++ def __init__(+ self,+ *,+ interval: int,+ max_timestep: int,+ device: torch.device | int | str,+ ) -> None:+ self.interval = validate_timestep_bucket_log_interval(interval)+ if isinstance(max_timestep, bool) or not isinstance(max_timestep, int):+ raise TypeError("internal timestep scale must be a positive integer.")+ if max_timestep <= 0:+ raise ValueError("internal timestep scale must be greater than zero.")+ self.max_timestep = max_timestep+ self._sums = torch.zeros(+ TIMESTEP_BUCKET_COUNT,+ dtype=torch.float64,+ device=device,+ )+ self._counts = torch.zeros_like(self._sums)+ self.steps_accumulated = 0++ def update(self, chunk_loss: torch.Tensor, chunk_timestep: torch.Tensor) -> None:+ """Add one optimizer step without synchronizing the device."""+ if chunk_loss.ndim != 1 or chunk_timestep.ndim != 1:+ raise ValueError("chunk_loss and chunk_timestep must be one-dimensional.")+ if chunk_loss.shape != chunk_timestep.shape:+ raise ValueError(+ "chunk_loss and chunk_timestep must have identical shapes, got "+ f"{tuple(chunk_loss.shape)} and {tuple(chunk_timestep.shape)}."+ )+ if chunk_loss.device != self._sums.device or chunk_timestep.device != self._sums.device:+ raise ValueError("Timestep bucket observations must be on the accumulator device.")++ bucket_ids = physical_timestep_bucket_ids(+ chunk_timestep,+ max_timestep=self.max_timestep,+ )+ self._sums.scatter_add_(+ 0,+ bucket_ids,+ chunk_loss.detach().to(torch.float64),+ )+ self._counts.scatter_add_(+ 0,+ bucket_ids,+ torch.ones_like(chunk_loss, dtype=torch.float64),+ )+ self.steps_accumulated += 1++ @property+ def ready(self) -> bool:+ """Whether the configured number of optimizer steps has accumulated."""+ return self.steps_accumulated >= self.interval++ def flush(self) -> tuple[torch.Tensor, int] | None:+ """All-reduce sums/counts, reset the local window, and return packed stats."""+ if self.steps_accumulated == 0:+ return None+ packed = torch.stack((self._sums, self._counts))+ if dist.is_available() and dist.is_initialized():+ dist.all_reduce(packed, op=dist.ReduceOp.SUM)+ window_steps = self.steps_accumulated+ self._sums.zero_()+ self._counts.zero_()+ self.steps_accumulated = 0+ return packed, window_steps++ def format_metrics(+ self,+ packed: torch.Tensor,+ *,+ loss_prefix: str = "generator_loss_timestep_bucket",+ count_prefix: str = "generator_loss_timestep_bucket_count",+ ) -> dict[str, float | int]:+ """Convert globally reduced stats to stable W&B metric names."""+ if packed.shape != (2, TIMESTEP_BUCKET_COUNT):+ raise ValueError(+ "Packed timestep bucket stats must have shape "+ f"[2, {TIMESTEP_BUCKET_COUNT}], got {tuple(packed.shape)}."+ )+ for name, prefix in (("loss_prefix", loss_prefix), ("count_prefix", count_prefix)):+ if not isinstance(prefix, str) or not prefix or prefix.endswith("/"):+ raise ValueError(+ f"{name} must be a non-empty metric prefix without a trailing '/'."+ )+ sums = packed[0].detach().cpu()+ counts = packed[1].detach().cpu()+ metrics: dict[str, float | int] = {}+ endpoint_width = max(1, len(str(self.max_timestep)))+ for bucket_index in range(TIMESTEP_BUCKET_COUNT):+ lower_float, upper_float = physical_timestep_bucket_bounds(+ bucket_index,+ max_timestep=self.max_timestep,+ )+ lower = round(lower_float)+ upper = round(upper_float)+ label = f"{lower:0{endpoint_width}d}_{upper:0{endpoint_width}d}"+ count = int(counts[bucket_index].item())+ loss = float(sums[bucket_index].item() / count) if count > 0 else math.nan+ metrics[f"{loss_prefix}/{label}"] = loss+ metrics[f"{count_prefix}/{label}"] = count+ overall_count = int(counts.sum().item())+ overall_loss = float(sums.sum().item() / overall_count) if overall_count > 0 else math.nan+ metrics[f"{loss_prefix}/overall"] = overall_loss+ metrics[f"{count_prefix}/overall"] = overall_count+ return metrics+++def build_predictive_aux_chunkwise_loss_observations(+ frame_loss: torch.Tensor,+ timestep: torch.Tensor,+) -> tuple[torch.Tensor, torch.Tensor]:+ """Reduce predictive auxiliary frame losses to future-chunk observations.++ Args:+ frame_loss: Scheduler-weighted auxiliary loss in+ ``[B, valid_chunks, block_size]`` before source/offset averaging.+ timestep: Physical auxiliary target timesteps with the same shape.++ Returns:+ Flattened detached ``(chunk_loss, chunk_timestep)`` tensors. Each valid+ future chunk contributes its block-mean loss and its shared timestep.+ """+ if frame_loss.ndim != 3 or timestep.ndim != 3:+ raise ValueError(+ "Predictive auxiliary frame loss and timestep must both have shape "+ "[B, valid_chunks, block_size]."+ )+ if frame_loss.shape != timestep.shape:+ raise ValueError(+ "Predictive auxiliary frame loss and timestep must have identical shapes, got "+ f"{tuple(frame_loss.shape)} and {tuple(timestep.shape)}."+ )+ if frame_loss.shape[2] == 0:+ raise ValueError("Predictive auxiliary block_size must be greater than zero.")++ chunk_loss = frame_loss.mean(dim=2)+ chunk_timestep = timestep[:, :, 0]+ return chunk_loss.flatten().detach(), chunk_timestep.flatten().detach()diff --git a/src/utils/timestep_buckets.py b/src/utils/timestep_buckets.pynew file mode 100644index 0000000..21a0f4f--- /dev/null+++ b/src/utils/timestep_buckets.py@@ -0,0 +1,39 @@+"""Shared physical-timestep bucket definitions for training and diagnostics."""++from __future__ import annotations++TIMESTEP_BUCKET_COUNT = 10+++def validate_timestep_bucket_count(value: object) -> int:+ """Return a positive integer bucket count or raise a precise error."""+ if isinstance(value, bool) or not isinstance(value, int):+ raise TypeError("timestep bucket count must be a positive integer.")+ if value <= 0:+ raise ValueError("timestep bucket count must be greater than zero.")+ return value+++def physical_timestep_bucket_bounds(+ bucket_index: int,+ *,+ max_timestep: int | float,+ bucket_count: int = TIMESTEP_BUCKET_COUNT,+) -> tuple[float, float]:+ """Return the canonical half-open physical-timestep interval for one bucket.++ The last interval also contains ``max_timestep`` because runtime bucket IDs+ clamp that endpoint into the final bucket.+ """+ bucket_count = validate_timestep_bucket_count(bucket_count)+ if isinstance(bucket_index, bool) or not isinstance(bucket_index, int):+ raise TypeError("bucket_index must be an integer.")+ if not 0 <= bucket_index < bucket_count:+ raise ValueError(f"bucket_index must be in [0, {bucket_count}); got {bucket_index!r}.")+ if isinstance(max_timestep, bool) or not isinstance(max_timestep, (int, float)):+ raise TypeError("max_timestep must be positive.")+ if max_timestep <= 0:+ raise ValueError("max_timestep must be greater than zero.")++ width = float(max_timestep) / bucket_count+ return bucket_index * width, (bucket_index + 1) * widthdiff --git a/src/utils/train_cli.py b/src/utils/train_cli.pynew file mode 100644index 0000000..1b64b96--- /dev/null+++ b/src/utils/train_cli.py@@ -0,0 +1,27 @@+"""Launcher log preparation uses the same final training configuration as train.py."""++import os+import tempfile+from pathlib import Path++from src.utils.config import resolve_config+++def prepare_launcher_logs(argv=None, *, node_rank=0, world_size=1):+ resolved = resolve_config(argv, training=True, world_size=world_size)+ if type(node_rank) is not int or node_rank < 0:+ raise ValueError("RANK must be a nonnegative node rank")+ root = Path(resolved.public.expdir) / "logs" / "torchrun" / f"node_{node_rank}"+ root.mkdir(parents=True, exist_ok=True)+ return str(Path(tempfile.mkdtemp(prefix="run_", dir=root)).absolute())+++if __name__ == "__main__":+ # run.sh supplies process count to this one helper invocation. Its parent+ # WORLD_SIZE remains the node count and torchrun owns worker WORLD_SIZE.+ print(+ prepare_launcher_logs(+ node_rank=int(os.environ.get("RANK", "0")),+ world_size=int(os.environ.get("WORLD_SIZE", "1")),+ )+ )diff --git a/src/utils/train_dataset.py b/src/utils/train_dataset.pynew file mode 100644index 0000000..0e40955--- /dev/null+++ b/src/utils/train_dataset.py@@ -0,0 +1,101 @@+"""Finite source selection for TI2V and deterministic training/preview loaders."""++from dataclasses import dataclass++import torch+import torch.distributed as dist+from torch.utils.data import DataLoader++from src.dataset.multi_source import (+ build_multi_source_tensor_webdataset,+ validate_multi_source_selection,+)+from src.dataset.tensor import PytorchTensorWebDataset+from src.dataset.utils import seed_webdataset_worker+++@dataclass(frozen=True)+class ResolvedTrainDataSource:+ source_id: str+ data_paths: tuple[str, ...]+ annotation_path: str++ @property+ def primary_data_path(self):+ return self.data_paths[0]+++def resolve_train_data_selection(config):+ sources = validate_multi_source_selection(+ config.data_sources,+ legacy_fields={"data_path": config.data_path, "annotation_path": config.annotation_path},+ )+ source_id = config.inference_train_data_source_id+ if source_id is None:+ if len(sources) != 1:+ raise ValueError("Multiple data_sources require --train_data_source_id <id>.")+ selected = sources[0]+ else:+ selected = next((source for source in sources if source.source_id == source_id), None)+ if selected is None:+ raise ValueError(f"Unknown inference train-data source ID {source_id!r}.")+ return ResolvedTrainDataSource(+ selected.source_id, (selected.data_path,), selected.annotation_path+ )+++def build_train_dataset(config, max_samples=-1, *, selection=None):+ """Build a finite inference stream; reported length does not limit iteration."""+ selected = selection or resolve_train_data_selection(config)+ rank = dist.get_rank() if dist.is_initialized() else 0+ return PytorchTensorWebDataset(+ data_path=selected.primary_data_path,+ annotation_path=selected.annotation_path,+ shuffle=0,+ shardshuffle=False,+ resampled=False,+ length=max_samples if max_samples >= 0 else None,+ seed=int(config.seed),+ global_rank=rank,+ )+++def build_training_dataset(config, *, is_train):+ validate_multi_source_selection(+ config.data_sources,+ legacy_fields={"data_path": config.data_path, "annotation_path": config.annotation_path},+ )+ if int(config.seed) == 0:+ raise ValueError("Deterministic training requires a nonzero seed.")+ rank = dist.get_rank() if dist.is_initialized() else 0+ world_size = dist.get_world_size() if dist.is_initialized() else 1+ length = 100000000 if is_train else world_size * int(config.val_batch_size)+ return build_multi_source_tensor_webdataset(+ config.data_sources,+ is_train=is_train,+ seed=int(config.seed),+ global_rank=rank,+ length=length,+ target_frame_num=int(config.image_or_video_shape[1]),+ sample_shuffle=int(config.wds_sample_shuffle),+ sample_shuffle_initial=int(config.wds_sample_shuffle_initial),+ )+++def build_training_dataloader(config, *, is_train):+ dataset = build_training_dataset(config, is_train=is_train)+ workers = int(config.num_workers if is_train else config.val_num_workers)+ generator = torch.Generator(device="cpu").manual_seed(dataset.dataloader_seed)+ kwargs = {"prefetch_factor": 2} if workers > 0 else {}+ return DataLoader(+ dataset,+ batch_size=int(config.batch_size if is_train else config.val_batch_size),+ num_workers=workers,+ drop_last=is_train,+ pin_memory=False,+ persistent_workers=False,+ in_order=True,+ generator=generator,+ worker_init_fn=seed_webdataset_worker,+ **kwargs,+ )diff --git a/src/utils/training_snapshot.py b/src/utils/training_snapshot.pynew file mode 100644index 0000000..35d49ae--- /dev/null+++ b/src/utils/training_snapshot.py@@ -0,0 +1,17 @@+"""Shared training-snapshot scheduling helpers."""++from __future__ import annotations+++def should_run_training_snapshot(config, step: int) -> bool:+ """Return whether this step should execute visualization inference.++ ``--no_visualize`` is a hard opt-out for generated video snapshots. Besides+ honoring the CLI contract, this keeps trainers from leaving the VAE on+ CPU/FP32 and then invoking a GPU/BF16 snapshot decode.+ """++ snapshot_iters = int(config.snapshot_iters)+ return (+ not bool(config.no_visualize) and snapshot_iters != -1 and int(step) % snapshot_iters == 0+ )diff --git a/src/utils/video_prefix.py b/src/utils/video_prefix.pynew file mode 100644index 0000000..0ee4824--- /dev/null+++ b/src/utils/video_prefix.py@@ -0,0 +1,81 @@+"""Causal video-prefix geometry shared by input validation and ordinary sampling."""++import math++import torch++from src.utils.wan_model_family import get_wan_model_family+++def output_geometry(config):+ family = get_wan_model_family(config["model_name"])+ if config["num_output_frames"] > 0:+ pixel_frames = config["num_output_frames"]+ else:+ duration = config["duration"]+ seconds = int(duration[:-1]) * {"s": 1, "m": 60, "h": 3600}[duration[-1].lower()]+ pixel_frames = int(config.get("fps", family.default_fps) * seconds)+ latent_frames = 1 + math.ceil((pixel_frames - 1) / family.vae_temporal_stride)+ chunk = config["num_frame_per_block"]+ if config["independent_first_frame"]:+ latent_frames = 1 + math.ceil((latent_frames - 1) / chunk) * chunk+ else:+ latent_frames = math.ceil(latent_frames / chunk) * chunk+ return pixel_frames, latent_frames+++def prefix_geometry(config):+ """Return (K, condition pixels); duration includes the prefix and visible tail."""+ count = config["v2v_context_latents"]+ block = config["num_frame_per_block"]+ if type(count) is not int or count < 1:+ raise ValueError("v2v_context_latents: must be a positive non-boolean integer")+ if config["independent_first_frame"]:+ if count <= 1 or (count - 1) % block:+ raise ValueError("v2v_context_latents: requires K=1+M*block, M>=1")+ elif count % block:+ raise ValueError("v2v_context_latents: requires K=M*block, M>=1")+ family = get_wan_model_family(config["model_name"])+ condition_frames = 1 + family.vae_temporal_stride * (count - 1)+ pixels, latents = output_geometry(config)+ if pixels <= condition_frames or latents <= count:+ raise ValueError("v2v_context_latents: requested output must include visible continuation")+ if (latents - count) % block:+ raise ValueError("v2v_context_latents: generated tail must be chunk-aligned")+ return count, condition_frames+++def automatic_prefix_geometry(config, available_frames):+ """Choose the longest aligned context while leaving a generated chunk."""+ if type(available_frames) is not int or available_frames < 1:+ raise ValueError("video_path: no usable frames at the configured FPS")+ family = get_wan_model_family(config["model_name"])+ pixels, latents = output_geometry(config)+ block = config["num_frame_per_block"]+ maximum = min(+ 1 + (available_frames - 1) // family.vae_temporal_stride,+ 1 + (pixels - 2) // family.vae_temporal_stride,+ latents - block,+ )+ if config["independent_first_frame"]:+ count = 1 + (maximum - 1) // block * block+ minimum = 1 + block+ else:+ count = maximum // block * block+ minimum = block+ if count < minimum:+ raise ValueError(+ "video_path: video is too short for an aligned V2V context "+ "at the configured FPS with visible continuation"+ )+ return prefix_geometry({**config, "v2v_context_latents": count})+++def select_prefix(clean, count):+ """Use only the stored clean prefix; the unseen suffix never conditions generation."""+ if clean.shape[1] < count:+ raise ValueError(f"v2v_context_latents: requested {count}, sample has {clean.shape[1]}")+ prefix = clean[:, :count]+ if not torch.isfinite(prefix).all():+ raise ValueError("video prefix contains non-finite latent values")+ return prefix.contiguous()diff --git a/src/utils/wan_model_family.py b/src/utils/wan_model_family.pynew file mode 100644index 0000000..e1aecff--- /dev/null+++ b/src/utils/wan_model_family.py@@ -0,0 +1,252 @@+"""Canonical Wan model-family capabilities and latent geometry.++This module describes model facts only. It does not mutate an OmegaConf config+and therefore does not turn a ``model_name`` override into an implicit family+switch. Family-specific YAML files remain responsible for their complete data,+checkpoint, shape, and experiment settings.+"""++from __future__ import annotations++from collections.abc import Mapping, Sequence+from dataclasses import dataclass+from numbers import Integral+from typing import Any++import torch+++@dataclass(frozen=True)+class WanModelFamily:+ """Geometry and project capability contract for one Wan checkpoint family."""++ model_name: str+ version: str+ task: str+ latent_channels: int+ native_latent_frames: int+ native_pixel_frames: int+ native_height: int+ native_width: int+ vae_temporal_stride: int+ vae_spatial_stride: int+ default_fps: int+ causal: bool+ predictive: bool+ condition_only_first_frame: bool++ @property+ def default_frame_size(self) -> tuple[int, int, int, int]:+ return (self.native_pixel_frames, 3, self.native_height, self.native_width)++ @property+ def default_latent_size(self) -> tuple[int, int, int, int]:+ return (+ self.native_latent_frames,+ self.latent_channels,+ self.native_height // self.vae_spatial_stride,+ self.native_width // self.vae_spatial_stride,+ )++ @property+ def vae_compression_factor(self) -> tuple[int, int, int]:+ return (+ self.vae_temporal_stride,+ self.vae_spatial_stride,+ self.vae_spatial_stride,+ )+++_MODEL_FAMILIES = {+ "Wan2.1-T2V-1.3B": WanModelFamily(+ "Wan2.1-T2V-1.3B",+ "2.1",+ "t2v",+ 16,+ 21,+ 81,+ 480,+ 832,+ 4,+ 8,+ 16,+ True,+ True,+ True,+ ),+ "Wan2.1-T2V-14B": WanModelFamily(+ "Wan2.1-T2V-14B",+ "2.1",+ "t2v",+ 16,+ 21,+ 81,+ 480,+ 832,+ 4,+ 8,+ 16,+ True,+ True,+ True,+ ),+ "Wan2.2-TI2V-5B": WanModelFamily(+ "Wan2.2-TI2V-5B",+ "2.2",+ "ti2v",+ 48,+ 31,+ 121,+ 704,+ 1280,+ 4,+ 16,+ 24,+ True,+ True,+ True,+ ),+}+++def get_wan_model_family(model_name: str) -> WanModelFamily:+ """Return a known family contract or reject an unsupported checkpoint name."""+ try:+ return _MODEL_FAMILIES[str(model_name)]+ except KeyError as error:+ supported = ", ".join(sorted(_MODEL_FAMILIES))+ raise ValueError(+ f"Unsupported Wan model_name={model_name!r}; supported values: {supported}."+ ) from error+++def _config_value(config: Any, key: str, default: Any = None) -> Any:+ if isinstance(config, Mapping):+ return config.get(key, default)+ return getattr(config, key, default)+++def validate_wan_model_geometry(+ config: Any,+ *,+ consumer_name: str,+ require_batch_one: bool = False,+) -> WanModelFamily:+ """Validate explicit config geometry without deriving or rewriting values."""+ family = get_wan_model_family(_config_value(config, "model_name"))+ shape = _config_value(config, "image_or_video_shape")+ if not isinstance(shape, Sequence) or isinstance(shape, (str, bytes)) or len(shape) != 5:+ raise ValueError(+ f"{consumer_name}: image_or_video_shape must be [B,T,C,H,W]; got {shape!r}."+ )+ if any(isinstance(value, bool) or not isinstance(value, Integral) for value in shape):+ raise TypeError(+ f"{consumer_name}: image_or_video_shape values must be integers; got {shape!r}."+ )+ batch, frames, channels, height, width = map(int, shape)+ if batch <= 0 or frames <= 0 or height <= 0 or width <= 0:+ raise ValueError(+ f"{consumer_name}: image_or_video_shape values must be positive; got {shape!r}."+ )+ if require_batch_one and batch != 1:+ raise ValueError(f"{consumer_name}: requires batch dimension 1; got B={batch}.")+ if channels != family.latent_channels:+ raise ValueError(+ f"{consumer_name}: {family.model_name} requires latent C={family.latent_channels}; "+ f"got image_or_video_shape={list(shape)!r}. Select a complete family-specific YAML "+ "instead of overriding model_name alone."+ )+ fps = _config_value(config, "fps", family.default_fps)+ if (+ isinstance(fps, bool)+ or not isinstance(fps, (Integral, float))+ or int(fps) != fps+ or fps <= 0+ ):+ raise ValueError(f"{consumer_name}: fps must be a positive integer; got {fps!r}.")+ return family+++def require_wan_capability(+ config: Any,+ capability: str,+ *,+ consumer_name: str,+) -> WanModelFamily:+ """Validate geometry and require a named boolean family capability."""+ family = validate_wan_model_geometry(config, consumer_name=consumer_name)+ if not hasattr(family, capability):+ raise ValueError(f"Unknown Wan family capability {capability!r}.")+ if not bool(getattr(family, capability)):+ raise ValueError(+ f"{consumer_name}: model_name={family.model_name!r} does not support {capability}."+ )+ return family+++def validate_wan_checkpoint_family(+ state_dict: Mapping[str, Any],+ *,+ model_name: str,+ consumer_name: str,+) -> None:+ """Reject an identifiable cross-family checkpoint before state loading.++ Historical checkpoints do not carry explicit family metadata, so the+ diffusion patch-embedding input channel is the stable discriminator across+ dense, predictive, EMA, MoT, and FSDP namespaces. If a partial checkpoint+ omits that tensor, the existing strict state-dict validation remains+ authoritative. Recognizable Wan2.1 patch output widths additionally+ distinguish 1.3B from 14B, which share the same 16-channel VAE. This does+ not reinterpret unknown/reduced architectures or migrate checkpoint keys.+ """+ family = get_wan_model_family(model_name)+ for key, value in state_dict.items():+ if not key.endswith("patch_embedding.weight") or not isinstance(value, torch.Tensor):+ continue+ if value.ndim < 2:+ continue+ checkpoint_channels = int(value.shape[1])+ if checkpoint_channels != family.latent_channels:+ raise ValueError(+ f"{consumer_name}: checkpoint tensor {key!r} has latent C="+ f"{checkpoint_channels}, but model_name={model_name!r} requires "+ f"C={family.latent_channels}. Cross-family Wan2.1/Wan2.2 "+ "checkpoint loading is not supported."+ )+ wan21_widths = {"Wan2.1-T2V-1.3B": 1536, "Wan2.1-T2V-14B": 5120}+ checkpoint_width = int(value.shape[0])+ if (+ model_name in wan21_widths+ and checkpoint_width in wan21_widths.values()+ and checkpoint_width != wan21_widths[model_name]+ ):+ raise ValueError(+ f"{consumer_name}: checkpoint tensor {key!r} has hidden width "+ f"{checkpoint_width}, but model_name={model_name!r} requires "+ f"{wan21_widths[model_name]}. Cross-size Wan2.1 checkpoint loading "+ "is not supported."+ )+++def validate_wan_latent_tensor(+ latent: torch.Tensor,+ config: Any,+ *,+ consumer_name: str,+) -> None:+ """Validate a project-layout ``[B,T,C,H,W]`` latent against the YAML."""+ family = validate_wan_model_geometry(config, consumer_name=consumer_name)+ if latent.ndim != 5:+ raise ValueError(+ f"{consumer_name}: latent must have shape [B,T,C,H,W]; got {tuple(latent.shape)!r}."+ )+ configured = tuple(int(value) for value in _config_value(config, "image_or_video_shape"))+ actual = tuple(int(value) for value in latent.shape)+ expected_tail = configured[1:]+ if actual[1:] != expected_tail:+ raise ValueError(+ f"{consumer_name}: latent shape {actual!r} is incompatible with "+ f"model_name={family.model_name!r} and configured [T,C,H,W]="+ f"{expected_tail!r}. Use a family-compatible dataset and YAML."+ )diff --git a/src/utils/wan_wrapper.py b/src/utils/wan_wrapper.pynew file mode 100644index 0000000..54945bd--- /dev/null+++ b/src/utils/wan_wrapper.py@@ -0,0 +1,787 @@+"""Wan text/VAE/backbone readers for the selected causal TF/FCP interfaces."""++import logging+import os+import time+from contextlib import contextmanager, nullcontext++import torch++from src.utils.scheduler import FlowMatchScheduler+from src.utils.wan_model_family import get_wan_model_family+from src.wan.modules.t5 import umt5_xxl+from src.wan.modules.tokenizers import HuggingfaceTokenizer+from src.wan.modules.vae import _video_vae+from src.wan22.modules.vae2_2 import _video_vae as _video_vae_2_2++WAN_ROOT = os.environ.get("WAN_ROOT", "./weights/Wan-AI")+WAN_LOCAL_CACHE = os.environ.get("WAN_LOCAL_CACHE", "/tmp/Wan-AI")+WAN_LOCAL_CACHE_ENABLE = os.environ.get("WAN_LOCAL_CACHE_ENABLE", "1").lower() not in (+ "0",+ "false",+ "no",+)+WAN_LOCAL_CACHE_WORKERS = int(os.environ.get("WAN_LOCAL_CACHE_WORKERS", "16"))+_RESOLVED_MODEL_DIRS = {}+++def _flatten_video_timestep(+ timestep: torch.Tensor, *, batch_size: int, frame_count: int+) -> torch.Tensor:+ """Return one timestep per flattened ``[batch, frame]`` element."""+ if timestep.ndim == 1 and timestep.shape[0] == batch_size:+ timestep = timestep[:, None]+ if timestep.ndim != 2 or timestep.shape[0] != batch_size:+ raise ValueError(+ "Video timestep must have shape [B], [B, 1], or [B, T]; "+ f"got {tuple(timestep.shape)} for B={batch_size}, T={frame_count}."+ )+ if timestep.shape[1] == 1:+ timestep = timestep.expand(batch_size, frame_count)+ elif timestep.shape[1] != frame_count:+ raise ValueError(+ "Video timestep frame dimension must be 1 or match the latent frames; "+ f"got {timestep.shape[1]} for T={frame_count}."+ )+ return timestep.reshape(batch_size * frame_count)+++@contextmanager+def isolated_torch_cpu_rng(seed: int):+ """Temporarily seed CPU initialization without advancing global RNG state.++ Training seeds normally differ by rank. Randomly initialized model+ parameters, however, must start from one shared seed before FSDP shards the+ module. This context installs the state of an isolated CPU generator and+ restores the caller's CPU RNG state on exit. It does not read or modify any+ CUDA generator, including the global stream used for training noise and+ timestep sampling.+ """+ if isinstance(seed, bool) or not isinstance(seed, int):+ raise TypeError("Diffusion initialization seed must be a non-boolean integer.")+ generator = torch.Generator(device="cpu")+ generator.manual_seed(seed)+ with torch.random.fork_rng(devices=[]):+ torch.set_rng_state(generator.get_state())+ yield+++def _initialize_wan_diffusion_model(+ model_class,+ pretrained_model_name_or_path: str,+ *,+ load_diffusion_pretrained: bool,+ subfolder: str | None = None,+ model_kwargs: dict | None = None,+):+ """Create a Wan diffusion module with or without pretrained DiT weights.++ The random-initialization path still reads the upstream ``config.json`` so+ model-family dimensions remain authoritative, but it never calls+ ``from_pretrained`` and therefore does not deserialize the diffusion+ checkpoint. Text-encoder and VAE loading are owned by their separate+ wrappers and are unaffected.+ """+ if not isinstance(load_diffusion_pretrained, bool):+ raise TypeError("load_diffusion_pretrained must be boolean.")+ model_kwargs = dict(model_kwargs or {})+ location_kwargs = {}+ if subfolder is not None:+ location_kwargs["subfolder"] = subfolder++ if load_diffusion_pretrained:+ return model_class.from_pretrained(+ pretrained_model_name_or_path=pretrained_model_name_or_path,+ **location_kwargs,+ **model_kwargs,+ )++ model_config = model_class.load_config(+ pretrained_model_name_or_path,+ **location_kwargs,+ )+ return model_class.from_config(model_config, **model_kwargs)+++def _parallel_copy_tree(src_dir: str, dst_dir: str, num_workers: int) -> None:+ """Copy ``src_dir`` -> ``dst_dir`` recursively using a thread pool.++ Equivalent in effect to ``cp -r src_dir/. dst_dir/``: directory+ structure is mirrored, and individual files are copied in parallel+ with ``shutil.copy2`` (preserves mtime / mode). Existing destination+ files with the same size are skipped, so this is resumable across+ interrupted runs.+ """+ import shutil+ from concurrent.futures import ThreadPoolExecutor, as_completed++ # 1. Mirror the directory tree first (cheap, single-threaded).+ for root, dirs, _files in os.walk(src_dir):+ rel = os.path.relpath(root, src_dir)+ target_root = dst_dir if rel == "." else os.path.join(dst_dir, rel)+ os.makedirs(target_root, exist_ok=True)+ # ``dirs`` is iterated implicitly via os.walk recursion.+ del dirs++ # 2. Build the (src_path, dst_path) work list.+ work: list = []+ for root, _dirs, files in os.walk(src_dir):+ rel = os.path.relpath(root, src_dir)+ target_root = dst_dir if rel == "." else os.path.join(dst_dir, rel)+ for fn in files:+ sp = os.path.join(root, fn)+ dp = os.path.join(target_root, fn)+ # Skip files that already look fully copied.+ try:+ if os.path.exists(dp) and os.path.getsize(dp) == os.path.getsize(sp):+ continue+ except OSError:+ pass+ work.append((sp, dp))++ if not work:+ return++ def _one(sp_dp):+ sp, dp = sp_dp+ # ``copy2`` preserves metadata (mtime / mode), which keeps the+ # sentinel-based cache reuse predictable across runs.+ shutil.copy2(sp, dp)+ return os.path.getsize(dp)++ workers = max(1, min(num_workers, len(work)))+ with ThreadPoolExecutor(max_workers=workers) as ex:+ futs = [ex.submit(_one, item) for item in work]+ for f in as_completed(futs):+ # Surface the first error (if any); ThreadPoolExecutor will+ # cancel queued futures once we propagate.+ f.result()+++def _resolve_wan_model_dir(model_name: str) -> str:+ """Return the directory that should be used as ``WAN_ROOT/<model_name>``.++ Behaviour:++ * If staging is disabled (``WAN_LOCAL_CACHE_ENABLE=0``) or+ ``WAN_ROOT`` already points inside ``WAN_LOCAL_CACHE`` (i.e. the+ source is *already* on local fast storage), we just return+ ``os.path.join(WAN_ROOT, model_name)`` and load directly.+ * Otherwise, we stage the *single* model subdirectory we need to+ local disk under ``WAN_LOCAL_CACHE/<model_name>/`` using a+ thread-pooled file copy and return that path. We deliberately do+ NOT mirror all of ``WAN_ROOT`` (the parent ``Wan-AI/`` tree is+ huge and contains many models we don't use this run).++ Concurrency: a ``.wan_cache_done`` sentinel inside the staged+ directory marks a successful copy. We hold an ``flock`` on a sibling+ lockfile while copying so multiple ranks/workers in the same node+ don't all try to pull the same ~30 GiB twice.+ """+ cached = _RESOLVED_MODEL_DIRS.get(model_name)+ if cached is not None:+ return cached++ src = os.path.join(WAN_ROOT, model_name)++ # Skip staging when:+ # * the user opted out, or+ # * WAN_ROOT already lives inside WAN_LOCAL_CACHE (no point+ # copying onto itself), or+ # * the source dir doesn't exist (let the downstream loader raise+ # a clear error against the original path).+ try:+ wan_root_abs = os.path.realpath(WAN_ROOT)+ cache_root_abs = os.path.realpath(WAN_LOCAL_CACHE)+ except OSError:+ wan_root_abs, cache_root_abs = WAN_ROOT, WAN_LOCAL_CACHE+ already_local = wan_root_abs == cache_root_abs or wan_root_abs.startswith(+ cache_root_abs.rstrip("/") + "/"+ )+ if not WAN_LOCAL_CACHE_ENABLE or already_local or not os.path.isdir(src):+ _RESOLVED_MODEL_DIRS[model_name] = src+ return src++ dst = os.path.join(WAN_LOCAL_CACHE, model_name)+ sentinel = os.path.join(dst, ".wan_cache_done")+ lock_path = os.path.join(WAN_LOCAL_CACHE, f".{model_name.replace('/', '_')}.lock")+ os.makedirs(WAN_LOCAL_CACHE, exist_ok=True)++ # Fast path: another process / a previous run already staged it.+ if os.path.isfile(sentinel):+ logging.info(f"[wan-cache] using cached {dst}")+ _RESOLVED_MODEL_DIRS[model_name] = dst+ return dst++ import fcntl++ os.makedirs(dst, exist_ok=True)+ logging.info(+ f"[wan-cache] staging {src} -> {dst} "+ f"(parallel copy, workers={WAN_LOCAL_CACHE_WORKERS}; this happens "+ f"once per node; subsequent runs reuse the cache)"+ )+ _t = time.perf_counter()+ with open(lock_path, "w") as lf:+ fcntl.flock(lf.fileno(), fcntl.LOCK_EX)+ try:+ # Re-check after acquiring the lock: a sibling process may+ # have finished while we were waiting.+ if os.path.isfile(sentinel):+ logging.info(+ f"[wan-cache] another process finished staging while we "+ f"waited for the lock; reusing {dst}"+ )+ else:+ try:+ _parallel_copy_tree(src, dst, WAN_LOCAL_CACHE_WORKERS)+ except Exception as e: # noqa: BLE001+ logging.warning(+ f"[wan-cache] parallel copy failed ({type(e).__name__}: "+ f"{e}); falling back to source path {src}"+ )+ _RESOLVED_MODEL_DIRS[model_name] = src+ return src+ # Mark success so future runs / wrappers hit the fast path.+ with open(sentinel, "w") as f:+ f.write(f"copied {src} -> {dst}\n")+ finally:+ fcntl.flock(lf.fileno(), fcntl.LOCK_UN)++ logging.info(f"[wan-cache] staged {model_name} in {time.perf_counter() - _t:.1f}s -> {dst}")+ _RESOLVED_MODEL_DIRS[model_name] = dst+ return dst+++class WanVAEWrapper(torch.nn.Module):+ """Project-facing wrapper around Wan VAE encode/decode APIs.++ Public methods use project video/latent layout ``[B, T, C, H, W]`` for+ latents and ``[B, C, T, H, W]`` for raw pixels passed into+ :meth:`encode_to_latent`. The underlying Wan VAE consumes+ ``[B, C, T, H, W]`` and normalizes latents with model-specific mean/std.+ """++ def __init__(self, model_name="Wan2.1-T2V-1.3B"):+ """Load the Wan VAE and model-specific latent normalization stats.++ Args:+ model_name: Wan checkpoint family. Determines VAE checkpoint file,+ latent channel count, temporal/spatial compression and default+ FPS.+ """+ super().__init__()+ get_wan_model_family(model_name)+ self.model_name = model_name+ self.dtype = torch.bfloat16++ # init param+ if model_name == "Wan2.2-TI2V-5B":+ self.default_fps = 24+ self.mean = torch.tensor(+ [+ -0.2289,+ -0.0052,+ -0.1323,+ -0.2339,+ -0.2799,+ 0.0174,+ 0.1838,+ 0.1557,+ -0.1382,+ 0.0542,+ 0.2813,+ 0.0891,+ 0.1570,+ -0.0098,+ 0.0375,+ -0.1825,+ -0.2246,+ -0.1207,+ -0.0698,+ 0.5109,+ 0.2665,+ -0.2108,+ -0.2158,+ 0.2502,+ -0.2055,+ -0.0322,+ 0.1109,+ 0.1567,+ -0.0729,+ 0.0899,+ -0.2799,+ -0.1230,+ -0.0313,+ -0.1649,+ 0.0117,+ 0.0723,+ -0.2839,+ -0.2083,+ -0.0520,+ 0.3748,+ 0.0152,+ 0.1957,+ 0.1433,+ -0.2944,+ 0.3573,+ -0.0548,+ -0.1681,+ -0.0667,+ ],+ dtype=torch.float32,+ )+ self.std = torch.tensor(+ [+ 0.4765,+ 1.0364,+ 0.4514,+ 1.1677,+ 0.5313,+ 0.4990,+ 0.4818,+ 0.5013,+ 0.8158,+ 1.0344,+ 0.5894,+ 1.0901,+ 0.6885,+ 0.6165,+ 0.8454,+ 0.4978,+ 0.5759,+ 0.3523,+ 0.7135,+ 0.6804,+ 0.5833,+ 1.4146,+ 0.8986,+ 0.5659,+ 0.7069,+ 0.5338,+ 0.4889,+ 0.4917,+ 0.4069,+ 0.4999,+ 0.6866,+ 0.4093,+ 0.5709,+ 0.6065,+ 0.6415,+ 0.4944,+ 0.5726,+ 1.2042,+ 0.5458,+ 1.6887,+ 0.3971,+ 1.0600,+ 0.3943,+ 0.5537,+ 0.5444,+ 0.4089,+ 0.7468,+ 0.7744,+ ],+ dtype=torch.float32,+ )+ else:+ self.default_fps = 16+ self.mean = torch.tensor(+ [+ -0.7571,+ -0.7089,+ -0.9113,+ 0.1075,+ -0.1745,+ 0.9653,+ -0.1517,+ 1.5508,+ 0.4134,+ -0.0715,+ 0.5517,+ -0.3632,+ -0.1922,+ -0.9497,+ 0.2503,+ -0.2921,+ ],+ dtype=torch.float32,+ )+ self.std = torch.tensor(+ [+ 2.8184,+ 1.4541,+ 2.3275,+ 2.6558,+ 1.2196,+ 1.7708,+ 2.6052,+ 2.0743,+ 3.2687,+ 2.1526,+ 2.8652,+ 1.5579,+ 1.6382,+ 1.1253,+ 2.8251,+ 1.9160,+ ],+ dtype=torch.float32,+ )++ # init model+ if model_name == "Wan2.2-TI2V-5B":+ vae_path = os.path.join(_resolve_wan_model_dir(model_name), "Wan2.2_VAE.pth")+ logging.info(f"[WanVAEWrapper] Loading VAE ({model_name}) from {vae_path}")+ _t0 = time.perf_counter()+ self.model = (+ _video_vae_2_2(+ pretrained_path=vae_path,+ z_dim=48,+ dim=160,+ dim_mult=[1, 2, 4, 4],+ temperal_downsample=[False, True, True],+ )+ .eval()+ .requires_grad_(False)+ )+ logging.info(+ f"[WanVAEWrapper] VAE ({model_name}) loaded in {time.perf_counter() - _t0:.2f}s"+ )+ else:+ vae_path = os.path.join(_resolve_wan_model_dir(model_name), "Wan2.1_VAE.pth")+ logging.info(f"[WanVAEWrapper] Loading VAE ({model_name}) from {vae_path}")+ _t0 = time.perf_counter()+ self.model = (+ _video_vae(+ pretrained_path=vae_path,+ z_dim=16,+ )+ .eval()+ .requires_grad_(False)+ )+ logging.info(+ f"[WanVAEWrapper] VAE ({model_name}) loaded in {time.perf_counter() - _t0:.2f}s"+ )+ self.vae_stride = (4, 8, 8)+ self.target_video_length = 81++ def encode_to_latent(self, pixel: torch.Tensor) -> torch.Tensor:+ """Encode raw pixel videos into project-layout latents.++ Args:+ pixel: Tensor ``[B, C=3, T_pixel, H_pixel, W_pixel]`` in the Wan+ VAE value range (typically ``[-1, 1]``).++ Returns:+ Latents ``[B, T_latent, C_latent, H_latent, W_latent]`` as+ ``float32``.+ """+ # pixel: [batch_size, num_channels, num_frames, height, width]+ device, dtype = pixel.device, pixel.dtype+ scale = [+ self.mean.to(device=device, dtype=dtype),+ 1.0 / self.std.to(device=device, dtype=dtype),+ ]++ output = [self.model.encode(u.unsqueeze(0), scale).float().squeeze(0) for u in pixel]+ output = torch.stack(output, dim=0)+ # from [batch_size, num_channels, num_frames, height, width]+ # to [batch_size, num_frames, num_channels, height, width]+ output = output.permute(0, 2, 1, 3, 4)+ return output++ def decode_to_pixel(self, latent: torch.Tensor, use_cache: bool = False) -> torch.Tensor:+ """Decode project-layout latents back to pixel videos.++ Args:+ latent: Tensor ``[B, T_latent, C_latent, H_latent, W_latent]``.+ use_cache: Use the Wan VAE streaming temporal cache. This is used+ by long-video inference and currently requires ``B == 1``.++ Returns:+ Pixel tensor ``[B, T_pixel, C=3, H_pixel, W_pixel]`` in ``[-1, 1]``.++ Compatibility:+ Callers using ``use_cache=True`` must clear ``self.model``'s cache+ after a full decode sequence.+ """+ # from [batch_size, num_frames, num_channels, height, width]+ # to [batch_size, num_channels, num_frames, height, width]+ zs = latent.permute(0, 2, 1, 3, 4)+ if use_cache:+ assert latent.shape[0] == 1, "Batch size must be 1 when using cache"++ device, dtype = latent.device, latent.dtype+ scale = [+ self.mean.to(device=device, dtype=dtype),+ 1.0 / self.std.to(device=device, dtype=dtype),+ ]++ if use_cache:+ decode_function = self.model.cached_decode+ else:+ decode_function = self.model.decode++ output = []+ for u in zs:+ output.append(decode_function(u.unsqueeze(0), scale).float().clamp_(-1, 1).squeeze(0))+ output = torch.stack(output, dim=0)+ # from [batch_size, num_channels, num_frames, height, width]+ # to [batch_size, num_frames, num_channels, height, width]+ output = output.permute(0, 2, 1, 3, 4)+ return output+++class WanTextEncoder(torch.nn.Module):+ """umT5 text encoder wrapper returning Wan-compatible prompt embeddings."""++ def __init__(self, model_name="Wan2.1-T2V-1.3B") -> None:+ """Load tokenizer and T5 encoder for a Wan checkpoint family.++ The encoder skeleton is built on the ``meta`` device and populated with+ ``load_state_dict(assign=True)`` to avoid expensive random init and+ extra host-side copies before moving to GPU.+ """+ super().__init__()+ get_wan_model_family(model_name)+ self.model_name = model_name++ _model_dir = _resolve_wan_model_dir(self.model_name)+ t5_ckpt_path = os.path.join(_model_dir, "models_t5_umt5-xxl-enc-bf16.pth")+ tokenizer_path = os.path.join(_model_dir, "google/umt5-xxl/")+ logging.info(f"[WanTextEncoder] Loading umT5-xxl ({model_name}) from {t5_ckpt_path}")+ _t0 = time.perf_counter()++ # ----- Phase 1: build the encoder skeleton on the ``meta`` device ----+ # Profiling showed the original ~1 minute init was *not* dominated by+ # the 11.4 GiB file read (often ~190 MB/s, well below the local+ # storage's real bandwidth). The bulk of the time was actually+ # CPU-side work that gets thrown away the moment we+ # ``load_state_dict``:+ # * ``T5Encoder.__init__`` ends with ``self.apply(init_weights)``,+ # which calls ``nn.init.normal_`` on every Linear weight (and+ # ``Embedding``'s default reset). For umt5-xxl that's ~5.7 B+ # parameters of single-threaded RNG writes (tens of GiB of+ # stores). Those values are immediately overwritten by the+ # ckpt -> pure waste.+ # * ``_t5`` then does an extra ``model.to(dtype, device)`` walk+ # over every parameter.+ # Constructing on ``device='meta'`` gives every parameter a shape ++ # dtype but *no storage*: the ``nn.init`` calls become no-ops (init+ # on meta tensors does nothing), no RNG, no allocation. We then use+ # ``load_state_dict(..., assign=True)`` to swap in the ckpt's real+ # storages without copying.+ _t_build = time.perf_counter()+ with torch.device("meta"):+ self.text_encoder = umt5_xxl(+ dtype=torch.bfloat16,+ device=torch.device("meta"),+ )+ self.text_encoder.eval().requires_grad_(False)+ logging.info(+ f"[WanTextEncoder] meta-built skeleton in {time.perf_counter() - _t_build:.2f}s"+ )++ # ----- Phase 2: read the ckpt -----------------------------------------+ # ``mmap=True`` returns file-backed views; the actual bytes are pulled+ # in lazily when ``assign=True`` re-points the parameters at them.+ # ``weights_only=True`` skips arbitrary pickle execution.+ _t_read = time.perf_counter()+ sd = torch.load(t5_ckpt_path, map_location="cpu", mmap=True, weights_only=True)+ logging.info(+ f"[WanTextEncoder] torch.load (mmap) returned {len(sd)} tensors "+ f"in {time.perf_counter() - _t_read:.2f}s"+ )++ # ----- Phase 3: assign storages into the meta module ------------------+ # ``assign=True`` is what actually materialises the parameters: the+ # meta-tensor params get their storage replaced by the (bf16, mmap'd)+ # ckpt tensors. This is also what triggers the real disk read,+ # so its wall time is the meaningful "load" number to watch.+ _t_assign = time.perf_counter()+ self.text_encoder.load_state_dict(sd, assign=True)+ logging.info(+ f"[WanTextEncoder] load_state_dict(assign=True) in "+ f"{time.perf_counter() - _t_assign:.2f}s"+ )+ del sd++ # ----- Phase 4: tokenizer (small, but still log it for visibility) ---+ _t_tok = time.perf_counter()+ self.tokenizer = HuggingfaceTokenizer(name=tokenizer_path, seq_len=512, clean="whitespace")+ logging.info(f"[WanTextEncoder] tokenizer in {time.perf_counter() - _t_tok:.2f}s")++ logging.info(+ f"[WanTextEncoder] umT5-xxl ({model_name}) loaded in {time.perf_counter() - _t0:.2f}s"+ )++ @property+ def device(self):+ # Assume we are always on GPU+ return torch.cuda.current_device()++ def forward(self, text_prompts: list[str]) -> dict:+ """Encode prompts into padded text embeddings.++ Args:+ text_prompts: List of prompt strings, length ``B``.++ Returns:+ ``{"prompt_embeds": context}`` where ``context`` is+ ``[B, text_len, dim]`` on the current CUDA device. Padding tokens+ are zeroed for downstream attention-cache reuse.+ """+ ids, mask = self.tokenizer(text_prompts, return_mask=True, add_special_tokens=True)+ ids = ids.to(self.device)+ mask = mask.to(self.device)+ seq_lens = mask.gt(0).sum(dim=1).long()+ context = self.text_encoder(ids, mask)++ for u, v in zip(context, seq_lens, strict=False):+ u[v:] = 0.0 # set padding to 0.0++ return {"prompt_embeds": context}+++class WanDiffusionWrapper(torch.nn.Module):+ """Project [B,T,C,H,W] interface around the selected causal Wan backbone."""++ def __init__(+ self,+ model_name="Wan2.1-T2V-1.3B",+ timestep_shift=5.0,+ local_attn_size=-1,+ latent_shape=None,+ sink_size=0,+ use_predictive_causal_model=False,+ load_diffusion_pretrained=True,+ initialization_seed=0,+ ):+ super().__init__()+ family = get_wan_model_family(model_name)+ self.model_name = model_name+ self.load_diffusion_pretrained = load_diffusion_pretrained+ self.default_frame_size = family.default_frame_size+ self.default_latent_size = family.default_latent_size+ self.vae_compression_factor = family.vae_compression_factor+ self.default_fps = family.default_fps+ self.latent_shape = (+ tuple(latent_shape[-4:]) if latent_shape is not None else self.default_latent_size+ )+ if len(self.latent_shape) != 4 or self.latent_shape[1] != family.latent_channels:+ raise ValueError(f"{model_name} requires [T,{family.latent_channels},H,W] latents.")+ self.frame_shape = (+ (self.latent_shape[0] - 1) * family.vae_temporal_stride + 1,+ 3,+ self.latent_shape[2] * family.vae_spatial_stride,+ self.latent_shape[3] * family.vae_spatial_stride,+ )+ self.frame_seq_len = self.latent_shape[-2] * self.latent_shape[-1] // 4+ if local_attn_size == -1:+ local_attn_size = self.latent_shape[0]+ if use_predictive_causal_model:+ from src.utils.predictive_causal_model import PredictiveCausalWanModel as ModelClass+ else:+ from src.utils.causal_model import CausalWanModel as ModelClass+ location = _resolve_wan_model_dir(model_name)+ logging.info("Loading %s (%s) from %s", ModelClass.__name__, model_name, location)+ # Objective-level random construction owns the shared backbone+aux RNG+ # context; standalone wrappers keep their isolated initialization.+ initialization_context = (+ nullcontext()+ if initialization_seed is None+ else isolated_torch_cpu_rng(initialization_seed)+ )+ with initialization_context:+ self.model = _initialize_wan_diffusion_model(+ ModelClass,+ location,+ load_diffusion_pretrained=load_diffusion_pretrained,+ model_kwargs={+ "local_attn_size": local_attn_size,+ "sink_size": sink_size,+ "train_frame_size": self.latent_shape[0],+ "model_type": family.task,+ },+ )+ self.model.eval()+ self.scheduler = FlowMatchScheduler(shift=timestep_shift, sigma_min=0.0)+ self.scheduler.set_timesteps(1000, training=True)++ def enable_gradient_checkpointing(self):+ self.model.enable_gradient_checkpointing()++ def forward(+ self,+ noisy_image_or_video,+ conditional_dict,+ timestep,+ *,+ kv_cache=None,+ crossattn_cache=None,+ current_start=None,+ cache_start=None,+ clean_x=None,+ return_predictive_aux=False,+ predictive_aux_noisy_chunks_by_offset=None,+ predictive_aux_timestep_chunks_by_offset=None,+ ):+ kwargs = {"t": timestep, "context": conditional_dict["prompt_embeds"]}+ if kv_cache is not None:+ kwargs.update(+ kv_cache=kv_cache,+ crossattn_cache=crossattn_cache,+ current_start=current_start,+ cache_start=cache_start,+ )+ elif clean_x is not None:+ kwargs.update(clean_x=clean_x.permute(0, 2, 1, 3, 4))+ if return_predictive_aux:+ kwargs["return_predictive_aux"] = True+ if predictive_aux_noisy_chunks_by_offset is not None:+ kwargs["aux_noisy_chunks_by_offset"] = {+ int(offset): chunks.permute(0, 3, 1, 2, 4, 5).contiguous()+ for offset, chunks in predictive_aux_noisy_chunks_by_offset.items()+ }+ if predictive_aux_timestep_chunks_by_offset is not None:+ kwargs["aux_timestep_chunks_by_offset"] = predictive_aux_timestep_chunks_by_offset+ output = self.model(noisy_image_or_video.permute(0, 2, 1, 3, 4), **kwargs)+ flow_pred, auxiliary = output if return_predictive_aux else (output, None)+ flow_pred = flow_pred.permute(0, 2, 1, 3, 4)+ pred_x0 = self._convert_flow_pred_to_x0(+ flow_pred.flatten(0, 1),+ noisy_image_or_video.flatten(0, 1),+ _flatten_video_timestep(+ timestep, batch_size=flow_pred.shape[0], frame_count=flow_pred.shape[1]+ ),+ ).unflatten(0, flow_pred.shape[:2])+ return (flow_pred, pred_x0, auxiliary) if return_predictive_aux else (flow_pred, pred_x0)++ def get_scheduler(self):+ return self.scheduler++ def _convert_flow_pred_to_x0(+ self, flow_pred: torch.Tensor, xt: torch.Tensor, timestep: torch.Tensor+ ) -> torch.Tensor:+ """+ Convert flow matching's prediction to x0 prediction.+ flow_pred: the prediction with shape [B, C, H, W]+ xt: the input noisy data with shape [B, C, H, W]+ timestep: the timestep with shape [B]++ pred = noise - x0+ x_t = (1-sigma_t) * x0 + sigma_t * noise+ we have x0 = x_t - sigma_t * pred+ """+ # use higher precision for calculations+ original_dtype = flow_pred.dtype+ flow_pred, xt, sigmas, timesteps = (+ x.double().to(flow_pred.device)+ for x in [flow_pred, xt, self.scheduler.sigmas, self.scheduler.timesteps]+ )++ timestep_id = torch.argmin((timesteps.unsqueeze(0) - timestep.unsqueeze(1)).abs(), dim=1)+ sigma_t = sigmas[timestep_id].reshape(-1, 1, 1, 1)+ x0_pred = xt - sigma_t * flow_pred+ return x0_pred.to(original_dtype)diff --git a/src/wan/__init__.py b/src/wan/__init__.pynew file mode 100644index 0000000..8dd36f4--- /dev/null+++ b/src/wan/__init__.py@@ -0,0 +1 @@+"""Selected Wan components; high-level upstream frontends are excluded."""diff --git a/src/wan/modules/__init__.py b/src/wan/modules/__init__.pynew file mode 100644index 0000000..8dd36f4--- /dev/null+++ b/src/wan/modules/__init__.py@@ -0,0 +1 @@+"""Selected Wan components; high-level upstream frontends are excluded."""diff --git a/src/wan/modules/attention.py b/src/wan/modules/attention.pynew file mode 100644index 0000000..1a80e25--- /dev/null+++ b/src/wan/modules/attention.py@@ -0,0 +1,144 @@+# Modified for Looking-Ahead: selected TF/TI2V components; unrelated workflows removed.+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+import torch+from transformers.utils.import_utils import is_flash_attn_4_available+FLASH_ATTN_4_AVAILABLE = is_flash_attn_4_available()+if FLASH_ATTN_4_AVAILABLE:+ import flash_attn.cute++import warnings++__all__ = [+ 'flash_attention',+ 'attention',+]+++def flash_attention(+ q,+ k,+ v,+ q_lens=None,+ k_lens=None,+ dropout_p=0.,+ softmax_scale=None,+ q_scale=None,+ causal=False,+ window_size=(-1, -1),+ deterministic=False,+ dtype=torch.bfloat16,+):+ """+ q: [B, Lq, Nq, C1].+ k: [B, Lk, Nk, C1].+ v: [B, Lk, Nk, C2]. Nq must be divisible by Nk.+ q_lens: [B].+ k_lens: [B].+ dropout_p: float. Dropout probability.+ softmax_scale: float. The scaling of QK^T before applying softmax.+ causal: bool. Whether to apply causal attention mask.+ window_size: (left right). If not (-1, -1), apply sliding window local attention.+ deterministic: bool. If True, slightly slower and uses more memory.+ dtype: torch.dtype. Apply when dtype of q/k/v is not float16/bfloat16.+ """+ half_dtypes = (torch.float16, torch.bfloat16)+ assert dtype in half_dtypes+ assert q.device.type == 'cuda' and q.size(-1) <= 256++ # params+ b, lq, lk, out_dtype = q.size(0), q.size(1), k.size(1), q.dtype++ def half(x):+ return x if x.dtype in half_dtypes else x.to(dtype)++ # preprocess query+ if q_lens is None:+ q = half(q.flatten(0, 1))+ q_lens = torch.tensor(+ [lq] * b, dtype=torch.int32).to(+ device=q.device, non_blocking=True)+ else:+ q = half(torch.cat([u[:v] for u, v in zip(q, q_lens)]))++ # preprocess key, value+ if k_lens is None:+ k = half(k.flatten(0, 1))+ v = half(v.flatten(0, 1))+ k_lens = torch.tensor(+ [lk] * b, dtype=torch.int32).to(+ device=k.device, non_blocking=True)+ else:+ k = half(torch.cat([u[:v] for u, v in zip(k, k_lens)]))+ v = half(torch.cat([u[:v] for u, v in zip(v, k_lens)]))++ q = q.to(v.dtype)+ k = k.to(v.dtype)++ if q_scale is not None:+ q = q * q_scale++ # apply attention+ # Note: dropout_p is not supported in FA4.+ assert FLASH_ATTN_4_AVAILABLE, 'Flash Attention 4 is not available. Install the required flash-attn-4 dependency.'+ assert dropout_p == 0., 'Dropout is not supported in Flash Attention 4. Please set dropout_p to 0.'+ x = flash_attn.cute.flash_attn_varlen_func(+ q=q,+ k=k,+ v=v,+ cu_seqlens_q=torch.cat([q_lens.new_zeros([1]), q_lens]).cumsum(0, dtype=torch.int32).to(q.device, non_blocking=True),+ cu_seqlens_k=torch.cat([k_lens.new_zeros([1]), k_lens]).cumsum(0, dtype=torch.int32).to(q.device, non_blocking=True),+ max_seqlen_q=lq,+ max_seqlen_k=lk,+ softmax_scale=softmax_scale,+ causal=causal,+ window_size=window_size,+ deterministic=deterministic)[0].unflatten(0, (b, lq))+ # output+ return x.type(out_dtype)+++def attention(+ q,+ k,+ v,+ q_lens=None,+ k_lens=None,+ dropout_p=0.,+ softmax_scale=None,+ q_scale=None,+ causal=False,+ window_size=(-1, -1),+ deterministic=False,+ dtype=torch.bfloat16,+):+ if FLASH_ATTN_4_AVAILABLE:+ return flash_attention(+ q=q,+ k=k,+ v=v,+ q_lens=q_lens,+ k_lens=k_lens,+ dropout_p=dropout_p,+ softmax_scale=softmax_scale,+ q_scale=q_scale,+ causal=causal,+ window_size=window_size,+ deterministic=deterministic,+ dtype=dtype,+ )+ else:+ if q_lens is not None or k_lens is not None:+ warnings.warn(+ 'Padding mask is disabled when using scaled_dot_product_attention. It can have a significant impact on performance.'+ )+ attn_mask = None++ q = q.transpose(1, 2).to(dtype)+ k = k.transpose(1, 2).to(dtype)+ v = v.transpose(1, 2).to(dtype)++ out = torch.nn.functional.scaled_dot_product_attention(+ q, k, v, attn_mask=attn_mask, is_causal=causal, dropout_p=dropout_p)++ out = out.transpose(1, 2).contiguous()+ return outdiff --git a/src/wan/modules/model.py b/src/wan/modules/model.pynew file mode 100644index 0000000..52d2f59--- /dev/null+++ b/src/wan/modules/model.py@@ -0,0 +1,94 @@+# Modified for Looking-Ahead: selected TF/TI2V components; unrelated workflows removed.+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+import torch+import torch.nn as nn+from .attention import flash_attention+++class WanRMSNorm(nn.Module):++ def __init__(self, dim, eps=1e-5):+ super().__init__()+ self.dim = dim+ self.eps = eps+ self.weight = nn.Parameter(torch.ones(dim))++ def forward(self, x):+ r"""+ Args:+ x(Tensor): Shape [B, L, C]+ """+ return self._norm(x.float()).type_as(x) * self.weight++ def _norm(self, x):+ return x * torch.rsqrt(x.pow(2).mean(dim=-1, keepdim=True) + self.eps)++ def reset_parameters(self):+ nn.init.ones_(self.weight)+++class WanSelfAttention(nn.Module):++ def __init__(self,+ dim,+ num_heads,+ window_size=(-1, -1),+ qk_norm=True,+ eps=1e-6):+ assert dim % num_heads == 0+ super().__init__()+ self.dim = dim+ self.num_heads = num_heads+ self.head_dim = dim // num_heads+ self.window_size = window_size+ self.qk_norm = qk_norm+ self.eps = eps++ # layers+ self.q = nn.Linear(dim, dim)+ self.k = nn.Linear(dim, dim)+ self.v = nn.Linear(dim, dim)+ self.o = nn.Linear(dim, dim)+ self.norm_q = WanRMSNorm(dim, eps=eps) if qk_norm else nn.Identity()+ self.norm_k = WanRMSNorm(dim, eps=eps) if qk_norm else nn.Identity()++++class WanT2VCrossAttention(WanSelfAttention):++ def forward(self, x, context, context_lens, crossattn_cache=None):+ r"""+ Args:+ x(Tensor): Shape [B, L1, C]+ context(Tensor): Shape [B, L2, C]+ context_lens(Tensor): Shape [B]+ crossattn_cache (List[dict], *optional*): Contains the cached key and value tensors for context embedding.+ """+ b, n, d = x.size(0), self.num_heads, self.head_dim++ # compute query, key, value+ q = self.norm_q(self.q(x)).view(b, -1, n, d)++ if crossattn_cache is not None:+ if not crossattn_cache["is_init"]:+ crossattn_cache["is_init"] = True+ k = self.norm_k(self.k(context)).view(b, -1, n, d)+ v = self.v(context).view(b, -1, n, d)+ crossattn_cache["k"] = k+ crossattn_cache["v"] = v+ else:+ k = crossattn_cache["k"]+ v = crossattn_cache["v"]+ else:+ k = self.norm_k(self.k(context)).view(b, -1, n, d)+ v = self.v(context).view(b, -1, n, d)++ # compute attention+ x = flash_attention(q, k, v, k_lens=context_lens)++ # output+ x = x.flatten(2)+ x = self.o(x)+ return x++WAN_CROSSATTENTION_CLASSES = {"t2v_cross_attn": WanT2VCrossAttention}diff --git a/src/wan/modules/t5.py b/src/wan/modules/t5.pynew file mode 100644index 0000000..f22fe01--- /dev/null+++ b/src/wan/modules/t5.py@@ -0,0 +1,291 @@+# Modified for Looking-Ahead: selected TF/TI2V components; unrelated workflows removed.+# Modified from transformers.models.t5.modeling_t5+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+import logging+import math++import torch+import torch.nn as nn+import torch.nn.functional as F+++__all__ = ['T5Encoder', 'umt5_xxl']+++def fp16_clamp(x):+ if x.dtype == torch.float16 and torch.isinf(x).any():+ clamp = torch.finfo(x.dtype).max - 1000+ x = torch.clamp(x, min=-clamp, max=clamp)+ return x+++def init_weights(m):+ if isinstance(m, T5LayerNorm):+ nn.init.ones_(m.weight)+ elif isinstance(m, T5FeedForward):+ nn.init.normal_(m.gate[0].weight, std=m.dim**-0.5)+ nn.init.normal_(m.fc1.weight, std=m.dim**-0.5)+ nn.init.normal_(m.fc2.weight, std=m.dim_ffn**-0.5)+ elif isinstance(m, T5Attention):+ nn.init.normal_(m.q.weight, std=(m.dim * m.dim_attn)**-0.5)+ nn.init.normal_(m.k.weight, std=m.dim**-0.5)+ nn.init.normal_(m.v.weight, std=m.dim**-0.5)+ nn.init.normal_(m.o.weight, std=(m.num_heads * m.dim_attn)**-0.5)+ elif isinstance(m, T5RelativeEmbedding):+ nn.init.normal_(+ m.embedding.weight, std=(2 * m.num_buckets * m.num_heads)**-0.5)+++class GELU(nn.Module):++ def forward(self, x):+ return 0.5 * x * (1.0 + torch.tanh(+ math.sqrt(2.0 / math.pi) * (x + 0.044715 * torch.pow(x, 3.0))))+++class T5LayerNorm(nn.Module):++ def __init__(self, dim, eps=1e-6):+ super(T5LayerNorm, self).__init__()+ self.dim = dim+ self.eps = eps+ self.weight = nn.Parameter(torch.ones(dim))++ def forward(self, x):+ x = x * torch.rsqrt(x.float().pow(2).mean(dim=-1, keepdim=True) ++ self.eps)+ if self.weight.dtype in [torch.float16, torch.bfloat16]:+ x = x.type_as(self.weight)+ return self.weight * x+++class T5Attention(nn.Module):++ def __init__(self, dim, dim_attn, num_heads, dropout=0.1):+ assert dim_attn % num_heads == 0+ super(T5Attention, self).__init__()+ self.dim = dim+ self.dim_attn = dim_attn+ self.num_heads = num_heads+ self.head_dim = dim_attn // num_heads++ # layers+ self.q = nn.Linear(dim, dim_attn, bias=False)+ self.k = nn.Linear(dim, dim_attn, bias=False)+ self.v = nn.Linear(dim, dim_attn, bias=False)+ self.o = nn.Linear(dim_attn, dim, bias=False)+ self.dropout = nn.Dropout(dropout)++ def forward(self, x, context=None, mask=None, pos_bias=None):+ """+ x: [B, L1, C].+ context: [B, L2, C] or None.+ mask: [B, L2] or [B, L1, L2] or None.+ """+ # check inputs+ context = x if context is None else context+ b, n, c = x.size(0), self.num_heads, self.head_dim++ # compute query, key, value+ q = self.q(x).view(b, -1, n, c)+ k = self.k(context).view(b, -1, n, c)+ v = self.v(context).view(b, -1, n, c)++ # attention bias+ attn_bias = x.new_zeros(b, n, q.size(1), k.size(1))+ if pos_bias is not None:+ attn_bias += pos_bias+ if mask is not None:+ assert mask.ndim in [2, 3]+ mask = mask.view(b, 1, 1,+ -1) if mask.ndim == 2 else mask.unsqueeze(1)+ attn_bias.masked_fill_(mask == 0, torch.finfo(x.dtype).min)++ # compute attention (T5 does not use scaling)+ attn = torch.einsum('binc,bjnc->bnij', q, k) + attn_bias+ attn = F.softmax(attn.float(), dim=-1).type_as(attn)+ x = torch.einsum('bnij,bjnc->binc', attn, v)++ # output+ x = x.reshape(b, -1, n * c)+ x = self.o(x)+ x = self.dropout(x)+ return x+++class T5FeedForward(nn.Module):++ def __init__(self, dim, dim_ffn, dropout=0.1):+ super(T5FeedForward, self).__init__()+ self.dim = dim+ self.dim_ffn = dim_ffn++ # layers+ self.gate = nn.Sequential(nn.Linear(dim, dim_ffn, bias=False), GELU())+ self.fc1 = nn.Linear(dim, dim_ffn, bias=False)+ self.fc2 = nn.Linear(dim_ffn, dim, bias=False)+ self.dropout = nn.Dropout(dropout)++ def forward(self, x):+ x = self.fc1(x) * self.gate(x)+ x = self.dropout(x)+ x = self.fc2(x)+ x = self.dropout(x)+ return x+++class T5SelfAttention(nn.Module):++ def __init__(self,+ dim,+ dim_attn,+ dim_ffn,+ num_heads,+ num_buckets,+ shared_pos=True,+ dropout=0.1):+ super(T5SelfAttention, self).__init__()+ self.dim = dim+ self.dim_attn = dim_attn+ self.dim_ffn = dim_ffn+ self.num_heads = num_heads+ self.num_buckets = num_buckets+ self.shared_pos = shared_pos++ # layers+ self.norm1 = T5LayerNorm(dim)+ self.attn = T5Attention(dim, dim_attn, num_heads, dropout)+ self.norm2 = T5LayerNorm(dim)+ self.ffn = T5FeedForward(dim, dim_ffn, dropout)+ self.pos_embedding = None if shared_pos else T5RelativeEmbedding(+ num_buckets, num_heads, bidirectional=True)++ def forward(self, x, mask=None, pos_bias=None):+ e = pos_bias if self.shared_pos else self.pos_embedding(+ x.size(1), x.size(1))+ x = fp16_clamp(x + self.attn(self.norm1(x), mask=mask, pos_bias=e))+ x = fp16_clamp(x + self.ffn(self.norm2(x)))+ return x+++++class T5RelativeEmbedding(nn.Module):++ def __init__(self, num_buckets, num_heads, bidirectional, max_dist=128):+ super(T5RelativeEmbedding, self).__init__()+ self.num_buckets = num_buckets+ self.num_heads = num_heads+ self.bidirectional = bidirectional+ self.max_dist = max_dist++ # layers+ self.embedding = nn.Embedding(num_buckets, num_heads)++ def forward(self, lq, lk):+ device = self.embedding.weight.device+ # rel_pos = torch.arange(lk).unsqueeze(0).to(device) - \+ # torch.arange(lq).unsqueeze(1).to(device)+ rel_pos = torch.arange(lk, device=device).unsqueeze(0) - \+ torch.arange(lq, device=device).unsqueeze(1)+ rel_pos = self._relative_position_bucket(rel_pos)+ rel_pos_embeds = self.embedding(rel_pos)+ rel_pos_embeds = rel_pos_embeds.permute(2, 0, 1).unsqueeze(+ 0) # [1, N, Lq, Lk]+ return rel_pos_embeds.contiguous()++ def _relative_position_bucket(self, rel_pos):+ # preprocess+ if self.bidirectional:+ num_buckets = self.num_buckets // 2+ rel_buckets = (rel_pos > 0).long() * num_buckets+ rel_pos = torch.abs(rel_pos)+ else:+ num_buckets = self.num_buckets+ rel_buckets = 0+ rel_pos = -torch.min(rel_pos, torch.zeros_like(rel_pos))++ # embeddings for small and large positions+ max_exact = num_buckets // 2+ rel_pos_large = max_exact + (torch.log(rel_pos.float() / max_exact) /+ math.log(self.max_dist / max_exact) *+ (num_buckets - max_exact)).long()+ rel_pos_large = torch.min(+ rel_pos_large, torch.full_like(rel_pos_large, num_buckets - 1))+ rel_buckets += torch.where(rel_pos < max_exact, rel_pos, rel_pos_large)+ return rel_buckets+++class T5Encoder(nn.Module):++ def __init__(self,+ vocab,+ dim,+ dim_attn,+ dim_ffn,+ num_heads,+ num_layers,+ num_buckets,+ shared_pos=True,+ dropout=0.1):+ super(T5Encoder, self).__init__()+ self.dim = dim+ self.dim_attn = dim_attn+ self.dim_ffn = dim_ffn+ self.num_heads = num_heads+ self.num_layers = num_layers+ self.num_buckets = num_buckets+ self.shared_pos = shared_pos++ # layers+ self.token_embedding = vocab if isinstance(vocab, nn.Embedding) \+ else nn.Embedding(vocab, dim)+ self.pos_embedding = T5RelativeEmbedding(+ num_buckets, num_heads, bidirectional=True) if shared_pos else None+ self.dropout = nn.Dropout(dropout)+ self.blocks = nn.ModuleList([+ T5SelfAttention(dim, dim_attn, dim_ffn, num_heads, num_buckets,+ shared_pos, dropout) for _ in range(num_layers)+ ])+ self.norm = T5LayerNorm(dim)++ # initialize weights+ self.apply(init_weights)++ def forward(self, ids, mask=None):+ x = self.token_embedding(ids)+ x = self.dropout(x)+ e = self.pos_embedding(x.size(1),+ x.size(1)) if self.shared_pos else None+ for block in self.blocks:+ x = block(x, mask, pos_bias=e)+ x = self.norm(x)+ x = self.dropout(x)+ return x+++++++def _t5(dtype=torch.float32, device='cpu', **kwargs):+ kwargs['vocab'] = kwargs.pop('vocab_size')+ kwargs['num_layers'] = kwargs.pop('encoder_layers')+ with torch.device(device):+ model = T5Encoder(**kwargs)+ return model.to(dtype=dtype, device=device)+++def umt5_xxl(**kwargs):+ cfg = dict(+ vocab_size=256384,+ dim=4096,+ dim_attn=4096,+ dim_ffn=10240,+ num_heads=64,+ encoder_layers=24,+ num_buckets=32,+ shared_pos=False,+ dropout=0.1)+ cfg.update(**kwargs)+ return _t5(**cfg)diff --git a/src/wan/modules/tokenizers.py b/src/wan/modules/tokenizers.pynew file mode 100644index 0000000..83e0ab9--- /dev/null+++ b/src/wan/modules/tokenizers.py@@ -0,0 +1,83 @@+# Modified for Looking-Ahead: selected TF/TI2V components; unrelated workflows removed.+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+import html+import string++import ftfy+import regex as re+from transformers import AutoTokenizer++__all__ = ['HuggingfaceTokenizer']+++def basic_clean(text):+ text = ftfy.fix_text(text)+ text = html.unescape(html.unescape(text))+ return text.strip()+++def whitespace_clean(text):+ text = re.sub(r'\s+', ' ', text)+ text = text.strip()+ return text+++def canonicalize(text, keep_punctuation_exact_string=None):+ text = text.replace('_', ' ')+ if keep_punctuation_exact_string:+ text = keep_punctuation_exact_string.join(+ part.translate(str.maketrans('', '', string.punctuation))+ for part in text.split(keep_punctuation_exact_string))+ else:+ text = text.translate(str.maketrans('', '', string.punctuation))+ text = text.lower()+ text = re.sub(r'\s+', ' ', text)+ return text.strip()+++class HuggingfaceTokenizer:++ def __init__(self, name, seq_len=None, clean=None, **kwargs):+ assert clean in (None, 'whitespace', 'lower', 'canonicalize')+ self.name = name+ self.seq_len = seq_len+ self.clean = clean++ # init tokenizer+ self.tokenizer = AutoTokenizer.from_pretrained(name, **kwargs)+ self.vocab_size = self.tokenizer.vocab_size++ def __call__(self, sequence, **kwargs):+ return_mask = kwargs.pop('return_mask', False)++ # arguments+ _kwargs = {'return_tensors': 'pt'}+ if self.seq_len is not None:+ _kwargs.update({+ 'padding': 'max_length',+ 'truncation': True,+ 'max_length': self.seq_len+ })+ _kwargs.update(**kwargs)++ # tokenization+ if isinstance(sequence, str):+ sequence = [sequence]+ if self.clean:+ sequence = [self._clean(u) for u in sequence]+ ids = self.tokenizer(sequence, **_kwargs)++ # output+ if return_mask:+ return ids.input_ids, ids.attention_mask+ else:+ return ids.input_ids++ def _clean(self, text):+ if self.clean == 'whitespace':+ text = whitespace_clean(basic_clean(text))+ elif self.clean == 'lower':+ text = whitespace_clean(basic_clean(text)).lower()+ elif self.clean == 'canonicalize':+ text = canonicalize(basic_clean(text))+ return textdiff --git a/src/wan/modules/vae.py b/src/wan/modules/vae.pynew file mode 100644index 0000000..665d780--- /dev/null+++ b/src/wan/modules/vae.py@@ -0,0 +1,597 @@+# Modified for Looking-Ahead: selected TF/TI2V components; unrelated workflows removed.+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+import logging++import torch+import torch.cuda.amp as amp+import torch.nn as nn+import torch.nn.functional as F+from einops import rearrange++__all__ = ['_video_vae']++CACHE_T = 2+++class CausalConv3d(nn.Conv3d):+ """+ Causal 3d convolusion.+ """++ def __init__(self, *args, **kwargs):+ super().__init__(*args, **kwargs)+ self._padding = (self.padding[2], self.padding[2], self.padding[1],+ self.padding[1], 2 * self.padding[0], 0)+ self.padding = (0, 0, 0)++ def forward(self, x, cache_x=None):+ padding = list(self._padding)+ if cache_x is not None and self._padding[4] > 0:+ cache_x = cache_x.to(x.device)+ x = torch.cat([cache_x, x], dim=2)+ padding[4] -= cache_x.shape[2]+ x = F.pad(x, padding)++ return super().forward(x)+++class RMS_norm(nn.Module):++ def __init__(self, dim, channel_first=True, images=True, bias=False):+ super().__init__()+ broadcastable_dims = (1, 1, 1) if not images else (1, 1)+ shape = (dim, *broadcastable_dims) if channel_first else (dim,)++ self.channel_first = channel_first+ self.scale = dim**0.5+ self.gamma = nn.Parameter(torch.ones(shape))+ self.bias = nn.Parameter(torch.zeros(shape)) if bias else 0.++ def forward(self, x):+ return F.normalize(+ x, dim=(1 if self.channel_first else+ -1)) * self.scale * self.gamma + self.bias+++class Upsample(nn.Upsample):++ def forward(self, x):+ """+ Fix bfloat16 support for nearest neighbor interpolation.+ """+ return super().forward(x.float()).type_as(x)+++class Resample(nn.Module):++ def __init__(self, dim, mode):+ assert mode in ('none', 'upsample2d', 'upsample3d', 'downsample2d',+ 'downsample3d')+ super().__init__()+ self.dim = dim+ self.mode = mode++ # layers+ if mode == 'upsample2d':+ self.resample = nn.Sequential(+ Upsample(scale_factor=(2., 2.), mode='nearest'),+ nn.Conv2d(dim, dim // 2, 3, padding=1))+ elif mode == 'upsample3d':+ self.resample = nn.Sequential(+ Upsample(scale_factor=(2., 2.), mode='nearest'),+ nn.Conv2d(dim, dim // 2, 3, padding=1))+ self.time_conv = CausalConv3d(+ dim, dim * 2, (3, 1, 1), padding=(1, 0, 0))++ elif mode == 'downsample2d':+ self.resample = nn.Sequential(+ nn.ZeroPad2d((0, 1, 0, 1)),+ nn.Conv2d(dim, dim, 3, stride=(2, 2)))+ elif mode == 'downsample3d':+ self.resample = nn.Sequential(+ nn.ZeroPad2d((0, 1, 0, 1)),+ nn.Conv2d(dim, dim, 3, stride=(2, 2)))+ self.time_conv = CausalConv3d(+ dim, dim, (3, 1, 1), stride=(2, 1, 1), padding=(0, 0, 0))++ else:+ self.resample = nn.Identity()++ def forward(self, x, feat_cache=None, feat_idx=[0]):+ b, c, t, h, w = x.size()+ if self.mode == 'upsample3d':+ if feat_cache is not None:+ idx = feat_idx[0]+ if feat_cache[idx] is None:+ feat_cache[idx] = 'Rep'+ feat_idx[0] += 1+ else:++ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[+ idx] is not None and feat_cache[idx] != 'Rep':+ # cache last frame of last two chunk+ cache_x = torch.cat([+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device), cache_x+ ], dim=2)+ if cache_x.shape[2] < 2 and feat_cache[+ idx] is not None and feat_cache[idx] == 'Rep':+ cache_x = torch.cat([+ torch.zeros_like(cache_x).to(cache_x.device),+ cache_x+ ], dim=2)+ if feat_cache[idx] == 'Rep':+ x = self.time_conv(x)+ else:+ x = self.time_conv(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1++ x = x.reshape(b, 2, c, t, h, w)+ x = torch.stack((x[:, 0, :, :, :, :], x[:, 1, :, :, :, :]),+ 3)+ x = x.reshape(b, c, t * 2, h, w)+ t = x.shape[2]+ x = rearrange(x, 'b c t h w -> (b t) c h w')+ x = self.resample(x)+ x = rearrange(x, '(b t) c h w -> b c t h w', t=t)++ if self.mode == 'downsample3d':+ if feat_cache is not None:+ idx = feat_idx[0]+ if feat_cache[idx] is None:+ feat_cache[idx] = x.clone()+ feat_idx[0] += 1+ else:++ cache_x = x[:, :, -1:, :, :].clone()+ # if cache_x.shape[2] < 2 and feat_cache[idx] is not None and feat_cache[idx]!='Rep':+ # # cache last frame of last two chunk+ # cache_x = torch.cat([feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(cache_x.device), cache_x], dim=2)++ x = self.time_conv(+ torch.cat([feat_cache[idx][:, :, -1:, :, :], x], 2))+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ return x+++++class ResidualBlock(nn.Module):++ def __init__(self, in_dim, out_dim, dropout=0.0):+ super().__init__()+ self.in_dim = in_dim+ self.out_dim = out_dim++ # layers+ self.residual = nn.Sequential(+ RMS_norm(in_dim, images=False), nn.SiLU(),+ CausalConv3d(in_dim, out_dim, 3, padding=1),+ RMS_norm(out_dim, images=False), nn.SiLU(), nn.Dropout(dropout),+ CausalConv3d(out_dim, out_dim, 3, padding=1))+ self.shortcut = CausalConv3d(in_dim, out_dim, 1) \+ if in_dim != out_dim else nn.Identity()++ def forward(self, x, feat_cache=None, feat_idx=[0]):+ h = self.shortcut(x)+ for layer in self.residual:+ if isinstance(layer, CausalConv3d) and feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ # cache last frame of last two chunk+ cache_x = torch.cat([+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device), cache_x+ ], dim=2)+ x = layer(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = layer(x)+ return x + h+++class AttentionBlock(nn.Module):+ """+ Causal self-attention with a single head.+ """++ def __init__(self, dim):+ super().__init__()+ self.dim = dim++ # layers+ self.norm = RMS_norm(dim)+ self.to_qkv = nn.Conv2d(dim, dim * 3, 1)+ self.proj = nn.Conv2d(dim, dim, 1)++ # zero out the last layer params+ nn.init.zeros_(self.proj.weight)++ def forward(self, x):+ identity = x+ b, c, t, h, w = x.size()+ x = rearrange(x, 'b c t h w -> (b t) c h w')+ x = self.norm(x)+ # compute query, key, value+ q, k, v = self.to_qkv(x).reshape(b * t, 1, c * 3,+ -1).permute(0, 1, 3,+ 2).contiguous().chunk(+ 3, dim=-1)++ # apply attention+ x = F.scaled_dot_product_attention(+ q,+ k,+ v,+ )+ x = x.squeeze(1).permute(0, 2, 1).reshape(b * t, c, h, w)++ # output+ x = self.proj(x)+ x = rearrange(x, '(b t) c h w-> b c t h w', t=t)+ return x + identity+++class Encoder3d(nn.Module):++ def __init__(self,+ dim=128,+ z_dim=4,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_downsample=[True, True, False],+ dropout=0.0):+ super().__init__()+ self.dim = dim+ self.z_dim = z_dim+ self.dim_mult = dim_mult+ self.num_res_blocks = num_res_blocks+ self.attn_scales = attn_scales+ self.temperal_downsample = temperal_downsample++ # dimensions+ dims = [dim * u for u in [1] + dim_mult]+ scale = 1.0++ # init block+ self.conv1 = CausalConv3d(3, dims[0], 3, padding=1)++ # downsample blocks+ downsamples = []+ for i, (in_dim, out_dim) in enumerate(zip(dims[:-1], dims[1:])):+ # residual (+attention) blocks+ for _ in range(num_res_blocks):+ downsamples.append(ResidualBlock(in_dim, out_dim, dropout))+ if scale in attn_scales:+ downsamples.append(AttentionBlock(out_dim))+ in_dim = out_dim++ # downsample block+ if i != len(dim_mult) - 1:+ mode = 'downsample3d' if temperal_downsample[+ i] else 'downsample2d'+ downsamples.append(Resample(out_dim, mode=mode))+ scale /= 2.0+ self.downsamples = nn.Sequential(*downsamples)++ # middle blocks+ self.middle = nn.Sequential(+ ResidualBlock(out_dim, out_dim, dropout), AttentionBlock(out_dim),+ ResidualBlock(out_dim, out_dim, dropout))++ # output blocks+ self.head = nn.Sequential(+ RMS_norm(out_dim, images=False), nn.SiLU(),+ CausalConv3d(out_dim, z_dim, 3, padding=1))++ def forward(self, x, feat_cache=None, feat_idx=[0]):+ if feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ # cache last frame of last two chunk+ cache_x = torch.cat([+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device), cache_x+ ], dim=2)+ x = self.conv1(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = self.conv1(x)++ # downsamples+ for layer in self.downsamples:+ if feat_cache is not None:+ x = layer(x, feat_cache, feat_idx)+ else:+ x = layer(x)++ # middle+ for layer in self.middle:+ if isinstance(layer, ResidualBlock) and feat_cache is not None:+ x = layer(x, feat_cache, feat_idx)+ else:+ x = layer(x)++ # head+ for layer in self.head:+ if isinstance(layer, CausalConv3d) and feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ # cache last frame of last two chunk+ cache_x = torch.cat([+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device), cache_x+ ], dim=2)+ x = layer(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = layer(x)+ return x+++class Decoder3d(nn.Module):++ def __init__(self,+ dim=128,+ z_dim=4,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_upsample=[False, True, True],+ dropout=0.0):+ super().__init__()+ self.dim = dim+ self.z_dim = z_dim+ self.dim_mult = dim_mult+ self.num_res_blocks = num_res_blocks+ self.attn_scales = attn_scales+ self.temperal_upsample = temperal_upsample++ # dimensions+ dims = [dim * u for u in [dim_mult[-1]] + dim_mult[::-1]]+ scale = 1.0 / 2**(len(dim_mult) - 2)++ # init block+ self.conv1 = CausalConv3d(z_dim, dims[0], 3, padding=1)++ # middle blocks+ self.middle = nn.Sequential(+ ResidualBlock(dims[0], dims[0], dropout), AttentionBlock(dims[0]),+ ResidualBlock(dims[0], dims[0], dropout))++ # upsample blocks+ upsamples = []+ for i, (in_dim, out_dim) in enumerate(zip(dims[:-1], dims[1:])):+ # residual (+attention) blocks+ if i == 1 or i == 2 or i == 3:+ in_dim = in_dim // 2+ for _ in range(num_res_blocks + 1):+ upsamples.append(ResidualBlock(in_dim, out_dim, dropout))+ if scale in attn_scales:+ upsamples.append(AttentionBlock(out_dim))+ in_dim = out_dim++ # upsample block+ if i != len(dim_mult) - 1:+ mode = 'upsample3d' if temperal_upsample[i] else 'upsample2d'+ upsamples.append(Resample(out_dim, mode=mode))+ scale *= 2.0+ self.upsamples = nn.Sequential(*upsamples)++ # output blocks+ self.head = nn.Sequential(+ RMS_norm(out_dim, images=False), nn.SiLU(),+ CausalConv3d(out_dim, 3, 3, padding=1))++ def forward(self, x, feat_cache=None, feat_idx=[0]):+ # conv1+ if feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ # cache last frame of last two chunk+ cache_x = torch.cat([+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device), cache_x+ ], dim=2)+ x = self.conv1(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = self.conv1(x)++ # middle+ for layer in self.middle:+ if isinstance(layer, ResidualBlock) and feat_cache is not None:+ x = layer(x, feat_cache, feat_idx)+ else:+ x = layer(x)++ # upsamples+ for layer in self.upsamples:+ if feat_cache is not None:+ x = layer(x, feat_cache, feat_idx)+ else:+ x = layer(x)++ # head+ for layer in self.head:+ if isinstance(layer, CausalConv3d) and feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ # cache last frame of last two chunk+ cache_x = torch.cat([+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device), cache_x+ ], dim=2)+ x = layer(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = layer(x)+ return x+++def count_conv3d(model):+ count = 0+ for m in model.modules():+ if isinstance(m, CausalConv3d):+ count += 1+ return count+++class WanVAE_(nn.Module):++ def __init__(self,+ dim=128,+ z_dim=4,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_downsample=[True, True, False],+ dropout=0.0):+ super().__init__()+ self.dim = dim+ self.z_dim = z_dim+ self.dim_mult = dim_mult+ self.num_res_blocks = num_res_blocks+ self.attn_scales = attn_scales+ self.temperal_downsample = temperal_downsample+ self.temperal_upsample = temperal_downsample[::-1]++ # modules+ self.encoder = Encoder3d(dim, z_dim * 2, dim_mult, num_res_blocks,+ attn_scales, self.temperal_downsample, dropout)+ self.conv1 = CausalConv3d(z_dim * 2, z_dim * 2, 1)+ self.conv2 = CausalConv3d(z_dim, z_dim, 1)+ self.decoder = Decoder3d(dim, z_dim, dim_mult, num_res_blocks,+ attn_scales, self.temperal_upsample, dropout)+ self.clear_cache()+++ def encode(self, x, scale):+ self.clear_cache()+ # cache+ t = x.shape[2]+ iter_ = 1 + (t - 1) // 4+ # 对encode输入的x,按时间拆分为1、4、4、4....+ for i in range(iter_):+ self._enc_conv_idx = [0]+ if i == 0:+ out = self.encoder(+ x[:, :, :1, :, :],+ feat_cache=self._enc_feat_map,+ feat_idx=self._enc_conv_idx)+ else:+ out_ = self.encoder(+ x[:, :, 1 + 4 * (i - 1):1 + 4 * i, :, :],+ feat_cache=self._enc_feat_map,+ feat_idx=self._enc_conv_idx)+ out = torch.cat([out, out_], 2)+ mu, log_var = self.conv1(out).chunk(2, dim=1)+ if isinstance(scale[0], torch.Tensor):+ mu = (mu - scale[0].view(1, self.z_dim, 1, 1, 1)) * scale[1].view(+ 1, self.z_dim, 1, 1, 1)+ else:+ mu = (mu - scale[0]) * scale[1]+ self.clear_cache()+ return mu++ def decode(self, z, scale):+ self.clear_cache()+ # z: [b,c,t,h,w]+ if isinstance(scale[0], torch.Tensor):+ z = z / scale[1].view(1, self.z_dim, 1, 1, 1) + scale[0].view(+ 1, self.z_dim, 1, 1, 1)+ else:+ z = z / scale[1] + scale[0]+ iter_ = z.shape[2]+ x = self.conv2(z)+ for i in range(iter_):+ self._conv_idx = [0]+ if i == 0:+ out = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx)+ else:+ out_ = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx)+ out = torch.cat([out, out_], 2)+ self.clear_cache()+ return out+++ def cached_decode(self, z, scale):+ # z: [b,c,t,h,w]+ if isinstance(scale[0], torch.Tensor):+ z = z / scale[1].view(1, self.z_dim, 1, 1, 1) + scale[0].view(+ 1, self.z_dim, 1, 1, 1)+ else:+ z = z / scale[1] + scale[0]+ iter_ = z.shape[2]+ x = self.conv2(z)+ for i in range(iter_):+ self._conv_idx = [0]+ if i == 0:+ out = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx)+ else:+ out_ = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx)+ out = torch.cat([out, out_], 2)+ return out+++ def clear_cache(self):+ self._conv_num = count_conv3d(self.decoder)+ self._conv_idx = [0]+ self._feat_map = [None] * self._conv_num+ # cache encode+ self._enc_conv_num = count_conv3d(self.encoder)+ self._enc_conv_idx = [0]+ self._enc_feat_map = [None] * self._enc_conv_num+++def _video_vae(pretrained_path=None, z_dim=None, device='cpu', **kwargs):+ """+ Autoencoder3d adapted from Stable Diffusion 1.x, 2.x and XL.+ """+ # params+ cfg = dict(+ dim=96,+ z_dim=z_dim,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_downsample=[False, True, True],+ dropout=0.0)+ cfg.update(**kwargs)++ # init model+ with torch.device('meta'):+ model = WanVAE_(**cfg)++ # load checkpoint+ # logging.info(f'loading {pretrained_path}')+ model.load_state_dict(+ torch.load(pretrained_path, map_location=device), assign=True)++ return modeldiff --git a/src/wan/utils/__init__.py b/src/wan/utils/__init__.pynew file mode 100644index 0000000..8dd36f4--- /dev/null+++ b/src/wan/utils/__init__.py@@ -0,0 +1 @@+"""Selected Wan components; high-level upstream frontends are excluded."""diff --git a/src/wan/utils/fm_solvers.py b/src/wan/utils/fm_solvers.pynew file mode 100644index 0000000..825f2b3--- /dev/null+++ b/src/wan/utils/fm_solvers.py@@ -0,0 +1,156 @@+# Copied from https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py+# Convert dpm solver for flow matching+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+# Modified for Looking-Ahead: fixed flow scale and selected order-2 solver only.+from typing import List, Optional, Tuple, Union+import numpy as np+import torch+from diffusers.configuration_utils import ConfigMixin, register_to_config+from diffusers.schedulers.scheduling_utils import KarrasDiffusionSchedulers, SchedulerMixin, SchedulerOutput++def get_sampling_sigmas(sampling_steps, shift):+ sigma = np.linspace(1, 0, sampling_steps + 1)[:sampling_steps]+ sigma = shift * sigma / (1 + (shift - 1) * sigma)+ return sigma++def retrieve_timesteps(scheduler, *, device=None, sigmas):+ """Set the selected DPM++ sigma schedule and return its timesteps."""+ scheduler.set_timesteps(sigmas=sigmas, device=device)+ return scheduler.timesteps, len(scheduler.timesteps)++class FlowDPMSolverMultistepScheduler(SchedulerMixin, ConfigMixin):+ """Order-2 flow-matching sampler adapted from diffusers/Wan.++Only the selected deterministic algorithm and solver are retained."""+ _compatibles = [e.name for e in KarrasDiffusionSchedulers]+ order = 1++ @register_to_config+ def __init__(self, shift: Optional[float]=1.0):+ self.num_inference_steps = None+ alphas = np.linspace(1, 1 / 1000, 1000)[::-1].copy()+ sigmas = 1.0 - alphas+ sigmas = torch.from_numpy(sigmas).to(dtype=torch.float32)+ sigmas = shift * sigmas / (1 + (shift - 1) * sigmas)+ self.sigmas = sigmas+ self.timesteps = sigmas * 1000+ self.model_outputs = [None] * 2+ self.lower_order_nums = 0+ self._step_index = None+ self._begin_index = None+ self.sigma_min = self.sigmas[-1].item()+ self.sigma_max = self.sigmas[0].item()++ @property+ def step_index(self):+ """+ The index counter for current timestep. It will increase 1 after each scheduler step.+ """+ return self._step_index++ @property+ def begin_index(self):+ """+ The index for the first timestep. It should be set from pipeline with `set_begin_index` method.+ """+ return self._begin_index++ def set_timesteps(self, num_inference_steps: Union[int, None]=None, device: Union[str, torch.device]=None, sigmas: Optional[List[float]]=None, shift: Optional[Union[float, None]]=None):+ """+ Sets the discrete timesteps used for the diffusion chain (to be run before inference).+ Args:+ num_inference_steps (`int`):+ Total number of the spacing of the time steps.+ device (`str` or `torch.device`, *optional*):+ The device to which the timesteps should be moved to. If `None`, the timesteps are not moved.+ """+ if sigmas is None:+ sigmas = np.linspace(self.sigma_max, self.sigma_min, num_inference_steps + 1).copy()[:-1]+ if shift is None:+ shift = self.config.shift+ sigmas = shift * sigmas / (1 + (shift - 1) * sigmas)+ sigma_last = 0+ timesteps = sigmas * 1000+ sigmas = np.concatenate([sigmas, [sigma_last]]).astype(np.float32)+ self.sigmas = torch.from_numpy(sigmas)+ self.timesteps = torch.from_numpy(timesteps).to(device=device, dtype=torch.int64)+ self.num_inference_steps = len(timesteps)+ self.model_outputs = [None] * 2+ self.lower_order_nums = 0+ self._step_index = None+ self._begin_index = None++ def _sigma_to_alpha_sigma_t(self, sigma):+ return (1 - sigma, sigma)++ def convert_model_output(self, model_output: torch.Tensor, *, sample: torch.Tensor) -> torch.Tensor:+ sigma_t = self.sigmas[self.step_index]+ x0_pred = sample - sigma_t * model_output+ return x0_pred++ def dpm_solver_first_order_update(self, model_output: torch.Tensor, *, sample: torch.Tensor) -> torch.Tensor:+ sigma_t, sigma_s = (self.sigmas[self.step_index + 1], self.sigmas[self.step_index])+ alpha_t, sigma_t = self._sigma_to_alpha_sigma_t(sigma_t)+ alpha_s, sigma_s = self._sigma_to_alpha_sigma_t(sigma_s)+ lambda_t = torch.log(alpha_t) - torch.log(sigma_t)+ lambda_s = torch.log(alpha_s) - torch.log(sigma_s)+ h = lambda_t - lambda_s+ x_t = sigma_t / sigma_s * sample - alpha_t * (torch.exp(-h) - 1.0) * model_output+ return x_t++ def multistep_dpm_solver_second_order_update(self, model_output_list: List[torch.Tensor], *, sample: torch.Tensor) -> torch.Tensor:+ sigma_t, sigma_s0, sigma_s1 = (self.sigmas[self.step_index + 1], self.sigmas[self.step_index], self.sigmas[self.step_index - 1])+ alpha_t, sigma_t = self._sigma_to_alpha_sigma_t(sigma_t)+ alpha_s0, sigma_s0 = self._sigma_to_alpha_sigma_t(sigma_s0)+ alpha_s1, sigma_s1 = self._sigma_to_alpha_sigma_t(sigma_s1)+ lambda_t = torch.log(alpha_t) - torch.log(sigma_t)+ lambda_s0 = torch.log(alpha_s0) - torch.log(sigma_s0)+ lambda_s1 = torch.log(alpha_s1) - torch.log(sigma_s1)+ m0, m1 = (model_output_list[-1], model_output_list[-2])+ h, h_0 = (lambda_t - lambda_s0, lambda_s0 - lambda_s1)+ r0 = h_0 / h+ D0, D1 = (m0, 1.0 / r0 * (m0 - m1))+ x_t = sigma_t / sigma_s0 * sample - alpha_t * (torch.exp(-h) - 1.0) * D0 - 0.5 * (alpha_t * (torch.exp(-h) - 1.0)) * D1+ return x_t++ def index_for_timestep(self, timestep, schedule_timesteps=None):+ if schedule_timesteps is None:+ schedule_timesteps = self.timesteps+ indices = (schedule_timesteps == timestep).nonzero()+ pos = 1 if len(indices) > 1 else 0+ return indices[pos].item()++ def _init_step_index(self, timestep):+ """+ Initialize the step_index counter for the scheduler.+ """+ if self.begin_index is None:+ if isinstance(timestep, torch.Tensor):+ timestep = timestep.to(self.timesteps.device)+ self._step_index = self.index_for_timestep(timestep)+ else:+ self._step_index = self._begin_index++ def step(self, model_output: torch.Tensor, timestep: Union[int, torch.Tensor], sample: torch.Tensor, return_dict: bool=True) -> Union[SchedulerOutput, Tuple]:+ """Advance the selected deterministic flow sampler by one step."""+ if self.num_inference_steps is None:+ raise ValueError("Number of inference steps is 'None', you need to run 'set_timesteps' after creating the scheduler")+ if self.step_index is None:+ self._init_step_index(timestep)+ lower_order_final = self.step_index == len(self.timesteps) - 1+ model_output = self.convert_model_output(model_output, sample=sample)+ for i in range(2 - 1):+ self.model_outputs[i] = self.model_outputs[i + 1]+ self.model_outputs[-1] = model_output+ sample = sample.to(torch.float32)+ if self.lower_order_nums < 1 or lower_order_final:+ prev_sample = self.dpm_solver_first_order_update(model_output, sample=sample)+ else:+ prev_sample = self.multistep_dpm_solver_second_order_update(self.model_outputs, sample=sample)+ if self.lower_order_nums < 2:+ self.lower_order_nums += 1+ prev_sample = prev_sample.to(model_output.dtype)+ self._step_index += 1+ if not return_dict:+ return (prev_sample,)+ return SchedulerOutput(prev_sample=prev_sample)diff --git a/src/wan/utils/fm_solvers_unipc.py b/src/wan/utils/fm_solvers_unipc.pynew file mode 100644index 0000000..55083f6--- /dev/null+++ b/src/wan/utils/fm_solvers_unipc.py@@ -0,0 +1,243 @@+# Copied from https://github.com/huggingface/diffusers/blob/v0.31.0/src/diffusers/schedulers/scheduling_unipc_multistep.py+# Convert unipc for flow matching+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+# Modified for Looking-Ahead: fixed flow scale and selected order-2 solver only.+from typing import List, Optional, Tuple, Union+import numpy as np+import torch+from diffusers.configuration_utils import ConfigMixin, register_to_config+from diffusers.schedulers.scheduling_utils import KarrasDiffusionSchedulers, SchedulerMixin, SchedulerOutput++class FlowUniPCMultistepScheduler(SchedulerMixin, ConfigMixin):+ """Order-2 flow-matching sampler adapted from diffusers/Wan.++Only the selected deterministic algorithm and solver are retained."""+ _compatibles = [e.name for e in KarrasDiffusionSchedulers]+ order = 1++ @register_to_config+ def __init__(self, shift: Optional[float]=1.0):+ self.num_inference_steps = None+ alphas = np.linspace(1, 1 / 1000, 1000)[::-1].copy()+ sigmas = 1.0 - alphas+ sigmas = torch.from_numpy(sigmas).to(dtype=torch.float32)+ sigmas = shift * sigmas / (1 + (shift - 1) * sigmas)+ self.sigmas = sigmas+ self.timesteps = sigmas * 1000+ self.model_outputs = [None] * 2+ self.timestep_list = [None] * 2+ self.lower_order_nums = 0+ self.last_sample = None+ self._step_index = None+ self._begin_index = None+ self.sigmas = self.sigmas.to('cpu')+ self.sigma_min = self.sigmas[-1].item()+ self.sigma_max = self.sigmas[0].item()++ @property+ def step_index(self):+ """+ The index counter for current timestep. It will increase 1 after each scheduler step.+ """+ return self._step_index++ @property+ def begin_index(self):+ """+ The index for the first timestep. It should be set from pipeline with `set_begin_index` method.+ """+ return self._begin_index++ def set_timesteps(self, num_inference_steps: Union[int, None]=None, device: Union[str, torch.device]=None, sigmas: Optional[List[float]]=None, shift: Optional[Union[float, None]]=None):+ """+ Sets the discrete timesteps used for the diffusion chain (to be run before inference).+ Args:+ num_inference_steps (`int`):+ Total number of the spacing of the time steps.+ device (`str` or `torch.device`, *optional*):+ The device to which the timesteps should be moved to. If `None`, the timesteps are not moved.+ """+ if sigmas is None:+ sigmas = np.linspace(self.sigma_max, self.sigma_min, num_inference_steps + 1).copy()[:-1]+ if shift is None:+ shift = self.config.shift+ sigmas = shift * sigmas / (1 + (shift - 1) * sigmas)+ sigma_last = 0+ timesteps = sigmas * 1000+ sigmas = np.concatenate([sigmas, [sigma_last]]).astype(np.float32)+ self.sigmas = torch.from_numpy(sigmas)+ self.timesteps = torch.from_numpy(timesteps).to(device=device, dtype=torch.int64)+ self.num_inference_steps = len(timesteps)+ self.model_outputs = [None] * 2+ self.lower_order_nums = 0+ self.last_sample = None+ self._step_index = None+ self._begin_index = None+ self.sigmas = self.sigmas.to('cpu')++ def _sigma_to_alpha_sigma_t(self, sigma):+ return (1 - sigma, sigma)++ def convert_model_output(self, model_output: torch.Tensor, *, sample: torch.Tensor) -> torch.Tensor:+ sigma = self.sigmas[self.step_index]+ alpha_t, sigma_t = self._sigma_to_alpha_sigma_t(sigma)+ sigma_t = self.sigmas[self.step_index]+ x0_pred = sample - sigma_t * model_output+ return x0_pred++ def multistep_uni_p_bh_update(self, model_output: torch.Tensor, *, sample: torch.Tensor, order: int) -> torch.Tensor:+ model_output_list = self.model_outputs+ s0 = self.timestep_list[-1]+ m0 = model_output_list[-1]+ x = sample+ sigma_t, sigma_s0 = (self.sigmas[self.step_index + 1], self.sigmas[self.step_index])+ alpha_t, sigma_t = self._sigma_to_alpha_sigma_t(sigma_t)+ alpha_s0, sigma_s0 = self._sigma_to_alpha_sigma_t(sigma_s0)+ lambda_t = torch.log(alpha_t) - torch.log(sigma_t)+ lambda_s0 = torch.log(alpha_s0) - torch.log(sigma_s0)+ h = lambda_t - lambda_s0+ device = sample.device+ rks = []+ D1s = []+ for i in range(1, order):+ si = self.step_index - i+ mi = model_output_list[-(i + 1)]+ alpha_si, sigma_si = self._sigma_to_alpha_sigma_t(self.sigmas[si])+ lambda_si = torch.log(alpha_si) - torch.log(sigma_si)+ rk = (lambda_si - lambda_s0) / h+ rks.append(rk)+ D1s.append((mi - m0) / rk)+ rks.append(1.0)+ rks = torch.tensor(rks, device=device)+ R = []+ b = []+ hh = -h+ h_phi_1 = torch.expm1(hh)+ h_phi_k = h_phi_1 / hh - 1+ factorial_i = 1+ B_h = torch.expm1(hh)+ for i in range(1, order + 1):+ R.append(torch.pow(rks, i - 1))+ b.append(h_phi_k * factorial_i / B_h)+ factorial_i *= i + 1+ h_phi_k = h_phi_k / hh - 1 / factorial_i+ R = torch.stack(R)+ b = torch.tensor(b, device=device)+ if len(D1s) > 0:+ D1s = torch.stack(D1s, dim=1)+ if order == 2:+ rhos_p = torch.tensor([0.5], dtype=x.dtype, device=device)+ else:+ rhos_p = torch.linalg.solve(R[:-1, :-1], b[:-1]).to(device).to(x.dtype)+ else:+ D1s = None+ x_t_ = sigma_t / sigma_s0 * x - alpha_t * h_phi_1 * m0+ if D1s is not None:+ pred_res = torch.einsum('k,bkc...->bc...', rhos_p, D1s)+ else:+ pred_res = 0+ x_t = x_t_ - alpha_t * B_h * pred_res+ x_t = x_t.to(x.dtype)+ return x_t++ def multistep_uni_c_bh_update(self, this_model_output: torch.Tensor, *, last_sample: torch.Tensor, this_sample: torch.Tensor, order: int) -> torch.Tensor:+ model_output_list = self.model_outputs+ m0 = model_output_list[-1]+ x = last_sample+ x_t = this_sample+ model_t = this_model_output+ sigma_t, sigma_s0 = (self.sigmas[self.step_index], self.sigmas[self.step_index - 1])+ alpha_t, sigma_t = self._sigma_to_alpha_sigma_t(sigma_t)+ alpha_s0, sigma_s0 = self._sigma_to_alpha_sigma_t(sigma_s0)+ lambda_t = torch.log(alpha_t) - torch.log(sigma_t)+ lambda_s0 = torch.log(alpha_s0) - torch.log(sigma_s0)+ h = lambda_t - lambda_s0+ device = this_sample.device+ rks = []+ D1s = []+ for i in range(1, order):+ si = self.step_index - (i + 1)+ mi = model_output_list[-(i + 1)]+ alpha_si, sigma_si = self._sigma_to_alpha_sigma_t(self.sigmas[si])+ lambda_si = torch.log(alpha_si) - torch.log(sigma_si)+ rk = (lambda_si - lambda_s0) / h+ rks.append(rk)+ D1s.append((mi - m0) / rk)+ rks.append(1.0)+ rks = torch.tensor(rks, device=device)+ R = []+ b = []+ hh = -h+ h_phi_1 = torch.expm1(hh)+ h_phi_k = h_phi_1 / hh - 1+ factorial_i = 1+ B_h = torch.expm1(hh)+ for i in range(1, order + 1):+ R.append(torch.pow(rks, i - 1))+ b.append(h_phi_k * factorial_i / B_h)+ factorial_i *= i + 1+ h_phi_k = h_phi_k / hh - 1 / factorial_i+ R = torch.stack(R)+ b = torch.tensor(b, device=device)+ if len(D1s) > 0:+ D1s = torch.stack(D1s, dim=1)+ else:+ D1s = None+ if order == 1:+ rhos_c = torch.tensor([0.5], dtype=x.dtype, device=device)+ else:+ rhos_c = torch.linalg.solve(R, b).to(device).to(x.dtype)+ x_t_ = sigma_t / sigma_s0 * x - alpha_t * h_phi_1 * m0+ if D1s is not None:+ corr_res = torch.einsum('k,bkc...->bc...', rhos_c[:-1], D1s)+ else:+ corr_res = 0+ D1_t = model_t - m0+ x_t = x_t_ - alpha_t * B_h * (corr_res + rhos_c[-1] * D1_t)+ x_t = x_t.to(x.dtype)+ return x_t++ def index_for_timestep(self, timestep, schedule_timesteps=None):+ if schedule_timesteps is None:+ schedule_timesteps = self.timesteps+ indices = (schedule_timesteps == timestep).nonzero()+ pos = 1 if len(indices) > 1 else 0+ return indices[pos].item()++ def _init_step_index(self, timestep):+ """+ Initialize the step_index counter for the scheduler.+ """+ if self.begin_index is None:+ if isinstance(timestep, torch.Tensor):+ timestep = timestep.to(self.timesteps.device)+ self._step_index = self.index_for_timestep(timestep)+ else:+ self._step_index = self._begin_index++ def step(self, model_output: torch.Tensor, timestep: Union[int, torch.Tensor], sample: torch.Tensor, return_dict: bool=True) -> Union[SchedulerOutput, Tuple]:+ """Advance the selected deterministic flow sampler by one step."""+ if self.num_inference_steps is None:+ raise ValueError("Number of inference steps is 'None', you need to run 'set_timesteps' after creating the scheduler")+ if self.step_index is None:+ self._init_step_index(timestep)+ use_corrector = self.step_index > 0 and self.last_sample is not None+ model_output_convert = self.convert_model_output(model_output, sample=sample)+ if use_corrector:+ sample = self.multistep_uni_c_bh_update(this_model_output=model_output_convert, last_sample=self.last_sample, this_sample=sample, order=self.this_order)+ for i in range(2 - 1):+ self.model_outputs[i] = self.model_outputs[i + 1]+ self.timestep_list[i] = self.timestep_list[i + 1]+ self.model_outputs[-1] = model_output_convert+ self.timestep_list[-1] = timestep+ this_order = min(2, len(self.timesteps) - self.step_index)+ self.this_order = min(this_order, self.lower_order_nums + 1)+ assert self.this_order > 0+ self.last_sample = sample+ prev_sample = self.multistep_uni_p_bh_update(model_output=model_output, sample=sample, order=self.this_order)+ if self.lower_order_nums < 2:+ self.lower_order_nums += 1+ self._step_index += 1+ if not return_dict:+ return (prev_sample,)+ return SchedulerOutput(prev_sample=prev_sample)diff --git a/src/wan22/__init__.py b/src/wan22/__init__.pynew file mode 100644index 0000000..8dd36f4--- /dev/null+++ b/src/wan22/__init__.py@@ -0,0 +1 @@+"""Selected Wan components; high-level upstream frontends are excluded."""diff --git a/src/wan22/modules/__init__.py b/src/wan22/modules/__init__.pynew file mode 100644index 0000000..8dd36f4--- /dev/null+++ b/src/wan22/modules/__init__.py@@ -0,0 +1 @@+"""Selected Wan components; high-level upstream frontends are excluded."""diff --git a/src/wan22/modules/model.py b/src/wan22/modules/model.pynew file mode 100644index 0000000..09db408--- /dev/null+++ b/src/wan22/modules/model.py@@ -0,0 +1,96 @@+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+# Retained primitives adapted from https://github.com/quanhaol/Wan2.2-TI2V-5B-Turbo+# Modified for Looking-Ahead: only the five selected primitives are retained.+import torch+import torch.nn as nn++++def sinusoidal_embedding_1d(dim, position):+ # preprocess+ assert dim % 2 == 0+ half = dim // 2+ position = position.type(torch.float64)++ # calculation+ sinusoid = torch.outer(+ position, torch.pow(10000, -torch.arange(half).to(position).div(half)))+ x = torch.cat([torch.cos(sinusoid), torch.sin(sinusoid)], dim=1)+ return x++[email protected]('cuda', enabled=False)+def rope_params(max_seq_len, dim, theta=10000):+ assert dim % 2 == 0+ freqs = torch.outer(+ torch.arange(max_seq_len),+ 1.0 / torch.pow(theta,+ torch.arange(0, dim, 2).to(torch.float64).div(dim)))+ freqs = torch.polar(torch.ones_like(freqs), freqs)+ return freqs++[email protected]('cuda', enabled=False)+def rope_apply(x, grid_sizes, freqs):+ n, c = x.size(2), x.size(3) // 2++ # split freqs+ freqs = freqs.split([c - 2 * (c // 3), c // 3, c // 3], dim=1)++ # loop over samples+ output = []+ for i, (f, h, w) in enumerate(grid_sizes.tolist()):+ seq_len = f * h * w++ # precompute multipliers+ x_i = torch.view_as_complex(x[i, :seq_len].to(torch.float64).reshape(+ seq_len, n, -1, 2))+ freqs_i = torch.cat([+ freqs[0][:f].view(f, 1, 1, -1).expand(f, h, w, -1),+ freqs[1][:h].view(1, h, 1, -1).expand(f, h, w, -1),+ freqs[2][:w].view(1, 1, w, -1).expand(f, h, w, -1)+ ],+ dim=-1).reshape(seq_len, 1, -1)++ # apply rotary embedding+ x_i = torch.view_as_real(x_i * freqs_i).flatten(2)+ x_i = torch.cat([x_i, x[i, seq_len:]])++ # append to collection+ output.append(x_i)+ return torch.stack(output).type_as(x)+++class WanRMSNorm(nn.Module):++ def __init__(self, dim, eps=1e-5):+ super().__init__()+ self.dim = dim+ self.eps = eps+ self.weight = nn.Parameter(torch.ones(dim))++ def forward(self, x):+ r"""+ Args:+ x(Tensor): Shape [B, L, C]+ """+ return self._norm(x.float()).type_as(x) * self.weight++ def _norm(self, x):+ return x * torch.rsqrt(x.pow(2).mean(dim=-1, keepdim=True) + self.eps)++ def reset_parameters(self):+ nn.init.ones_(self.weight)+++class WanLayerNorm(nn.LayerNorm):++ def __init__(self, dim, eps=1e-6, elementwise_affine=False):+ super().__init__(dim, elementwise_affine=elementwise_affine, eps=eps)++ def forward(self, x):+ r"""+ Args:+ x(Tensor): Shape [B, L, C]+ """+ return super().forward(x).type_as(x)diff --git a/src/wan22/modules/vae2_2.py b/src/wan22/modules/vae2_2.pynew file mode 100644index 0000000..b9d7953--- /dev/null+++ b/src/wan22/modules/vae2_2.py@@ -0,0 +1,883 @@+# Modified for Looking-Ahead: selected TF/TI2V components; unrelated workflows removed.+# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.+import logging++import torch+import torch.cuda.amp as amp+import torch.nn as nn+import torch.nn.functional as F+from einops import rearrange++__all__ = ['_video_vae']++CACHE_T = 2+++class CausalConv3d(nn.Conv3d):+ """+ Causal 3d convolusion.+ """++ def __init__(self, *args, **kwargs):+ super().__init__(*args, **kwargs)+ self._padding = (+ self.padding[2],+ self.padding[2],+ self.padding[1],+ self.padding[1],+ 2 * self.padding[0],+ 0,+ )+ self.padding = (0, 0, 0)++ def forward(self, x, cache_x=None):+ padding = list(self._padding)+ if cache_x is not None and self._padding[4] > 0:+ cache_x = cache_x.to(x.device)+ x = torch.cat([cache_x, x], dim=2)+ padding[4] -= cache_x.shape[2]+ x = F.pad(x, padding)++ return super().forward(x)+++class RMS_norm(nn.Module):++ def __init__(self, dim, channel_first=True, images=True, bias=False):+ super().__init__()+ broadcastable_dims = (1, 1, 1) if not images else (1, 1)+ shape = (dim, *broadcastable_dims) if channel_first else (dim,)++ self.channel_first = channel_first+ self.scale = dim**0.5+ self.gamma = nn.Parameter(torch.ones(shape))+ self.bias = nn.Parameter(torch.zeros(shape)) if bias else 0.++ def forward(self, x):+ return (F.normalize(+ x, dim=(1 if self.channel_first else -1)) *+ self.scale * self.gamma + self.bias)+++class Upsample(nn.Upsample):++ def forward(self, x):+ """+ Fix bfloat16 support for nearest neighbor interpolation.+ """+ return super().forward(x.float()).type_as(x)+++class Resample(nn.Module):++ def __init__(self, dim, mode):+ assert mode in (+ "none",+ "upsample2d",+ "upsample3d",+ "downsample2d",+ "downsample3d",+ )+ super().__init__()+ self.dim = dim+ self.mode = mode++ # layers+ if mode == "upsample2d":+ self.resample = nn.Sequential(+ Upsample(scale_factor=(2.0, 2.0), mode="nearest-exact"),+ nn.Conv2d(dim, dim, 3, padding=1),+ )+ elif mode == "upsample3d":+ self.resample = nn.Sequential(+ Upsample(scale_factor=(2.0, 2.0), mode="nearest-exact"),+ nn.Conv2d(dim, dim, 3, padding=1),+ # nn.Conv2d(dim, dim//2, 3, padding=1)+ )+ self.time_conv = CausalConv3d(+ dim, dim * 2, (3, 1, 1), padding=(1, 0, 0))+ elif mode == "downsample2d":+ self.resample = nn.Sequential(+ nn.ZeroPad2d((0, 1, 0, 1)),+ nn.Conv2d(dim, dim, 3, stride=(2, 2)))+ elif mode == "downsample3d":+ self.resample = nn.Sequential(+ nn.ZeroPad2d((0, 1, 0, 1)),+ nn.Conv2d(dim, dim, 3, stride=(2, 2)))+ self.time_conv = CausalConv3d(+ dim, dim, (3, 1, 1), stride=(2, 1, 1), padding=(0, 0, 0))+ else:+ self.resample = nn.Identity()++ def forward(self, x, feat_cache=None, feat_idx=[0]):+ b, c, t, h, w = x.size()+ if self.mode == "upsample3d":+ if feat_cache is not None:+ idx = feat_idx[0]+ if feat_cache[idx] is None:+ feat_cache[idx] = "Rep"+ feat_idx[0] += 1+ else:+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if (cache_x.shape[2] < 2 and feat_cache[idx] is not None and+ feat_cache[idx] != "Rep"):+ # cache last frame of last two chunk+ cache_x = torch.cat(+ [+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device),+ cache_x,+ ],+ dim=2,+ )+ if (cache_x.shape[2] < 2 and feat_cache[idx] is not None and+ feat_cache[idx] == "Rep"):+ cache_x = torch.cat(+ [+ torch.zeros_like(cache_x).to(cache_x.device),+ cache_x+ ],+ dim=2,+ )+ if feat_cache[idx] == "Rep":+ x = self.time_conv(x)+ else:+ x = self.time_conv(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ x = x.reshape(b, 2, c, t, h, w)+ x = torch.stack((x[:, 0, :, :, :, :], x[:, 1, :, :, :, :]),+ 3)+ x = x.reshape(b, c, t * 2, h, w)+ t = x.shape[2]+ x = rearrange(x, "b c t h w -> (b t) c h w")+ x = self.resample(x)+ x = rearrange(x, "(b t) c h w -> b c t h w", t=t)++ if self.mode == "downsample3d":+ if feat_cache is not None:+ idx = feat_idx[0]+ if feat_cache[idx] is None:+ feat_cache[idx] = x.clone()+ feat_idx[0] += 1+ else:+ cache_x = x[:, :, -1:, :, :].clone()+ x = self.time_conv(+ torch.cat([feat_cache[idx][:, :, -1:, :, :], x], 2))+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ return x+++++class ResidualBlock(nn.Module):++ def __init__(self, in_dim, out_dim, dropout=0.0):+ super().__init__()+ self.in_dim = in_dim+ self.out_dim = out_dim++ # layers+ self.residual = nn.Sequential(+ RMS_norm(in_dim, images=False),+ nn.SiLU(),+ CausalConv3d(in_dim, out_dim, 3, padding=1),+ RMS_norm(out_dim, images=False),+ nn.SiLU(),+ nn.Dropout(dropout),+ CausalConv3d(out_dim, out_dim, 3, padding=1),+ )+ self.shortcut = (+ CausalConv3d(in_dim, out_dim, 1)+ if in_dim != out_dim else nn.Identity())++ def forward(self, x, feat_cache=None, feat_idx=[0]):+ h = self.shortcut(x)+ for layer in self.residual:+ if isinstance(layer, CausalConv3d) and feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ # cache last frame of last two chunk+ cache_x = torch.cat(+ [+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device),+ cache_x,+ ],+ dim=2,+ )+ x = layer(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = layer(x)+ return x + h+++class AttentionBlock(nn.Module):+ """+ Causal self-attention with a single head.+ """++ def __init__(self, dim):+ super().__init__()+ self.dim = dim++ # layers+ self.norm = RMS_norm(dim)+ self.to_qkv = nn.Conv2d(dim, dim * 3, 1)+ self.proj = nn.Conv2d(dim, dim, 1)++ # zero out the last layer params+ nn.init.zeros_(self.proj.weight)++ def forward(self, x):+ identity = x+ b, c, t, h, w = x.size()+ x = rearrange(x, "b c t h w -> (b t) c h w")+ x = self.norm(x)+ # compute query, key, value+ q, k, v = (+ self.to_qkv(x).reshape(b * t, 1, c * 3,+ -1).permute(0, 1, 3,+ 2).contiguous().chunk(3, dim=-1))++ # apply attention+ x = F.scaled_dot_product_attention(+ q,+ k,+ v,+ )+ x = x.squeeze(1).permute(0, 2, 1).reshape(b * t, c, h, w)++ # output+ x = self.proj(x)+ x = rearrange(x, "(b t) c h w-> b c t h w", t=t)+ return x + identity+++def patchify(x, patch_size):+ if patch_size == 1:+ return x+ if x.dim() == 4:+ x = rearrange(+ x, "b c (h q) (w r) -> b (c r q) h w", q=patch_size, r=patch_size)+ elif x.dim() == 5:+ x = rearrange(+ x,+ "b c f (h q) (w r) -> b (c r q) f h w",+ q=patch_size,+ r=patch_size,+ )+ else:+ raise ValueError(f"Invalid input shape: {x.shape}")++ return x+++def unpatchify(x, patch_size):+ if patch_size == 1:+ return x++ if x.dim() == 4:+ x = rearrange(+ x, "b (c r q) h w -> b c (h q) (w r)", q=patch_size, r=patch_size)+ elif x.dim() == 5:+ x = rearrange(+ x,+ "b (c r q) f h w -> b c f (h q) (w r)",+ q=patch_size,+ r=patch_size,+ )+ return x+++class AvgDown3D(nn.Module):++ def __init__(+ self,+ in_channels,+ out_channels,+ factor_t,+ factor_s=1,+ ):+ super().__init__()+ self.in_channels = in_channels+ self.out_channels = out_channels+ self.factor_t = factor_t+ self.factor_s = factor_s+ self.factor = self.factor_t * self.factor_s * self.factor_s++ assert in_channels * self.factor % out_channels == 0+ self.group_size = in_channels * self.factor // out_channels++ def forward(self, x: torch.Tensor) -> torch.Tensor:+ pad_t = (self.factor_t - x.shape[2] % self.factor_t) % self.factor_t+ pad = (0, 0, 0, 0, pad_t, 0)+ x = F.pad(x, pad)+ B, C, T, H, W = x.shape+ x = x.view(+ B,+ C,+ T // self.factor_t,+ self.factor_t,+ H // self.factor_s,+ self.factor_s,+ W // self.factor_s,+ self.factor_s,+ )+ x = x.permute(0, 1, 3, 5, 7, 2, 4, 6).contiguous()+ x = x.view(+ B,+ C * self.factor,+ T // self.factor_t,+ H // self.factor_s,+ W // self.factor_s,+ )+ x = x.view(+ B,+ self.out_channels,+ self.group_size,+ T // self.factor_t,+ H // self.factor_s,+ W // self.factor_s,+ )+ x = x.mean(dim=2)+ return x+++class DupUp3D(nn.Module):++ def __init__(+ self,+ in_channels: int,+ out_channels: int,+ factor_t,+ factor_s=1,+ ):+ super().__init__()+ self.in_channels = in_channels+ self.out_channels = out_channels++ self.factor_t = factor_t+ self.factor_s = factor_s+ self.factor = self.factor_t * self.factor_s * self.factor_s++ assert out_channels * self.factor % in_channels == 0+ self.repeats = out_channels * self.factor // in_channels++ def forward(self, x: torch.Tensor, first_chunk=False) -> torch.Tensor:+ x = x.repeat_interleave(self.repeats, dim=1)+ x = x.view(+ x.size(0),+ self.out_channels,+ self.factor_t,+ self.factor_s,+ self.factor_s,+ x.size(2),+ x.size(3),+ x.size(4),+ )+ x = x.permute(0, 1, 5, 2, 6, 3, 7, 4).contiguous()+ x = x.view(+ x.size(0),+ self.out_channels,+ x.size(2) * self.factor_t,+ x.size(4) * self.factor_s,+ x.size(6) * self.factor_s,+ )+ if first_chunk:+ x = x[:, :, self.factor_t - 1:, :, :]+ return x+++class Down_ResidualBlock(nn.Module):++ def __init__(self,+ in_dim,+ out_dim,+ dropout,+ mult,+ temperal_downsample=False,+ down_flag=False):+ super().__init__()++ # Shortcut path with downsample+ self.avg_shortcut = AvgDown3D(+ in_dim,+ out_dim,+ factor_t=2 if temperal_downsample else 1,+ factor_s=2 if down_flag else 1,+ )++ # Main path with residual blocks and downsample+ downsamples = []+ for _ in range(mult):+ downsamples.append(ResidualBlock(in_dim, out_dim, dropout))+ in_dim = out_dim++ # Add the final downsample block+ if down_flag:+ mode = "downsample3d" if temperal_downsample else "downsample2d"+ downsamples.append(Resample(out_dim, mode=mode))++ self.downsamples = nn.Sequential(*downsamples)++ def forward(self, x, feat_cache=None, feat_idx=[0]):+ x_copy = x.clone()+ for module in self.downsamples:+ x = module(x, feat_cache, feat_idx)++ return x + self.avg_shortcut(x_copy)+++class Up_ResidualBlock(nn.Module):++ def __init__(self,+ in_dim,+ out_dim,+ dropout,+ mult,+ temperal_upsample=False,+ up_flag=False):+ super().__init__()+ # Shortcut path with upsample+ if up_flag:+ self.avg_shortcut = DupUp3D(+ in_dim,+ out_dim,+ factor_t=2 if temperal_upsample else 1,+ factor_s=2 if up_flag else 1,+ )+ else:+ self.avg_shortcut = None++ # Main path with residual blocks and upsample+ upsamples = []+ for _ in range(mult):+ upsamples.append(ResidualBlock(in_dim, out_dim, dropout))+ in_dim = out_dim++ # Add the final upsample block+ if up_flag:+ mode = "upsample3d" if temperal_upsample else "upsample2d"+ upsamples.append(Resample(out_dim, mode=mode))++ self.upsamples = nn.Sequential(*upsamples)++ def forward(self, x, feat_cache=None, feat_idx=[0], first_chunk=False):+ x_main = x.clone()+ for module in self.upsamples:+ x_main = module(x_main, feat_cache, feat_idx)+ if self.avg_shortcut is not None:+ x_shortcut = self.avg_shortcut(x, first_chunk)+ # print('x_main shape:', x_main.shape, 'x_shortcut shape:', x_shortcut.shape)+ return x_main + x_shortcut+ else:+ return x_main+++class Encoder3d(nn.Module):++ def __init__(+ self,+ dim=128,+ z_dim=4,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_downsample=[True, True, False],+ dropout=0.0,+ ):+ super().__init__()+ self.dim = dim+ self.z_dim = z_dim+ self.dim_mult = dim_mult+ self.num_res_blocks = num_res_blocks+ self.attn_scales = attn_scales+ self.temperal_downsample = temperal_downsample++ # dimensions+ dims = [dim * u for u in [1] + dim_mult]+ scale = 1.0++ # init block+ self.conv1 = CausalConv3d(12, dims[0], 3, padding=1)++ # downsample blocks+ downsamples = []+ for i, (in_dim, out_dim) in enumerate(zip(dims[:-1], dims[1:])):+ t_down_flag = (+ temperal_downsample[i]+ if i < len(temperal_downsample) else False)+ downsamples.append(+ Down_ResidualBlock(+ in_dim=in_dim,+ out_dim=out_dim,+ dropout=dropout,+ mult=num_res_blocks,+ temperal_downsample=t_down_flag,+ down_flag=i != len(dim_mult) - 1,+ ))+ scale /= 2.0+ self.downsamples = nn.Sequential(*downsamples)++ # middle blocks+ self.middle = nn.Sequential(+ ResidualBlock(out_dim, out_dim, dropout),+ AttentionBlock(out_dim),+ ResidualBlock(out_dim, out_dim, dropout),+ )++ # # output blocks+ self.head = nn.Sequential(+ RMS_norm(out_dim, images=False),+ nn.SiLU(),+ CausalConv3d(out_dim, z_dim, 3, padding=1),+ )++ def forward(self, x, feat_cache=None, feat_idx=[0]):++ if feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ cache_x = torch.cat(+ [+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device),+ cache_x,+ ],+ dim=2,+ )+ x = self.conv1(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = self.conv1(x)++ ## downsamples+ for layer in self.downsamples:+ if feat_cache is not None:+ x = layer(x, feat_cache, feat_idx)+ else:+ x = layer(x)++ ## middle+ for layer in self.middle:+ if isinstance(layer, ResidualBlock) and feat_cache is not None:+ x = layer(x, feat_cache, feat_idx)+ else:+ x = layer(x)++ ## head+ for layer in self.head:+ if isinstance(layer, CausalConv3d) and feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ cache_x = torch.cat(+ [+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device),+ cache_x,+ ],+ dim=2,+ )+ x = layer(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = layer(x)++ return x+++class Decoder3d(nn.Module):++ def __init__(+ self,+ dim=128,+ z_dim=4,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_upsample=[False, True, True],+ dropout=0.0,+ ):+ super().__init__()+ self.dim = dim+ self.z_dim = z_dim+ self.dim_mult = dim_mult+ self.num_res_blocks = num_res_blocks+ self.attn_scales = attn_scales+ self.temperal_upsample = temperal_upsample++ # dimensions+ dims = [dim * u for u in [dim_mult[-1]] + dim_mult[::-1]]+ scale = 1.0 / 2**(len(dim_mult) - 2)+ # init block+ self.conv1 = CausalConv3d(z_dim, dims[0], 3, padding=1)++ # middle blocks+ self.middle = nn.Sequential(+ ResidualBlock(dims[0], dims[0], dropout),+ AttentionBlock(dims[0]),+ ResidualBlock(dims[0], dims[0], dropout),+ )++ # upsample blocks+ upsamples = []+ for i, (in_dim, out_dim) in enumerate(zip(dims[:-1], dims[1:])):+ t_up_flag = temperal_upsample[i] if i < len(+ temperal_upsample) else False+ upsamples.append(+ Up_ResidualBlock(+ in_dim=in_dim,+ out_dim=out_dim,+ dropout=dropout,+ mult=num_res_blocks + 1,+ temperal_upsample=t_up_flag,+ up_flag=i != len(dim_mult) - 1,+ ))+ self.upsamples = nn.Sequential(*upsamples)++ # output blocks+ self.head = nn.Sequential(+ RMS_norm(out_dim, images=False),+ nn.SiLU(),+ CausalConv3d(out_dim, 12, 3, padding=1),+ )++ def forward(self, x, feat_cache=None, feat_idx=[0], first_chunk=False):+ if feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ cache_x = torch.cat(+ [+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device),+ cache_x,+ ],+ dim=2,+ )+ x = self.conv1(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = self.conv1(x)++ for layer in self.middle:+ if isinstance(layer, ResidualBlock) and feat_cache is not None:+ x = layer(x, feat_cache, feat_idx)+ else:+ x = layer(x)++ ## upsamples+ for layer in self.upsamples:+ if feat_cache is not None:+ x = layer(x, feat_cache, feat_idx, first_chunk)+ else:+ x = layer(x)++ ## head+ for layer in self.head:+ if isinstance(layer, CausalConv3d) and feat_cache is not None:+ idx = feat_idx[0]+ cache_x = x[:, :, -CACHE_T:, :, :].clone()+ if cache_x.shape[2] < 2 and feat_cache[idx] is not None:+ cache_x = torch.cat(+ [+ feat_cache[idx][:, :, -1, :, :].unsqueeze(2).to(+ cache_x.device),+ cache_x,+ ],+ dim=2,+ )+ x = layer(x, feat_cache[idx])+ feat_cache[idx] = cache_x+ feat_idx[0] += 1+ else:+ x = layer(x)+ return x+++def count_conv3d(model):+ count = 0+ for m in model.modules():+ if isinstance(m, CausalConv3d):+ count += 1+ return count+++class WanVAE_(nn.Module):++ def __init__(+ self,+ dim=160,+ dec_dim=256,+ z_dim=16,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_downsample=[True, True, False],+ dropout=0.0,+ ):+ super().__init__()+ self.dim = dim+ self.z_dim = z_dim+ self.dim_mult = dim_mult+ self.num_res_blocks = num_res_blocks+ self.attn_scales = attn_scales+ self.temperal_downsample = temperal_downsample+ self.temperal_upsample = temperal_downsample[::-1]++ # modules+ self.encoder = Encoder3d(+ dim,+ z_dim * 2,+ dim_mult,+ num_res_blocks,+ attn_scales,+ self.temperal_downsample,+ dropout,+ )+ self.conv1 = CausalConv3d(z_dim * 2, z_dim * 2, 1)+ self.conv2 = CausalConv3d(z_dim, z_dim, 1)+ self.decoder = Decoder3d(+ dec_dim,+ z_dim,+ dim_mult,+ num_res_blocks,+ attn_scales,+ self.temperal_upsample,+ dropout,+ )+ self.clear_cache()+++ def encode(self, x, scale):+ self.clear_cache()+ x = patchify(x, patch_size=2)+ t = x.shape[2]+ iter_ = 1 + (t - 1) // 4+ for i in range(iter_):+ self._enc_conv_idx = [0]+ if i == 0:+ out = self.encoder(+ x[:, :, :1, :, :],+ feat_cache=self._enc_feat_map,+ feat_idx=self._enc_conv_idx,+ )+ else:+ out_ = self.encoder(+ x[:, :, 1 + 4 * (i - 1):1 + 4 * i, :, :],+ feat_cache=self._enc_feat_map,+ feat_idx=self._enc_conv_idx,+ )+ out = torch.cat([out, out_], 2)+ mu, log_var = self.conv1(out).chunk(2, dim=1)+ if isinstance(scale[0], torch.Tensor):+ mu = (mu - scale[0].view(1, self.z_dim, 1, 1, 1)) * scale[1].view(+ 1, self.z_dim, 1, 1, 1)+ else:+ mu = (mu - scale[0]) * scale[1]+ self.clear_cache()+ return mu++ def decode(self, z, scale):+ self.clear_cache()+ if isinstance(scale[0], torch.Tensor):+ z = z / scale[1].view(1, self.z_dim, 1, 1, 1) + scale[0].view(+ 1, self.z_dim, 1, 1, 1)+ else:+ z = z / scale[1] + scale[0]+ iter_ = z.shape[2]+ x = self.conv2(z)+ for i in range(iter_):+ self._conv_idx = [0]+ if i == 0:+ out = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx,+ first_chunk=True,+ )+ else:+ out_ = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx,+ )+ out = torch.cat([out, out_], 2)+ out = unpatchify(out, patch_size=2)+ self.clear_cache()+ return out++ def cached_decode(self, z, scale):+ if isinstance(scale[0], torch.Tensor):+ z = z / scale[1].view(1, self.z_dim, 1, 1, 1) + scale[0].view(+ 1, self.z_dim, 1, 1, 1)+ else:+ z = z / scale[1] + scale[0]+ iter_ = z.shape[2]+ x = self.conv2(z)+ for i in range(iter_):+ self._conv_idx = [0]+ if i == 0:+ out = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx,+ first_chunk=self.first_chunk,+ )+ self.first_chunk = False+ else:+ out_ = self.decoder(+ x[:, :, i:i + 1, :, :],+ feat_cache=self._feat_map,+ feat_idx=self._conv_idx,+ )+ out = torch.cat([out, out_], 2)+ out = unpatchify(out, patch_size=2)+ return out++++ def clear_cache(self):+ # cache decode+ self._conv_num = count_conv3d(self.decoder)+ self._conv_idx = [0]+ self._feat_map = [None] * self._conv_num+ self.first_chunk = True+ # cache encode+ self._enc_conv_num = count_conv3d(self.encoder)+ self._enc_conv_idx = [0]+ self._enc_feat_map = [None] * self._enc_conv_num++def _video_vae(pretrained_path=None, z_dim=16, dim=160, device="cpu", **kwargs):+ # params+ cfg = dict(+ dim=dim,+ z_dim=z_dim,+ dim_mult=[1, 2, 4, 4],+ num_res_blocks=2,+ attn_scales=[],+ temperal_downsample=[True, True, True],+ dropout=0.0,+ )+ cfg.update(**kwargs)++ # init model+ with torch.device("meta"):+ model = WanVAE_(**cfg)++ # load checkpoint+ # logging.info(f"loading {pretrained_path}")+ model.load_state_dict(+ torch.load(pretrained_path, map_location=device), assign=True)++ return modeldiff --git a/tools/validate_latent_webdataset.py b/tools/validate_latent_webdataset.pynew file mode 100644index 0000000..6b9af09--- /dev/null+++ b/tools/validate_latent_webdataset.py@@ -0,0 +1,896 @@+"""Validate latent WebDataset shards against the project's training contract.++The validator is read-only. It fully parses the annotation JSONL, then checks a+deterministic sample of tar shards and latent payloads by default. Use+``--all-shards --all-samples`` for full annotated coverage.++Exit code is 0 when no validation errors are found and 1 otherwise.+"""++from __future__ import annotations++import argparse+import io+import json+import sys+import tarfile+from collections import Counter+from dataclasses import dataclass, field+from pathlib import Path+from typing import Any++import numpy as np+import torch++SHARD_FILENAME_PREFIX = "latent_"+CANONICAL_LATENT_FIELD = "latent.pth"+MAX_JSON_MEMBER_BYTES = 16 * 1024 * 1024++DiskShape = tuple[int, int, int, int]+TrainingShape = tuple[int, int, int, int]+++@dataclass(frozen=True)+class AnnotationRecord:+ """One validated annotation entry."""++ line_no: int+ shard: str+ clip_name: str+ caption: str+++@dataclass(frozen=True)+class TrainingContract:+ """Effective shape and internal causal contract of one public recipe."""++ path: Path+ full_shape: tuple[int, int, int, int, int]+ block_size: int | None+ causal: bool+ independent_first_frame: bool+ model_name: str | None++ @property+ def sample_shape(self) -> TrainingShape:+ """Return the configured per-sample layout ``[T, C, H, W]``."""+ return self.full_shape[1:]+++@dataclass(frozen=True)+class ValidationOptions:+ """Inputs and coverage controls for one validation run."""++ data_path: Path+ annotation_path: Path+ caption_field: str = "global_caption_en"+ expected_shape: DiskShape | None = None+ config_path: Path | None = None+ sample_shards: int = 3+ samples_per_shard: int = 3+ all_shards: bool = False+ all_samples: bool = False+ allow_unsafe_pickle: bool = False+ max_payload_bytes: int = 2 * 1024 * 1024 * 1024+ max_errors: int = 50+++@dataclass+class ValidationReport:+ """Validation findings and compact coverage statistics."""++ max_errors: int+ error_count: int = 0+ warning_count: int = 0+ errors: list[str] = field(default_factory=list)+ warnings: list[str] = field(default_factory=list)+ notes: list[str] = field(default_factory=list)+ annotation_entries: int = 0+ annotation_shards: int = 0+ checked_shards: int = 0+ checked_samples: int = 0+ matched_annotation_entries: int = 0+ observed_shapes: Counter[DiskShape] = field(default_factory=Counter)+ observed_dtypes: Counter[str] = field(default_factory=Counter)+ training_contract: TrainingContract | None = None+ reference_shape: DiskShape | None = None++ @property+ def ok(self) -> bool:+ return self.error_count == 0++ def error(self, message: str) -> None:+ self.error_count += 1+ if len(self.errors) < self.max_errors:+ self.errors.append(message)++ def warning(self, message: str) -> None:+ self.warning_count += 1+ if len(self.warnings) < self.max_errors:+ self.warnings.append(message)++ def note(self, message: str) -> None:+ if message not in self.notes:+ self.notes.append(message)+++def parse_disk_shape(value: str) -> DiskShape:+ """Parse ``C,T,H,W`` (or ``CxTxHxW``) into four positive integers."""+ normalized = value.lower().replace("x", ",")+ parts = [part.strip() for part in normalized.split(",") if part.strip()]+ if len(parts) != 4:+ raise argparse.ArgumentTypeError(+ f"expected four dimensions in C,T,H,W order, got {value!r}"+ )+ try:+ shape = tuple(int(part) for part in parts)+ except ValueError as exc:+ raise argparse.ArgumentTypeError(f"shape contains a non-integer: {value!r}") from exc+ if any(dim <= 0 for dim in shape):+ raise argparse.ArgumentTypeError(f"shape dimensions must be positive: {value!r}")+ return shape # type: ignore[return-value]+++def _positive_int(value: str) -> int:+ parsed = int(value)+ if parsed <= 0:+ raise argparse.ArgumentTypeError("value must be a positive integer")+ return parsed+++def _format_shape(shape: tuple[int, ...]) -> str:+ return "[" + ", ".join(str(dim) for dim in shape) + "]"+++def _validate_shape_values(raw: Any, *, dimensions: int, field_name: str) -> tuple[int, ...]:+ if not isinstance(raw, (list, tuple)) or len(raw) != dimensions:+ raise ValueError(f"{field_name} must contain exactly {dimensions} dimensions, got {raw!r}")+ values: list[int] = []+ for value in raw:+ if isinstance(value, bool) or not isinstance(value, int) or value <= 0:+ raise ValueError(f"{field_name} dimensions must be positive integers, got {raw!r}")+ values.append(value)+ return tuple(values)+++def _load_training_contract(config_path: Path) -> TrainingContract:+ # Resolve shared defaults and the public recipe through the same boundary as+ # training, without importing the trainer or touching data/GPU/runtime outputs.+ project_root = Path(__file__).resolve().parents[1]+ if str(project_root) not in sys.path:+ sys.path.insert(0, str(project_root))+ from src.utils.config import resolve_config++ resolved = resolve_config(["--config", str(config_path), "--dry_run"], training=True)+ config = resolved.public+ full_shape = _validate_shape_values(+ list(config.image_or_video_shape), dimensions=5, field_name="image_or_video_shape"+ )+ return TrainingContract(+ path=resolved.config_path,+ full_shape=full_shape,+ block_size=config.num_frame_per_block,+ causal=True,+ independent_first_frame=config.independent_first_frame,+ model_name=config.model_name,+ )+++def _validate_training_contract(+ report: ValidationReport,+ contract: TrainingContract,+ expected_shape: DiskShape | None,+) -> None:+ training_t, training_c, training_h, training_w = contract.sample_shape+ block_size = contract.block_size+ if contract.causal and block_size is not None:+ if contract.independent_first_frame:+ if (training_t - 1) % block_size != 0:+ report.error(+ f"config {contract.path}: independent_first_frame=true requires "+ f"(T - 1) % num_frame_per_block == 0, got T={training_t}, "+ f"block={block_size}"+ )+ elif training_t % block_size != 0:+ report.error(+ f"config {contract.path}: independent_first_frame=false requires "+ f"T % num_frame_per_block == 0, got T={training_t}, block={block_size}"+ )++ if expected_shape is not None:+ disk_c, disk_t, disk_h, disk_w = expected_shape+ if (disk_c, disk_h, disk_w) != (training_c, training_h, training_w):+ report.error(+ "--expected-shape is spatially incompatible with config: disk "+ f"{_format_shape(expected_shape)} [C,T,H,W] versus config "+ f"{_format_shape(contract.sample_shape)} [T,C,H,W]"+ )+ if disk_t < training_t:+ report.error(+ "--expected-shape has fewer latent frames than config consumes: "+ f"disk T={disk_t}, config T={training_t}"+ )+++def _load_annotations(+ options: ValidationOptions,+ report: ValidationReport,+) -> dict[str, list[AnnotationRecord]]:+ path = options.annotation_path+ if not path.is_file():+ report.error(f"annotation JSONL does not exist or is not a file: {path}")+ return {}+ if path.suffix.lower() != ".jsonl":+ report.warning(f"annotation file does not use the recommended .jsonl suffix: {path}")++ by_shard: dict[str, list[AnnotationRecord]] = {}+ seen_pairs: dict[tuple[str, str], int] = {}+ try:+ annotation_file = path.open("r", encoding="utf-8")+ except OSError as exc:+ report.error(f"cannot open annotation JSONL {path}: {exc}")+ return {}++ with annotation_file:+ for line_no, raw_line in enumerate(annotation_file, 1):+ line = raw_line.strip()+ if not line:+ continue+ try:+ entry = json.loads(line)+ except json.JSONDecodeError as exc:+ report.error(f"{path}:{line_no}: invalid JSON: {exc}")+ continue+ if not isinstance(entry, dict):+ report.error(f"{path}:{line_no}: each line must be a JSON object")+ continue++ shard = entry.get("shard")+ clip_name = entry.get("clip_name")+ caption = entry.get(options.caption_field)+ if not isinstance(shard, str) or not shard.strip():+ report.error(f"{path}:{line_no}: missing or empty string field 'shard'")+ continue+ if (+ shard != shard.strip()+ or shard in {".", ".."}+ or "/" in shard+ or "\\" in shard+ or "\x00" in shard+ ):+ report.error(+ f"{path}:{line_no}: shard must be a filename-safe logical id, got {shard!r}"+ )+ continue+ if shard.startswith(SHARD_FILENAME_PREFIX) or shard.endswith(".tar"):+ report.error(+ f"{path}:{line_no}: shard must omit the 'latent_' prefix and '.tar' suffix"+ )+ continue+ if not isinstance(clip_name, str) or not clip_name.strip():+ report.error(f"{path}:{line_no}: missing or empty string field 'clip_name'")+ continue+ if "\x00" in clip_name:+ report.error(f"{path}:{line_no}: clip_name contains a NUL byte")+ continue+ if not isinstance(caption, str) or not caption.strip():+ report.error(+ f"{path}:{line_no}: missing or empty caption field {options.caption_field!r}"+ )+ continue++ pair = (shard, clip_name)+ if pair in seen_pairs:+ report.error(+ f"{path}:{line_no}: duplicate (shard, clip_name) {pair!r}; "+ f"first seen at line {seen_pairs[pair]}"+ )+ continue+ seen_pairs[pair] = line_no+ by_shard.setdefault(shard, []).append(+ AnnotationRecord(+ line_no=line_no,+ shard=shard,+ clip_name=clip_name,+ caption=caption,+ )+ )++ report.annotation_entries = sum(len(records) for records in by_shard.values())+ report.annotation_shards = len(by_shard)+ if report.annotation_entries == 0:+ report.error(+ f"annotation JSONL has no valid entries (caption field={options.caption_field!r}): {path}"+ )+ return by_shard+++def _evenly_spaced[T](items: list[T], count: int) -> list[T]:+ if count >= len(items):+ return list(items)+ if count == 1:+ return [items[0]]+ indices = [round(index * (len(items) - 1) / (count - 1)) for index in range(count)]+ return [items[index] for index in indices]+++def _split_webdataset_member(name: str) -> tuple[str, str] | None:+ """Mirror WebDataset's first-dot split into ``(__key__, field)``."""+ basename_start = name.rfind("/") + 1+ dot_index = name.find(".", basename_start)+ if dot_index <= basename_start or dot_index == len(name) - 1:+ return None+ return name[:dot_index], name[dot_index + 1 :]+++def _coerce_latent(payload: Any) -> torch.Tensor:+ """Mirror the latent payload forms accepted by ``src/dataset/tensor.py``."""+ if isinstance(payload, torch.Tensor):+ return payload+ if isinstance(payload, np.ndarray):+ return torch.from_numpy(payload)+ if isinstance(payload, dict):+ for key in ("vae_latent", "latent", "latents", "data"):+ if key in payload:+ value = payload[key]+ if isinstance(value, torch.Tensor):+ return value+ if isinstance(value, np.ndarray):+ return torch.from_numpy(value)+ raise TypeError(f"payload[{key!r}] has unsupported type {type(value).__name__}")+ tensor_values = [value for value in payload.values() if isinstance(value, torch.Tensor)]+ if len(tensor_values) == 1:+ return tensor_values[0]+ raise KeyError(+ "dict payload has no recognized latent key "+ "(vae_latent/latent/latents/data) or unique tensor value"+ )+ raise TypeError(f"unsupported payload type {type(payload).__name__}")+++def _extract_member_bytes(+ archive: tarfile.TarFile,+ member: tarfile.TarInfo,+ *,+ limit: int,+) -> bytes:+ if member.size > limit:+ raise ValueError(+ f"member is {member.size} bytes, exceeding the configured limit of {limit} bytes"+ )+ extracted = archive.extractfile(member)+ if extracted is None:+ raise OSError("tar member cannot be opened as a regular file")+ with extracted:+ return extracted.read()+++def _load_json_member(+ archive: tarfile.TarFile,+ member: tarfile.TarInfo,+) -> Any:+ raw = _extract_member_bytes(archive, member, limit=MAX_JSON_MEMBER_BYTES)+ return json.loads(raw.decode("utf-8"))+++def _validate_optional_json(+ archive: tarfile.TarFile,+ fields: dict[str, tarfile.TarInfo],+ *,+ shard: str,+ key: str,+ latent: torch.Tensor,+ report: ValidationReport,+) -> None:+ actions_member = fields.get("actions.json")+ if actions_member is not None:+ try:+ _load_json_member(archive, actions_member)+ except (OSError, UnicodeDecodeError, json.JSONDecodeError, ValueError) as exc:+ report.error(f"shard={shard!r}, key={key!r}: invalid actions.json: {exc}")++ meta_member = fields.get("meta.json")+ if meta_member is None:+ return+ try:+ metadata = _load_json_member(archive, meta_member)+ except (OSError, UnicodeDecodeError, json.JSONDecodeError, ValueError) as exc:+ report.error(f"shard={shard!r}, key={key!r}: invalid meta.json: {exc}")+ return+ if not isinstance(metadata, dict):+ report.error(f"shard={shard!r}, key={key!r}: meta.json must contain a JSON object")+ return++ metadata_key = metadata.get("clip_name")+ if metadata_key is not None and metadata_key != key:+ report.error(f"shard={shard!r}, key={key!r}: meta.json clip_name is {metadata_key!r}")+ metadata_shape = metadata.get("latent_shape")+ if metadata_shape is not None:+ try:+ parsed_shape = _validate_shape_values(+ metadata_shape,+ dimensions=4,+ field_name="meta.json latent_shape",+ )+ except ValueError as exc:+ report.error(f"shard={shard!r}, key={key!r}: {exc}")+ else:+ if parsed_shape != tuple(latent.shape):+ report.error(+ f"shard={shard!r}, key={key!r}: meta.json latent_shape "+ f"{_format_shape(parsed_shape)} does not match payload "+ f"{_format_shape(tuple(latent.shape))}"+ )+ metadata_dtype = metadata.get("latent_dtype")+ if metadata_dtype is not None:+ expected_dtype = str(latent.dtype).removeprefix("torch.").lower()+ actual_dtype = str(metadata_dtype).removeprefix("torch.").lower()+ if actual_dtype != expected_dtype:+ report.error(+ f"shard={shard!r}, key={key!r}: meta.json latent_dtype "+ f"{metadata_dtype!r} does not match payload {expected_dtype!r}"+ )+++def _validate_observed_shape(+ latent: torch.Tensor,+ *,+ shard: str,+ key: str,+ options: ValidationOptions,+ report: ValidationReport,+) -> None:+ if latent.ndim != 4:+ report.error(+ f"shard={shard!r}, key={key!r}: latent must be 4-D [C,T,H,W], "+ f"got {_format_shape(tuple(latent.shape))}"+ )+ return+ shape: DiskShape = tuple(latent.shape) # type: ignore[assignment]+ report.observed_shapes[shape] += 1+ dtype_name = str(latent.dtype).removeprefix("torch.")+ report.observed_dtypes[dtype_name] += 1++ if report.reference_shape is None:+ report.reference_shape = shape+ elif shape != report.reference_shape:+ report.error(+ f"shard={shard!r}, key={key!r}: non-uniform latent shape "+ f"{_format_shape(shape)}; first checked shape was "+ f"{_format_shape(report.reference_shape)}"+ )++ if options.expected_shape is not None and shape != options.expected_shape:+ report.error(+ f"shard={shard!r}, key={key!r}: latent shape {_format_shape(shape)} "+ f"does not match --expected-shape {_format_shape(options.expected_shape)}"+ )++ contract = report.training_contract+ if contract is not None:+ training_t, training_c, training_h, training_w = contract.sample_shape+ disk_c, disk_t, disk_h, disk_w = shape+ if (disk_c, disk_h, disk_w) != (training_c, training_h, training_w):+ report.error(+ f"shard={shard!r}, key={key!r}: disk [C,H,W] "+ f"{_format_shape((disk_c, disk_h, disk_w))} does not match config "+ f"{_format_shape((training_c, training_h, training_w))}"+ )+ if disk_t < training_t:+ report.error(+ f"shard={shard!r}, key={key!r}: disk T={disk_t} is shorter than "+ f"config T={training_t}"+ )+ elif disk_t > training_t:+ report.note(+ f"stored T={disk_t} is compatible with config T={training_t}; "+ "the trainer consumes only the leading configured frames"+ )+++def _validate_latent_member(+ archive: tarfile.TarFile,+ member: tarfile.TarInfo,+ fields: dict[str, tarfile.TarInfo],+ *,+ shard: str,+ key: str,+ options: ValidationOptions,+ report: ValidationReport,+) -> None:+ try:+ raw = _extract_member_bytes(+ archive,+ member,+ limit=options.max_payload_bytes,+ )+ except Exception as exc:+ report.error(+ f"shard={shard!r}, key={key!r}: cannot read latent member: {type(exc).__name__}: {exc}"+ )+ return++ try:+ payload = torch.load(+ io.BytesIO(raw),+ map_location="cpu",+ weights_only=not options.allow_unsafe_pickle,+ )+ except Exception as exc:+ safety_hint = ""+ if not options.allow_unsafe_pickle:+ safety_hint = (+ "; safe weights-only loading rejected this payload. Only for trusted data, "+ "retry with --allow-unsafe-pickle"+ )+ report.error(+ f"shard={shard!r}, key={key!r}: torch.load failed: "+ f"{type(exc).__name__}: {exc}{safety_hint}"+ )+ return++ try:+ latent = _coerce_latent(payload)+ except Exception as exc:+ report.error(+ f"shard={shard!r}, key={key!r}: unsupported latent payload: {type(exc).__name__}: {exc}"+ )+ return++ report.checked_samples += 1+ if not latent.is_floating_point():+ report.error(+ f"shard={shard!r}, key={key!r}: latent dtype must be floating point, got {latent.dtype}"+ )+ elif not bool(torch.isfinite(latent).all()):+ report.error(f"shard={shard!r}, key={key!r}: latent contains NaN or Inf values")++ _validate_observed_shape(+ latent,+ shard=shard,+ key=key,+ options=options,+ report=report,+ )+ if latent.ndim == 4:+ _validate_optional_json(+ archive,+ fields,+ shard=shard,+ key=key,+ latent=latent,+ report=report,+ )+++def _scan_shard(+ shard: str,+ records: list[AnnotationRecord],+ *,+ options: ValidationOptions,+ report: ValidationReport,+) -> None:+ tar_path = options.data_path / f"{SHARD_FILENAME_PREFIX}{shard}.tar"+ if not tar_path.is_file():+ report.error(f"shard={shard!r}: derived tar file does not exist: {tar_path}")+ return++ annotated_keys = {record.clip_name for record in records}+ groups: dict[str, dict[str, tarfile.TarInfo]] = {}+ try:+ archive = tarfile.open(tar_path, mode="r:*")+ except (OSError, tarfile.TarError) as exc:+ report.error(f"shard={shard!r}: cannot open tar {tar_path}: {exc}")+ return++ with archive:+ try:+ for member in archive:+ if not member.isfile():+ continue+ split = _split_webdataset_member(member.name)+ if split is None:+ continue+ key, suffix = split+ if key not in annotated_keys:+ continue+ normalized_suffix = suffix.lower()+ fields = groups.setdefault(key, {})+ if normalized_suffix in fields:+ report.error(+ f"shard={shard!r}, key={key!r}: duplicate tar field {normalized_suffix!r}"+ )+ continue+ fields[normalized_suffix] = member+ except (OSError, tarfile.TarError) as exc:+ report.error(f"shard={shard!r}: failed while scanning tar {tar_path}: {exc}")+ return++ loadable_members: dict[str, tarfile.TarInfo] = {}+ for record in records:+ fields = groups.get(record.clip_name)+ if fields is None:+ report.error(+ f"shard={shard!r}, key={record.clip_name!r}: annotation key "+ "has no matching tar sample"+ )+ continue+ latent_member = fields.get(CANONICAL_LATENT_FIELD)+ if latent_member is None:+ fallback = next(+ (+ member+ for suffix, member in fields.items()+ if suffix == "pth" or suffix.endswith(".pth")+ ),+ None,+ )+ if fallback is None:+ report.error(+ f"shard={shard!r}, key={record.clip_name!r}: missing required "+ f"{CANONICAL_LATENT_FIELD!r} field"+ )+ continue+ report.error(+ f"shard={shard!r}, key={record.clip_name!r}: latent member "+ f"{fallback.name!r} is runtime-tolerated but non-canonical; use "+ f"<key>.{CANONICAL_LATENT_FIELD}"+ )+ latent_member = fallback+ loadable_members[record.clip_name] = latent_member+ report.matched_annotation_entries += 1++ selected_records = (+ records+ if options.all_samples+ else _evenly_spaced(records, min(options.samples_per_shard, len(records)))+ )+ for record in selected_records:+ member = loadable_members.get(record.clip_name)+ fields = groups.get(record.clip_name)+ if member is None or fields is None:+ continue+ _validate_latent_member(+ archive,+ member,+ fields,+ shard=shard,+ key=record.clip_name,+ options=options,+ report=report,+ )++ report.checked_shards += 1+++def validate_dataset(options: ValidationOptions) -> ValidationReport:+ """Validate one latent WebDataset and return all bounded findings."""+ report = ValidationReport(max_errors=options.max_errors)+ if options.caption_field != "global_caption_en":+ report.warning(+ "This tool-only caption selection does not establish training compatibility; "+ "public training fixes the field to 'global_caption_en'."+ )+ if options.allow_unsafe_pickle:+ report.warning("unsafe pickle loading is enabled; validate only data from a trusted source")+ data_path = options.data_path+ if not data_path.is_dir():+ report.error(f"data path does not exist or is not a directory: {data_path}")++ try:+ by_shard = _load_annotations(options, report)+ except (OSError, UnicodeError) as exc:+ report.error(f"cannot read annotation JSONL {options.annotation_path}: {exc}")+ by_shard = {}++ if options.config_path is not None:+ try:+ contract = _load_training_contract(options.config_path)+ except Exception as exc:+ report.error(+ f"cannot load training config {options.config_path}: {type(exc).__name__}: {exc}"+ )+ else:+ report.training_contract = contract+ _validate_training_contract(report, contract, options.expected_shape)+ elif options.expected_shape is None:+ report.note(+ "no --config or --expected-shape was supplied; payload rank, finiteness, "+ "and sampled shape uniformity are checked, but not a target model shape"+ )++ if not data_path.is_dir() or not by_shard:+ return report++ shard_names = sorted(by_shard)+ selected_shards = (+ shard_names+ if options.all_shards+ else _evenly_spaced(shard_names, min(options.sample_shards, len(shard_names)))+ )+ if len(selected_shards) < len(shard_names):+ report.note(+ f"archive coverage is sampled: {len(selected_shards)}/{len(shard_names)} shards; "+ "use --all-shards for every referenced tar"+ )+ if not options.all_samples:+ report.note(+ f"payload decoding is sampled at up to {options.samples_per_shard} annotated "+ "samples per checked shard; use --all-samples for every annotated payload"+ )++ for shard in selected_shards:+ _scan_shard(+ shard,+ by_shard[shard],+ options=options,+ report=report,+ )+ return report+++def format_report(options: ValidationOptions, report: ValidationReport) -> str:+ """Render a stable human-readable validation summary."""+ result = "PASS" if report.ok else "FAIL"+ lines = [+ f"Latent WebDataset validation: {result}",+ f"Data path: {options.data_path}",+ f"Annotation: {options.annotation_path}",+ (+ "Index: "+ f"{report.annotation_entries} valid entries across "+ f"{report.annotation_shards} shards"+ ),+ (+ "Coverage: "+ f"{report.checked_shards}/{report.annotation_shards} shards opened, "+ f"{report.matched_annotation_entries} annotated keys matched, "+ f"{report.checked_samples} payloads decoded"+ ),+ ]+ if options.expected_shape is not None:+ lines.append(f"Expected disk shape [C,T,H,W]: {_format_shape(options.expected_shape)}")+ if report.training_contract is not None:+ contract = report.training_contract+ model_suffix = f", model={contract.model_name}" if contract.model_name else ""+ lines.append(+ "Training contract [B,T,C,H,W]: "+ f"{_format_shape(contract.full_shape)} from {contract.path}{model_suffix}"+ )+ lines.append(+ "Block config: "+ f"causal={str(contract.causal).lower()}, "+ f"num_frame_per_block={contract.block_size}, "+ f"independent_first_frame={str(contract.independent_first_frame).lower()}"+ )+ if report.observed_shapes:+ observed_shapes = ", ".join(+ f"{_format_shape(shape)} x{count}"+ for shape, count in sorted(report.observed_shapes.items())+ )+ lines.append(f"Observed disk shapes [C,T,H,W]: {observed_shapes}")+ if report.observed_dtypes:+ observed_dtypes = ", ".join(+ f"{dtype} x{count}" for dtype, count in sorted(report.observed_dtypes.items())+ )+ lines.append(f"Observed dtypes: {observed_dtypes}")++ if report.notes:+ lines.append("Notes:")+ lines.extend(f" - {note}" for note in report.notes)+ if report.warning_count:+ lines.append(f"Warnings ({report.warning_count}):")+ lines.extend(f" - {warning}" for warning in report.warnings)+ hidden = report.warning_count - len(report.warnings)+ if hidden > 0:+ lines.append(f" - ... {hidden} more warnings suppressed")+ if report.error_count:+ lines.append(f"Errors ({report.error_count}):")+ lines.extend(f" - {error}" for error in report.errors)+ hidden = report.error_count - len(report.errors)+ if hidden > 0:+ lines.append(f" - ... {hidden} more errors suppressed")+ return "\n".join(lines)+++def build_parser() -> argparse.ArgumentParser:+ parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])+ parser.add_argument(+ "--data-path",+ type=Path,+ required=True,+ help="Directory containing latent_<shard>.tar files.",+ )+ parser.add_argument(+ "--annotation-path",+ type=Path,+ required=True,+ help="UTF-8 annotation JSONL containing shard, clip_name, and caption fields.",+ )+ parser.add_argument(+ "--caption-field",+ default="global_caption_en",+ help="Tool-only annotation field check; public training uses global_caption_en.",+ )+ parser.add_argument(+ "--config",+ dest="config_path",+ type=Path,+ help=(+ "Public recipe (stem or path), merged with shared defaults, whose shape must be "+ "compatible with sampled disk latents."+ ),+ )+ parser.add_argument(+ "--expected-shape",+ type=parse_disk_shape,+ help="Exact on-disk latent shape in C,T,H,W order, e.g. 48,31,44,80.",+ )+ parser.add_argument(+ "--sample-shards",+ type=_positive_int,+ default=3,+ help="Deterministically sample this many shards (default: 3).",+ )+ parser.add_argument(+ "--samples-per-shard",+ type=_positive_int,+ default=3,+ help="Decode this many annotated payloads per checked shard (default: 3).",+ )+ parser.add_argument(+ "--all-shards",+ action="store_true",+ help="Open every shard referenced by the annotation JSONL.",+ )+ parser.add_argument(+ "--all-samples",+ action="store_true",+ help="Decode every annotated payload in each checked shard.",+ )+ parser.add_argument(+ "--allow-unsafe-pickle",+ action="store_true",+ help=(+ "Use torch.load(weights_only=False). This may execute pickle code; enable only "+ "for trusted datasets."+ ),+ )+ parser.add_argument(+ "--max-payload-mib",+ type=_positive_int,+ default=2048,+ help="Refuse to load a sampled .pth member larger than this many MiB (default: 2048).",+ )+ parser.add_argument(+ "--max-errors",+ type=_positive_int,+ default=50,+ help="Maximum errors and warnings printed for each category (default: 50).",+ )+ return parser+++def main(argv: list[str] | None = None) -> int:+ args = build_parser().parse_args(argv)+ options = ValidationOptions(+ data_path=args.data_path,+ annotation_path=args.annotation_path,+ caption_field=args.caption_field,+ expected_shape=args.expected_shape,+ config_path=args.config_path,+ sample_shards=args.sample_shards,+ samples_per_shard=args.samples_per_shard,+ all_shards=args.all_shards,+ all_samples=args.all_samples,+ allow_unsafe_pickle=args.allow_unsafe_pickle,+ max_payload_bytes=args.max_payload_mib * 1024 * 1024,+ max_errors=args.max_errors,+ )+ report = validate_dataset(options)+ print(format_report(options, report))+ return 0 if report.ok else 1+++if __name__ == "__main__":+ sys.exit(main())diff --git a/train.py b/train.pynew file mode 100644index 0000000..12493cb--- /dev/null+++ b/train.py@@ -0,0 +1,37 @@+"""TF/FCP training with ordinary checkpoints and strict full-state resume."""++from pathlib import Path++from omegaconf import OmegaConf++from src.utils.config import resolve_config+from src.utils.startup import configure_debug_environment, publish_config, setup_startup_logging+++def parse_config(argv=None):+ return resolve_config(argv, training=True)+++def run_training(resolved):+ from src.trainer.diffusion import DiffusionTrainer++ trainer = DiffusionTrainer(resolved.public)+ trainer.train()+ import wandb++ wandb.finish()+++def main(argv=None):+ resolved = parse_config(argv)+ if resolved.dry_run:+ print(OmegaConf.to_yaml(resolved.public))+ return+ publish_config(resolved.public, Path(resolved.public.expdir) / "configs/training_config.yaml")+ configure_debug_environment()+ setup_startup_logging(resolved.public, training=True)+ run_training(resolved)+++if __name__ == "__main__":+ main()diff --git a/uv.lock b/uv.locknew file mode 100644index 0000000..5f21edb--- /dev/null+++ b/uv.lock@@ -0,0 +1,2521 @@+version = 1+revision = 3+requires-python = ">=3.12"++[[package]]+name = "accelerate"+version = "1.15.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "huggingface-hub" },+ { name = "numpy" },+ { name = "packaging" },+ { name = "psutil" },+ { name = "pyyaml" },+ { name = "safetensors" },+ { name = "torch" },+]+sdist = { url = "https://files.pythonhosted.org/packages/f5/b5/1d3ed029ac71d3f2961346829a268da923698e9fd63f218f78841f216bfd/accelerate-1.15.0.tar.gz", hash = "sha256:5654f8c5eaa0d4fa68b33e287a97765da6849bf6d51dcac874e73fbbddfb6134", size = 422615, upload-time = "2026-09-09T13:04:49.078Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/8a/4c/34f0450479d01195027260da68d8a3880683f1640c3ca5adf64acb3185f1/accelerate-1.15.0-py3-none-any.whl", hash = "sha256:97eacca0b73e45cb867dbf8c5d5d4dc32219544300e0c8992c7334dc2ef33cec", size = 394295, upload-time = "2026-09-09T13:04:47.331Z" },+]++[[package]]+name = "annotated-doc"+version = "0.0.5"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/5a/8e/38aa427ed5402449e226975b649c5dc73ccadfefeb95e6aecb8f8ea4b6b6/annotated_doc-0.0.5.tar.gz", hash = "sha256:c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197efacf1bb", size = 10758, upload-time = "2026-07-28T13:50:58.129Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/3e/30/e900b21425a860e195f32e37657aa1f7c7f2b1bfb26f03ca209b90933c06/annotated_doc-0.0.5-py3-none-any.whl", hash = "sha256:117bac03a25ede5df5440e855b32d556049ca169ead221505badf432fed4b101", size = 5302, upload-time = "2026-07-28T13:50:57.239Z" },+]++[[package]]+name = "annotated-types"+version = "0.8.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893, upload-time = "2026-07-23T20:16:13.995Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427, upload-time = "2026-07-23T20:16:12.938Z" },+]++[[package]]+name = "antlr4-python3-runtime"+version = "4.9.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/3e/38/7859ff46355f76f8d19459005ca000b6e7012f2f1ca597746cbcd1fbfe5e/antlr4-python3-runtime-4.9.3.tar.gz", hash = "sha256:f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b", size = 117034, upload-time = "2021-11-06T17:52:23.524Z" }++[[package]]+name = "anyio"+version = "4.15.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "idna" },+ { name = "typing-extensions", marker = "python_full_version < '3.15'" },+]+sdist = { url = "https://files.pythonhosted.org/packages/a9/d2/f4d173e22df740bc37b1db102b386ba719b66e95b0f0d751f556b387e6d2/anyio-4.15.1.tar.gz", hash = "sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94", size = 276966, upload-time = "2026-09-05T10:42:39.44Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079, upload-time = "2026-09-05T10:42:37.923Z" },+]++[[package]]+name = "apache-tvm-ffi"+version = "0.1.14.post1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/ed/50/2b9d308f34843b99e763ac7d510ba6400dbb3e86b3f04fd206be0dc9cd46/apache_tvm_ffi-0.1.14.post1.tar.gz", hash = "sha256:8ebd92dc97cdcb22ab494aa252c868ddd6a9b6c89be69188562e0f236652429f", size = 3232883, upload-time = "2026-09-24T07:52:45.671Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/74/1b/50f2abd619302b33eab5a331a4527a895b7a0ffbd9e44c8058759215f700/apache_tvm_ffi-0.1.14.post1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c1bb111345fa84314e9e8b66e0f4616af04f46fcd3bb1c0aec72db675a6a0cb8", size = 2906674, upload-time = "2026-09-24T07:52:10.801Z" },+ { url = "https://files.pythonhosted.org/packages/35/16/47b9f8c06df3ee1eda3f0cef025bd94e70dcf37fc58296852a175512956b/apache_tvm_ffi-0.1.14.post1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3fd2255a2e363a40c51ec1eeedb1110a2c74e443f95ae351ee5a81b5ff6808cf", size = 3051062, upload-time = "2026-09-24T07:52:12.51Z" },+ { url = "https://files.pythonhosted.org/packages/e8/db/68786fdc0bfb3a9782df7304c1e577b9c5a7d14c75e98e06571cc1869b3f/apache_tvm_ffi-0.1.14.post1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eb759c039866b541ec2cb07d498082f8ba6ded74d58d9196180a5932f365c077", size = 3251763, upload-time = "2026-09-24T07:52:14.136Z" },+ { url = "https://files.pythonhosted.org/packages/fd/3d/6f9f21541d2431c500ebe559d5215c8c2651b61613011b75d1515dd7b7ba/apache_tvm_ffi-0.1.14.post1-cp312-cp312-win_amd64.whl", hash = "sha256:fd3edd7ccb4fb90092845f4db10ddec92696a5119842062222a9abd3e719565e", size = 3513921, upload-time = "2026-09-24T07:52:15.76Z" },+ { url = "https://files.pythonhosted.org/packages/cc/4d/aea66d04bb5bb0e2bdc07f0b40766246ffdde9fa5def8aaf00954c183c1d/apache_tvm_ffi-0.1.14.post1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:1da444d01d4088afd442e0f77260b54809ece9cc10b166cba3327fa11f16e1a8", size = 2907901, upload-time = "2026-09-24T07:52:17.645Z" },+ { url = "https://files.pythonhosted.org/packages/88/37/aa84b71526897a0cdfd39a0b805fd999885a24e59f2e6280cb76f147f461/apache_tvm_ffi-0.1.14.post1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d6aebe30f21dcbd9e76c5aab56afe0fe228804a4ad73e413b067ae3d27e02f93", size = 3052334, upload-time = "2026-09-24T07:52:19.322Z" },+ { url = "https://files.pythonhosted.org/packages/81/d6/c5c038b666e544105807f122bb73389d415c9ca45b20eb51542618a4248a/apache_tvm_ffi-0.1.14.post1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e59657d99d52f83c32ce60db4fdca95f5ca5b73425e33653862d06f7b1feffdc", size = 3251683, upload-time = "2026-09-24T07:52:20.973Z" },+ { url = "https://files.pythonhosted.org/packages/0d/33/3146e7392180791bcb1135ceef2e8697dfd8f994be49cbe2da5f85328fd6/apache_tvm_ffi-0.1.14.post1-cp313-cp313-win_amd64.whl", hash = "sha256:f0a2e5b007611404b112318599f592313ca3e873be52e8135440672169ed14f9", size = 3513714, upload-time = "2026-09-24T07:52:22.977Z" },+ { url = "https://files.pythonhosted.org/packages/ea/50/549a854033fa4935efac99791e3e208a5025d9c329513b75bd18fb2f4ba8/apache_tvm_ffi-0.1.14.post1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f5b755c835168c145ce762fa60c135beb414f6f031fa3254c8cac111617f7c11", size = 2913461, upload-time = "2026-09-24T07:52:24.644Z" },+ { url = "https://files.pythonhosted.org/packages/7d/fa/a7dd644be89762cee64a7084d1951ca053b0b75107fc5dacd1e8b8173d3d/apache_tvm_ffi-0.1.14.post1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8d4a0f356bbc89a648841b8a913a98478a65dc006c05017ca80f539c35974d96", size = 3060575, upload-time = "2026-09-24T07:52:26.653Z" },+ { url = "https://files.pythonhosted.org/packages/8b/91/07a12cfd169f0d6a66f873c99c9359d1922f003654632f45291beec5d00a/apache_tvm_ffi-0.1.14.post1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a22cb9637e49c67837c9705be59d3c9b9a525c12f601f894532a16260612a95a", size = 3254945, upload-time = "2026-09-24T07:52:28.418Z" },+ { url = "https://files.pythonhosted.org/packages/bf/2e/16ef8ce10bde46e6a7cc71f5e8ca60652d9226b8b092c8eb83e63e3fbd15/apache_tvm_ffi-0.1.14.post1-cp314-cp314-win_amd64.whl", hash = "sha256:d7e7213a54290cf2880a0782115d376a431d01b8d4c5159b4e5420b0963a6640", size = 3593347, upload-time = "2026-09-24T07:52:30.077Z" },+ { url = "https://files.pythonhosted.org/packages/c0/19/cff770ac347fda1ee0142f4b35c17c4a824cb36878c5b83a1a597e505297/apache_tvm_ffi-0.1.14.post1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:963dcb51403aaf409c537e43367268113faffcaaa469c50b61dae2ef7b82e860", size = 2936063, upload-time = "2026-09-24T07:52:31.808Z" },+ { url = "https://files.pythonhosted.org/packages/d5/41/198868c7df1a8227f26dece3f95d00f92274e7d4c19d4d7dfb4fc7cc46b1/apache_tvm_ffi-0.1.14.post1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2ba2ea7204c724de272666eca35e9694e4dd0396015afcba38540e25829ca57d", size = 3053046, upload-time = "2026-09-24T07:52:33.426Z" },+ { url = "https://files.pythonhosted.org/packages/b5/c0/a67d2470eca7be4badb3c3dcbc8990685cf9ddb45a01012705242862f19c/apache_tvm_ffi-0.1.14.post1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3a0d9ebbf97e87e22e5d36cb0115ff724d47162ed1f5c39919156c2da6dcfa7a", size = 3250280, upload-time = "2026-09-24T07:52:35.136Z" },+ { url = "https://files.pythonhosted.org/packages/b7/0d/d95cb27aad5c7860dd8303254d09a4388087ffba2c36a1fc85fdfa240aa5/apache_tvm_ffi-0.1.14.post1-cp314-cp314t-win_amd64.whl", hash = "sha256:159ec7ed787a98c047639232da49a5160d5922ba35b0e1436eb98d436668a9a8", size = 3614498, upload-time = "2026-09-24T07:52:36.859Z" },+]++[[package]]+name = "braceexpand"+version = "0.1.7"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/54/93/badd4f5ccf25209f3fef2573073da9fe4a45a3da99fca2f800f942130c0f/braceexpand-0.1.7.tar.gz", hash = "sha256:e6e539bd20eaea53547472ff94f4fb5c3d3bf9d0a89388c4b56663aba765f705", size = 7777, upload-time = "2021-05-07T13:49:07.323Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/fa/93/e8c04e80e82391a6e51f218ca49720f64236bc824e92152a2633b74cf7ab/braceexpand-0.1.7-py2.py3-none-any.whl", hash = "sha256:91332d53de7828103dcae5773fb43bc34950b0c8160e35e0f44c4427a3b85014", size = 5923, upload-time = "2021-05-07T13:49:05.146Z" },+]++[[package]]+name = "certifi"+version = "2026.7.22"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" },+]++[[package]]+name = "charset-normalizer"+version = "3.5.2"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/33/1c/f41d4e74c28ab327ff3acd36053f7ea506c55872d7a90b0fa71aa3ab0c89/charset_normalizer-3.5.2.tar.gz", hash = "sha256:39de2a259fc954455c57274dc94c79d5842774e1247a016aff30bc0efed0f4ef", size = 172659, upload-time = "2026-09-30T04:39:23.398Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/e7/c8/693809898870237d82785a03f3b2b58fe4c9f14669f84a7d4e623c92a59e/charset_normalizer-3.5.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ed2a239c0ea213acc1908150a3037257083c7c083128f1a4cec2ec4b97dca491", size = 367780, upload-time = "2026-09-30T04:35:30.888Z" },+ { url = "https://files.pythonhosted.org/packages/c9/87/2fea8c13dc24b3ca9c6f803a5b2dfdeae73eb4f9e12c7885ed908ff0433c/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b91363207bd9dc966a691e959bb47f64b30f7ac4b072be9968b366982f7db77c", size = 246730, upload-time = "2026-09-30T04:35:32.286Z" },+ { url = "https://files.pythonhosted.org/packages/a8/9e/09efac30b937722f46d3110ba30b875b24b2e3a266ed746cc4e376a94d80/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:38a873987f3be698494da8b2e3085e29da02da7b633dce73e79c699a113d7bf0", size = 237707, upload-time = "2026-09-30T04:35:33.709Z" },+ { url = "https://files.pythonhosted.org/packages/9e/18/70d76670b13686237863a379928d60bd10e021f17d243ab3d7014c4a5f4e/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:355ad8011081dec5412240c087a9a0c9d4d5039f3ed11a3f13e18c2b29b56c51", size = 273050, upload-time = "2026-09-30T04:35:35.138Z" },+ { url = "https://files.pythonhosted.org/packages/54/e2/77a8b09d5adc013ed07b95b01b8b8fa5441c4e810e83ee7e4aae2fa4d91a/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ee21e28f0430bd6dc9086c6e525d5e818a44a5ad19720c8a0ef766792f3eb5e5", size = 270345, upload-time = "2026-09-30T04:35:36.502Z" },+ { url = "https://files.pythonhosted.org/packages/7f/c5/38806a25ab5e65fc178f39affeda20858efafede2fce1ffc2556cfc9fe73/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3d31298449090ab8d47b7b1b2a555ff73cac7ed438a08b7ac160980c7ebed649", size = 257601, upload-time = "2026-09-30T04:35:37.919Z" },+ { url = "https://files.pythonhosted.org/packages/ae/8d/213565184708fdb263ae55e2c04ee1ff748129dd65d48ed0e3502da9c85a/charset_normalizer-3.5.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5cde776b7cc66e4f6c99612cea4aa7269aa65863f7a15841b2c264f103822f4e", size = 252222, upload-time = "2026-09-30T04:35:39.544Z" },+ { url = "https://files.pythonhosted.org/packages/7e/24/76d2cefc25472531e4c5c7dfff68865eb1c39b78482f0fdc15b46f047830/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ae4f5fea5b8b8ccff88238cc8569303e5ee95efae67fa62922a311397a71f346", size = 248482, upload-time = "2026-09-30T04:35:41.088Z" },+ { url = "https://files.pythonhosted.org/packages/7d/dc/65a801b66ab4c197e22c433ab25e7ac24324ac6f45a2269aca42cce309bf/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:f7d486c83842422badd511868fd8a9a20e9407ace71564b6af47ce7e60a336c1", size = 241206, upload-time = "2026-09-30T04:35:42.59Z" },+ { url = "https://files.pythonhosted.org/packages/a7/95/ca9b5eabde673002c6f1e7ada1b223916fe18f6d661da7aabd4d643718f1/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:11a4d68a6ecda3292cb1e50239e111543ba5d709bb62a6b4ea1afcfa729d8875", size = 273190, upload-time = "2026-09-30T04:35:44.347Z" },+ { url = "https://files.pythonhosted.org/packages/2d/8b/803b4d2a3f6e1740f63f1e87b04d14b42f3d4fdfe6ed7d4db2d34102b14f/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d6734d2ef8a50fbf8445c139477da401f50d62a0606bf00e20ec6d87773fefb1", size = 253527, upload-time = "2026-09-30T04:35:45.915Z" },+ { url = "https://files.pythonhosted.org/packages/a9/55/93c0e5dbd085ae0471346026abbe7e0db9ea2d6fea74e51f0b5a46f233a7/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:a815775b6c38d4e0ff7bcffbeba67feded90202bb6a226b8dd35f1c855217413", size = 271285, upload-time = "2026-09-30T04:35:47.49Z" },+ { url = "https://files.pythonhosted.org/packages/95/69/0dbd0e0b9b16cfa816cdfcb3e2e3854a1f680dc07fb1245ea125e7448060/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:23851fb4e1b85ed3f6c2a27b777cdfe2e19fb5b38429a8faf38c7542b7665869", size = 260010, upload-time = "2026-09-30T04:35:48.996Z" },+ { url = "https://files.pythonhosted.org/packages/58/9d/e7b88e7b1bf403590c3b573277b5e1e488c68c7a6fbacca310a2c324e90c/charset_normalizer-3.5.2-cp312-cp312-win32.whl", hash = "sha256:db19d07e2e0129e974a0e65d0064fc222a446cd5122c2fd4184d2af9fc734a9e", size = 184125, upload-time = "2026-09-30T04:35:50.777Z" },+ { url = "https://files.pythonhosted.org/packages/eb/e6/e6e083884cbcfd49c64865af05027fe7011be7b2d9179524f099a1b611f3/charset_normalizer-3.5.2-cp312-cp312-win_amd64.whl", hash = "sha256:780fbe7cab297b81dad9fb8dc5eb003c0468ffb0d9e5f65068c53a34661a96bc", size = 207486, upload-time = "2026-09-30T04:35:52.194Z" },+ { url = "https://files.pythonhosted.org/packages/c4/e3/017aea0911ada7405a825c7d937eb3a13009664e2f5b38e8c4bbf2abf894/charset_normalizer-3.5.2-cp312-cp312-win_arm64.whl", hash = "sha256:e2af3aad578aa6bd1384bcf4750fc285e5a9de53f40b7d41e5a0bf748edeb2b3", size = 196734, upload-time = "2026-09-30T04:35:53.636Z" },+ { url = "https://files.pythonhosted.org/packages/c5/34/68292d68512768591aaff07c59bb53ee31341c87759433a859c4641a50c2/charset_normalizer-3.5.2-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:ed905975ab14056a2e5eb1c376cb2e1ebc5396baf84163939c518556fccde9f5", size = 225946, upload-time = "2026-09-30T04:35:55.313Z" },+ { url = "https://files.pythonhosted.org/packages/e3/80/bee0b01b90ccd5322ae1d0abb33fab1bd95b7c2eadaf02aeccf22e04ee83/charset_normalizer-3.5.2-cp313-cp313-android_24_x86_64.whl", hash = "sha256:a66c3bc5ab1f0ff2164fc9965ddd611ff0802173f4b9d24554c563f6ab7e1d6e", size = 238619, upload-time = "2026-09-30T04:35:56.863Z" },+ { url = "https://files.pythonhosted.org/packages/78/6e/60ce52a85a7fd631ae8482ae6d74521014ca2f255892679484dc04d7ef56/charset_normalizer-3.5.2-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d2374b62878abb00cd8309b32af6c0b715cd02dec0ca74ef12e5069bdc64144a", size = 206701, upload-time = "2026-09-30T04:35:58.639Z" },+ { url = "https://files.pythonhosted.org/packages/36/8c/71aafad23f971afc84c2b295bc0c560739ce1dac558aad9fec22e39f3639/charset_normalizer-3.5.2-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:d376bbd28b3a8999db1a103b3b388aee6f1ddeb3e51bc2172993efdcd86e064d", size = 210506, upload-time = "2026-09-30T04:36:00.147Z" },+ { url = "https://files.pythonhosted.org/packages/91/da/3c5a7798c046df7d2d68ad653cf5b6c5a8bfee225055a843c6f2f42aac1a/charset_normalizer-3.5.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:6045373d5a89a5ec71afde535db987ca28e76dfa276c2d4c818265b375d4b055", size = 366626, upload-time = "2026-09-30T04:36:01.77Z" },+ { url = "https://files.pythonhosted.org/packages/e1/16/710ac3de2ee354e2bd1a9c94efe45a2d27b5c6ad39b2d6a905be2c094b6c/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:849df64e889b2e17230d58410a03dba311a65b163508fd33679b2b737d4b7858", size = 244624, upload-time = "2026-09-30T04:36:03.389Z" },+ { url = "https://files.pythonhosted.org/packages/d6/39/45c7439f5b63d24f7d5b2a1d760f34af7628782d7144b4cc8ded45c2d4bc/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:15c44f7edfd477b06f517a5cc317fc1707edb9de2c865f43d4b6513907473234", size = 235731, upload-time = "2026-09-30T04:36:04.987Z" },+ { url = "https://files.pythonhosted.org/packages/4d/34/38f3154785ce92e9f56eb226f4d35bdfae6b008480dd055f58837a89c810/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a89012d6d5476ee112d20d998570ed58df2260a852afb1758809cd6900411d21", size = 270352, upload-time = "2026-09-30T04:36:06.412Z" },+ { url = "https://files.pythonhosted.org/packages/04/f3/859f74e7babc977705026b30593b3be04049632a522fb7000f83c033d747/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0c951d5e6dd9c2ff60609476752bee49da4206adde960ebc247766937f72e718", size = 267393, upload-time = "2026-09-30T04:36:07.865Z" },+ { url = "https://files.pythonhosted.org/packages/4b/85/41d27f234b82e47c167a5f6c0f62501dc0c640585ff4aba79e08a390336a/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7218e8f32b0956cfcd048fd42d9d5779809745ca1d86113ca56f66e7ae1549c4", size = 254660, upload-time = "2026-09-30T04:36:09.248Z" },+ { url = "https://files.pythonhosted.org/packages/58/ca/5d1a997587febe5b26d8daffe363b5c1a091cece19828eec6502fd09c5ef/charset_normalizer-3.5.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a19a731138fc27d5682277d3b9df22855cea1239bce7fcec5f78f42ef2d1f3c3", size = 249996, upload-time = "2026-09-30T04:36:10.73Z" },+ { url = "https://files.pythonhosted.org/packages/b3/1f/d1e78246f7ed60c8c8d606b4ac27f66ce49cc3e95f24893ccbeba9f77302/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:62603db9a7caa0802eaa28c1c46fecd7b3a263a774069c24c3c28c302448721c", size = 247028, upload-time = "2026-09-30T04:36:12.294Z" },+ { url = "https://files.pythonhosted.org/packages/8e/37/eba316edd4f0c4d3a5d945924c4eeeae59abac4056aa815d8a4268f863a2/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:b6856554c4f44d79fc2307d5768854310a8f0096e501c75637542c82292b0429", size = 240562, upload-time = "2026-09-30T04:36:13.887Z" },+ { url = "https://files.pythonhosted.org/packages/c8/8e/aaa037d40ca9ef045977f1a661048b1aa33f223adfce3452fe9be9f79d14/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1bc0baf5ef96b6ede57d47f4b8fe4d9d84019c3bfcbeb20a41edc6a6ee341f1f", size = 271699, upload-time = "2026-09-30T04:36:15.41Z" },+ { url = "https://files.pythonhosted.org/packages/26/19/1c1c9f75974adf523b87f34b8a2adc5a435cd65916812bcbd0dfa45f9a29/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:56bc200a365efb37383b7852e4cc5898d3b2da5987289b543956cf8cad71018a", size = 252030, upload-time = "2026-09-30T04:36:16.839Z" },+ { url = "https://files.pythonhosted.org/packages/bc/90/0660ef18e18df0a4d2a1a0edff7dfbba42d4e50ef2425557a5bb7051f77b/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:2c9ad19a6cfcd5ea5c0d41161d22f9df1dcc277e9bef2751391334546a314c00", size = 268565, upload-time = "2026-09-30T04:36:18.468Z" },+ { url = "https://files.pythonhosted.org/packages/79/ba/57adc269824e8658f1a0f97a9e514c247445a9632b3419b97e0ba37f16dc/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e243bd13217235fc7290c621941c3f5cc8b66e4872495be821d7436ba2fb838d", size = 257627, upload-time = "2026-09-30T04:36:19.938Z" },+ { url = "https://files.pythonhosted.org/packages/9a/85/33abd4315c052d3d4f54c92b1ee49bfbc0dc7115a981e462a793b6d2ab87/charset_normalizer-3.5.2-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:a090bb2c68df85450502e3e20d665e3a5af9c65a84d6508ed477badd49166fd3", size = 143407, upload-time = "2026-09-30T04:36:21.376Z" },+ { url = "https://files.pythonhosted.org/packages/4f/de/6435e18d1aaa5d910b896d551411c96af1f42a0c56c29afc2016c61ccc2e/charset_normalizer-3.5.2-cp313-cp313-win32.whl", hash = "sha256:2b7b3bbfb4fe8ef40600792d762fbaa9057559f9d3fad209525b7a22b99e91fd", size = 183207, upload-time = "2026-09-30T04:36:22.776Z" },+ { url = "https://files.pythonhosted.org/packages/9c/76/b8ec57f4e9ee3253541abf95e4a462c0175fe8032dcd070f1f2421240942/charset_normalizer-3.5.2-cp313-cp313-win_amd64.whl", hash = "sha256:78456a747de8dc58360ffa581f30a002baf5aa28cb262536545e91f113ed7639", size = 206489, upload-time = "2026-09-30T04:36:24.306Z" },+ { url = "https://files.pythonhosted.org/packages/3e/60/c647c6ae47480221e875ea5d743ff94946f7416e3c69415ab772928e8d32/charset_normalizer-3.5.2-cp313-cp313-win_arm64.whl", hash = "sha256:11912e4bb14baae7c5d8791aa55ba0a3a03ec6729073307b0f57270abaa713d3", size = 195501, upload-time = "2026-09-30T04:36:25.846Z" },+ { url = "https://files.pythonhosted.org/packages/58/ca/7aa91362a2f77ac8e9e28a9b902a74f7d0e11a851ef0d27a74308da8cd90/charset_normalizer-3.5.2-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:1afb975bd5d68d5ce9f6b6d44fdf2f7e34b895a35e95708a7a91b20a3b51d187", size = 226010, upload-time = "2026-09-30T04:36:27.669Z" },+ { url = "https://files.pythonhosted.org/packages/a8/cf/ac8878d0322cf88a1aad4c7b147db32ca0bd806eb0060957b2e31486dbe6/charset_normalizer-3.5.2-cp314-cp314-android_24_x86_64.whl", hash = "sha256:bbbfc8e28816f19d7c0f1816664980c0a9875d01b27cdf8eedddb639d9e108ad", size = 239266, upload-time = "2026-09-30T04:36:29.434Z" },+ { url = "https://files.pythonhosted.org/packages/c9/6d/9a08d7e0b29b7208e2c6c01dc56c8e0520e7c7beadbbfb024b58fd69c8a5/charset_normalizer-3.5.2-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:7967d08cf06dee78443b874f98c98036f624f3a4e73e11f9f64f5be4d25393cf", size = 206783, upload-time = "2026-09-30T04:36:30.872Z" },+ { url = "https://files.pythonhosted.org/packages/82/44/b0aa350280e6ff5a5492d17cf10460dd39d5ee848f872f7ba2df10607f60/charset_normalizer-3.5.2-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4c2b5031f63e331e3839b40aed2dd6f191e9c07edbde303e7876846ea1946995", size = 210449, upload-time = "2026-09-30T04:36:32.625Z" },+ { url = "https://files.pythonhosted.org/packages/7c/8a/40db9aa9f5907bb0e6f8b6d64064bf8852fb33d4b813ff9414911df7647c/charset_normalizer-3.5.2-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fcff63213e8e6e47770541a4607175404f47cbb3ebea7b6058cc82d524a0e424", size = 367815, upload-time = "2026-09-30T04:36:34.197Z" },+ { url = "https://files.pythonhosted.org/packages/7f/72/9c5e7707b57c8ddfa9ddf7b0b1d009d7fbab9e9e887d5b721060f37e307d/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8d86d6fc60743dc916eb79e2eb1ec4818e21e427731543af40a3021851174a13", size = 247095, upload-time = "2026-09-30T04:36:35.803Z" },+ { url = "https://files.pythonhosted.org/packages/83/09/71e453691e927de4ddf792770cfaab3f49d494e222f66ea5e404bbd5e39c/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7a881931aa470808df94a8c380eed2bbbc76cd9dc622310f99665658c821eb6d", size = 233942, upload-time = "2026-09-30T04:36:37.407Z" },+ { url = "https://files.pythonhosted.org/packages/9f/86/85c84e4da8b27dd409577d9437926ff581c5f9d3c66038dc68c1a526de51/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8024d00c3faf3fc0c16e07a69f4405e8eac7cc0ab15f65fe6cf43827c4cf72b4", size = 273762, upload-time = "2026-09-30T04:36:38.904Z" },+ { url = "https://files.pythonhosted.org/packages/92/08/564955a4b5f2ccb410ab480bbe8c6a18063ff27f2d35458731c4a5335df9/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4d48f2d08b9de5864e2c8744d4461b862fb149a18274abc8b698c45975573438", size = 269514, upload-time = "2026-09-30T04:36:40.469Z" },+ { url = "https://files.pythonhosted.org/packages/18/24/bad3ac4271589df29cf5ce2f5ae490518a5739358052bd0d61209e6fea54/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34276fd796040bf0993ab33a369aa572e6979c7aab225a88893667ad8eac8f7a", size = 255056, upload-time = "2026-09-30T04:36:42.02Z" },+ { url = "https://files.pythonhosted.org/packages/d6/3e/350d89ad49916b86554d6f5f2d03ec1152148f87e5ff735106c6a03b1a36/charset_normalizer-3.5.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0521c5665880b33d603717defa76c094048900010897909952397feb3039da56", size = 251311, upload-time = "2026-09-30T04:36:43.577Z" },+ { url = "https://files.pythonhosted.org/packages/56/5b/4970a2d154df502e133402906dd04e3ae7cada7b3011283c88d0479a2585/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:eff0ac9dbe711a4aee69bf04a83896aa9b85f19641264053a9f6d48573abb7dd", size = 250190, upload-time = "2026-09-30T04:36:45.185Z" },+ { url = "https://files.pythonhosted.org/packages/88/8c/f1a91bddc8fb47c2889e29ea7ea49a194eb0d9868675d786806519c00d76/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:1503bccbeb36d5527790c3930327704c39af22de3112f1b1666a9f3ce15ee204", size = 237098, upload-time = "2026-09-30T04:36:46.689Z" },+ { url = "https://files.pythonhosted.org/packages/24/0e/bb5dace3cc7e79068425386a6589c19b5a2ab5fefc2a46abea6919683332/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:52aa6992700996af31f375de0c6bacd402b0097fe40b53c426b9f51a90ebabc7", size = 274228, upload-time = "2026-09-30T04:36:48.31Z" },+ { url = "https://files.pythonhosted.org/packages/9d/79/b849ad523017ea9f5a45581bbebed91439e0cf42fd2860a6f64e358eb5a6/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e09a3942ecbdee5cce73ea9d42da82b81b72ac1bf031ce069b93b5adf4eac8cd", size = 252401, upload-time = "2026-09-30T04:36:50.091Z" },+ { url = "https://files.pythonhosted.org/packages/89/8c/75469d690cf47200bce8f6cad7655724fc23148e147abfc5ce78b5f65863/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:c7c9ab723cde841fefb34efbad91e87f00a674b1fe1cd0784fde742bf2c154dc", size = 271846, upload-time = "2026-09-30T04:36:51.719Z" },+ { url = "https://files.pythonhosted.org/packages/26/cd/6d52d3c7437cdcf2e310ce9f28f282e733d4ef60ed19105d1819c356255f/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ddc7dacc8ece3a182e7f15cb862d1fd616b46d076cb1ae9dd232b2c38b655874", size = 258151, upload-time = "2026-09-30T04:36:53.234Z" },+ { url = "https://files.pythonhosted.org/packages/f7/4c/070b38bdb5f49a70199fce923ec0726a49536a63ab262abbfcaaf351110b/charset_normalizer-3.5.2-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:ee43c17b173d46a3212baa6ead3ae258eeabdae48c263a01ccf0218c366dd655", size = 143570, upload-time = "2026-09-30T04:36:54.816Z" },+ { url = "https://files.pythonhosted.org/packages/81/84/9ebfc8ed6c8c4fcd8e726ff6bf220cc8deb3966e31dce9be8dd8aa017e64/charset_normalizer-3.5.2-cp314-cp314-win32.whl", hash = "sha256:4f87960d57feabfb618e4e0af6e7371645fa26a277860739d6e5d6e0012c92f0", size = 186412, upload-time = "2026-09-30T04:36:56.643Z" },+ { url = "https://files.pythonhosted.org/packages/d1/78/5ed86f743d4bc350db307e7636419a0a5ee1d91806d30c7f667bd5c80dae/charset_normalizer-3.5.2-cp314-cp314-win_amd64.whl", hash = "sha256:e4e81e09c1578b8df602e3db08b0b3ea0a6947ad612f52bf8dc5ea8d47691f0c", size = 210965, upload-time = "2026-09-30T04:36:58.205Z" },+ { url = "https://files.pythonhosted.org/packages/53/94/a3a7698e9b1a395e1eb99ccd9a324be9347973bff4e72db2a06496d7cd27/charset_normalizer-3.5.2-cp314-cp314-win_arm64.whl", hash = "sha256:80d02b6f04e92601a081dd97b23d3128033098bff5d35d392ddcc0476ea11253", size = 200406, upload-time = "2026-09-30T04:36:59.764Z" },+ { url = "https://files.pythonhosted.org/packages/c1/48/c5dd00d5ef7791f02666de250a5bb6071e29b7e133cf4b835800b6d3bc27/charset_normalizer-3.5.2-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:dca9ab98072a5a54ebacebdc45f53e645336b320c667410b061be1ca588ae709", size = 396871, upload-time = "2026-09-30T04:37:01.543Z" },+ { url = "https://files.pythonhosted.org/packages/12/c8/8379554b42e8368161d898476686947a0fdbd3e8865170d7909dcabfdee8/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f0aa869112ef88429ae17820d99c3dd9504c9e9c671d3c246f3d7442cb051084", size = 249711, upload-time = "2026-09-30T04:37:03.111Z" },+ { url = "https://files.pythonhosted.org/packages/4a/eb/2ddb1035d17320caa9f41682935123a9a250277b261c3efc86b2d2a21343/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c0afc6800ba57ccc350374c5bd6150419915d95ce93cdbab2d783d75eaf30ecb", size = 231146, upload-time = "2026-09-30T04:37:04.721Z" },+ { url = "https://files.pythonhosted.org/packages/4a/24/2ecb4bde104322cd7859d6594fcfa74649f8d90b3221c9feecbef149875b/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7dcd882da75ef9adf94903b1e3b9419e8aa8fb4c7396822b834b9ef7fb96954f", size = 271552, upload-time = "2026-09-30T04:37:06.295Z" },+ { url = "https://files.pythonhosted.org/packages/3f/98/9d5f6ebc3aee9fef5d30b4aff11fb2ab7a1222b4064f8ef2c7c87cde217a/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2e06a3a98f916dd41d27f3105e02e7a40181c98c94b9158733d03a6f80506c09", size = 269810, upload-time = "2026-09-30T04:37:07.905Z" },+ { url = "https://files.pythonhosted.org/packages/09/e1/a3b06a10461b1b7628853c934c644e03bc28e42767116afb52f19a56519b/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6bd128f206a7752ae1f2ab6c61bf8a24ba28913a10df8b14c2637b973ff97a80", size = 259845, upload-time = "2026-09-30T04:37:09.554Z" },+ { url = "https://files.pythonhosted.org/packages/fd/d3/6f561f74a296cf27d61775a1dc665ad13f3bff6a798810ca05907f37a7c4/charset_normalizer-3.5.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c8f3d67aeaf55f017982b73683f0e7342ba2f6635a78f69ce89ebb26aa411e5c", size = 252825, upload-time = "2026-09-30T04:37:11.274Z" },+ { url = "https://files.pythonhosted.org/packages/26/9f/69e13ca3b18f43e0eafcd34c04a45b732ae22a43b54a5fc9e119103356eb/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fe9753dfee015c570d73df76f899f18444d41388bffcde097deba51c4fadbb9f", size = 252659, upload-time = "2026-09-30T04:37:12.941Z" },+ { url = "https://files.pythonhosted.org/packages/73/a9/ace29806a0dae18939919c76ba526472d83214afa101105fabff2cf30625/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:92888bb3187c5ba50500b00b3b310c9f2c651709d28036077680cb5255450a03", size = 238819, upload-time = "2026-09-30T04:37:14.659Z" },+ { url = "https://files.pythonhosted.org/packages/f8/c1/6116d52a2e3311ec80f21f5fb5e17b27405f10b9608af8f6e69516841a1b/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:d008d90a7f2471519aef0c90dfbe73b3e6e4d5e66ac48e19154c17e89e98b604", size = 272973, upload-time = "2026-09-30T04:37:16.346Z" },+ { url = "https://files.pythonhosted.org/packages/19/aa/9955c7e93bba10a9c7e8f7a5031b7ced66f3a1883a55c00712b8d5850ff3/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:31f3930700408d211f13378ccbe1c40845d8da54bd0681fac3a9b5aae81c7aa8", size = 253692, upload-time = "2026-09-30T04:37:18.212Z" },+ { url = "https://files.pythonhosted.org/packages/bb/33/2a6ae7fdc1b10cb581cef91addd8cdfc5f40d50abb5702309369d5834579/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:2a925889534b3748302dae5dead07cc13480de1dac3aea80a941b729b471ef93", size = 268757, upload-time = "2026-09-30T04:37:19.877Z" },+ { url = "https://files.pythonhosted.org/packages/a2/22/80992720a0282cd39bba1db35868e6b9c22f41281160143a836544bc1d8a/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f5ec61164adcec446f8969a3358ec3f9b26bbda3b9213e5586d219afa8df2915", size = 262220, upload-time = "2026-09-30T04:37:21.583Z" },+ { url = "https://files.pythonhosted.org/packages/92/9f/181fd07e1bffea1d95cd80c84ac537354f50699c22cfc4d3c02b6fc16208/charset_normalizer-3.5.2-cp314-cp314t-win32.whl", hash = "sha256:598a11a2c7ebaa5334bf698bf29568c9c390abac6a154d8170fedecd1cea38c5", size = 197797, upload-time = "2026-09-30T04:37:23.235Z" },+ { url = "https://files.pythonhosted.org/packages/49/1c/25d8415ec1c4f2f41f1680435e4c87cfb378ff2f677d950946f2a45d0632/charset_normalizer-3.5.2-cp314-cp314t-win_amd64.whl", hash = "sha256:7fdde2c9fd9e3eca40631e024664cf2584272cc8f96308cbe5fdfc930f51d8bc", size = 222765, upload-time = "2026-09-30T04:37:24.891Z" },+ { url = "https://files.pythonhosted.org/packages/3e/b4/46b48f013dadfc0d0d33b375438e31bdf5a989dc68389c6bf627054d4df9/charset_normalizer-3.5.2-cp314-cp314t-win_arm64.whl", hash = "sha256:d1befeed746d247c81127bb14de9dc3d30edb6e5976d34f83f86ed262b1d9105", size = 210985, upload-time = "2026-09-30T04:37:26.634Z" },+ { url = "https://files.pythonhosted.org/packages/ca/e9/34e597dee616d0b8ee4b34d29399e85c2204ade174157a48505d42baa4ff/charset_normalizer-3.5.2-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:87475fabc8d9996fd9c27debb395e642e8c838d78a00b6e932227a0e06b81e26", size = 367676, upload-time = "2026-09-30T04:37:28.329Z" },+ { url = "https://files.pythonhosted.org/packages/60/9f/a5d1c91c0263745e2cd344c5a4415d787c575501ab1d449f1148ac6b495d/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9409a8bf35cf78353942504b24a57de3d75b708997a1e4bd8db71ac8633ce364", size = 248414, upload-time = "2026-09-30T04:37:30.167Z" },+ { url = "https://files.pythonhosted.org/packages/26/79/e697f77464748a3ee3cf490c83d592459400d4898380d66c38366b03080c/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:498dc3188ca05a68231ac3fdbfc7f57eb67e1343c30e0fea17f8218c1599b253", size = 244775, upload-time = "2026-09-30T04:37:31.964Z" },+ { url = "https://files.pythonhosted.org/packages/ca/87/3d42a42e18ea066e2513936fd678a00696e77878b5ae04528976abdbcb83/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e242bb1c5e76e97dfa9e7f209a71e93a01d7f19ffdd5cfbb2e2d55b4f08f8ab0", size = 273877, upload-time = "2026-09-30T04:37:33.661Z" },+ { url = "https://files.pythonhosted.org/packages/c3/76/8a28136f3938ba9836f84280ce0c4d61ed1cf15a036b2034900c62634162/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:def79fa35ef0cef8d2accec024f4fdc7ead3012ff02f5215c783f39f03ef8cfc", size = 269455, upload-time = "2026-09-30T04:37:35.573Z" },+ { url = "https://files.pythonhosted.org/packages/a0/a1/4fbf5d0f0f1b2a080474c1cf9a2f12c4c6531bb0e8ba591055e846d2b4e9/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3df041de8887954562c9b261cba85ca0e9ded74048daf125f45edcfaa4832229", size = 257336, upload-time = "2026-09-30T04:37:37.397Z" },+ { url = "https://files.pythonhosted.org/packages/ba/a2/8b50aa320adb880ad579518e6f718f24944804b42a88b83d267d5d444125/charset_normalizer-3.5.2-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:04851f73ae72b8413dddadb16a49dfee95263553741fd42d546f7d66907e6be5", size = 257584, upload-time = "2026-09-30T04:37:39.522Z" },+ { url = "https://files.pythonhosted.org/packages/a5/57/50e3fed84e175f40349bd0da7a4fce94c87f0378f52d74f511d89e0bdc20/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:183b88127acdb4fabe59d951ab424faf1af7b63cdbb5f776186c1ea2ffcaed98", size = 251854, upload-time = "2026-09-30T04:37:41.23Z" },+ { url = "https://files.pythonhosted.org/packages/d6/54/f7fbb3493c9f49091213b9c2d6dd65800696f1ce1a3f196a4205f50417b1/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:16fa0eccf81304b79c5cd87f9271c3b85dd9dd99245e4422ae9c0dd45e0f99d3", size = 248767, upload-time = "2026-09-30T04:37:42.883Z" },+ { url = "https://files.pythonhosted.org/packages/d9/37/b3a6385acc5a1e45b39ae9c90bfb9cf838a09b9dd37ef2740ab4c6b4a2eb/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:7441d755b7ab94f8d4eb3e43ec05482d760842fd263d003a99102d742cd835e2", size = 274479, upload-time = "2026-09-30T04:37:44.658Z" },+ { url = "https://files.pythonhosted.org/packages/89/44/809913e2cfd279e635a9294fdbbfb1b1dc62a8189d473d561f649fce98d8/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:ca403d7e4798f525fdfc78e258820419cbbd0f0ecbab9de7840e3c017cf6b8cf", size = 258310, upload-time = "2026-09-30T04:37:46.529Z" },+ { url = "https://files.pythonhosted.org/packages/af/a2/f28400ab13359d91bd39179df8e149376b9bf36588e739a3a4f9de2b84b2/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:df29a0a7107f7011e77f4eebdddec4c7331e24d787a0b21a46d63bdf7445da95", size = 271100, upload-time = "2026-09-30T04:37:48.399Z" },+ { url = "https://files.pythonhosted.org/packages/e9/89/9bab37955edf0adb3b66f8a3a6617d9f2f487e0d56f295a6a286cb640aa6/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f3c96f633825733f735c5a9cf21d21a257d8e1edf0b1cee0a064b9c424ca0f7d", size = 259936, upload-time = "2026-09-30T04:37:50.023Z" },+ { url = "https://files.pythonhosted.org/packages/23/b5/4459e08d45a679f903d50fea08bc52cfa728cca4d7bd02c757b5e5abda2e/charset_normalizer-3.5.2-cp315-cp315-win32.whl", hash = "sha256:281cb91036248400f4cc957495cccd44c275c2e0c5854f7e45ac5cf7dc193847", size = 186301, upload-time = "2026-09-30T04:37:51.722Z" },+ { url = "https://files.pythonhosted.org/packages/98/e8/55d5fd3935b4bce6da4fe0df61898e8c82653e317e677bd58aceb9c60f13/charset_normalizer-3.5.2-cp315-cp315-win_amd64.whl", hash = "sha256:89b53f3cda69831909888e0494f4fa0bcd3537e3e138dabeb620bd6ad946bae8", size = 210858, upload-time = "2026-09-30T04:37:53.427Z" },+ { url = "https://files.pythonhosted.org/packages/a9/5b/974423c2fd8e524c7a7f64318c1e02240ef954912fa2b4d70344107b9c68/charset_normalizer-3.5.2-cp315-cp315-win_arm64.whl", hash = "sha256:6be488a102b8cf28d0391d8c4ba7748938ae28b78ad901f8585520fca33ead1a", size = 200309, upload-time = "2026-09-30T04:37:55.015Z" },+ { url = "https://files.pythonhosted.org/packages/ee/f9/00ee0195db1013d8f7c416fd770fbeb560bb46eb2e36b054d05cb56f6cfa/charset_normalizer-3.5.2-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:915563965d418f986e7e145accc592eae9e1a1be3566ff98a05d7a9ec42a76e1", size = 395343, upload-time = "2026-09-30T04:37:56.743Z" },+ { url = "https://files.pythonhosted.org/packages/04/3a/c00b50e94c964cf934c7899cd47c97952fc11dad71cc5884b3c61795b09b/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:65cd72beeeca9d3aaea1201e5923859f308f952f9c71de93f06063c79f0f7a3b", size = 250114, upload-time = "2026-09-30T04:37:58.607Z" },+ { url = "https://files.pythonhosted.org/packages/50/27/d102dc880bbcffd0479ab64dfc1fb96777a854355a55e2bda72a71efadcb/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b7fd005a73d9e657273b7a10dc71a9e03c8fb9ee6999798d6918ce095b81ac7f", size = 239997, upload-time = "2026-09-30T04:38:00.511Z" },+ { url = "https://files.pythonhosted.org/packages/a5/4a/bf7ef45794dd293fab5f98a9309817977fbb845b9998f171b8cc5d8437a3/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e54da4baf05720032d527874d40b65fa4d7e5c6c6a43d0c3adbeffcaf275a2b3", size = 272313, upload-time = "2026-09-30T04:38:02.509Z" },+ { url = "https://files.pythonhosted.org/packages/e8/ee/008a2837737991474c5754bb3191010007663860979701990982a502cbaf/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:124fbf1a8ff966d87ae05bb8bd45a71f966055ed8bba320d0c7cf450bc5f4d0e", size = 269986, upload-time = "2026-09-30T04:38:04.435Z" },+ { url = "https://files.pythonhosted.org/packages/93/ad/bd74a283940dc910c5b14f8e4f80a248082bc9c0fcbe1f54530cb6d9cc5e/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:28b4f0d66fb834ff90f28209ac7bce77868c45d8c93e26f906709d9b7c2e1af9", size = 260202, upload-time = "2026-09-30T04:38:06.549Z" },+ { url = "https://files.pythonhosted.org/packages/8a/7b/ed341c66f69f688723501fac752be3d63c7159ca0d0d4174fc611e5710bb/charset_normalizer-3.5.2-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:58ca3755ee7ff7f59b57789ec9833c9de9ea275405cdd240eda1f193112e398a", size = 259083, upload-time = "2026-09-30T04:38:08.311Z" },+ { url = "https://files.pythonhosted.org/packages/cc/9d/e41588b777965e5031a43128a1e96173ebb35ac75fc53ec3b517e7c21cd4/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:443eae2bf318abeaf6f15d785138f71fd6de770e99a92158b8b814265e079115", size = 253081, upload-time = "2026-09-30T04:38:10.402Z" },+ { url = "https://files.pythonhosted.org/packages/81/35/b761eb6d8c1eb218b9b42b9b4d5ac902afdc399fb6dac6f9a9aac7bda589/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:58f361dcbab699cf8f42db3f47c8e7fd1036f138c23a5d08de9fde5f425a730c", size = 248712, upload-time = "2026-09-30T04:38:12.317Z" },+ { url = "https://files.pythonhosted.org/packages/4d/2c/147169a041b747759f37405c0a97157e8e92de967968373101ff14915cba/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:1b4cbc7c3491ccb4aa17fcd8165649d01cf39f76de1696da8631b5f71b85401d", size = 274176, upload-time = "2026-09-30T04:38:14.138Z" },+ { url = "https://files.pythonhosted.org/packages/f0/2d/0ff8db0d373ba8538db686db11cd7e8912031490b9e4f383b41912e8d594/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:ba0b1d2620edf869789c3879223f52bf2afc5d31b3cb47cc57b3a12c05e2aa9d", size = 259413, upload-time = "2026-09-30T04:38:15.841Z" },+ { url = "https://files.pythonhosted.org/packages/8a/8e/b4a085fb47c9d3a7e43576a4784fdd8fe23f907514a972de8086edaf7a48/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:5e2b6b57e9733d39f0c9fd3185efa6b8e29652c4cd8fe94180272cf6ed9a78c4", size = 269434, upload-time = "2026-09-30T04:38:17.626Z" },+ { url = "https://files.pythonhosted.org/packages/83/1c/d8d8d7322a7c3eecdf3237a4a419cf41d2eaad8e006ce7dfdd9d4c8fa2eb/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:51cf45226a9b588d0d2b4880c62d686934b63ab0bd79ca23ab0e9762eb27441b", size = 262716, upload-time = "2026-09-30T04:38:19.214Z" },+ { url = "https://files.pythonhosted.org/packages/a0/16/0e4c6ba9b44e97a2da150e52d331e8f9c968b21b358fbffa6c856cebcd89/charset_normalizer-3.5.2-cp315-cp315t-win32.whl", hash = "sha256:5fb29fb8cd1a46c27a1bf9613ad5ec2599310d46b4025d9556404a6b6a292800", size = 197159, upload-time = "2026-09-30T04:38:21.037Z" },+ { url = "https://files.pythonhosted.org/packages/be/33/e90bc2b1374f7f36ef106f56620de5a783907e19ca857efe2277e31cac3e/charset_normalizer-3.5.2-cp315-cp315t-win_amd64.whl", hash = "sha256:a192e2c40070d92c3ccf777e3a5c4ff515573cd2bb7ed0c537fdadbbec5bbf21", size = 221322, upload-time = "2026-09-30T04:38:22.886Z" },+ { url = "https://files.pythonhosted.org/packages/66/89/dfa6dcb08c200b7830ab56439e8c1890f2971d51aafbb3937894a2e7fcfc/charset_normalizer-3.5.2-cp315-cp315t-win_arm64.whl", hash = "sha256:749e97e1b32313717a565abbe321bc2190bc8b35f1a67e4cdbc7c56c8d8ffe58", size = 209192, upload-time = "2026-09-30T04:38:24.648Z" },+ { url = "https://files.pythonhosted.org/packages/8c/ab/176fbfd5b64939c55d652366aa5b9ef1d767af207a3aa6ebeb0d226c484d/charset_normalizer-3.5.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:4275811936e2f06feff5e598fb42a1b7ae852da8e39605211892b56b81a34efd", size = 331815, upload-time = "2026-09-30T04:38:26.216Z" },+ { url = "https://files.pythonhosted.org/packages/7e/84/371eac6b30bdbcbf2d632a1a01809103459216fcaae61b8b8d922c1bfb8a/charset_normalizer-3.5.2-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1c50fe28bbc2ced33386f298650d91218076c05420e6cbd790b913adc41659e7", size = 253276, upload-time = "2026-09-30T04:38:28.032Z" },+ { url = "https://files.pythonhosted.org/packages/43/6f/c4fbae58febff71709c51bc7e18fdfa55341dc382704740f9f0cbf03817b/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d19fbd981a488e22cd04883659ca6b08f50b5974f9fd7c95655ef6a043e5893f", size = 241239, upload-time = "2026-09-30T04:38:29.732Z" },+ { url = "https://files.pythonhosted.org/packages/61/71/458c3f42164a07d0c5210798e9e704b39e540a6793b05aba67f3a35243a9/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0fed1d06615f022ee3b13caf5e8b180cfea32bb2c5aded8a9d44277afc040f93", size = 231121, upload-time = "2026-09-30T04:38:31.462Z" },+ { url = "https://files.pythonhosted.org/packages/09/54/ab9e89367076f6331bb6c65c4bf14a5361fa5191cb6561bf534f18504e1b/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:838dcc90063569a0448120554591a1d6c4a4ffe11babf048908793154ab86ade", size = 260350, upload-time = "2026-09-30T04:38:33.239Z" },+ { url = "https://files.pythonhosted.org/packages/7c/c1/061431ecc688d9d76602502cb57cc01e691e682c18f1beb45f9673b5bbd2/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2ce45c6627b22c47e390bc91a41c3d13032192e699fa0bea96e9671b373d69b0", size = 255430, upload-time = "2026-09-30T04:38:34.865Z" },+ { url = "https://files.pythonhosted.org/packages/8d/1f/20c8949f0676f7ab811abdeb7f4d7f1cbc6e61ff20bef08b44edeb092bc8/charset_normalizer-3.5.2-cp37-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0774bf9bf620249fee3e0b8b9fd3065de213be30f3aa94ce2494b3b638949e26", size = 250612, upload-time = "2026-09-30T04:38:36.649Z" },+ { url = "https://files.pythonhosted.org/packages/2b/9e/46f2fa4c431fc98c4ae76a8cb5bdca54e0341e3cfc3fcfd8e82740250818/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1db38f4c5496827c1a501846d64d14c3b80c7e6714e406cd7dc36a9899fa1011", size = 242083, upload-time = "2026-09-30T04:38:38.26Z" },+ { url = "https://files.pythonhosted.org/packages/bd/39/559be29a0c0f086e0bba6922babd38916cc5e0b58ced4de13ee01ea05508/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:304d8e4d493af723536393eee0c689eb7813f4a474c8b479dee63f1fdd98f621", size = 232738, upload-time = "2026-09-30T04:38:39.81Z" },+ { url = "https://files.pythonhosted.org/packages/ff/6c/387b0e4f756a282831c1d9fc6aeb6c51ca4507ca202767c8de15ce9b12e2/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:9b7f416ff0978e2f2249330527f0ad6fa02f4932e6199692d3b52da2048c19e4", size = 260703, upload-time = "2026-09-30T04:38:41.346Z" },+ { url = "https://files.pythonhosted.org/packages/96/92/1fdf015f09ef449f50d3ac4b67c90887c9c318b727daa95cc4f866e6521d/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:01077390b03f7988f11d700a2194e69b119741a86b1a638b1db88891e3eced8e", size = 247622, upload-time = "2026-09-30T04:38:42.937Z" },+ { url = "https://files.pythonhosted.org/packages/dc/3c/8e7b8a5671ad5d433669fb2a76f1a0164df2d9b1718b0206bc2a16d840cc/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_s390x.whl", hash = "sha256:7e841fb9010836c992c9f12fcbd43a831de93a5f726fc1ccd8ca1d0268c5014c", size = 257500, upload-time = "2026-09-30T04:38:44.604Z" },+ { url = "https://files.pythonhosted.org/packages/b4/f0/45b579df5cabc1d5d53ea1cc35e8437d3ca768c0acccc7041517cb6fbb32/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9cae88599c7219005d879f98e5ed53341e9a122af585e1091200358a3003d2a0", size = 255100, upload-time = "2026-09-30T04:38:46.289Z" },+ { url = "https://files.pythonhosted.org/packages/31/68/fdec18a343f5fb3f310588dd478b09ac4799e0b187dbade3a8cd776f03ef/charset_normalizer-3.5.2-cp37-abi3-win32.whl", hash = "sha256:01b0c0d2262a9e28e8484a278c7e1b5d650e3ac8cf2683d2967e25899f208bdf", size = 174499, upload-time = "2026-09-30T04:38:47.999Z" },+ { url = "https://files.pythonhosted.org/packages/9d/8a/b618149cc5207943a0242068d7a27897f56a62947b5a039085f2a22029f8/charset_normalizer-3.5.2-cp37-abi3-win_amd64.whl", hash = "sha256:9f56f72050826f63dcee7a7f55b0a77168cb3bfc553fd405e7f8f9ece75a4036", size = 200092, upload-time = "2026-09-30T04:38:49.707Z" },+ { url = "https://files.pythonhosted.org/packages/03/cf/4c66866fa9e2b1c78e3c911516d1de497a677b7ac60f1eceda74ce777ca3/charset_normalizer-3.5.2-cp37-abi3-win_arm64.whl", hash = "sha256:40ab6bffa02ae10a0581e6c198be7d2d8ca5c2a0c64e4ed3465d766df457573e", size = 294363, upload-time = "2026-09-30T04:38:51.312Z" },+ { url = "https://files.pythonhosted.org/packages/fc/ad/d07d7862a62ffa6d79d68074d14823243dd235a77c45262acbf6adeb28bf/charset_normalizer-3.5.2-py3-none-any.whl", hash = "sha256:b6b751274acb69d77b3323d6b7dbaa3c7fdfc1eb829b7eb61d262f32e1af9685", size = 68872, upload-time = "2026-09-30T04:39:21.828Z" },+]++[[package]]+name = "click"+version = "8.5.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/c7/0e/7fa0ef50764b67090eca4114772a2abf8b6148198475e54c660b97caeee6/click-8.5.0.tar.gz", hash = "sha256:ba0d2089de75ea0310e2dde03160e6ca10009947fb95a182f9b54021bb272e34", size = 382235, upload-time = "2026-08-26T13:33:14.56Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/58/50/6c0d534c5f134586a8e1ba4e330569e32f057e33372ae556463212fb4cd3/click-8.5.0-py3-none-any.whl", hash = "sha256:255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360", size = 125251, upload-time = "2026-08-26T13:33:12.928Z" },+]++[[package]]+name = "colorama"+version = "0.4.6"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },+]++[[package]]+name = "contourpy"+version = "1.4.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "numpy" },+]+sdist = { url = "https://files.pythonhosted.org/packages/83/5a/a55177dd22553a277388e8a1b3220e92de91bacb28356cdc73caa240121d/contourpy-1.4.0.tar.gz", hash = "sha256:20156f5a1ac4f8ce02656e39a61e82164a3d359796dc8026f75b062783d500e1", size = 13323726, upload-time = "2026-09-11T19:05:05.808Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/97/ba/01bde9753bdbba04a6da9d2bff3881f021bc708f654655e95fae26d3b3a3/contourpy-1.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:186ba929df36d61b6127da2e89cd1357e4cb79aca647381ab1a6feb0b152877b", size = 297302, upload-time = "2026-09-11T19:02:45.103Z" },+ { url = "https://files.pythonhosted.org/packages/dd/f5/c5bf67522d49a2222f3154fe46879451d26f0e35ece41770758a64ea78cb/contourpy-1.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c76f3a5318164db7d9401132fc1b5364b784c613c93fa506e3b5e6d1bf353ec8", size = 284921, upload-time = "2026-09-11T19:02:48.049Z" },+ { url = "https://files.pythonhosted.org/packages/0f/cc/cb989599eec12fda312e127eb8e04a8b21a7a6c94bf7ff1bc68273334a42/contourpy-1.4.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:43c3ccbb32c6294b183dcc8e8c46dacf5ecef809497e3d48a5be298eef185ad0", size = 356332, upload-time = "2026-09-11T19:02:51.408Z" },+ { url = "https://files.pythonhosted.org/packages/47/fb/6f620d7602507817b0b4c21dd790ed68688f1f4ae9c29aacf21f08db5cf1/contourpy-1.4.0-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:86d05cec773c9507a3950122e0e40ce77c23c75ceeb2fc189514e71893cbb34b", size = 405878, upload-time = "2026-09-11T19:02:54.093Z" },+ { url = "https://files.pythonhosted.org/packages/32/4e/693c6d6bdece679f0953775eef3a1b66d56be55478d936e7deb1f3004422/contourpy-1.4.0-cp312-cp312-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2deb580178ca19437a84bd77e4bc2cd91a8ccad212413a83c273900868b5978c", size = 408296, upload-time = "2026-09-11T19:02:56.528Z" },+ { url = "https://files.pythonhosted.org/packages/78/f9/b6831508960d559581c448532ba4df312217072975486dbf2b24fcc5b76f/contourpy-1.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:875f42444c9cf48d56f724f2637e60d0f73b3b12c9041e1484580a233edf9591", size = 383243, upload-time = "2026-09-11T19:02:58.638Z" },+ { url = "https://files.pythonhosted.org/packages/f2/21/52903825a0ae7bb625e8bd30a09816d4c3c5d6174a469c10a616166cf780/contourpy-1.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f863c6100bf926cf47d13f3cd75f9bb8ebd98aaab230eeb4468b91f98f39a6b3", size = 1357306, upload-time = "2026-09-11T19:03:01.036Z" },+ { url = "https://files.pythonhosted.org/packages/d8/79/d68b1ce8539e4071518fed9523f558398f34dcd078b8927b109c72dad2ef/contourpy-1.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3863ef2e2b13fe93f8c0ebb08ee400cb07153b8b0e91c5acb26e4537f283634f", size = 1427243, upload-time = "2026-09-11T19:03:03.866Z" },+ { url = "https://files.pythonhosted.org/packages/ac/f0/b75a10e9d0616b97a30de277b6dfe83f1879880854c7330337309530eb48/contourpy-1.4.0-cp312-cp312-win32.whl", hash = "sha256:5450f091ac1be0be3ad3a2a3b3f23b5e443e78c670ced4fd347d626f92a28fd2", size = 347345, upload-time = "2026-09-11T19:03:06.192Z" },+ { url = "https://files.pythonhosted.org/packages/50/a9/dab08786bb4d77ef9a046b3c1be923be4e73c5d07d91f5a54e8ea9b09e41/contourpy-1.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:6e697d94e69f499ff6bebb899cae97a58d5d14f0e1fe9568b43a0248d2f9af8c", size = 234083, upload-time = "2026-09-11T19:03:08.122Z" },+ { url = "https://files.pythonhosted.org/packages/47/b9/3ba509755a970dbde5948e7142ac21f266be72f38017cc4087a05fdceee1/contourpy-1.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:0c7a4c2716a4e98342221954416a836cca77c996c14ddbf22b5f01d5d93ca09c", size = 559521, upload-time = "2026-09-11T19:03:10.047Z" },+ { url = "https://files.pythonhosted.org/packages/b7/8b/62a6eacea08ea0b6ab0159a7783df7ed421ff9c1ff58fef7c31f58fa5e52/contourpy-1.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e21d1d4a9db5b3a793649c7ab0ddb4697f2818929eec871a7b9c45fce7b2a1ea", size = 297330, upload-time = "2026-09-11T19:03:11.809Z" },+ { url = "https://files.pythonhosted.org/packages/3f/2f/103cdc5b7077cd569989d3ddb99ee3d4e96ee31bde8df2a6e426b2dc6195/contourpy-1.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:196759a3e4db60e1546167e361090ebb6d199aa3aafc9e34ea17a5ac3b23e814", size = 285037, upload-time = "2026-09-11T19:03:13.781Z" },+ { url = "https://files.pythonhosted.org/packages/bf/25/97001d1fdf940e6f5adfc592d4f5899fff95daf7dceead3988fe09987d2d/contourpy-1.4.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c0e07c691f3b3321913ed9b8161c50ea5f77fadd006f52f5e755359b0dcbfc5", size = 356675, upload-time = "2026-09-11T19:03:15.374Z" },+ { url = "https://files.pythonhosted.org/packages/a6/5e/9a7241a89e2f74402aefa2569e1349ad2750ff77823c04c788eaaedb7fdd/contourpy-1.4.0-cp313-cp313-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7f861af508fca2384eef392bc1d8377cfa349b2b854cb11b45d89c75780e2561", size = 406990, upload-time = "2026-09-11T19:03:17.44Z" },+ { url = "https://files.pythonhosted.org/packages/36/81/3a4fbbf6a806eada5453a6d16f6c7d96b9f4b3e57a3127368fb545986b8a/contourpy-1.4.0-cp313-cp313-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a03b32c2e7eda8b17757c022162c13c86f5c3d6f937dddf9ba3c3ff7b513953b", size = 407271, upload-time = "2026-09-11T19:03:19.523Z" },+ { url = "https://files.pythonhosted.org/packages/68/77/8f93ecbde1a4d11dfd460cd19a0c159f5487352e751fa87f5d78cc9db08e/contourpy-1.4.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f1219a8898523cba821085f2da8a1b962cc696325763f09d7f93538ba43b2d70", size = 384707, upload-time = "2026-09-11T19:03:21.208Z" },+ { url = "https://files.pythonhosted.org/packages/05/07/e5cdf94d68961ee464de6b4fedd3d2f666584f59ccd124bb1290597122ab/contourpy-1.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:20da2f86bfaed60dbba729fe738c8241b1dd22b6cf7e8cbbf30df290bd04ba28", size = 1356741, upload-time = "2026-09-11T19:03:23.621Z" },+ { url = "https://files.pythonhosted.org/packages/fd/8a/2301d07accb257ac08daeb631875fada06fedd019c20ff7b00ee07e9d211/contourpy-1.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6ced1670fafee703b8277ab1645072a226e74f167166eae146fb743916119b67", size = 1426793, upload-time = "2026-09-11T19:03:25.955Z" },+ { url = "https://files.pythonhosted.org/packages/7d/5d/a62648f06259d15c139b14eb8cf3c58fe53cb970a55f2bb77d1070e80a41/contourpy-1.4.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:abd0f7e51ecc52bf8c95713bd80b1c17c516a71fa391c54475308a4377903c2b", size = 117961, upload-time = "2026-09-11T19:03:27.713Z" },+ { url = "https://files.pythonhosted.org/packages/71/31/c5b7771ba6982f319ec90c0cf5c425b36891adfeee2d9f667f90b2d0c166/contourpy-1.4.0-cp313-cp313-win32.whl", hash = "sha256:510f7d93d94cf6ebf4e2cd0640bea16ab8affac7547230175b6745b596ce0599", size = 347438, upload-time = "2026-09-11T19:03:29.829Z" },+ { url = "https://files.pythonhosted.org/packages/68/c1/a59df0754bf83a6f3e153cc19d550a5b01f607e389b1c4d57f436f9139e0/contourpy-1.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:6507a016976a75a15aee47809a34605de6244ccc056e6164bf9fb14b27eecad4", size = 234084, upload-time = "2026-09-11T19:03:31.657Z" },+ { url = "https://files.pythonhosted.org/packages/41/48/97224f5decb1efa5a610f912195deb45321f73ec9b9dac485cd6fe2d5a6a/contourpy-1.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:423bd5f4b3f11d54a8c597234e513382e3454bb106b8ec7ae32ba4ed63f8d99b", size = 559559, upload-time = "2026-09-11T19:03:33.528Z" },+ { url = "https://files.pythonhosted.org/packages/75/b0/b548628c8dddf6e5e0a981b7fa8e4c008024df09c7d17c6a9e271edfa0b3/contourpy-1.4.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a3e67bc1a6a4618a1dac7c3053a9ffece5ddfa2046b2670b342cf430bb0b87d1", size = 297354, upload-time = "2026-09-11T19:03:35.017Z" },+ { url = "https://files.pythonhosted.org/packages/04/5a/513484208742f65af2648c519f0b7ab034616e183c4403538024c136a1ab/contourpy-1.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:072a702e2e178f4fcf96f04775d0c059e4c917925abf0d3208ebb6865df3c23d", size = 283729, upload-time = "2026-09-11T19:03:36.818Z" },+ { url = "https://files.pythonhosted.org/packages/35/da/5a6562febc994b2c4bf9d01e57a50458ef8a2051bb3e7b35a00333e0fc26/contourpy-1.4.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:404dbcd9233513dfd1323b66ea593fef90e899f658f6b8a9ed8e93bd0ca669db", size = 357819, upload-time = "2026-09-11T19:03:39.058Z" },+ { url = "https://files.pythonhosted.org/packages/6d/99/7b358ce888aaa426f755daa096c99c59d17c352037344e836f20e5d3b957/contourpy-1.4.0-cp314-cp314-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:61624f6722480aa7e168fd746164e7bfdf48f8ccb6542f1613741200dc37e2b1", size = 407795, upload-time = "2026-09-11T19:03:41.293Z" },+ { url = "https://files.pythonhosted.org/packages/be/02/34d7548adf08c60967435d79d7a90882eacc84f5093435287974c7e99943/contourpy-1.4.0-cp314-cp314-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2e741a39dfc96babe1722561e81351aeec104526c57dbe91c167c1db606c2d55", size = 408552, upload-time = "2026-09-11T19:03:42.728Z" },+ { url = "https://files.pythonhosted.org/packages/cf/8c/9677dad226e5aaac5b823d5b09d881ebc32ff1648af417597649841e516c/contourpy-1.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e439ab450c93455feb0218532ded3e946ec7a9b5f459069f122cfa44b89229f6", size = 384850, upload-time = "2026-09-11T19:03:44.402Z" },+ { url = "https://files.pythonhosted.org/packages/08/f5/e3fbeaa489c223629fbb434737cb3de4ecaca9cae4825e77b92490f640f8/contourpy-1.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:417be048f7e122cefbe2a34c51a1f2b0410f8eb35796f794d45475ddb7872d9d", size = 1357601, upload-time = "2026-09-11T19:03:46.746Z" },+ { url = "https://files.pythonhosted.org/packages/88/be/55fec293d342c222ed58a5d4056df4362e192af2e59527a3d5d822de8828/contourpy-1.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:43d80072a32299bf945de0a6dd4e034ea0162e832261de2e07a274a5adbba9c9", size = 1427340, upload-time = "2026-09-11T19:03:48.745Z" },+ { url = "https://files.pythonhosted.org/packages/86/40/0faabf453edf59b0e3633381d7ca72c3414fb9b72b5cbb08b06ed792d3e5/contourpy-1.4.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:fa1b787362a3856e63dd2b89449f6c384d55ee1beb8f94f4bcc871b40f02462c", size = 118355, upload-time = "2026-09-11T19:03:50.047Z" },+ { url = "https://files.pythonhosted.org/packages/38/0c/7ea75aa3559ae8a6805015e15a19c92b6480752ecc92526361e5776e88c5/contourpy-1.4.0-cp314-cp314-win32.whl", hash = "sha256:738c44fa71735a617f36da58e32810512407d283d5d1bb5b1cecb00d7eeba7cf", size = 356977, upload-time = "2026-09-11T19:04:11.401Z" },+ { url = "https://files.pythonhosted.org/packages/15/41/3df8cc14bb572c8b447f9dfbc876703f0f2f2896058285b5c87a1d4a638d/contourpy-1.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:181bea01bc742734ae672fa00c717d855dd35e1f029536406538c52e7b0cd73d", size = 240101, upload-time = "2026-09-11T19:04:12.772Z" },+ { url = "https://files.pythonhosted.org/packages/66/01/ee6830a5aa4565662a345172f6f35eeeed625d20f1c9d4ecd35318fe4ade/contourpy-1.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:64039341e2d8804f1a13bda8c69083eab935167bbd7e856cf096241f17d5bd45", size = 576359, upload-time = "2026-09-11T19:04:14.983Z" },+ { url = "https://files.pythonhosted.org/packages/51/af/49ee9c9cf012699e505c1b63c531cc99f19df50f205173092c4d541e3ec7/contourpy-1.4.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:ef47fef9a912c77e3d84b014f701e5a9340f25703e9ed3bcebe37f91fb69dc49", size = 313601, upload-time = "2026-09-11T19:03:51.452Z" },+ { url = "https://files.pythonhosted.org/packages/ad/59/ce411ab2be0f805038626d8f4ca9ce563487ff51ff6c363e7512271564ed/contourpy-1.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:96019f059bcb3774acc0104be3360a57b36d33eaaa2e1d7f77c800ca8e07618b", size = 302812, upload-time = "2026-09-11T19:03:53.022Z" },+ { url = "https://files.pythonhosted.org/packages/95/b0/390915f9af14c1e2d3b2a9ad99d85b98df4352346a51e368cbb825f813c3/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ddf5a2596d716fd3793434844caf31abc7a40b1e8718431420c89858268fb909", size = 348996, upload-time = "2026-09-11T19:03:54.594Z" },+ { url = "https://files.pythonhosted.org/packages/c7/85/e0952576d54322f3e9983b1e049a7a31f42ce82c5c29d01821e6dd3780d7/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dd59df9e2fb0aff8bd7fd1adb9f349b7c835245a9d0f18c2f2deeb537190f2b1", size = 400272, upload-time = "2026-09-11T19:03:56.822Z" },+ { url = "https://files.pythonhosted.org/packages/d6/7d/f13543a5e1598e4a4ad01d9d5e2d65f9c09c37660616429913d606c5977d/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b7794ea07cab575633daad8d6e963b662053391022294d3aacc1d9ba9ef54114", size = 412895, upload-time = "2026-09-11T19:03:58.487Z" },+ { url = "https://files.pythonhosted.org/packages/c5/a8/6e5eaff53507dfd2dfc428240eecda32453067277d4b3e7ca71210b2d611/contourpy-1.4.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a1c8a74744fa746eeaa12f0f9ed7f8b4add9d8f1b14d95e3b5e133675eac888f", size = 377060, upload-time = "2026-09-11T19:04:00.122Z" },+ { url = "https://files.pythonhosted.org/packages/16/a3/d00e44d35511b3cead5bd794ee672d4eecf30d9de4ceac57a49d6204064f/contourpy-1.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:107ec46f7aa1664266d69b1181aadc953d58d39f7d8d648fa5b795d4a060b0de", size = 1345688, upload-time = "2026-09-11T19:04:02.705Z" },+ { url = "https://files.pythonhosted.org/packages/1e/01/1e533b0cae32c8edd63fe40435ec3b29345dab87321afcd28722d7f957d1/contourpy-1.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5a4c89c7f38a0d7a94356d74e3391073c4325c4d47ad2fd065c3fe7dbae16c0c", size = 1416140, upload-time = "2026-09-11T19:04:04.77Z" },+ { url = "https://files.pythonhosted.org/packages/6d/0c/4ee66759f00d6a5d6909782f14f441d639fa18a4a43142e334351efc47f8/contourpy-1.4.0-cp314-cp314t-win32.whl", hash = "sha256:912c6afaa106e2f74ba22b30416b77ef7eb94e3bdc5a4df51ab147845dba9b6d", size = 371982, upload-time = "2026-09-11T19:04:06.233Z" },+ { url = "https://files.pythonhosted.org/packages/e6/ac/b3e5324138c3e3741f526663f4f265f4f69dfdf26415a39428940864a5f6/contourpy-1.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:ef9440f6f8506246269a82734f5ff9e2e4c5e775b3996fc883cc491c5257eca6", size = 262907, upload-time = "2026-09-11T19:04:07.882Z" },+ { url = "https://files.pythonhosted.org/packages/19/37/c9aa45e47819dc15a38fc5c81a2fb987fde55e9d3b991fbde514e3b6b5f5/contourpy-1.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:fc9feef8f1f001c5b87decadc67c4a5d1eebb62ca39c4763d1237ff62cf2b707", size = 587071, upload-time = "2026-09-11T19:04:09.898Z" },+ { url = "https://files.pythonhosted.org/packages/cc/74/66d4e6fbea3bcb3fd4e5ae21c039ba31b8fc408b35884b4bc09b88016dce/contourpy-1.4.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:79b06c60d5e569ce12c5da8f0c51217cdc484386e2349fa717c30fafb56d2871", size = 297358, upload-time = "2026-09-11T19:04:16.718Z" },+ { url = "https://files.pythonhosted.org/packages/2e/8d/8f7f25e71d73f15d7859943189900d2d348e740388c9ef52a0180d284762/contourpy-1.4.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:6f963ea9f0d68d2b6a02d861e3c0aae09ae25ba21f243fcf281e9fed468b078d", size = 283732, upload-time = "2026-09-11T19:04:18.087Z" },+ { url = "https://files.pythonhosted.org/packages/f0/90/957549e3b03c407c670e3e191db63f4aef60dab6605bc967af3a806b543e/contourpy-1.4.0-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5545ff38229c15d11d822fc6f7415b932da9f4975f53e305b7b96ebfb01f889c", size = 357820, upload-time = "2026-09-11T19:04:20.077Z" },+ { url = "https://files.pythonhosted.org/packages/56/4c/fa8de87d907b41b05d03f4945a51675cd67319650d01b4c927d209ffa6ee/contourpy-1.4.0-cp315-cp315-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:630d32f06cedf37b7f1dd2b6a12e4492826bd477a4c9c7b2e2fee6ce3a2cea76", size = 407804, upload-time = "2026-09-11T19:04:21.781Z" },+ { url = "https://files.pythonhosted.org/packages/04/e7/96bd4f4a4ae285727befbdb4b332d53a2654cc5da4585d2525b47a063e1f/contourpy-1.4.0-cp315-cp315-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:be85d160e7c795113c2a93254dde2fc7e86b375322570eee78b420969426973c", size = 408559, upload-time = "2026-09-11T19:04:23.432Z" },+ { url = "https://files.pythonhosted.org/packages/ae/94/39660e8dc309f96bf7971eb4ec5659f272f84e42b34c9990a96ecce8442c/contourpy-1.4.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:018227e134b73090b06f911e773a526c77c9af426be29065500ce096a5accd4c", size = 384861, upload-time = "2026-09-11T19:04:25.198Z" },+ { url = "https://files.pythonhosted.org/packages/ab/7b/411dccbf73d5d19da49bf7735786b3baf4ddb1456412d48ae4d4ab1fc761/contourpy-1.4.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:4bffcb2e8cc5c0e837631acab59dd04265fdac376550e7c3e310523877c68cb7", size = 1357612, upload-time = "2026-09-11T19:04:27.614Z" },+ { url = "https://files.pythonhosted.org/packages/a0/39/bf2442130e7d5aae75a4de4504f0c8aca3ef3da3feac3940ee27ca985d83/contourpy-1.4.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cc87f2ffa84a49a77d76cb792f28a48ff3b05a222aa0b2bddbd839ba78e1d5ca", size = 1427345, upload-time = "2026-09-11T19:04:29.646Z" },+ { url = "https://files.pythonhosted.org/packages/96/60/e5d9196dd83ccd7dd103762982b10ef19a4f72e8ef67ae7157699b9be0bb/contourpy-1.4.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:c8be3392b84cf43373a488874dc1ebf46f60784a70977f92586e18019d71c7ed", size = 118157, upload-time = "2026-09-11T19:04:31.091Z" },+ { url = "https://files.pythonhosted.org/packages/1a/b2/ae3d90f08ba2ed82189d93b55ffbd41e559760e89af4f9ef54d51869f41d/contourpy-1.4.0-cp315-cp315-win32.whl", hash = "sha256:618137ec5778fb76d494c9ec854b104a377fddba0d128bef7136cce2c3bf0df8", size = 356982, upload-time = "2026-09-11T19:04:52.913Z" },+ { url = "https://files.pythonhosted.org/packages/02/a0/36648fff407dcf8b8482985d33367ffc0fe90be72383869312cd0bd00a1b/contourpy-1.4.0-cp315-cp315-win_amd64.whl", hash = "sha256:ea09dc704029930cbd097f75cb0cc1db9852adbcf1a151fac7e9559f7bcbfd19", size = 240101, upload-time = "2026-09-11T19:04:54.587Z" },+ { url = "https://files.pythonhosted.org/packages/07/09/49e987a96706b8f877596cee00d558d7880793a833addc6b33f80805e5dc/contourpy-1.4.0-cp315-cp315-win_arm64.whl", hash = "sha256:a5e2bb871b90cd7a52bdee63bf80ef7acb46398d27efc66d7679240016efc5aa", size = 576375, upload-time = "2026-09-11T19:04:56.515Z" },+ { url = "https://files.pythonhosted.org/packages/e3/18/820ba24a070fe2a834af73e52245c501960746f5c1777ebc64ec0c0dec12/contourpy-1.4.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:432e89f835cf01f8d2123a130a3126b17ee6e0348e4d62c0973872b30aa873bf", size = 313543, upload-time = "2026-09-11T19:04:32.582Z" },+ { url = "https://files.pythonhosted.org/packages/d3/4c/f61a63d8107e0c1c3fa47d30ce45abad90b2ad48a1a9a4510332db7e0176/contourpy-1.4.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:3e0a2392533e5e2abdf277c951047516acc8d2f3c42b2dd9dc34c907c9ebabf2", size = 302702, upload-time = "2026-09-11T19:04:34.257Z" },+ { url = "https://files.pythonhosted.org/packages/9d/93/5af95cb5113ecc6e780ca0c6c79756a2cea8833f971bbae112dd4ad73ded/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:758e7496cec3195fc28a28945eab3ceef348c47fb95c7afc2eca2f3901209c8c", size = 354370, upload-time = "2026-09-11T19:04:36.158Z" },+ { url = "https://files.pythonhosted.org/packages/47/75/5a9942446647202beb7b4d150891bfcb78fb112c73862484bbe4cc031092/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bee6ff96653e0807cd0f8eaef00174a031e3a2effa5c20f49a5a8d574b05af23", size = 402340, upload-time = "2026-09-11T19:04:37.914Z" },+ { url = "https://files.pythonhosted.org/packages/c3/4f/bfdb0c67775a584f957211936661289789c4d0ec3e988bca2c8c02f8090e/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a58b5f130afec61a093d743cdda435cc4047748b6791627e34a68f41ec3a9b07", size = 410721, upload-time = "2026-09-11T19:04:39.925Z" },+ { url = "https://files.pythonhosted.org/packages/65/d3/dddf13d6bb26e145c99debd1f2695018b5f3e24452dd9bfc9904c9d2ec89/contourpy-1.4.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b9dc493e7924e5aa32d89d0b8e50986280f3d4b284968a792787bd7bcffd3cad", size = 382604, upload-time = "2026-09-11T19:04:41.793Z" },+ { url = "https://files.pythonhosted.org/packages/37/b4/89f0a5f6c6ccd322eae2704c7e933c82a4e594a61773933b4b0a18646866/contourpy-1.4.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:c927ec747633e68c9920bcaad48b0bcefe648812b822f18c34e2d0e2270a3d2a", size = 1354996, upload-time = "2026-09-11T19:04:43.856Z" },+ { url = "https://files.pythonhosted.org/packages/5d/29/fc91cc1ac6f3b591a269f4357b656d6ed0c39eb17c148f41f6da2f9729b9/contourpy-1.4.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:80c7fc8e7ac217777ce7ba2db3cf8478652b5a4b335283111012ff9eaac9d842", size = 1425030, upload-time = "2026-09-11T19:04:45.981Z" },+ { url = "https://files.pythonhosted.org/packages/d8/b8/bb129f524210c5d3eb8616876e02af280fba8b5554e0ac1afad80b51e06b/contourpy-1.4.0-cp315-cp315t-win32.whl", hash = "sha256:90feb8da006803a95ba573fddc9536357d0c3faddc3a4c9e22816ca49af52878", size = 371854, upload-time = "2026-09-11T19:04:48.106Z" },+ { url = "https://files.pythonhosted.org/packages/d8/b1/bc774d9d200cfc4f073bba78b1bb1cb3b55bf1c8c345eae41fc2db510459/contourpy-1.4.0-cp315-cp315t-win_amd64.whl", hash = "sha256:de503609fdb71f597634ca64fb4bd2f13d27c97f140e912b1e8ed93544840df0", size = 262450, upload-time = "2026-09-11T19:04:49.502Z" },+ { url = "https://files.pythonhosted.org/packages/54/bf/eb4ff492e1c3d027617b5a20e4e6d63a035b41b8cf77a95950159556a3a5/contourpy-1.4.0-cp315-cp315t-win_arm64.whl", hash = "sha256:78ed5c5f962b3e156109f0531b174a65ba80d13cc681a70227b12524c162e184", size = 587064, upload-time = "2026-09-11T19:04:51.148Z" },+]++[[package]]+name = "cuda-bindings"+version = "12.9.4"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "cuda-pathfinder" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/0c/c2/65bfd79292b8ff18be4dd7f7442cea37bcbc1a228c1886f1dea515c45b67/cuda_bindings-12.9.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:694ba35023846625ef471257e6b5a4bc8af690f961d197d77d34b1d1db393f56", size = 11760260, upload-time = "2025-10-21T14:51:40.79Z" },+ { url = "https://files.pythonhosted.org/packages/a9/c1/dabe88f52c3e3760d861401bb994df08f672ec893b8f7592dc91626adcf3/cuda_bindings-12.9.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fda147a344e8eaeca0c6ff113d2851ffca8f7dfc0a6c932374ee5c47caa649c8", size = 12151019, upload-time = "2025-10-21T14:51:43.167Z" },+ { url = "https://files.pythonhosted.org/packages/df/6b/9c1b1a6c01392bfdd758e9486f52a1a72bc8f49e98f9355774ef98b5fb4e/cuda_bindings-12.9.4-cp312-cp312-win_amd64.whl", hash = "sha256:696ca75d249ddf287d01b9a698b8e2d8a05046495a9c051ca15659dc52d17615", size = 11586961, upload-time = "2025-10-21T14:51:45.394Z" },+ { url = "https://files.pythonhosted.org/packages/05/8b/b4b2d1c7775fa403b64333e720cfcfccef8dcb9cdeb99947061ca5a77628/cuda_bindings-12.9.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cf8bfaedc238f3b115d957d1fd6562b7e8435ba57f6d0e2f87d0e7149ccb2da5", size = 11570071, upload-time = "2025-10-21T14:51:47.472Z" },+ { url = "https://files.pythonhosted.org/packages/63/56/e465c31dc9111be3441a9ba7df1941fe98f4aa6e71e8788a3fb4534ce24d/cuda_bindings-12.9.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:32bdc5a76906be4c61eb98f546a6786c5773a881f3b166486449b5d141e4a39f", size = 11906628, upload-time = "2025-10-21T14:51:49.905Z" },+ { url = "https://files.pythonhosted.org/packages/05/d0/d0e4e2e047d8e899f023fa15ad5e9894ce951253f4c894f1cd68490fdb14/cuda_bindings-12.9.4-cp313-cp313-win_amd64.whl", hash = "sha256:a2e82c8985948f953c2be51df45c3fe11c812a928fca525154fb9503190b3e64", size = 11556719, upload-time = "2025-10-21T14:51:52.248Z" },+ { url = "https://files.pythonhosted.org/packages/ec/07/6aff13bc1e977e35aaa6b22f52b172e2890c608c6db22438cf7ed2bf43a6/cuda_bindings-12.9.4-cp313-cp313t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3adf4958dcf68ae7801a59b73fb00a8b37f8d0595060d66ceae111b1002de38d", size = 11566797, upload-time = "2025-10-21T14:51:54.581Z" },+ { url = "https://files.pythonhosted.org/packages/a3/84/1e6be415e37478070aeeee5884c2022713c1ecc735e6d82d744de0252eee/cuda_bindings-12.9.4-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:56e0043c457a99ac473ddc926fe0dc4046694d99caef633e92601ab52cbe17eb", size = 11925991, upload-time = "2025-10-21T14:51:56.535Z" },+ { url = "https://files.pythonhosted.org/packages/4d/3c/972edfddb4ae8a9fccd3c3766ed47453b6f805b6026b32f10209dd4b8ad4/cuda_bindings-12.9.4-cp313-cp313t-win_amd64.whl", hash = "sha256:b32d8b685f0e66f5658bcf4601ef034e89fc2843582886f0a58784a4302da06c", size = 11894363, upload-time = "2025-10-21T14:51:58.633Z" },+ { url = "https://files.pythonhosted.org/packages/1e/b5/96a6696e20c4ffd2b327f54c7d0fde2259bdb998d045c25d5dedbbe30290/cuda_bindings-12.9.4-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f53a7f453d4b2643d8663d036bafe29b5ba89eb904c133180f295df6dc151e5", size = 11624530, upload-time = "2025-10-21T14:52:01.539Z" },+ { url = "https://files.pythonhosted.org/packages/d1/af/6dfd8f2ed90b1d4719bc053ff8940e494640fe4212dc3dd72f383e4992da/cuda_bindings-12.9.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8b72ee72a9cc1b531db31eebaaee5c69a8ec3500e32c6933f2d3b15297b53686", size = 11922703, upload-time = "2025-10-21T14:52:03.585Z" },+ { url = "https://files.pythonhosted.org/packages/e6/87/652796522cc1a7af559460e1ce59b642e05c1468b9c08522a9a096b4cf04/cuda_bindings-12.9.4-cp314-cp314-win_amd64.whl", hash = "sha256:53a10c71fdbdb743e0268d07964e5a996dd00b4e43831cbfce9804515d97d575", size = 11517716, upload-time = "2025-10-21T14:52:06.013Z" },+ { url = "https://files.pythonhosted.org/packages/39/73/d2fc40c043bac699c3880bf88d3cebe9d88410cd043795382826c93a89f0/cuda_bindings-12.9.4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:20f2699d61d724de3eb3f3369d57e2b245f93085cab44fd37c3bea036cea1a6f", size = 11565056, upload-time = "2025-10-21T14:52:08.338Z" },+ { url = "https://files.pythonhosted.org/packages/6c/19/90ac264acc00f6df8a49378eedec9fd2db3061bf9263bf9f39fd3d8377c3/cuda_bindings-12.9.4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d80bffc357df9988dca279734bc9674c3934a654cab10cadeed27ce17d8635ee", size = 11924658, upload-time = "2025-10-21T14:52:10.411Z" },+ { url = "https://files.pythonhosted.org/packages/ab/52/a30f46e822bfa6b4a659d1e8de8c4a4adf908ea075dac568b55362541bd8/cuda_bindings-12.9.4-cp314-cp314t-win_amd64.whl", hash = "sha256:53e11991a92ff6f26a0c8a98554cd5d6721c308a6b7bfb08bebac9201e039e43", size = 12055608, upload-time = "2025-10-21T14:52:12.335Z" },+]++[[package]]+name = "cuda-pathfinder"+version = "1.8.3"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b9/fb/f8e1890428f9f590b4beebd63b068aac1ce32a3331510c847b9f9a78f261/cuda_pathfinder-1.8.3-py3-none-any.whl", hash = "sha256:e29e59829c297a7a5233bd9cc71094fc5bddbd076951482670178f9eade39b1f", size = 62561, upload-time = "2026-10-02T03:20:23.712Z" },+]++[[package]]+name = "cycler"+version = "0.12.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c", size = 7615, upload-time = "2023-10-07T05:32:18.335Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321, upload-time = "2023-10-07T05:32:16.783Z" },+]++[[package]]+name = "diffusers"+version = "0.40.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "filelock" },+ { name = "httpx" },+ { name = "huggingface-hub" },+ { name = "importlib-metadata" },+ { name = "numpy" },+ { name = "pillow" },+ { name = "regex" },+ { name = "requests" },+ { name = "safetensors" },+]+sdist = { url = "https://files.pythonhosted.org/packages/59/32/b9c6a198812e2a7d2c2828a850dba384306f9af285eac23e35e89d5b008a/diffusers-0.40.0.tar.gz", hash = "sha256:49f112ce52ff6d332ab68afec01f79a53e6489b42cb69104444c98b4a2f64af8", size = 4886420, upload-time = "2026-08-20T14:30:40.923Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/db/df/ffb593ebed2a068d2d6be44261283f39a6b809c0fcdfdcafbd448cbeec77/diffusers-0.40.0-py3-none-any.whl", hash = "sha256:5b5da7c3ddb62152fa4afc577f02e050af688c797375c34fb2d01006da3f3541", size = 5911654, upload-time = "2026-08-20T14:30:38.422Z" },+]++[[package]]+name = "einops"+version = "0.8.2"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/2c/77/850bef8d72ffb9219f0b1aac23fbc1bf7d038ee6ea666f331fa273031aa2/einops-0.8.2.tar.gz", hash = "sha256:609da665570e5e265e27283aab09e7f279ade90c4f01bcfca111f3d3e13f2827", size = 56261, upload-time = "2026-01-26T04:13:17.638Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/2a/09/f8d8f8f31e4483c10a906437b4ce31bdf3d6d417b73fe33f1a8b59e34228/einops-0.8.2-py3-none-any.whl", hash = "sha256:54058201ac7087911181bfec4af6091bb59380360f069276601256a76af08193", size = 65638, upload-time = "2026-01-26T04:13:18.546Z" },+]++[[package]]+name = "filelock"+version = "4.0.11"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/d8/9c/925c4f62920e4200d573d2bfe5cfd1b993134c3aee5f9bd3b7c55e20297e/filelock-4.0.11.tar.gz", hash = "sha256:9dc453a1edd25626a6fc97c2cb1bd9f7e46345843d40b3181c071761fb9a5f7a", size = 253844, upload-time = "2026-10-05T00:57:32.47Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/4a/4d/2983a9fc0a412a09151299d1ec9eb7511e3d577f7213e19395fabebf9db6/filelock-4.0.11-py3-none-any.whl", hash = "sha256:1cbdc4ace7fb11d2f6d073f5c3d91537a23b3d58d2bf2fdffc12c6d717a589c6", size = 111688, upload-time = "2026-10-05T00:57:30.896Z" },+]++[[package]]+name = "flash-attn-4"+version = "4.0.0b33"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "apache-tvm-ffi" },+ { name = "einops" },+ { name = "nvidia-cutlass-dsl" },+ { name = "quack-kernels" },+ { name = "torch" },+ { name = "torch-c-dlpack-ext" },+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/0c/d8/f5f957549afcb25890519e7423df697b17e4f8f90df41fc721552558f6fe/flash_attn_4-4.0.0b33.tar.gz", hash = "sha256:fcd43af2f4bde45b19f4f601002d9250cc93f1908a74345a056479f1f0e1c9ac", size = 493675, upload-time = "2026-09-30T08:22:22.672Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/f0/07/0dffc2de0357396f077b909f10d2f25a25e177c3f881ba345b95d5fd183c/flash_attn_4-4.0.0b33-py3-none-any.whl", hash = "sha256:7ffbb0c2e2a03ee0ba7f00997d5dbcfcd0ab22cbcbccbe2c9195527583ce14e4", size = 522100, upload-time = "2026-09-30T08:22:20.844Z" },+]++[[package]]+name = "fonttools"+version = "4.66.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/87/b6/126c659ab7e0e03e01a5f5d223abf7b2c0691ae92718085a212a3924a2a3/fonttools-4.66.1.tar.gz", hash = "sha256:64967c6ddb0d4c610dfd8cb1485981b2d27972ddfb7d4bbbd9e199d2a089c450", size = 3694174, upload-time = "2026-09-29T16:11:53.706Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/06/1b/fcb22638f2f5918c855abfbab203701e4b03739953d26a59f3e6e59b8f30/fonttools-4.66.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:8526b2b7ec4db6b81efb83438be52b1264eda9a4994d867163cfe8c65581ce8d", size = 3097433, upload-time = "2026-09-29T16:10:07.869Z" },+ { url = "https://files.pythonhosted.org/packages/7f/0d/f51141407f9a64efc9fb39b94b0194c4a99c1ffff50834e7ca7a3f1cdd53/fonttools-4.66.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6946fe7bfb28590a1fd4061a17609c9a843952deb65dcf30d1fe725070c3e7a4", size = 2587566, upload-time = "2026-09-29T16:10:10.099Z" },+ { url = "https://files.pythonhosted.org/packages/75/c0/5810d73f9102eb1a08f26b8f7a6c22498622b43e05e684cd5ec602be8ffd/fonttools-4.66.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:09ae73bd219e1245debd8376077a0fa6e03175e255c4f51bae5f6a271bfe384a", size = 5416460, upload-time = "2026-09-29T16:10:12.182Z" },+ { url = "https://files.pythonhosted.org/packages/a6/6e/babde908b879a3b51ffc230919d06a804912559dd4cf8c94f3fa2af69fec/fonttools-4.66.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7b8ff9e0edbcee2fbf7dff0c41b9041c1901c26acf64e23adb67495012df11de", size = 5397326, upload-time = "2026-09-29T16:10:14.133Z" },+ { url = "https://files.pythonhosted.org/packages/e6/98/8522cc7a5e5ad64a2b2b6e9598489809ed4956c532b887c65b131b8500b7/fonttools-4.66.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:38ce8f5fbd5c17dd2153d47d7c8d4108f3deda3f2b4a79b60ddc470a58faded3", size = 5353857, upload-time = "2026-09-29T16:10:16.375Z" },+ { url = "https://files.pythonhosted.org/packages/15/f9/ab87d67c23178886e57f24397b3113b4ac35297f086467c2c4d4231671a8/fonttools-4.66.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8aed2bbcd6216253ef1b015763593365ee8084f621dfa53bb957c19d5e05f7cd", size = 5517604, upload-time = "2026-09-29T16:10:18.791Z" },+ { url = "https://files.pythonhosted.org/packages/d4/20/e126062610aea31919310b0b3de4d0bbe73ccbdcb3d0409cc52027db93ee/fonttools-4.66.1-cp312-cp312-win32.whl", hash = "sha256:9ea6c93091cbf83161a544388746a0911550bd98cb911faca3591cf5ead166ac", size = 2435084, upload-time = "2026-09-29T16:10:21.145Z" },+ { url = "https://files.pythonhosted.org/packages/f0/af/5c245a0587e5b7b3dd209f640b9f70d8e63404ad8dc93819ba578d685985/fonttools-4.66.1-cp312-cp312-win_amd64.whl", hash = "sha256:261d8dc95845e751f975fe8d6075600593ee253470d46d1b84801688051b09f6", size = 2486987, upload-time = "2026-09-29T16:10:22.924Z" },+ { url = "https://files.pythonhosted.org/packages/cb/f4/e410b8c913da5b3fdbb4d16db0f2d2a0952f59c4db8d52dcf2d421d82044/fonttools-4.66.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:53e5854ea8003efec34adc0863c18ce91da923018354d27366f7fee7db928d7a", size = 3095249, upload-time = "2026-09-29T16:10:25.261Z" },+ { url = "https://files.pythonhosted.org/packages/5c/6a/275108baf41d9f2f4d1d77cf5f1e22200fe47efd5099dafabc3eba0b6197/fonttools-4.66.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:60f5ea17aed4262630afa43f26997ceabd6417fa05dcedf54c665f5a29193e18", size = 2587288, upload-time = "2026-09-29T16:10:27.101Z" },+ { url = "https://files.pythonhosted.org/packages/db/e7/11e5e6beb7e336d80f0ca870ae080033a91ebfe34fd5390dbcf78f8df56f/fonttools-4.66.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1801fdad5600118327171e0e8aa79f7cc48831dd55ab36998c9de03bd5ffe6cd", size = 5389836, upload-time = "2026-09-29T16:10:28.988Z" },+ { url = "https://files.pythonhosted.org/packages/4c/1c/6ec22372362b03350fe3da7bf33491a07cc9a553a36dd2383b76ec1741eb/fonttools-4.66.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:83572afe48733bad7a4a9c11721d3a726c2e976d82b063fc9bdd049d76955abd", size = 5372059, upload-time = "2026-09-29T16:10:31.011Z" },+ { url = "https://files.pythonhosted.org/packages/4b/4a/cb7971f1c0f40f891028ee8c46dadc6897ef61e44aa925a23fba2ef06e2a/fonttools-4.66.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:08d8956e3ec990c75230d92f1630b215e8f3738c83a003421c22b31ebfd0ce15", size = 5332824, upload-time = "2026-09-29T16:10:33.563Z" },+ { url = "https://files.pythonhosted.org/packages/e0/86/563e671f1d43fa8ffb2518d7fe16630fb16c7faf0420cc39f8e80181f486/fonttools-4.66.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fdf4afd75c643e60ef4a96fe64fc8a9def27d2a542112332371a9e5066885f9a", size = 5490659, upload-time = "2026-09-29T16:10:35.788Z" },+ { url = "https://files.pythonhosted.org/packages/79/f7/2573ddfd256be6503458f8523e2893443e66257fc17f6055d7e0f0e721b7/fonttools-4.66.1-cp313-cp313-win32.whl", hash = "sha256:dbb7b950f8c02deaffb6968994691e8589d671b7ef8396bc9d5b5c0dfbb7292f", size = 2433450, upload-time = "2026-09-29T16:10:37.738Z" },+ { url = "https://files.pythonhosted.org/packages/d1/86/68bc2be04b83535607fbb70ebb2ba02380bf4286d79597c4515b7d247187/fonttools-4.66.1-cp313-cp313-win_amd64.whl", hash = "sha256:43d1284c1964666ee833f2badd3017dc138f53d4889043ffca66c5ce4188f188", size = 2485146, upload-time = "2026-09-29T16:10:39.772Z" },+ { url = "https://files.pythonhosted.org/packages/12/83/c745b210ec49379ebfe627e166b527f44671a1f6ec5e1e219d91caa8964d/fonttools-4.66.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:b18803cbdef248e7ee1be59cb277fbbe1da1faaa6f726fa5d3557904e6a3d967", size = 3099264, upload-time = "2026-09-29T16:10:41.998Z" },+ { url = "https://files.pythonhosted.org/packages/35/af/dd698f10bf0f743873077259e8a6fce075861dde3bb01eb22b2c4f7aefe8/fonttools-4.66.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:f08ab7f8461c37ecfdd29ad97fb0c0780b50501bd664bb0f46b6e83ed2b9d2a7", size = 2588769, upload-time = "2026-09-29T16:10:43.933Z" },+ { url = "https://files.pythonhosted.org/packages/c5/65/10b5caa2aa779e62411b67949bda9741d4d7532ba0b6dea647b715131260/fonttools-4.66.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7cf4f996f9b1cb549bff9ea4c50813988a26ec922c95cfa85c7e4f1270447e06", size = 5374278, upload-time = "2026-09-29T16:10:45.727Z" },+ { url = "https://files.pythonhosted.org/packages/6a/db/9ac5c6773feec1b40e57eac106d869886f66a1e44082d343ac1e1e1fb773/fonttools-4.66.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9261ef507f2dd74203443a472b65b5a26429eb378f975016dec7dc7305b24898", size = 5317826, upload-time = "2026-09-29T16:10:48.056Z" },+ { url = "https://files.pythonhosted.org/packages/04/0a/69beb11f6b714ac90ee73ad4600ac91d7dd4e1ce361d087c8425bb8472de/fonttools-4.66.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e1cde50b3ec84ca6fe63ca815de183dbecb88e8adf8ada82d8ea130ef12b2b43", size = 5316239, upload-time = "2026-09-29T16:10:50.201Z" },+ { url = "https://files.pythonhosted.org/packages/33/a8/7a77359e469d3a638df91d3e225cef4a3c1184c20e98381238042f7835fa/fonttools-4.66.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d8f0a8f16c4f3a5a87ca971de2631792d8cb4d570951f2000acf712f157d40db", size = 5449423, upload-time = "2026-09-29T16:10:52.337Z" },+ { url = "https://files.pythonhosted.org/packages/93/cf/ea0b2f1ef90431b1879d6e6c680a7fde497129cf511ab995ade0ff8e19a7/fonttools-4.66.1-cp314-cp314-win32.whl", hash = "sha256:b878c78b2af11b879bd4f26bb0d8bda2a4c64543fdd3f28efe2c80f97f043885", size = 2437673, upload-time = "2026-09-29T16:10:54.281Z" },+ { url = "https://files.pythonhosted.org/packages/b2/53/629dbb4a40c4a7b3de61442c6b4430d36ab6e0e8cf941c547f4fd66f3337/fonttools-4.66.1-cp314-cp314-win_amd64.whl", hash = "sha256:05aeb146451f37289f782c3c861f3d0f4b86c2dd2e4620b46683544c7406640e", size = 2489763, upload-time = "2026-09-29T16:10:56.262Z" },+ { url = "https://files.pythonhosted.org/packages/0e/59/342e5fce9438f88882524128d1feb0311d4014cb6f8bdeb4607fcc00713f/fonttools-4.66.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:66fad3b7874062c2a2692f0ae6dea56d24f01b778c7f191950ca3ff997e25a88", size = 3172931, upload-time = "2026-09-29T16:10:58.563Z" },+ { url = "https://files.pythonhosted.org/packages/50/92/96196ebfd02676f28fa9b3776d85e18281bca0c8450d7e214c40e346bf92/fonttools-4.66.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eef76d5796e604f9d6753fa6d323c4eb9f4e0e43f1dcca553f3e6914f1667b64", size = 2621937, upload-time = "2026-09-29T16:11:00.845Z" },+ { url = "https://files.pythonhosted.org/packages/e7/c3/3f4b761037ebc2e5597c52c218a9e95dbc4a2cab572828654f6004f422f5/fonttools-4.66.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c47299bca4b5acaaeb32100f77b944feea151de9ef1773365a410dc3d49b945b", size = 5546932, upload-time = "2026-09-29T16:11:03.126Z" },+ { url = "https://files.pythonhosted.org/packages/b6/d1/3f506cc79608becbc287785db8c44eb3f93079b49752266eb9f57700ecc4/fonttools-4.66.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:dfba62cc93199ba62c376f90f2a9147d92730d301e44f88e013e50ff5edf6193", size = 5353546, upload-time = "2026-09-29T16:11:05.394Z" },+ { url = "https://files.pythonhosted.org/packages/6d/27/6534d84430ba1641185f8a0c9e2c7ecd395b15ff98f96967e3fb3c728b09/fonttools-4.66.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2c7340497cf53490293e0c2b61011e0191633022ede0a0a964a68157a98b0fb4", size = 5414313, upload-time = "2026-09-29T16:11:07.618Z" },+ { url = "https://files.pythonhosted.org/packages/27/17/831ceca06d78855b11dc203b0e3ba5e6fd8a63a71ee0343ea8bd367fda55/fonttools-4.66.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c666fefdd5613a0e99aa4516e6ff4ef87aa86cf1c7ba12a73550f4770e46b750", size = 5449661, upload-time = "2026-09-29T16:11:09.997Z" },+ { url = "https://files.pythonhosted.org/packages/2e/e4/21dc18bcbc8d0354814f6ea58af3d76d3bcd9b0d7246df454cb9e00c1740/fonttools-4.66.1-cp314-cp314t-win32.whl", hash = "sha256:2ce4c93160535761f22c80b2afbc96cabc09855363a5d1a5554265b8a4c85901", size = 2471431, upload-time = "2026-09-29T16:11:12.237Z" },+ { url = "https://files.pythonhosted.org/packages/b5/f4/eb0489e7d58ac0d3387584afc7f3e505f60f60fe4b4f5a0274f013d444a2/fonttools-4.66.1-cp314-cp314t-win_amd64.whl", hash = "sha256:b13c8c541ce0b794add3211b3641cc0e113d707f73e06235e6fe9731bd7c45a9", size = 2521288, upload-time = "2026-09-29T16:11:14.52Z" },+ { url = "https://files.pythonhosted.org/packages/eb/95/235679d5fe4265c251418cd02321de069281a700415389e14c4cce442e3d/fonttools-4.66.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:2d637468dac23aac0e223bd52e66f8faa3b0dfcef57435460fa2107e830226cd", size = 3093646, upload-time = "2026-09-29T16:11:16.809Z" },+ { url = "https://files.pythonhosted.org/packages/ad/2b/7bcd4046b3b5644c563059cce6421b488fe57f65c59171ef01ed11b66d3a/fonttools-4.66.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:90de3477394c73481d27d2b86091c1c736053ee13ff52c42f0e151948e8578c6", size = 2587335, upload-time = "2026-09-29T16:11:18.721Z" },+ { url = "https://files.pythonhosted.org/packages/ff/b6/05a093ec04fa2ad449ecc67638aad0f8d60df380df2471b68b549fe2a4b2/fonttools-4.66.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d84ac0bf776b68396185bd919dd29e633d94300660335efc40b55b294b886903", size = 5371509, upload-time = "2026-09-29T16:11:20.742Z" },+ { url = "https://files.pythonhosted.org/packages/65/a9/55effa83e64b9ff4f379d9186236d50d03f6d4770d8346805c1b6620c370/fonttools-4.66.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0dc6fd99cb8c30941036308b148da9432640442a6f26f36d71dad9be24cbd0e9", size = 5334853, upload-time = "2026-09-29T16:11:22.928Z" },+ { url = "https://files.pythonhosted.org/packages/af/a8/44bb4021c585b76f8e480116e1f3fca62eb7d88fe5794e2ec84c10d2da76/fonttools-4.66.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:d3b5403e82d0c7659ff1d9f956e29a3a68d094f043e9f5bc0442796fc3a4fb58", size = 5311704, upload-time = "2026-09-29T16:11:25.393Z" },+ { url = "https://files.pythonhosted.org/packages/63/dd/dd482902fb7fd8b71d3b6508431a57938b5e41b29bf6fb252ed3cfce065f/fonttools-4.66.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:b8b71db96d605784e2c5ebf0788a406018ea8fdd80338491f4c83613d5cd1fec", size = 5459477, upload-time = "2026-09-29T16:11:27.536Z" },+ { url = "https://files.pythonhosted.org/packages/3c/a5/07611ba4d4b298b90908cb15005a6d730c334e25548f5175a09907b2eea6/fonttools-4.66.1-cp315-cp315-win32.whl", hash = "sha256:668f092bc0de8902167df6a0d5c5aedc3b4f9e43cf88eea92e9b46a2bd3968f5", size = 2436532, upload-time = "2026-09-29T16:11:29.653Z" },+ { url = "https://files.pythonhosted.org/packages/42/a5/5c39a05bf7c518743c6072cd75b63cd27285c58a70b1086e923fc071fb84/fonttools-4.66.1-cp315-cp315-win_amd64.whl", hash = "sha256:7f49f2834f5d006fe0f3bb10fec73b261806c50941f0cfbc08294074ffc32210", size = 2488769, upload-time = "2026-09-29T16:11:31.967Z" },+ { url = "https://files.pythonhosted.org/packages/c0/a6/1205f7a7dd746581498457e55bfbcdfbea87105a454a7b3465259816bb79/fonttools-4.66.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:71c7ca1b5f46f5dd549f56b47d47c0b709217675c23d3a7bc6aa1a69b6d9bbae", size = 3164459, upload-time = "2026-09-29T16:11:33.897Z" },+ { url = "https://files.pythonhosted.org/packages/33/42/915ff8f3c5d3bc9877007e708774e52f7ec431f9e59f607a86e50fe1864c/fonttools-4.66.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:2d320483928c7831f0139ecb361954a26b2e2a8995681200155835dd8cd4a7d5", size = 2618183, upload-time = "2026-09-29T16:11:36.067Z" },+ { url = "https://files.pythonhosted.org/packages/0b/c6/cae2f6ebe38f8927a8d0978a349b202047268016344991a14ae978c2aee3/fonttools-4.66.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2aeb745f2664eb811026997c95628071137a777ea2ad296deec9cb393f0b23cf", size = 5524861, upload-time = "2026-09-29T16:11:38.099Z" },+ { url = "https://files.pythonhosted.org/packages/f2/14/1941629956b526d6fb46ee764cf0942221f0238581adb94de0ac229fe67f/fonttools-4.66.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3087a430722aba8de429c2539fd2a58a9cf05238cdfefd8626460001052ca878", size = 5346561, upload-time = "2026-09-29T16:11:40.366Z" },+ { url = "https://files.pythonhosted.org/packages/62/1f/b7e7f4757dcae74285f4ecd8453d870d63c7ba38a3d46bd9175a124c350b/fonttools-4.66.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:058cd823b80bac59e64dfad9e3b6fcd677852f9a3804971bbf6b48cc611e785c", size = 5392826, upload-time = "2026-09-29T16:11:42.653Z" },+ { url = "https://files.pythonhosted.org/packages/d9/71/76db3cbdcfac0e9b3ba26e1e6e8740040cfe5f7b5199dfb9b854bc8da2c3/fonttools-4.66.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:56d41d650cb8fc6cfe1d85ed7c62a0a56cbeed07bc65ca795475b914d401312a", size = 5439233, upload-time = "2026-09-29T16:11:45.088Z" },+ { url = "https://files.pythonhosted.org/packages/10/37/cdc6b213c9fbabdf36e9169f845e8596b419c7e0cceba48e5594b952d2cf/fonttools-4.66.1-cp315-cp315t-win32.whl", hash = "sha256:c258eba62260beb33c110b03a6912cefa3635239c4ab5615b7225fb6f7b85238", size = 2468614, upload-time = "2026-09-29T16:11:47.363Z" },+ { url = "https://files.pythonhosted.org/packages/fb/35/e2247e7e29e8da213e02691a6ada7a30592c7bc0d1db8d2786ebb9bea138/fonttools-4.66.1-cp315-cp315t-win_amd64.whl", hash = "sha256:5de5d80fbc0e50ff794c244e8fb7afd3eadfe0fa232ba8b162b8c551df22fcb4", size = 2516977, upload-time = "2026-09-29T16:11:49.425Z" },+ { url = "https://files.pythonhosted.org/packages/f6/10/d45b74135d5d642cb3a4fb0a957c1613ef93de4c8548671dfc3a5bf38299/fonttools-4.66.1-py3-none-any.whl", hash = "sha256:7234ae9e28db64273fbbfa72caebd0a97e3bdba6b05064114741b9539ef339d0", size = 1202222, upload-time = "2026-09-29T16:11:51.678Z" },+]++[[package]]+name = "fsspec"+version = "2026.9.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/77/cd/9be253869fc42e764de7f3dedd6969af7d44ff9c3375214a3442a6f3fc08/fsspec-2026.9.0.tar.gz", hash = "sha256:0f08147951c8cb31d844c3547d631053b127863b60be04cf06e121333ee0e2fe", size = 333545, upload-time = "2026-09-18T17:50:42.825Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/6c/c0/a98505f18594f1bce828bb159cec0fcf9860562f1a2c85913409fc8f3d9e/fsspec-2026.9.0-py3-none-any.whl", hash = "sha256:8dd6e646e99ea382bd85f97a45e6b526a442d79423a7dc673f1e2756d05fcb5f", size = 221738, upload-time = "2026-09-18T17:50:41.341Z" },+]++[[package]]+name = "ftfy"+version = "6.3.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "wcwidth" },+]+sdist = { url = "https://files.pythonhosted.org/packages/a5/d3/8650919bc3c7c6e90ee3fa7fd618bf373cbbe55dff043bd67353dbb20cd8/ftfy-6.3.1.tar.gz", hash = "sha256:9b3c3d90f84fb267fe64d375a07b7f8912d817cf86009ae134aa03e1819506ec", size = 308927, upload-time = "2024-10-26T00:50:35.149Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/ab/6e/81d47999aebc1b155f81eca4477a616a70f238a2549848c38983f3c22a82/ftfy-6.3.1-py3-none-any.whl", hash = "sha256:7c70eb532015cd2f9adb53f101fb6c7945988d023a085d127d1573dc49dd0083", size = 44821, upload-time = "2024-10-26T00:50:33.425Z" },+]++[[package]]+name = "googleapis-common-protos"+version = "1.75.5"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "protobuf" },+]+sdist = { url = "https://files.pythonhosted.org/packages/8d/2b/6ce81972d5c8cab9705fddce3153be63222d9e12fd96f8baba5038a744dd/googleapis_common_protos-1.75.5.tar.gz", hash = "sha256:c7a866fc34ed29a3b10af627a4b9b1dc2433313ca6e959f0ae4feb132047ed72", size = 156513, upload-time = "2026-09-29T19:26:14.863Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/65/b9/6b29500a1c581ff4d77fd83c6568d068bee06f1b139fb6eb0a4f2d4bce8a/googleapis_common_protos-1.75.5-py3-none-any.whl", hash = "sha256:d7285525c23039db98f2463e6d5a4f9b958b94d497f03a844ece3259c4e72d5d", size = 307737, upload-time = "2026-09-29T19:25:48.735Z" },+]++[[package]]+name = "h11"+version = "0.16.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },+]++[[package]]+name = "hf-xet"+version = "1.6.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/1b/ab/522a2ab67f27971a9d48ca666d4fca85ef7d5282d142e31fd087e27b1bbe/hf_xet-1.6.0.tar.gz", hash = "sha256:2e58454a340b3556dfa4972d5451aff4fba8dd42a236600ba1a1d2b1514f0fef", size = 920527, upload-time = "2026-08-03T22:33:13.243Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/41/62/3c062f593bd92ef4e77a0ef39541e3d82a0a1d3947c8a777a02a13a27828/hf_xet-1.6.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:70cbb9c896901600128cb9b6f06e132954fbede1db30f31f7c6c63f84cb7c31d", size = 4074584, upload-time = "2026-08-03T22:32:47.364Z" },+ { url = "https://files.pythonhosted.org/packages/bb/1e/c0ad437dd267a8e435bef594acf781bbc3874ff0b6435b4962d03ecf7cc4/hf_xet-1.6.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:23379c2f9ec8696d952b16414a2bae72cad86a52df869b050698ba60f538c675", size = 3867381, upload-time = "2026-08-03T22:32:49.049Z" },+ { url = "https://files.pythonhosted.org/packages/d5/ee/7c0d7b6ab336167531b1c30af2af003f054af4c749becbd7209ae33a77c3/hf_xet-1.6.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f2f7278c05c22fd60cb436cda1269649b3e81db65ecdc8496e5e164aa4143e7b", size = 4453982, upload-time = "2026-08-03T22:32:50.568Z" },+ { url = "https://files.pythonhosted.org/packages/63/06/ad8eab1c9525246650cbaa821caa3cdbaca734ab1a5b8c91bea09cbd8d69/hf_xet-1.6.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:948f15d3a9545cfe5932f6bd8b440f6ae630aee108f14b7bd6c561f7c2dcc522", size = 4249445, upload-time = "2026-08-03T22:32:52.391Z" },+ { url = "https://files.pythonhosted.org/packages/d8/26/1eee8aedb0dafc1ab9717dc9ac602cde33361b232dc06803f1f6ed18b58c/hf_xet-1.6.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5153e6bb103ad49d6ea9f1b2e230db5a2ea32551ad09a706d2f61d7c7c80d80e", size = 4451099, upload-time = "2026-08-03T22:32:54.114Z" },+ { url = "https://files.pythonhosted.org/packages/67/57/0b88af1f194ab6c9c650547d9cc06bfeaab836ae4dcdb331676bfb8be95a/hf_xet-1.6.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:35cec30d75c6f9eb9c16a77cef68e85a103b72e24d4b473714ec9ff06428bab9", size = 4664712, upload-time = "2026-08-03T22:32:55.547Z" },+ { url = "https://files.pythonhosted.org/packages/53/a0/26b717a9d1840e8abf48dcec64b5ed8fbe472671d38ad28d30e147132b33/hf_xet-1.6.0-cp314-cp314t-win_amd64.whl", hash = "sha256:5789835d7c6bc9436962853192082374297fb72d7eff7e7762ec25ceb7e25338", size = 4025906, upload-time = "2026-08-03T22:32:57.391Z" },+ { url = "https://files.pythonhosted.org/packages/49/f6/4a9966633c6fef83af997e2cff68ec1963676d412bdfd096df2a93b8e185/hf_xet-1.6.0-cp314-cp314t-win_arm64.whl", hash = "sha256:75765820ce4700db3750c94acc8fe27c5fae4c9ec000a0dbac3ca082acf97765", size = 3849221, upload-time = "2026-08-03T22:32:59.123Z" },+ { url = "https://files.pythonhosted.org/packages/a2/50/7afa2c9c787405864fc47a0d1bbc02c62e9101947ed43c1f43899fc7d91d/hf_xet-1.6.0-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:633dc0cd71d32da58ab8c03ad38e2fac452c15c2b0a2866ebf6ededfe0a5061d", size = 4071729, upload-time = "2026-08-03T22:33:00.721Z" },+ { url = "https://files.pythonhosted.org/packages/4b/69/55b8dcf636142ae660fec1869fcac14c4da2e8412e14d6eee1523be77e9f/hf_xet-1.6.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:f0906082d9932ae0c0057fa194041c22b4e2cdb46b2592ef3b91f020d62a081a", size = 3876287, upload-time = "2026-08-03T22:33:02.251Z" },+ { url = "https://files.pythonhosted.org/packages/67/4e/a28359bf1c1ecf11eba22123168c138698f7cb576ac678f5a2e16cd5da08/hf_xet-1.6.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d62671bb130879cef0ee4c9ebe47a14af6c66ec53e6d84dc15936e5ffdfac82f", size = 4464663, upload-time = "2026-08-03T22:33:03.802Z" },+ { url = "https://files.pythonhosted.org/packages/9a/69/1f0cbc2fb22ae6082d094f743d1b8945a3f36f6089cb95f42b7ee348cda7/hf_xet-1.6.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:0e6e21fa3cdfcdcd76748564bf593870a5e013f47d97cf10aed63aa222cff5b7", size = 4262538, upload-time = "2026-08-03T22:33:05.287Z" },+ { url = "https://files.pythonhosted.org/packages/d1/3a/4f4f2301ade26e404462d3336fa11f7958d914cabbabdd6e03c3c5d5658c/hf_xet-1.6.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:4fc74352a17015bd0ee90038bc9efe38db894cde45f268b6712b04fce8cd0acb", size = 4460520, upload-time = "2026-08-03T22:33:06.81Z" },+ { url = "https://files.pythonhosted.org/packages/ab/5f/311725e2a905534dfee2dcb5b08414f249147f1f12252bfc2bd24caa075c/hf_xet-1.6.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:8fb4f71cba6129110c3374a33f919001ff130488fc23553698e34cc1c2a1198c", size = 4675937, upload-time = "2026-08-03T22:33:08.616Z" },+ { url = "https://files.pythonhosted.org/packages/98/b7/8c59a66d15205024662f1d66968136f13893f96df1ddc5087e2e281fc95f/hf_xet-1.6.0-cp38-abi3-win_amd64.whl", hash = "sha256:fb4fadde1b2b70bf4c0c14a6dccbe7194b1c28947fefd5bbe3fed9d940676c3b", size = 4033128, upload-time = "2026-08-03T22:33:10.171Z" },+ { url = "https://files.pythonhosted.org/packages/73/63/ca511b6f802f28cf3489b280fe77475bcca8de85e81a6299d7916b5b5555/hf_xet-1.6.0-cp38-abi3-win_arm64.whl", hash = "sha256:3dc3e35441ba395006af5aaacc40ef2e603c51ef46c3530b9156185f00935ea3", size = 3859359, upload-time = "2026-08-03T22:33:11.725Z" },+]++[[package]]+name = "httpcore"+version = "1.0.9"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "certifi" },+ { name = "h11" },+]+sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },+]++[[package]]+name = "httpx"+version = "0.28.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "anyio" },+ { name = "certifi" },+ { name = "httpcore" },+ { name = "idna" },+]+sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },+]++[[package]]+name = "huggingface-hub"+version = "1.33.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "click" },+ { name = "filelock" },+ { name = "fsspec" },+ { name = "hf-xet", marker = "platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" },+ { name = "httpx" },+ { name = "packaging" },+ { name = "pyyaml" },+ { name = "tqdm" },+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/25/2a/484d112c0d8fc5f665d7b65137ac9cdb2953c982391598c3597968a12ee7/huggingface_hub-1.33.0.tar.gz", hash = "sha256:367be21a201db9523eddf8aeac7048f2602c1b308691c97640d5e72ed188007e", size = 1043548, upload-time = "2026-09-24T09:49:29.971Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/fc/16/963096d224b80909432dc16561a615fd33d2d13beef3ce4c63fa25e40867/huggingface_hub-1.33.0-py3-none-any.whl", hash = "sha256:04e434b06e100eddbce9a6e817d72693a7884b10a79bd67ab48080d5c07eb899", size = 846435, upload-time = "2026-09-24T09:49:28.059Z" },+]++[[package]]+name = "idna"+version = "3.20"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/f5/08/8eea9d4b8302028f3abb2c0813953f7aec26d33b7a8960ed760e65ff29fa/idna-3.20.tar.gz", hash = "sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44", size = 216463, upload-time = "2026-09-17T14:11:04.752Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/58/a2/bb081bab032533a855d44de1d56f8e8426114ff1ba5d1f07a438a0a654f8/idna-3.20-py3-none-any.whl", hash = "sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c", size = 69583, upload-time = "2026-09-17T14:11:03.168Z" },+]++[[package]]+name = "importlib-metadata"+version = "9.0.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "zipp" },+]+sdist = { url = "https://files.pythonhosted.org/packages/6f/7e/1e7e8dc30634b93ebb3d58a3dea569ad146e656218d3960ab04f62047b29/importlib_metadata-9.0.1.tar.gz", hash = "sha256:ab830580bc0ef3db61ce8fae716389e5462b67e033018bab6d8f80ef17172f99", size = 59124, upload-time = "2026-08-28T15:30:34.646Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b3/55/ecca97ae19075f1fac62def77731e7f535e6c1fb8f92ff08160c5e6dade8/importlib_metadata-9.0.1-py3-none-any.whl", hash = "sha256:bba5600596a7e21f3eef53281cf28d6a5195634d2f2b78ff9501a3272c6eaab0", size = 27920, upload-time = "2026-08-28T15:30:33.433Z" },+]++[[package]]+name = "iniconfig"+version = "2.3.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },+]++[[package]]+name = "jinja2"+version = "3.1.6"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "markupsafe" },+]+sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" },+]++[[package]]+name = "kiwisolver"+version = "1.5.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/ba/07/bd78e6a8fae171ea041ef5bba3ed21a003522fa088834b069b1909981f30/kiwisolver-1.5.1.tar.gz", hash = "sha256:f1303ef2eec81262a4b708c3e858afe58d7c75ad91c1c05266eda7673369859a", size = 104395, upload-time = "2026-08-28T10:28:27.153Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/6b/9b/65b302742389c6f96f2956bef5decf26011309feb2fc5d79613af18adea4/kiwisolver-1.5.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:63fb7294b768f444eb4b068965f2662f28c2fd4161e23bd60fcf3ff27b74c046", size = 123876, upload-time = "2026-08-28T10:25:27.44Z" },+ { url = "https://files.pythonhosted.org/packages/71/74/c21f339956f6f691b2ed7e31d5f3ae767304df6c460192739fc830853051/kiwisolver-1.5.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:0ebdef3eae5336568147c39a55be6a2036ffde53faa9ca2d978989ae7c2da12c", size = 66487, upload-time = "2026-08-28T10:25:28.728Z" },+ { url = "https://files.pythonhosted.org/packages/84/e5/bdb34e21523e01dceda064d63713f3bdec91388af24fba1eca7ea5e85864/kiwisolver-1.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1798e83840c3f627246104c4d8a9639c60fa068adf9ce92b61791781fa8a68c1", size = 64660, upload-time = "2026-08-28T10:25:30.071Z" },+ { url = "https://files.pythonhosted.org/packages/fc/f4/dadfec469313c7f428efa7e84b4aba9732f813c13ea7131a24b7b008ef57/kiwisolver-1.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:34633ecf50d16187ab8e5528b7a2530f2feb4e23f300db4672538b51cfc5cd38", size = 1477929, upload-time = "2026-08-28T10:25:31.495Z" },+ { url = "https://files.pythonhosted.org/packages/6f/35/09c58daac34e6f6ea5c6dee0094b422118e5a7c265586008a95fd135ac5f/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d27c2123977cb9269c30a49ba45f03a4323017ef693e19db4ec9dbe1299a3002", size = 1278499, upload-time = "2026-08-28T10:25:33.375Z" },+ { url = "https://files.pythonhosted.org/packages/19/32/739765e24fbad29d13f83e546ea4abc215a78cea9d677ca09025b027724d/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6a797a1cefc8b9c93170db580337e1fe3d011ad18b1299943231279406342048", size = 1296677, upload-time = "2026-08-28T10:25:35.059Z" },+ { url = "https://files.pythonhosted.org/packages/df/32/03304d1010e2cc45e5b3b52cef7e43fed3a2a5cd6c87a89b4a88e1d85b5d/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2551cf9917af48ee7c4b29cc82320489508cf96fd26a51f6fc124de661cd44c7", size = 1346037, upload-time = "2026-08-28T10:25:36.705Z" },+ { url = "https://files.pythonhosted.org/packages/3e/57/4c49377bfd274450dd72ecaa13eaac32ea804a03363e4d1db0c5aa999ceb/kiwisolver-1.5.1-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:38f6e0deb4d0a4615efe0c4efc5990b06ae450ab50a0b321c0b078b6d238c083", size = 988248, upload-time = "2026-08-28T10:25:38.299Z" },+ { url = "https://files.pythonhosted.org/packages/cb/c3/38df144a08b6c5d75ca4504e5cc3141bb3bfef64c04f4ef48204f42711b6/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bfd1de989b3330420e29de39352f5c049905c9e3ee67233a50d550e3d652c148", size = 2228722, upload-time = "2026-08-28T10:25:40.038Z" },+ { url = "https://files.pythonhosted.org/packages/e7/11/3221838a89cd64d9b386353e000cd8a296069a20fbe3584507fdfd5bebae/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1209042a623ddfda5497e4066c7b77651dde8e1d3a9dd97599dc7e97f3b9b78c", size = 2325216, upload-time = "2026-08-28T10:25:41.699Z" },+ { url = "https://files.pythonhosted.org/packages/83/d4/075c219230697bb5db910d37262b9bacf880f92b4811a02ab81ed073a253/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:26e8268480be5061d509e29669d59103c067a26377a56491630ece11762e3858", size = 1977689, upload-time = "2026-08-28T10:25:43.559Z" },+ { url = "https://files.pythonhosted.org/packages/bb/08/1d219c3c2dd960983d0d4da623d916e9de6385df2b0bab3d1af0e9b8fccc/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:d79308fa689fac89cbcfbd4dbfc80b5f95c54c5a7fd4d194be221f9d33d026e6", size = 2491443, upload-time = "2026-08-28T10:25:45.242Z" },+ { url = "https://files.pythonhosted.org/packages/ba/d3/024208ec1079d273f1047468d1bdffbf38bb75b7b268090fd3a0301b9d9a/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b03af77d77e50edba2030fd5f7c352ff209314b09030a3cba7c14edf9a09a444", size = 2295200, upload-time = "2026-08-28T10:25:46.984Z" },+ { url = "https://files.pythonhosted.org/packages/6e/7c/7b210498f9f92e1cd7855f260fa69ef056881087b199ee20c208f0e4189a/kiwisolver-1.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:06a6917674de9e0fe3f66f5430787f59a9f2ddb64af9b714eaec547e29ef5c19", size = 70748, upload-time = "2026-08-28T10:25:48.444Z" },+ { url = "https://files.pythonhosted.org/packages/94/61/ef0daa157c8bb23672f7423e0d14c39db1dc6ef8ed47e6bc54c9c1bef3bf/kiwisolver-1.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:ad8b9671348d7c8716715652ae11f85ed0eb99e265a2df2ca490577d69860b2c", size = 68324, upload-time = "2026-08-28T10:25:49.81Z" },+ { url = "https://files.pythonhosted.org/packages/08/c1/88018321d976f53c421e379c43bc6993e70ce0c8a3ec5edc4bfe102257f6/kiwisolver-1.5.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b6ae6a0328f0bc035741820fdeecdcd67bf4694eee03972e843663107122f450", size = 62272, upload-time = "2026-08-28T10:25:51.02Z" },+ { url = "https://files.pythonhosted.org/packages/85/d2/712bc17ea4f1d216034928069d612defbc6c95a471c55a7203a39faecb1a/kiwisolver-1.5.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:886fc26012f0e8b5f69d1cfe6d711f6b11f194621539bf8e6bb1c25c5dc82724", size = 64481, upload-time = "2026-08-28T10:25:52.22Z" },+ { url = "https://files.pythonhosted.org/packages/1b/e6/6c5380d676f43b6d918033962ea5e72360ca69e5a404154bc496b598ffdb/kiwisolver-1.5.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:aefe930d113798330e9462f7874542977869c0613cba3262e2de3a8d5dee8f3a", size = 66260, upload-time = "2026-08-28T10:25:53.387Z" },+ { url = "https://files.pythonhosted.org/packages/92/6a/7087f5822cc8bb272679641404b1966a42504dac9ee74e2b33840475a0aa/kiwisolver-1.5.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a5ca5aebae78a0bc13c1943af4af615d4966c5b650b05d5aa83b50e427196fee", size = 123876, upload-time = "2026-08-28T10:25:54.644Z" },+ { url = "https://files.pythonhosted.org/packages/5c/4b/9f385087ca09ee5ab9c09c6832561a7d2f7c78d3e5661d511e669f70e439/kiwisolver-1.5.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1ed0f5e49d0ceff8b72190824d9e59c062fbbc02c231b853112c78474b3f5ec2", size = 66487, upload-time = "2026-08-28T10:25:55.899Z" },+ { url = "https://files.pythonhosted.org/packages/47/8b/40d33ffd2f378094ed462e9a9a0907e59d4de9845e65a59561272da350d4/kiwisolver-1.5.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:77a4c8187a5948d7f8795adb765a3c7b553d07d86d88e43038fc32fc1fb9a3f3", size = 64673, upload-time = "2026-08-28T10:25:57.048Z" },+ { url = "https://files.pythonhosted.org/packages/ab/43/86aacc027959108b4c66eeae8b73cedb057dfa6eb3a335d05ad65197081c/kiwisolver-1.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:74ad5c3dad54a4641b4c28cd15ded70899d04459c6c7aeacafea716be97cce6d", size = 1477992, upload-time = "2026-08-28T10:25:58.479Z" },+ { url = "https://files.pythonhosted.org/packages/ed/40/b1d0369048c79733a32c8abb0f2718532e6630641368e33a81384246e844/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:21e46b23a2da695c364124817bc01d970effd5483147f8d66a6a7167e3f6b851", size = 1278821, upload-time = "2026-08-28T10:26:00.121Z" },+ { url = "https://files.pythonhosted.org/packages/61/a1/fa71c1792272ff9461432715ae60ffb7e11a4d7ac3bf68961b9cab6c60cf/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:75d9b1cf8258462dbdc1eeda718c96ea7f079324c09067f6daabfcf37712b7fe", size = 1296805, upload-time = "2026-08-28T10:26:01.868Z" },+ { url = "https://files.pythonhosted.org/packages/a3/49/3f0bd94af8e06ecc47eb834b195a06f05d48711ceb2352c56d6835160f0e/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8fca690b00c4c48f6c2a547b0160ed511357093a4e4c9b47e0fadf3128066d89", size = 1346109, upload-time = "2026-08-28T10:26:03.59Z" },+ { url = "https://files.pythonhosted.org/packages/a4/44/3afe6ef9cf06d61220953a8963e94eca978491be1d9547cb01d82a1efa08/kiwisolver-1.5.1-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:876bbfd276473d3daffe30e8c975df4ed9429967b41a6cb362dbb5155b6f13ad", size = 988252, upload-time = "2026-08-28T10:26:05.306Z" },+ { url = "https://files.pythonhosted.org/packages/e4/30/a12bd7a7285a211e1747c3eec77b8c614dbfcc1dad942f7611a1a6921ae5/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f942903fde7363d1d879057ec5de01310efda2597161784d752fa9953a01a71a", size = 2228846, upload-time = "2026-08-28T10:26:07.312Z" },+ { url = "https://files.pythonhosted.org/packages/a1/6b/233e2958abf0dab7b18d07e52f286e02e519d7651bfbbe97af9347564109/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c90d3022d8a94778939cda8638c6c8da8fa757b8958dad7ec868ce29c87681b8", size = 2325583, upload-time = "2026-08-28T10:26:09.093Z" },+ { url = "https://files.pythonhosted.org/packages/42/8e/7673060a27b01405b580058510adef34687069d229800239f5e44682d4d0/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:8a34616dc2521cc8dc1d7d081734da63539f021ac0450ce950908340c6e7aa2f", size = 1978221, upload-time = "2026-08-28T10:26:11.127Z" },+ { url = "https://files.pythonhosted.org/packages/3f/7b/1b882fc1a8b4a0bb8084e7d1d85004116d08c92c0705d31f2928dec607f2/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:8bf4df63592c2a66b4f8edc5df2544998c288aa02f96ce0acd880cd1de8c8127", size = 2491819, upload-time = "2026-08-28T10:26:13.348Z" },+ { url = "https://files.pythonhosted.org/packages/39/9c/426deb49e62c5f69464b64bbeca064d3b758a7506b8913d986ef34f4619c/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d09037ca068d784ebc4aec290ef952ca27ac15dd9c0b5801a88c6e1096b83e6b", size = 2295520, upload-time = "2026-08-28T10:26:15.042Z" },+ { url = "https://files.pythonhosted.org/packages/f5/22/deabbb3ad6d918d74b7831b2d8ae7151b09d21c87974e5ee8a456f58c94c/kiwisolver-1.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:dc23390afe9f4ef9ac3bcc72a03a56eebbde03f4c571a32cb38f859cff9a6524", size = 70758, upload-time = "2026-08-28T10:26:16.504Z" },+ { url = "https://files.pythonhosted.org/packages/b9/71/02fa5c2fd92068bb8952847e70ee6c5cb280e7febe11653d17812acc53dd/kiwisolver-1.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:186884a58486651e3c217b6acea0a53eaa9498fdd472057c46f2f0fb5c25aad5", size = 68329, upload-time = "2026-08-28T10:26:17.658Z" },+ { url = "https://files.pythonhosted.org/packages/dd/87/2d5dfad0daf17dcc18d98c48ed2332fc3f051cf599e60be6182a30dd4cf1/kiwisolver-1.5.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0324cd2567259b7a095f6cf18a52b0ffc6f3de9e69528ff1bc0e7a37bd43ff1a", size = 62337, upload-time = "2026-08-28T10:26:18.778Z" },+ { url = "https://files.pythonhosted.org/packages/08/c8/83e1624f15d6262b470dbcc80b09979fd4d5b2ea3ddfc6b6e3327e235726/kiwisolver-1.5.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:74ea337e0ec3f6f342a36a4f1b5cd94dd9affddcd28ba9aae2905af932ee8c6b", size = 64513, upload-time = "2026-08-28T10:26:19.909Z" },+ { url = "https://files.pythonhosted.org/packages/c9/2d/827ec30eb07f528c08d8459ffb318ae91a56d793ee8acbea8b491f0ff906/kiwisolver-1.5.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ee9df1f0d77b9c6e94f4ac0fec533fbddd5ea3a327807f18d7b069ae019ded80", size = 66287, upload-time = "2026-08-28T10:26:21.078Z" },+ { url = "https://files.pythonhosted.org/packages/53/11/5c43a562529dad8def4b81e5e1877c612a7e0298105a5939b3b409d2079c/kiwisolver-1.5.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fc271a6f0a2126958f4090e5507b9da5848927dae331f8f763bd4aa642b3d2cd", size = 123940, upload-time = "2026-08-28T10:26:22.475Z" },+ { url = "https://files.pythonhosted.org/packages/64/db/9bd6c505c95128c258a55236bfbb3a7a3fb6023f863316b6d7d9f3c69052/kiwisolver-1.5.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:9b3092d8992a1d69b7a59c3e39f35e1b9be327a17f68a7c35fc17329e337d6f2", size = 66493, upload-time = "2026-08-28T10:26:23.743Z" },+ { url = "https://files.pythonhosted.org/packages/e1/f4/b3007a3ed5c9be73f81161140684cf7d9bdb9c4b632f5f484d2a1c713fb9/kiwisolver-1.5.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c2306e8bb53601979fcb3fa09cc65e031876d9ae01eff2fcbcd7a84ef94d5bc1", size = 64720, upload-time = "2026-08-28T10:26:24.95Z" },+ { url = "https://files.pythonhosted.org/packages/a1/13/08188f0cafa3a800403e4ff62b9aad4e7a17f9c4c7e080dc8f18c64794cf/kiwisolver-1.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:18a0cfb124546a4c2e6087c5f3029c7f44b37c85b142e0ced71f73a7599ac208", size = 1475867, upload-time = "2026-08-28T10:26:26.393Z" },+ { url = "https://files.pythonhosted.org/packages/8a/3e/053bdc3c9abdb8f2606225eda398adca25c0c91ab90add8222a69db65ee0/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:34ec467940442c9943016fb2d4c81d1ba84351eeca2f1a78f8bc87f1ba0d414c", size = 1282865, upload-time = "2026-08-28T10:26:28.118Z" },+ { url = "https://files.pythonhosted.org/packages/5e/64/a44c341b36b610588cc2f1e89b3cae072a3119aa8be578e90987cd640751/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a83ee7107df13abe42a54a6654670eef9bb39425cf2e27f65e0007465e1286ab", size = 1300865, upload-time = "2026-08-28T10:26:30.125Z" },+ { url = "https://files.pythonhosted.org/packages/60/5e/7e7d716dca38c714478b741257a5b4a321d9932b8d851551a136dcaf3984/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bebb89489b279b2f5661bbbb2abcc87bcd4a46607bb4a5c966f04f1db6b8df9a", size = 1348071, upload-time = "2026-08-28T10:26:31.829Z" },+ { url = "https://files.pythonhosted.org/packages/10/1a/2b98fdda8bf45b7be317e48ed12393d44334394d315c74b81f4a14c0e31b/kiwisolver-1.5.1-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:509735237ae0d849e8a843551d423d2500d2e0a9ac1611a145658b29c0fb9f85", size = 992191, upload-time = "2026-08-28T10:26:33.544Z" },+ { url = "https://files.pythonhosted.org/packages/b6/55/d893f5ede0e50f9e3fcf01f6015f42ec7d9cd221e26772701fe4a98745f9/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:824c3d763a05ea9e9003610145186b0e9848c7584a5575c79bac5a8e7cd80bad", size = 2233854, upload-time = "2026-08-28T10:26:35.282Z" },+ { url = "https://files.pythonhosted.org/packages/b1/82/f85f6279555a6ee1639fef7bfe83adb037a03e11a6fc9eaa54b8d0380339/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:1fff05e239575b1481b6ed1a782f6fad616efbf1f0b1f44e6e85c4dfe426e483", size = 2330621, upload-time = "2026-08-28T10:26:36.9Z" },+ { url = "https://files.pythonhosted.org/packages/56/31/e11aea078f66fc2fffcc179d38ca90d9da97652a241b64519169742ba46a/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0627b9bceb9c3cdcf12b8a18655eedfed2692b038df27423383c120d0b7dc2d6", size = 1982848, upload-time = "2026-08-28T10:26:39.01Z" },+ { url = "https://files.pythonhosted.org/packages/af/ea/2956b63bf5140ca46aa2c2818e6aa03e2d5754dd2fa41db1c6b28922940c/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:8a708a47ade1fe19e8371d5da076bac0dd4b0a5a7985ad6c637f7f7e361b6baa", size = 2494850, upload-time = "2026-08-28T10:26:40.837Z" },+ { url = "https://files.pythonhosted.org/packages/11/d1/3829542258d8b3fc0898d221e7ef0e2c83eca0d348709bb8dbe54f3d4005/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:007a5553dfc4f4e8d184f588a0200e2cd4b63a59cc8796df3c39909e679dc7a0", size = 2298067, upload-time = "2026-08-28T10:26:42.803Z" },+ { url = "https://files.pythonhosted.org/packages/4e/0e/49522e1ab5788cbaf63a26fbd3b851f9028616828c961b8a31b35cb96df8/kiwisolver-1.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:f4167e87b397f273dc2356fcf1eaf50a6bac51e6105f45103ef7129c8efb0255", size = 72282, upload-time = "2026-08-28T10:26:44.268Z" },+ { url = "https://files.pythonhosted.org/packages/f5/b6/22e7ca5315d363e6f81c9f37c9472e12e7b298731e77c0428e6a911a2c39/kiwisolver-1.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:5c490db2168a508088f59140dd392556a54b8bd1048fc6383c8baff13c359673", size = 69855, upload-time = "2026-08-28T10:26:45.725Z" },+ { url = "https://files.pythonhosted.org/packages/30/8c/03a9cfbe871964c8758a816eb03ac96c806da2795a9a7cd9bf9648bfb594/kiwisolver-1.5.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:4d4ca09bf13cff792b1884f64b98ee6c2467930d632233be25c56b442d99f10e", size = 126289, upload-time = "2026-08-28T10:26:47.023Z" },+ { url = "https://files.pythonhosted.org/packages/f2/e3/14ce3041ca79dff9c9d884ca00c7bf32374e76028a865a9ecd99b4f5a517/kiwisolver-1.5.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:44b8faef94f1857e77fa0238f3390ff1ac51d2ea20a487e2e452a59fd2b5f5ca", size = 67709, upload-time = "2026-08-28T10:26:48.268Z" },+ { url = "https://files.pythonhosted.org/packages/af/c4/45030471a66ec8ef042e9f96ffe1d522c9ab12da180186a0898966fc1385/kiwisolver-1.5.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2ae70bc59790d2af72a3f76f24b272403e135070340281108b447cb77ea70819", size = 65909, upload-time = "2026-08-28T10:26:49.523Z" },+ { url = "https://files.pythonhosted.org/packages/42/73/17dce073a6ae259bb32cf9d686c4079d2e538868bc45967462bf33df914a/kiwisolver-1.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:43844c1a7ad6d723d5b5b4c4fc7f5bd399c40e288120d16257c7c9e8765c6e85", size = 1584907, upload-time = "2026-08-28T10:26:50.933Z" },+ { url = "https://files.pythonhosted.org/packages/8c/84/ae3c75909f507283cbfcc7e916c7e822579ef962020b97e6882b27b4478f/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22d5e5aaad6be121f2515765e3b1c444352cb8eb4c86510801db8f2e50757316", size = 1392474, upload-time = "2026-08-28T10:26:52.638Z" },+ { url = "https://files.pythonhosted.org/packages/34/31/8bcc83caad5bce8fa4577152389848bf6bc110e51e573a2b4e7c2aa34c89/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3fa5855898f6d3d01b72ccd48a2d65cbdee301251603fefe34e2025bddba219c", size = 1405246, upload-time = "2026-08-28T10:26:54.248Z" },+ { url = "https://files.pythonhosted.org/packages/55/72/220345537d790cf4ae54f8acfff4b5cc2468e0702a384d651cf7a771c63e/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d66a64dd5dec136040ec2ae94aa026a912ee60fdd45bc28d3db30037fd809e88", size = 1456099, upload-time = "2026-08-28T10:26:56.042Z" },+ { url = "https://files.pythonhosted.org/packages/cd/10/3725fd2398f66d18c34b4e0f81a8d03764cd4f4f089f58a527f0b4428086/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:9e51c119992ea8820706871c30a4642ec76de20ae82f9b50b9a45517d8e9f810", size = 1073695, upload-time = "2026-08-28T10:26:57.658Z" },+ { url = "https://files.pythonhosted.org/packages/86/cb/28d6e09e66b93e4588b2e6b7d84d020ccefea09e2f4de788510a07efeab7/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:70ed9a45c7484d2b30cdacf60d220f494a1763b9fec1ad03285c6553fa0889f2", size = 2335355, upload-time = "2026-08-28T10:26:59.202Z" },+ { url = "https://files.pythonhosted.org/packages/6a/b3/a0f31d5e4e40af7dc97c36b8a74fdd3a36cf3c8bbd098da9a23466ff6a94/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:98b208a7cc42c803445ef551d6753cc42a5ea13e9cab1ee66cd8b9cb70195330", size = 2426524, upload-time = "2026-08-28T10:27:01.181Z" },+ { url = "https://files.pythonhosted.org/packages/2f/c9/728f63bd58c72cafdc79fc306abeeac7391bec03b757a48dadeb30906521/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c6834b92dd2428e2dd85ef3d85f723d3c12f20aaf43a2ddd4f944ca25d833408", size = 2063430, upload-time = "2026-08-28T10:27:03.06Z" },+ { url = "https://files.pythonhosted.org/packages/84/df/ce188b96f92f9a2c958231da140768918cba53c9713dc887b82f85462118/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:5d142e352eb13facc7dd047489aebdff6ba78576c239f1ea04931979caaf0567", size = 2597513, upload-time = "2026-08-28T10:27:05.072Z" },+ { url = "https://files.pythonhosted.org/packages/69/d6/76947c8203768968382e5bd74d9cc95654746703a61ea53015f2c74a2e06/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f9b1c4900736e489a812c529100de4b8fb617d4db075e931e213c57424b83d9b", size = 2394488, upload-time = "2026-08-28T10:27:07.423Z" },+ { url = "https://files.pythonhosted.org/packages/e4/d4/14b21e4eb203c4d15425e8b6a2c625a320b4a1f2f7557eead63ffc30ffb7/kiwisolver-1.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:5978c3340f16a35c30f8ab2fa7bcf559973c55f1a5ef6970e1f621acf3c4db13", size = 75404, upload-time = "2026-08-28T10:27:08.892Z" },+ { url = "https://files.pythonhosted.org/packages/cb/f5/53157899fc7f45f76421b77b99eb1639dd0f83f26ff9d76300c96bb4a3b0/kiwisolver-1.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ca307d6c259e5c98d3cb9ade55342b47a6839762caf2536f3d7b46ee660cc82e", size = 72946, upload-time = "2026-08-28T10:27:10.944Z" },+ { url = "https://files.pythonhosted.org/packages/75/62/f786c3a27f181fa339d851a77e266d208e776b9883cabc40a5b041a31b5a/kiwisolver-1.5.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:bb7c99f0673c03017a3ee01e54a5c2617a05468b11eabe513b0080e063ed95b1", size = 62420, upload-time = "2026-08-28T10:27:12.308Z" },+ { url = "https://files.pythonhosted.org/packages/02/cd/58a91ed25fbad0facdf503297b03768efab04bdf3141e5e3b49a34be7443/kiwisolver-1.5.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:0d8924877ce22e17326a99a418c3c82037da078df3c6a260b13eca677444e6e7", size = 64577, upload-time = "2026-08-28T10:27:13.502Z" },+ { url = "https://files.pythonhosted.org/packages/f6/5c/d501ef5a0958b226eac28306d24d5e5f114be0ace50e19cabae7b6b3b197/kiwisolver-1.5.1-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:534f02c1abb31ed6dbd3515545285c330b2f12d00fdb1fdb71658b9ca5a13a6a", size = 66284, upload-time = "2026-08-28T10:27:14.813Z" },+ { url = "https://files.pythonhosted.org/packages/a3/a6/8fbecaf4fc18c02f31f05e47a84c010a80e3ec391ed2f0bdade1d62b5954/kiwisolver-1.5.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:cea20da04494e662b83c872683bf4ff2345206043d036315ed0e924b652e7294", size = 124031, upload-time = "2026-08-28T10:27:16.193Z" },+ { url = "https://files.pythonhosted.org/packages/7c/c6/bf3090d2983b4204347cbdbe952116e7c3b2abf62b4e33e50167a13e75ee/kiwisolver-1.5.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:7fd82debf43c6acd0a94359d232f6bb516ee13f269a7993736a9ac9f988bb5d9", size = 66489, upload-time = "2026-08-28T10:27:17.506Z" },+ { url = "https://files.pythonhosted.org/packages/85/de/562dddef55fdd7c291da8626d6619e72b5fc0870e6ccca0e149a5731e7f3/kiwisolver-1.5.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:18170a77ddfecf40ec60d0928268dc95880c881864e015a8f34094ed18b9b9ad", size = 64806, upload-time = "2026-08-28T10:27:18.673Z" },+ { url = "https://files.pythonhosted.org/packages/89/b1/ba7b9c0164ce1cf62bf2872db63b8483289cf0f3110d6f9390eb09e409ed/kiwisolver-1.5.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ca7f6fe0f37ca978a1e5eb7a3a68e6413f417e78e838324947ffd420202b198b", size = 1482211, upload-time = "2026-08-28T10:27:20.039Z" },+ { url = "https://files.pythonhosted.org/packages/13/dc/34da54efb4976616d45c20aae32d70e89d6e7395ed908029154d1609ef22/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5b973887ff782cfd6b67c9904ad8ca542e0bc5e4961503408b423b5a688b4d38", size = 1283739, upload-time = "2026-08-28T10:27:21.82Z" },+ { url = "https://files.pythonhosted.org/packages/5a/3a/30ffb62bee646e266e98a1b5cd276d9c75b6116fbfcb87c1190838c1b6df/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f76fc85bd054c806960f917ec0f329e24e436f1712267d90588e4c39890caa63", size = 1301681, upload-time = "2026-08-28T10:27:23.876Z" },+ { url = "https://files.pythonhosted.org/packages/a9/8d/13c70be22a8506880b35fdc38dca36629613bc493405c79f4037f2cd2bb9/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:828f75af2b0080c8a972e75f649ab46af008e92c6104a57a759157200b835b75", size = 1349159, upload-time = "2026-08-28T10:27:25.899Z" },+ { url = "https://files.pythonhosted.org/packages/82/0e/993972b8ec6767f47cd69818fb3a5ff14510557d29f7d1a839be7574fa1b/kiwisolver-1.5.1-cp315-cp315-manylinux_2_39_riscv64.whl", hash = "sha256:431dc224a1a92a5c8f582d96e505196a3b5997a7271076678da2dfde67b77e9a", size = 997613, upload-time = "2026-08-28T10:27:27.507Z" },+ { url = "https://files.pythonhosted.org/packages/36/82/ca26eddd2eda2420dfc56693449c1f821f78b485da9cbde9904c03af3f93/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:61e9a64c7635095a6bfe483e2ff055d437c59bd45f3617a228b37277f0185d62", size = 2235109, upload-time = "2026-08-28T10:27:30.113Z" },+ { url = "https://files.pythonhosted.org/packages/c7/84/97d920881e10840b8d7c7185620298e3e4c88820b05514e3a15a258b08a6/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:3c24cd69455e1b00ddf770c13b6e2c33e07d6dc3f2d34add0bf9277c5c6bbd46", size = 2331207, upload-time = "2026-08-28T10:27:32.795Z" },+ { url = "https://files.pythonhosted.org/packages/e2/ce/34d74b8f25acc58800f4c09268371e8d6159cf0f1206f1e4dc7835629b48/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:27add358abe374ebaa3b8763ef380bc99051b5a4b18d94878366a9e4f59efef0", size = 1986696, upload-time = "2026-08-28T10:27:34.628Z" },+ { url = "https://files.pythonhosted.org/packages/0e/01/f892644014612527aef7031d3306a2ffc60b3cb044f802c1561f8e5e14f3/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:255605693a483db7bd5c79f60437f7bf658f7f520d61aa42722e32257c941951", size = 2496400, upload-time = "2026-08-28T10:27:36.818Z" },+ { url = "https://files.pythonhosted.org/packages/32/6d/d8284e66e697026536e5f418b9cfe56567bffd3c775e3ecfbae373605854/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:7d38b0c279c3032e8c9cc013b405c6df8e1668dbf15465779aa7f15f61201812", size = 2302967, upload-time = "2026-08-28T10:27:38.803Z" },+ { url = "https://files.pythonhosted.org/packages/46/0a/69a355e27f32ba50d5b6369949b6a1702e122f5277c89bc76d452b81c1c4/kiwisolver-1.5.1-cp315-cp315-win_amd64.whl", hash = "sha256:958254518717542d02d0688d0d20cbf771da5e415e6f49543f92481c850a4540", size = 72283, upload-time = "2026-08-28T10:27:40.491Z" },+ { url = "https://files.pythonhosted.org/packages/ef/d8/7a95be90c33dcdd52204d4aa6384d731443225b887283bbd8b61e7931f6c/kiwisolver-1.5.1-cp315-cp315-win_arm64.whl", hash = "sha256:da3275833be0edbaf4830fae08bae3dc7219f40ce0c37eaa6c25825957e06612", size = 69860, upload-time = "2026-08-28T10:27:41.835Z" },+ { url = "https://files.pythonhosted.org/packages/31/f8/9bc493e7f5707788ba7f621902c68f82dc3a7ba03c78fbd337b026cef1ed/kiwisolver-1.5.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:470d420f98d368d6f010633a20659b544c5fdfa5329e6b70219f2ef08fd4a7ef", size = 126336, upload-time = "2026-08-28T10:27:43.379Z" },+ { url = "https://files.pythonhosted.org/packages/d1/82/3aea86b3f99712db825e9ac5631bf99571e818a8b8961ff98cebd798413e/kiwisolver-1.5.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:83f78128fa28705fa85d01c59771c72fe81c11bd0e6155edbb9f818983a7d761", size = 67698, upload-time = "2026-08-28T10:27:44.613Z" },+ { url = "https://files.pythonhosted.org/packages/84/7d/8daafc5d2e7f9c47a4f78f8865d86d2a9cf399c2a85f86c44a993594410c/kiwisolver-1.5.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:9506e892bcc3b409831d363c6f53e5985e1c8d1f6f6b0256d00358684ff85378", size = 65945, upload-time = "2026-08-28T10:27:45.932Z" },+ { url = "https://files.pythonhosted.org/packages/3d/c9/51dc974d9130da70a8c47a96160123443d387ffe1b6b833d6f91d9429339/kiwisolver-1.5.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cea90547bfd93807e0013a004dc76552be44fad3bc1cc2b38610a9e889ed098f", size = 1588030, upload-time = "2026-08-28T10:27:47.678Z" },+ { url = "https://files.pythonhosted.org/packages/e6/86/f3e1a730e7a995149d8d3ff9e313b6d8a17b2cf1d98a8eff139dc30463fb/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e8e4d953faaded9ec7ede36824e9814082d22d4c7b1eafbfa079ecba8cd0d076", size = 1390760, upload-time = "2026-08-28T10:27:49.676Z" },+ { url = "https://files.pythonhosted.org/packages/4f/3b/8ba25a2b5a0d2375e046f1b72de5179513f0be95aba6e7b094c89303929f/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7e9c01d3dd7ceba4d1d436cc021d40d592466e40b9bc7f5d83dc4e98a5c9cd8c", size = 1403279, upload-time = "2026-08-28T10:27:51.242Z" },+ { url = "https://files.pythonhosted.org/packages/18/d0/278d5cb8be812740027d5ca0a7eda0c375488a88d6dce0fa60fcc2591ad2/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:37f801b5d7cc0e5a548921308e059fd2b057bb42972b591cfa3049f95423c4ed", size = 1454429, upload-time = "2026-08-28T10:27:53.213Z" },+ { url = "https://files.pythonhosted.org/packages/94/37/bcbab41063ec284c1d200efe5087cf087798c2f8916960aa8a20dd303290/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_39_riscv64.whl", hash = "sha256:e68e151428b5384f766cd25739bf77c7e4a3dc93b5ded7a12118d9fbfdf78ab6", size = 1073225, upload-time = "2026-08-28T10:27:55.089Z" },+ { url = "https://files.pythonhosted.org/packages/cb/c5/ab79dcdf5ae28909a51210ae0a1c579e97ff997b3466414f0d04c0994583/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:8f8fddb8e323bd6eee4e54e69a39243beab22689070f4c66b472c4cc88bb89d8", size = 2334335, upload-time = "2026-08-28T10:27:56.78Z" },+ { url = "https://files.pythonhosted.org/packages/8d/8e/71d047468a189041d9c93f3b76844b924f9793b188c44bd149fa258912da/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:3cc210010fd2f438a3ed430b45f1b501fd13a8618bf984dc2c5ce5b69b78752e", size = 2424982, upload-time = "2026-08-28T10:27:58.639Z" },+ { url = "https://files.pythonhosted.org/packages/7d/37/1347461bbea6d0e1f0580b94ef603b18e72c2be5f667fa1653867361a00b/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:b5664603a253efd3a75716d793d1d3a6a82723b61dc6db767b2460bbbeec4c0f", size = 2062857, upload-time = "2026-08-28T10:28:00.407Z" },+ { url = "https://files.pythonhosted.org/packages/1f/87/c7f0976c9cd0d127643351bc0c9929e0b8899d7f49d4ec238cd909e39c42/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:a7b85b2cc6ea45e5f7e8c9a30bc9fabd47cda09106cbb4b967335c3e6c43b69d", size = 2596022, upload-time = "2026-08-28T10:28:02.183Z" },+ { url = "https://files.pythonhosted.org/packages/e3/9a/59a6f6ae6f938c15076be2c21b6cedea973d71bb1349ec84fa485fab82cf/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:ab620eb663952455271ac37f9aaad86b73c969c02f11f53cea405b38e96a4300", size = 2395634, upload-time = "2026-08-28T10:28:03.977Z" },+ { url = "https://files.pythonhosted.org/packages/e9/2d/8982c1fb7926da5bb7ed60318c3665b5c3f941447271ac982960a11b8637/kiwisolver-1.5.1-cp315-cp315t-win_amd64.whl", hash = "sha256:cb6fae641357ed2f6e533c0d3c6504a4a5703621a50c89459e46051d56b61140", size = 75379, upload-time = "2026-08-28T10:28:06.307Z" },+ { url = "https://files.pythonhosted.org/packages/07/78/ba7b6dfa1708b82b373ac056928a30c545d5c1a627df9839dcec3c6c1881/kiwisolver-1.5.1-cp315-cp315t-win_arm64.whl", hash = "sha256:b390aec180a7c054919c04898835e1c77bced23ea8383eb2c570213bf25d1a86", size = 73011, upload-time = "2026-08-28T10:28:07.578Z" },+ { url = "https://files.pythonhosted.org/packages/a9/c4/1407df7512a5b36cc79840e01710dc575733c461b13ab866cae77eaf87f3/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:482676e5bd48d70ac99d9fc78863469845421e01184fa83f1f9366dc49f7e974", size = 134002, upload-time = "2026-08-28T10:28:08.881Z" },+ { url = "https://files.pythonhosted.org/packages/16/45/c37a21ad5c0ab581a93c55ad544721aaa1f0ae94edb29c6a678a23d013e6/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:072bdb15a3c19a5b5dbc8f8fb1f4e1884bf4f3507eeb4cc6334401274d37a5c0", size = 194292, upload-time = "2026-08-28T10:28:11.06Z" },+ { url = "https://files.pythonhosted.org/packages/a6/c1/69f00d627949580e43d57af0aa465df46868d7c29801c137a55374101294/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:a5a00665d1a0e26763a7338d7e911d4598fbc1d50dd0d6b7919b7dc6c5d6569f", size = 73362, upload-time = "2026-08-28T10:28:12.449Z" },+]++[[package]]+name = "looking-ahead"+version = "0.1.0"+source = { virtual = "." }+dependencies = [+ { name = "accelerate" },+ { name = "diffusers" },+ { name = "einops" },+ { name = "flash-attn-4" },+ { name = "ftfy" },+ { name = "huggingface-hub" },+ { name = "matplotlib" },+ { name = "numpy" },+ { name = "omegaconf" },+ { name = "pillow" },+ { name = "regex" },+ { name = "safetensors" },+ { name = "sentencepiece" },+ { name = "tokenizers" },+ { name = "torch" },+ { name = "torchcodec" },+ { name = "torchvision" },+ { name = "tqdm" },+ { name = "transformers" },+ { name = "wandb" },+ { name = "webdataset" },+]++[package.optional-dependencies]+dev = [+ { name = "pytest" },+ { name = "ruff" },+]++[package.metadata]+requires-dist = [+ { name = "accelerate", specifier = ">=1.13.0" },+ { name = "diffusers", specifier = ">=0.37.1" },+ { name = "einops", specifier = ">=0.8.2" },+ { name = "flash-attn-4", specifier = ">=4.0.0b5" },+ { name = "ftfy", specifier = ">=6.3.1" },+ { name = "huggingface-hub", specifier = ">=1.10.1" },+ { name = "matplotlib", specifier = ">=3.10.8" },+ { name = "numpy", specifier = ">=1.26.4" },+ { name = "omegaconf", specifier = ">=2.3.0" },+ { name = "pillow", specifier = ">=10.0.0" },+ { name = "pytest", marker = "extra == 'dev'", specifier = ">=8.0.0" },+ { name = "regex", specifier = ">=2024.0.0" },+ { name = "ruff", marker = "extra == 'dev'", specifier = ">=0.6.0" },+ { name = "safetensors", specifier = ">=0.4.3" },+ { name = "sentencepiece", specifier = ">=0.2.1" },+ { name = "tokenizers", specifier = ">=0.22.2" },+ { name = "torch", specifier = "==2.10.0", index = "https://download.pytorch.org/whl/cu128" },+ { name = "torchcodec", specifier = "==0.10.0" },+ { name = "torchvision", specifier = "==0.25.0", index = "https://download.pytorch.org/whl/cu128" },+ { name = "tqdm", specifier = ">=4.67.3" },+ { name = "transformers", specifier = ">=5.5.3" },+ { name = "wandb", specifier = ">=0.25.1" },+ { name = "webdataset", specifier = ">=1.0.2" },+]+provides-extras = ["dev"]++[[package]]+name = "markdown-it-py"+version = "4.2.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "mdurl" },+]+sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" },+]++[[package]]+name = "markupsafe"+version = "3.0.4"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/38/9b/e422a865e1d5d57d0e509b4e0bf1c1a70a7f6382c29a5aa428df994c8bc8/markupsafe-3.0.4.tar.gz", hash = "sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6", size = 153777, upload-time = "2026-10-02T23:07:22.29Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/81/09/4c59d56b8461ae8eb0d8ba34bb25b7e618547044679d58a82ef9b2479fc1/markupsafe-3.0.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61631e08084be9e21a8967ec3139c7616ed7c5e9368e05c86d1b39562c8a57b6", size = 11658, upload-time = "2026-10-02T23:04:51.876Z" },+ { url = "https://files.pythonhosted.org/packages/a2/f0/d6613774d86fbf6d145751d43c59875e47a6f9f17daee0aef173bd36d90e/markupsafe-3.0.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0930db9bdc62d22944e10b066448bb65dc9abe9112880c7cab8da54db4284d5f", size = 12050, upload-time = "2026-10-02T23:04:52.931Z" },+ { url = "https://files.pythonhosted.org/packages/0d/f2/8f18e0b806eb13c1f8d07d917a720831ead54253a6dec011fbc78098a6f8/markupsafe-3.0.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6a45c3d514f2436064db00d7fc8778d888f0236ebfed649b53d13a59e69ad51b", size = 24363, upload-time = "2026-10-02T23:04:53.895Z" },+ { url = "https://files.pythonhosted.org/packages/60/ce/fa07dbe8a5675558fa36dea033e19995bc783de2dec5f540ccb9030b06aa/markupsafe-3.0.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1e1451fab512d1bcc3dc26988ec1edb0b82c2db909132872cd9356070a6b63df", size = 28525, upload-time = "2026-10-02T23:04:54.905Z" },+ { url = "https://files.pythonhosted.org/packages/85/40/be87c01f3868ec217f8a2015089d71c22c8c5a75324822e5ed1cdd87210d/markupsafe-3.0.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bd3ce56ae2cbae3ba82b683bc425cd7e48d2ed8b10f3e818186b6f5646d9271c", size = 24733, upload-time = "2026-10-02T23:04:56.229Z" },+ { url = "https://files.pythonhosted.org/packages/4f/a7/aeedb5140afa41fc74c225e9184ab96723a6e873b6ee1c9fede7283456d8/markupsafe-3.0.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e124f974786f831d6043728e38296969d3579db8896fe004682f5758e613581", size = 22985, upload-time = "2026-10-02T23:04:57.521Z" },+ { url = "https://files.pythonhosted.org/packages/c3/fc/e91352bb08c6a59da3ef0909d457bf95a5f5908fbf151b30a06d9dbcfbb4/markupsafe-3.0.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c02e8f18bdedba082cef725942ac823b9b60656db07f7e265cb31618dfd00d77", size = 22001, upload-time = "2026-10-02T23:04:58.597Z" },+ { url = "https://files.pythonhosted.org/packages/5d/f8/bffee5e7d2a3deb59748a797650a48af7e672025cf641a79344a771ad106/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9f098115c247e11d138ab83a28fa0323c77015007ea2df73ba5fd714dfefd67c", size = 23793, upload-time = "2026-10-02T23:04:59.686Z" },+ { url = "https://files.pythonhosted.org/packages/ed/59/b853d6628ecb4d658e1d637224846d5e9bb4adf4f8df97f3be9f29dce2ec/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d5f93ebbeb8032d47e349328ec8662d973d9b05a70b3c35df1f91fe419b84749", size = 22640, upload-time = "2026-10-02T23:05:00.768Z" },+ { url = "https://files.pythonhosted.org/packages/09/b2/1506df394f0f075797c418d0301498f49e43be194e3ffcb49e6fe6ccf022/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:64511c54db4e4987aef4c41923235927428729e8174c5dba488429be70a998ed", size = 24074, upload-time = "2026-10-02T23:05:01.813Z" },+ { url = "https://files.pythonhosted.org/packages/c7/81/5ed69cda630ac69ef60d06c09ba5a7f84ff66a2e28cf986fd5614ab3c6e6/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:e1a622f13970d81f95d0c72f9dc090dce9085fccfa4c9f2174377ee32bd15786", size = 21563, upload-time = "2026-10-02T23:05:03.239Z" },+ { url = "https://files.pythonhosted.org/packages/0c/fe/fb1e79be0fea60aa32602ebefc9c35a82bb42b4df157285ab7dfec12341a/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c9a7f43c0b202b334cc9184af09bb8f21d3a209e038efaf106936fb69e6b026e", size = 23048, upload-time = "2026-10-02T23:05:04.479Z" },+ { url = "https://files.pythonhosted.org/packages/c8/52/7632a53360671a9b750cdbabaf9cdd89f18b42248b8e4cb42c0b0296e459/markupsafe-3.0.4-cp312-cp312-win32.whl", hash = "sha256:f0ec3b750b59375eab5b0fb2b9254810c00a3375be6d789899f1055a1d556237", size = 14108, upload-time = "2026-10-02T23:05:05.513Z" },+ { url = "https://files.pythonhosted.org/packages/3f/bf/62495e180b7000aaf30000fff849e933f74264638057176cf46852500adc/markupsafe-3.0.4-cp312-cp312-win_amd64.whl", hash = "sha256:11935df9bf455ed0c04eb87bcd720f02b1fe5e02128a9430f23aed6f93336fc7", size = 14303, upload-time = "2026-10-02T23:05:06.538Z" },+ { url = "https://files.pythonhosted.org/packages/c5/8e/4c24208776a65878d656996945aacfbfe010d3720d1a98fc0eb8491fc03b/markupsafe-3.0.4-cp312-cp312-win_arm64.whl", hash = "sha256:a4bbd2d87dd233b9fc5812160c3d0ffbe42edc22a26ce0469f58479ede633fe9", size = 14174, upload-time = "2026-10-02T23:05:07.617Z" },+ { url = "https://files.pythonhosted.org/packages/6d/18/4bc5ba32499e87bb2b0ef5b3a9bb9c00a131fa961ddf0be548cb550f548b/markupsafe-3.0.4-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:de8b364c423ef0a4bad9069657d617f9a5d2b2062457a89b1fa16ee199c399c1", size = 12786, upload-time = "2026-10-02T23:05:08.709Z" },+ { url = "https://files.pythonhosted.org/packages/4e/6f/17f0c099bf25f3e31e63cc19244d9f6af861a9a4ab778c203997903cfdd0/markupsafe-3.0.4-cp313-cp313-android_24_x86_64.whl", hash = "sha256:34bdde374c5932765d7dc685c4a1d191a3207852d67e8e0a9eb6ea85156181f1", size = 12510, upload-time = "2026-10-02T23:05:09.93Z" },+ { url = "https://files.pythonhosted.org/packages/11/af/1a141081b905036ee904ec4bd945e1f70b4e1b32d33c4e59e8cf1d58b247/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:6bd9e1788e15bfcf6a9082de42e30387e7b85d211ab21e57a939bb8cfaaf8d96", size = 11583, upload-time = "2026-10-02T23:05:10.884Z" },+ { url = "https://files.pythonhosted.org/packages/e7/0a/a89385ae590232622a03e091805cff12f24fabe6c11e0e8bae096cece81c/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:5066b244f576f91afc8ee3ba029a89f99d39c79b1853fe9d39bea9f0afbec148", size = 11801, upload-time = "2026-10-02T23:05:11.913Z" },+ { url = "https://files.pythonhosted.org/packages/ed/85/ea548dc013962eb73653124bc595635fbf9e0fa41d1f181a967ccb784dfb/markupsafe-3.0.4-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7a83aa6e4805df46fed18e989d3d16f86ef60cb50bbc8d9ce3a6be89165fbf6e", size = 11443, upload-time = "2026-10-02T23:05:12.887Z" },+ { url = "https://files.pythonhosted.org/packages/cc/72/15f2e5ec9cf2eb00d5cdfe968d94e4156a7bd7303832c3f3b2c403a36839/markupsafe-3.0.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2d1b7d9308288661f56672b1b157d75fc536714d3638487bbea17b6318a78248", size = 11665, upload-time = "2026-10-02T23:05:13.829Z" },+ { url = "https://files.pythonhosted.org/packages/ca/e0/4030bea613677e333c8a2c901fd405055f657f9d06acba5b7357984b6ef7/markupsafe-3.0.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:73e77980c7207854f00fc4e71fb1626868d5740ab4012623d55c7a99ad122a72", size = 12061, upload-time = "2026-10-02T23:05:14.807Z" },+ { url = "https://files.pythonhosted.org/packages/f3/a5/28b76a7449eb702966b88bef599e2360b411fbb3afeee8fe560939be06ec/markupsafe-3.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7018d4af1cd272e847aa5917983ab5e83e4f6579f9dbfecd4a79c0ca80b144c2", size = 24395, upload-time = "2026-10-02T23:05:15.909Z" },+ { url = "https://files.pythonhosted.org/packages/07/6c/21232811afc3a063b5e934b1ae2efda52f46154ec382f585149c020e61fe/markupsafe-3.0.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c90d5b3d4e944e065a301d741b3c1d784f6bd1f503aa68b4967e32b2ba313d85", size = 27183, upload-time = "2026-10-02T23:05:16.976Z" },+ { url = "https://files.pythonhosted.org/packages/14/38/6ccdfa5b59049cb36fb80cbc80aee9cf1fc9bb77d1335ad435f2070b08cf/markupsafe-3.0.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:18a801868a884f216e784d7d14db2a4077143ce7610440aee2ce8f734e7cfcde", size = 24772, upload-time = "2026-10-02T23:05:18.209Z" },+ { url = "https://files.pythonhosted.org/packages/63/e0/cec6865dfe88cb48fedd4b20aed6af5158e41092adcbf3e028bcc6ec2108/markupsafe-3.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:434139499bb20b502ed3baa1f169e618f924a97e7a777fea1a49446d80106cf6", size = 23017, upload-time = "2026-10-02T23:05:19.286Z" },+ { url = "https://files.pythonhosted.org/packages/ee/76/6ed4940bb7648a9aac457c14f870cfdd5105f139a0fb1f29cd61fafa47d1/markupsafe-3.0.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9e227f3dbe6bde7491cf0a9965d00b88c6b1a4a95d11480ddf88bb96d397c19f", size = 22036, upload-time = "2026-10-02T23:05:20.352Z" },+ { url = "https://files.pythonhosted.org/packages/a1/4f/ed476226d4fe46a09090a36025bf319296810028df55eb12f1253b540f3a/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b8cd1f918b26fd7b1832ece557cc18f2d8747309ff8b3f0ef9d4250c5ad67a39", size = 23786, upload-time = "2026-10-02T23:05:21.576Z" },+ { url = "https://files.pythonhosted.org/packages/9a/35/66ff30450e35ef5fba9ebc930c9411747e537fd9447b65e44f5007e2b84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:a5fcffb37e602b0b3c1638a97746b9b96125caa9bcf6fa41d337a9261de231ee", size = 22672, upload-time = "2026-10-02T23:05:22.922Z" },+ { url = "https://files.pythonhosted.org/packages/32/0b/72f45ce4b4efcbca4b80cf1b06703eff0be8d37e82abb78f66c85a7ead1e/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5989cb26b2e1efc6a42216a9f6b5ee495ce5ace2e5b352a9af489976b32d1ee2", size = 24107, upload-time = "2026-10-02T23:05:24.175Z" },+ { url = "https://files.pythonhosted.org/packages/d2/03/71776e5fdcba04614b384cc102e8a4198208579d896fd1394cb7cb9aa900/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:add96447a86d205ab616665d53b2950ee81083757f56e6ea833c8b2917646b46", size = 21615, upload-time = "2026-10-02T23:05:25.215Z" },+ { url = "https://files.pythonhosted.org/packages/ab/5f/801ce02a02e7aee0f784b1ec7843026178f6adeb9c93ac67eb1992a9a84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2628d3a8cb648ecebb3c5d6b0a1052d400e4d8b7ac0fb786be8d285b50040d17", size = 23076, upload-time = "2026-10-02T23:05:26.423Z" },+ { url = "https://files.pythonhosted.org/packages/4a/85/c43776625428f3bb4a61e8633940400e3efe6409e3c6f5bff26de5e45618/markupsafe-3.0.4-cp313-cp313-win32.whl", hash = "sha256:672d207103e6b16ca098611b0f9efad6bc00afd47c03d6ef62186495ca677dc0", size = 14118, upload-time = "2026-10-02T23:05:27.716Z" },+ { url = "https://files.pythonhosted.org/packages/6f/36/163da64de88a13db79214ef75fa041be7fa13bdb42261cf5b7484de14bfb/markupsafe-3.0.4-cp313-cp313-win_amd64.whl", hash = "sha256:1f1f9477e174582b0a1b583d60b66e1f2cf5d3fe12cee985e4aedf44766600e5", size = 14313, upload-time = "2026-10-02T23:05:28.749Z" },+ { url = "https://files.pythonhosted.org/packages/9f/a8/9b662783ffaa1149221432a923cee562f78b9cbbb8baa3df9b3753e63e1e/markupsafe-3.0.4-cp313-cp313-win_arm64.whl", hash = "sha256:06de8ef6331f6e822c28d577dc8bf43fe398800477c49498f38fc38b67ff33fc", size = 14189, upload-time = "2026-10-02T23:05:29.917Z" },+ { url = "https://files.pythonhosted.org/packages/5c/c3/a944f3b0df22bd129e96915b9f4e98d2eeca6516687d7618304a966c3c74/markupsafe-3.0.4-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:4ed644d75aa94a2baf7ec3a96eaa160ea58c742eb9d27c6506053c5c40fc84ed", size = 12787, upload-time = "2026-10-02T23:05:30.971Z" },+ { url = "https://files.pythonhosted.org/packages/d4/d6/a44863f69d88b6c7e27889108f70d47aed259edf89d5df3c5fca1eac87d6/markupsafe-3.0.4-cp314-cp314-android_24_x86_64.whl", hash = "sha256:6d2a9efe686f9de00d0d1ea32a4a5a86d558a2277501bd78d964214eab625e59", size = 12525, upload-time = "2026-10-02T23:05:32.263Z" },+ { url = "https://files.pythonhosted.org/packages/17/8f/168ba80e532dd6a93f96f8f706f1ad41d7990b6e1aeedc1cc0d211a33497/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8781a792a070cf2bd1b86d3aa943894115faaba6e88122a7bf32d62072742453", size = 11589, upload-time = "2026-10-02T23:05:33.251Z" },+ { url = "https://files.pythonhosted.org/packages/32/b3/aa2c95a574d3af39403a469b295886eb9b6d448da568cbebb5a2cbfdc2e5/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:971a3bbb75d97ae4e2e8f7d4834236f86f85f0c85e04ab2e191db1123b04f80b", size = 11801, upload-time = "2026-10-02T23:05:34.315Z" },+ { url = "https://files.pythonhosted.org/packages/60/d0/34b810107d83840e768bf485de795893ebbae35b26ab061b487adfa0a692/markupsafe-3.0.4-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:8909c2f1c6dd65e054ac4b573a91c8384d1492281e55d82d159d653f7a13adf6", size = 11447, upload-time = "2026-10-02T23:05:35.302Z" },+ { url = "https://files.pythonhosted.org/packages/6c/ab/2f8488f0f817a39fca068d2b17daf446bf5cdb3eae28c3720af534d873b4/markupsafe-3.0.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:4cf3468d5ec187ffffcaca8e61929a37448f215dafc1386a12c750a72fe53634", size = 11722, upload-time = "2026-10-02T23:05:36.363Z" },+ { url = "https://files.pythonhosted.org/packages/ad/40/e2d117b048d47282ade906fbfd92814cbee5647afc13fda88a3406039372/markupsafe-3.0.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:52704c5d36eb6dda8866493decd61111fff86244c9b1ad225ca01b9e91e5970f", size = 12061, upload-time = "2026-10-02T23:05:37.397Z" },+ { url = "https://files.pythonhosted.org/packages/9a/a8/73a81135e85ba66217f5af7facb03bbb386807e1a729ab64532e4c802652/markupsafe-3.0.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1caa2fa5a6184fb233153b35f654e6687bd555476f6170f29d8ee9be1a8b0af9", size = 24434, upload-time = "2026-10-02T23:05:38.407Z" },+ { url = "https://files.pythonhosted.org/packages/ac/ca/fa9216dd01efee2dfdacafe7df32b4d0170fbac694b0c258a193d6e53999/markupsafe-3.0.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:387d8cd30e69b3f0a72877b9ae717033396404e19095b17fe89753a981fda44f", size = 27183, upload-time = "2026-10-02T23:05:39.581Z" },+ { url = "https://files.pythonhosted.org/packages/fa/4e/a469509e538d37af51103b17b073126973f2b1cbf197ff32c7ddf025cfe5/markupsafe-3.0.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:051417f74bcaaefa316276e0ff723f541616ca51043d070da00249d9bddd3e3c", size = 24813, upload-time = "2026-10-02T23:05:40.671Z" },+ { url = "https://files.pythonhosted.org/packages/8f/db/d7282caf7ab03af44d5d6fdbaa019b35c7d7f1c90588b839c07cba640d6a/markupsafe-3.0.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8e9f292fcda89b324f2f5c91d13f1424a153e40fc2756f38ee23b15835ff300", size = 23049, upload-time = "2026-10-02T23:05:41.864Z" },+ { url = "https://files.pythonhosted.org/packages/30/f3/b6a425206e6964efda6acee544d0eb01d1501784d0b8e2dcc74986f33b17/markupsafe-3.0.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:df1ae86ff54725a01fa1a0510b914ca53a161b7050be74f6204e24aded5971d0", size = 22088, upload-time = "2026-10-02T23:05:43.014Z" },+ { url = "https://files.pythonhosted.org/packages/ea/8a/84d3582fc1f0d5bd466cdf2eebf175e172158a6e70701aacec1de1b35430/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8965520ac587c94a4ac48b729be3d8b8de00af39699b17585dfb599babe77977", size = 23846, upload-time = "2026-10-02T23:05:44.098Z" },+ { url = "https://files.pythonhosted.org/packages/1c/65/db101cce51b7ba4864ac491a9859d297dd1adf0e55b103fee9db9c47c527/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:340cbb1957ba99929cbf19a75626d36ba1ae21d1730b287d1cf7f824a20c4fc7", size = 22674, upload-time = "2026-10-02T23:05:45.23Z" },+ { url = "https://files.pythonhosted.org/packages/e0/49/ddee9813d71db0c7a5c9d97c832125e6758a0c844777f1cf076569bb0e22/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:3a93d9616ddecfb393727a0041a562cf0b15a244e20f2bd25efc7949be4c4f17", size = 24104, upload-time = "2026-10-02T23:05:46.398Z" },+ { url = "https://files.pythonhosted.org/packages/aa/0e/7d8518d726726870a2399d69fd30d0fa36c5e57a2132c336b58d7c491073/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:d2e56fd3b00222722abfb3f5f0759ddbae4b90811b5ad4343c64030ad1bde70c", size = 21637, upload-time = "2026-10-02T23:05:47.48Z" },+ { url = "https://files.pythonhosted.org/packages/b4/b0/b505e8a361ba557dbf3b3aa7331ea39b00d2022a26e925ff8463b9714bb3/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:0d9c47709875fdb321452056622e930c52afbc07a7d780762fbb8b4d91ce6fa4", size = 23081, upload-time = "2026-10-02T23:05:48.611Z" },+ { url = "https://files.pythonhosted.org/packages/1c/ea/9cc3cea873f980c75cbdb6f4277ce30ee955de38be0b3d02f14c108e0698/markupsafe-3.0.4-cp314-cp314-win32.whl", hash = "sha256:38fc55594dab834470b6733dead2ee9e3f657fb0608c769dcafa0ba5ab52f45c", size = 14272, upload-time = "2026-10-02T23:05:49.707Z" },+ { url = "https://files.pythonhosted.org/packages/80/f0/5792ff768a410f93ee3f84fc19345295ffc352d2c936b424cb37e514714c/markupsafe-3.0.4-cp314-cp314-win_amd64.whl", hash = "sha256:c1bc67752d5f21013cfe430df4062441714eab79f65a6a05e01505957e9c35fe", size = 14501, upload-time = "2026-10-02T23:05:50.788Z" },+ { url = "https://files.pythonhosted.org/packages/5f/cf/3d074a8edffcc6899355232ff2543ae8d929733239596423b7db79698bc9/markupsafe-3.0.4-cp314-cp314-win_arm64.whl", hash = "sha256:7e1636da3d8dfc220b6dd10264db5f2b165e4888c4518594898fbe381049af8a", size = 14364, upload-time = "2026-10-02T23:05:51.857Z" },+ { url = "https://files.pythonhosted.org/packages/d9/31/87ce42159aae2163cf3bbbd0c44bc87780510eecab1ea3859099aed95dcb/markupsafe-3.0.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:805c8b84534fa10891890f0e4be39f3a99e94615d93e8836bf9fa1fdca2feeb2", size = 11759, upload-time = "2026-10-02T23:05:52.951Z" },+ { url = "https://files.pythonhosted.org/packages/5f/53/b047207eeb7752e960aca3eb1df5fb7eefa7dd4c62ac49bb156456c8a702/markupsafe-3.0.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:fa95848c929b6a75f6848d3c9793e59db365ee436776e57db835cdbfa79ba977", size = 12096, upload-time = "2026-10-02T23:05:54.066Z" },+ { url = "https://files.pythonhosted.org/packages/ee/51/4326c88a13c7b755657d44b4bb986f8c3d9843ecba7e22d98661d87f9a57/markupsafe-3.0.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e916035e3e9930cbdfdd10abf48861340221857f45509565898e012263f7b289", size = 25699, upload-time = "2026-10-02T23:05:55.15Z" },+ { url = "https://files.pythonhosted.org/packages/f2/bb/990581b7474bfcf2cf34bed6ba5ea23bd87adb9d671213d68e88620e7a6b/markupsafe-3.0.4-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b4d12837e0203bbace818ff4a7461afdcd78bcd782351cea148139180d7bcffe", size = 27804, upload-time = "2026-10-02T23:05:56.29Z" },+ { url = "https://files.pythonhosted.org/packages/6b/89/89491878c28e8291f5aa2fffe2c2d57230d10ae366d55dd810b840513d78/markupsafe-3.0.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5086f9975abb1ab531ee6afca1761e4b59a19b446f3f6522ed776963228cfe5a", size = 25912, upload-time = "2026-10-02T23:05:57.416Z" },+ { url = "https://files.pythonhosted.org/packages/30/77/680998b54efdea06fc114565cd739b6d059f826a0279219b218dfa750d29/markupsafe-3.0.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b4a635a0487774f841cb1fb62e907e7195cc95bc761e053184b8acc3ceb20733", size = 23623, upload-time = "2026-10-02T23:05:58.557Z" },+ { url = "https://files.pythonhosted.org/packages/ae/75/2709f5ac5de9467b40b10e2bb8f89cc63dfb74582e09aa734b1124a217de/markupsafe-3.0.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb96e6e088d6cf71c1ea977510948320234824cf226e32f6f6e044f7a9c82b34", size = 23301, upload-time = "2026-10-02T23:05:59.94Z" },+ { url = "https://files.pythonhosted.org/packages/a0/c8/39eadc6c5b14c9c7679bfb98f4d4c6a97863b5beb91839aca4d2d6e16e55/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8b5d563170ff8ba3181caa967c99a3c804d1dedb702c7cb93a6a7c32247da978", size = 24950, upload-time = "2026-10-02T23:06:01.289Z" },+ { url = "https://files.pythonhosted.org/packages/1a/5e/01037f8a43e8ccb0bffb4fbdc5212db05bf080fdd7286cd392332d58128a/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:396ec4e65cc889f69786b3b89478b471cee5a3bcf468b9d9bb03e1a30fb291fc", size = 23330, upload-time = "2026-10-02T23:06:02.441Z" },+ { url = "https://files.pythonhosted.org/packages/d4/f4/23e83ce0596bb0cbe670502d31df8f757bbd01a392aa486fa3b40d1ed399/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:15ba9e28640feef770374b116a6f019c21f52404aeabe516aa7f800587b98cfc", size = 25239, upload-time = "2026-10-02T23:06:03.579Z" },+ { url = "https://files.pythonhosted.org/packages/88/5b/3708897368073cc683d524750474f41a77d2986152c380dcc55b20fdf340/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:d920abdfa61279ba1a2ef9484aab07bf03331f8c08a10120fa332353d06e6932", size = 22767, upload-time = "2026-10-02T23:06:04.699Z" },+ { url = "https://files.pythonhosted.org/packages/c6/61/ebda1307864b409e6b3115757a3d4a09cca46cfb6cc65191b5de226b424b/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a9f54054101545a9a9cccefddf54316aa6e4491611fcbef9e91b3b6bebec04f6", size = 23668, upload-time = "2026-10-02T23:06:05.9Z" },+ { url = "https://files.pythonhosted.org/packages/09/15/98075cceac3b5ba0dbb8e4762a847be967d2befc349a2cf2d0ac77f62c9d/markupsafe-3.0.4-cp314-cp314t-win32.whl", hash = "sha256:12a606a492de952afcb43b59a14aaaaad120e708d3663dd0fdf2d738d427a691", size = 14301, upload-time = "2026-10-02T23:06:07.109Z" },+ { url = "https://files.pythonhosted.org/packages/0b/a3/768b560fcc4156685cb563d922b217810cfa7bc135773367f62f1f9d2078/markupsafe-3.0.4-cp314-cp314t-win_amd64.whl", hash = "sha256:a18f38cafc329bac5e3c2b96c765b4c96d3d103421ed22ab7988c1e3fce27464", size = 14526, upload-time = "2026-10-02T23:06:08.276Z" },+ { url = "https://files.pythonhosted.org/packages/93/63/da554b4c97a6b0ea3229ca7fe8cbfb620be81613d517f482e85958550537/markupsafe-3.0.4-cp314-cp314t-win_arm64.whl", hash = "sha256:eba154571c16e032112afac0dc2dfe9e63c2ceb7aedd07bb7eecf2ce26d4dd4c", size = 14421, upload-time = "2026-10-02T23:06:09.402Z" },+ { url = "https://files.pythonhosted.org/packages/a9/30/54d11c8ca027114898cab97421fb39e4ffd9ddf47cdbc44df2ec76722da9/markupsafe-3.0.4-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:737c9c3981998eba27f11786f84fddcbabc74068b72a4a1f454ea02094b57b65", size = 12791, upload-time = "2026-10-02T23:06:10.485Z" },+ { url = "https://files.pythonhosted.org/packages/10/6d/97c913e253a14bd3cd0e15a5c56d13203b823fa7ee32498342896a072dc4/markupsafe-3.0.4-cp315-cp315-android_24_x86_64.whl", hash = "sha256:489505b03f692c3f376394e49194fa7a7f9e8558d6e293a7056a0032b0c38163", size = 12527, upload-time = "2026-10-02T23:06:11.834Z" },+ { url = "https://files.pythonhosted.org/packages/26/f9/b86d032042a4d597d9e1997f0e5f63a3eedaf11258e0a05760b0a0a826ea/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:077293e425f28ec737dbcad442a71752e28f8ae27cde3d68acd1fb212091cd92", size = 11602, upload-time = "2026-10-02T23:06:13.122Z" },+ { url = "https://files.pythonhosted.org/packages/f2/dc/73c14c1eedf0ac5fa3292ba43435e6c49d2c2050f33cebde541f8f4807f1/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9348cbb300d224fe3b89793262cb093504d4ae927004468463f745188a193e4a", size = 11817, upload-time = "2026-10-02T23:06:14.227Z" },+ { url = "https://files.pythonhosted.org/packages/8f/69/2c2fcaa5fcee22d72c7819c0d536fd181c74a688e6143845419579cd2863/markupsafe-3.0.4-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:b807e598953730f82e4eae3bd30f6a122cf6b31c398c6b504c0e04c13c170429", size = 11446, upload-time = "2026-10-02T23:06:15.574Z" },+ { url = "https://files.pythonhosted.org/packages/88/54/9e5ec76c62e6e2834d5a93623018c943e8b3bb41d663e3fd4c03303b9b85/markupsafe-3.0.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:799c39bdf5e2f1292fedd3009f7b3c9e760f10b2420cb9638d56920840ff6db8", size = 11719, upload-time = "2026-10-02T23:06:16.701Z" },+ { url = "https://files.pythonhosted.org/packages/96/24/3ec292b44064c16229e064d770b2625bd8ea941aa61f44905a9fa44942c0/markupsafe-3.0.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:ae9dcb8fbe244cb82f8a6458b455b927a03685e383d9bacf1ea5ce180b96dc97", size = 12075, upload-time = "2026-10-02T23:06:17.855Z" },+ { url = "https://files.pythonhosted.org/packages/aa/85/b64fdb1f304848518742136983c24e96d967bfb59a0ea160e92736901ab0/markupsafe-3.0.4-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4bced6e2a6dba6a28f7dd3c6ce14df1b2dd495923f16ea484cad03decd463b2b", size = 24656, upload-time = "2026-10-02T23:06:18.963Z" },+ { url = "https://files.pythonhosted.org/packages/9c/18/23997d4c65b355da6390d61cd56e0ab3befd6ba8dda25cb40c602bd0fa6b/markupsafe-3.0.4-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3882fb412298575bae3b9c46868251f15cc69307359f87bb1b382e53d6e5a2c9", size = 27737, upload-time = "2026-10-02T23:06:20.117Z" },+ { url = "https://files.pythonhosted.org/packages/d4/36/35998dead3c6af88c38265a56e58100211f036234ab88eb2283fd4cbce44/markupsafe-3.0.4-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:04e7902ba80ee4bac1d50a549606527a1dcf0476cd81403db41099d3b60ec653", size = 25003, upload-time = "2026-10-02T23:06:21.284Z" },+ { url = "https://files.pythonhosted.org/packages/82/96/ef49135ce260db4ca4a12b119ed468449cd248db6b1468e2112b546d7a2e/markupsafe-3.0.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:925f929d6b59a8b3f8b8c6ac363cd0af7eecc81efb3071770b3c6717c450a369", size = 23111, upload-time = "2026-10-02T23:06:22.524Z" },+ { url = "https://files.pythonhosted.org/packages/50/7d/83126e338bd88c17a220668235368ad719fd4638e426739858cbb8508f77/markupsafe-3.0.4-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f68edfc67aabac33708941f26f22a7b8e9f81429bc0cf249fcf7d66b23af8d19", size = 22403, upload-time = "2026-10-02T23:06:23.785Z" },+ { url = "https://files.pythonhosted.org/packages/83/dd/daf7e420de23c8206c365204e7b85e1251d8e19d34196a56336f316e5ed2/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:e5c802729725bd07e2bc3ab7b76dc7e0bbfc53129d8f1eb1c002c24cf774717e", size = 24083, upload-time = "2026-10-02T23:06:25.037Z" },+ { url = "https://files.pythonhosted.org/packages/19/3c/11eecdc06bc44ad5570350085b572ebf049e8f9a38d1ece6d76640b739cd/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:55ffd6ce583d97dc71dc92e930324c8c0d25aea7e3ade6ae54ef77cedb096811", size = 22931, upload-time = "2026-10-02T23:06:26.328Z" },+ { url = "https://files.pythonhosted.org/packages/0d/9e/ac0fd77f2a726e56ecc3ca0235d095feace1358d1b822406c2a2ef26a4dc/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:2cb3dd71fc6be918ad4264346a8ed69485f9b7ed7bf35495d8e22807cd6b8bea", size = 24299, upload-time = "2026-10-02T23:06:27.742Z" },+ { url = "https://files.pythonhosted.org/packages/d7/09/c6bd842ad58ff5b3bc76eeed7e9a42a6f11adc5d090ec697b72c9672731e/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:94f5407f7bc64fa6463906b896f9904beeeb7dd8dc116ee8e9056c8714ff9916", size = 21948, upload-time = "2026-10-02T23:06:29.274Z" },+ { url = "https://files.pythonhosted.org/packages/a3/46/82f586711fed61e86faa1ee1bc317d68cd45a10c8bdbe3f7d1fdf9026ad8/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:2dad610540cb2e6272855c178f08ae9a1c7ac258a7fb71660553a5f104b42741", size = 23150, upload-time = "2026-10-02T23:06:30.583Z" },+ { url = "https://files.pythonhosted.org/packages/19/2d/2dfdce99318abbfa26925195fbc17db188c46a1ec6457be121b6f9cfeb42/markupsafe-3.0.4-cp315-cp315-win32.whl", hash = "sha256:03470d1a8268e692ecf79ecd565593e59d44219377a7ead61f1f1b94c1f7ff6b", size = 14269, upload-time = "2026-10-02T23:06:31.949Z" },+ { url = "https://files.pythonhosted.org/packages/5b/ec/6000fd82e8791e58fcd0456ec20f098957e2b03d5ed02eb73241a577c0ba/markupsafe-3.0.4-cp315-cp315-win_amd64.whl", hash = "sha256:d882a373d8093c2941e01291b7ced96e9cbe4781da9a7751ca7e6c70385e5214", size = 14496, upload-time = "2026-10-02T23:06:33.258Z" },+ { url = "https://files.pythonhosted.org/packages/bc/66/e73bd5016421d5d6e2fb6de7dd609f9de020942ac8c626526bd8c6eeaf82/markupsafe-3.0.4-cp315-cp315-win_arm64.whl", hash = "sha256:353bd63081912ab8cfa6a0c7d185934cdf8426f04c618bba6bc4b394f2069b67", size = 14361, upload-time = "2026-10-02T23:06:34.539Z" },+ { url = "https://files.pythonhosted.org/packages/90/df/cb8c3dc98d313a951df2f8968f44e4cb5643df6d3cab749a530ce2f7d972/markupsafe-3.0.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c61750fadcd119d0825bcb7d7d675dd264dcc89cc05292aab5be68ebdbb374ad", size = 11760, upload-time = "2026-10-02T23:06:35.807Z" },+ { url = "https://files.pythonhosted.org/packages/d6/bb/4af9b3ca0753d654ac75f9531d5bd741bb77ca6e696f36807c475ffc099a/markupsafe-3.0.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:1c0df495a977d10460a94941799c72d5b5ab03d3858d949b55b5a66c8f371c99", size = 12108, upload-time = "2026-10-02T23:06:37.089Z" },+ { url = "https://files.pythonhosted.org/packages/3f/d4/b56429313aee5fd59b079c3df5615299959e25e7113eb6d8caadbdd7d38a/markupsafe-3.0.4-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:02fa4acbc6a3fc5c693c34d4dd8c1130b7fe99cc915181b0ddd6f72aeb296002", size = 25762, upload-time = "2026-10-02T23:06:38.419Z" },+ { url = "https://files.pythonhosted.org/packages/65/f5/34c181e891aa4f7d59c918584672e0c5eb7fffe76c1387d1246008bf4081/markupsafe-3.0.4-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:05295589e619b9bed252a86b532b8e27350abc372d18ba89b59375325e91ec1e", size = 28400, upload-time = "2026-10-02T23:06:39.819Z" },+ { url = "https://files.pythonhosted.org/packages/ce/b5/ad14694fd0ac9a5ce30bc6498f2999378f418583dd1679cca5a1b512957e/markupsafe-3.0.4-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:be6cb0c799abb0e2ba3e618e6d28ddddf7e485f6c2ce938dfa237daf3905072c", size = 25946, upload-time = "2026-10-02T23:06:41.381Z" },+ { url = "https://files.pythonhosted.org/packages/d6/a8/26b606445387d0ceb1eb1f21840094b84e4e3c3c3983d80d10b89823b490/markupsafe-3.0.4-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:26e9867520db70d37f7fb421a7f0d8adb40171011fb84ce869afa1a83370dfa8", size = 23634, upload-time = "2026-10-02T23:06:42.748Z" },+ { url = "https://files.pythonhosted.org/packages/39/a2/b8814de672f1f0094d498bf646f2fec9d6356b503d28ef500b71c5095377/markupsafe-3.0.4-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f03460ff076f70ab595bb45a0205ccea1971443575b6920c52e755dec2b3fbfe", size = 23488, upload-time = "2026-10-02T23:06:44.176Z" },+ { url = "https://files.pythonhosted.org/packages/db/c7/287223376fb73335a3cc5d6eb22c6ab01358cf33945a9c39c06b9dac3f4b/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:436e3ffc6310d3c41878c601db29098102fe5d8a467c49da4a4125254e0980f2", size = 25037, upload-time = "2026-10-02T23:06:45.646Z" },+ { url = "https://files.pythonhosted.org/packages/f9/29/4df8355e313426d19e62ba33e0253c009ca12a0894ee77d67fa67255361c/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:4e2c4809c14559aa7ef426f27fb35afbb38104c349a903bf8f3600456764bb38", size = 23543, upload-time = "2026-10-02T23:06:47.264Z" },+ { url = "https://files.pythonhosted.org/packages/71/e5/8377731e8495668dcc768f645e717df18318c841edaf023a99395f6da9b4/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:da2af0d7aebfc2074080d72efa6ab8317c62481ef1f896f65d9999c1c01f4494", size = 25282, upload-time = "2026-10-02T23:06:48.795Z" },+ { url = "https://files.pythonhosted.org/packages/ed/5f/373456e37ceb1478d657d6fe769cbe0a39f0a8dfc1548eeb19c471eefdd9/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:aa2c838cc024642cc04c6854232f32b43e5e22833dd11119c1766c7873b8370d", size = 22993, upload-time = "2026-10-02T23:06:50.31Z" },+ { url = "https://files.pythonhosted.org/packages/d7/93/2cbd5628435afb6f541bbaced4bce0c2edac4b09a142e6e928b8b0da9858/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:b91cc9d336957239ff200f30097e6fea2dc6d6fb3c81e853eaa09eac904fd894", size = 23712, upload-time = "2026-10-02T23:06:51.759Z" },+ { url = "https://files.pythonhosted.org/packages/81/99/157e10966b033b363aeda5263e82596ee232a0b1d082fdbf90aa417ff083/markupsafe-3.0.4-cp315-cp315t-win32.whl", hash = "sha256:e49fb0d1ce92cfa0cb198cc5b1b11cdf9d0638658e2a2db2687e39db7c87fc78", size = 14300, upload-time = "2026-10-02T23:06:53.241Z" },+ { url = "https://files.pythonhosted.org/packages/33/05/55884815414c9706a23deca150b72c25a62109e65b0b6ce232077802c719/markupsafe-3.0.4-cp315-cp315t-win_amd64.whl", hash = "sha256:4f6e0852a0283b1b1fd776eeb7b766a5f440b3e2bd31ab51af3b400585f3965c", size = 14522, upload-time = "2026-10-02T23:06:54.729Z" },+ { url = "https://files.pythonhosted.org/packages/92/f9/ecbde7149e95b8a0f18e16d5d747f7dc06049d5da2e4f77f6f5e4a1f46a8/markupsafe-3.0.4-cp315-cp315t-win_arm64.whl", hash = "sha256:39dbacefc411633db5b4378b066a9aca70a3d7e2922c9e578d825f844026eeba", size = 14417, upload-time = "2026-10-02T23:06:56.246Z" },+]++[[package]]+name = "matplotlib"+version = "3.11.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "contourpy" },+ { name = "cycler" },+ { name = "fonttools" },+ { name = "kiwisolver" },+ { name = "numpy" },+ { name = "packaging" },+ { name = "pillow" },+ { name = "pyparsing" },+ { name = "python-dateutil" },+]+sdist = { url = "https://files.pythonhosted.org/packages/e7/c8/9aa712a0afb882649424dd8de8ad9aa6235e796e84c6052e8f6dc1598d0d/matplotlib-3.11.2.tar.gz", hash = "sha256:cec596316640f2b394b8f0daa0ea61a8eae82d017b620b9f202befb972a59ea4", size = 32660610, upload-time = "2026-09-11T19:05:31.214Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/cb/ce/1bfcc4873b121597791ad74032943b123218c0613af0b97e8dd05e916fb1/matplotlib-3.11.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ef752769cd962f39ea0b6ffc82d1ea43a0012c5a6157c7a075212fa509cfcff2", size = 9476466, upload-time = "2026-09-11T19:03:19.45Z" },+ { url = "https://files.pythonhosted.org/packages/a6/c4/7f5f3601ee69baf072c0c7d3ce60c03e0618621c5a56c34a62a460e29d11/matplotlib-3.11.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ef31985c4dedb5f1424e1aec6849a47dd37689cb7fa3c20b1b82187f26806261", size = 9305583, upload-time = "2026-09-11T19:03:22.39Z" },+ { url = "https://files.pythonhosted.org/packages/b8/90/2b3fd67ee273163faeda6d514be70b5596eaa0fd77b60ffc294ad0b34f5f/matplotlib-3.11.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:df4f7784aca81a94f254c0a2767d592ee25f407e488f5fa7203e51093fb6ca27", size = 9860353, upload-time = "2026-09-11T19:03:25.049Z" },+ { url = "https://files.pythonhosted.org/packages/f4/84/32549e7a462dc311aed2ab62e5d2538028840b5c53a8be0195c789937c3d/matplotlib-3.11.2-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b9a7ad579856284135e401ecc918c5f8a017ee30539298862a109f51b971710", size = 10670348, upload-time = "2026-09-11T19:03:28.108Z" },+ { url = "https://files.pythonhosted.org/packages/84/39/02e21b74f7439bd643d717ea846006d46e309e6d29b632b57751265311d6/matplotlib-3.11.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3aa4b8516fd26659e4363abbf317c703d9116496c5db2e9d0609a2866dd39dd2", size = 10810580, upload-time = "2026-09-11T19:03:31.402Z" },+ { url = "https://files.pythonhosted.org/packages/04/93/0d239bde12b308262265c2d98909b2f0ecad2b5deeae96241642e822e9c7/matplotlib-3.11.2-cp312-cp312-win_amd64.whl", hash = "sha256:c5c1c68ee401fc98271263410f0e5ce88285abacf7627132914e8adf3d70ff43", size = 9349409, upload-time = "2026-09-11T19:03:34.195Z" },+ { url = "https://files.pythonhosted.org/packages/49/a8/06baf901c02246c8a222b655cc4540ef9c15e1549a04e07927f9cde716c3/matplotlib-3.11.2-cp312-cp312-win_arm64.whl", hash = "sha256:643ff850d8e0f5b8319337f87ed3cb59506afb3df3cc48de777d85871233be7b", size = 9028084, upload-time = "2026-09-11T19:03:37.032Z" },+ { url = "https://files.pythonhosted.org/packages/bf/ce/fc58855a3d17f6cb8a87b6f9ccd100f65432a3a7ffed57309cbf14c78987/matplotlib-3.11.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7d43ff8cebb50840648cb6429b2228621dbd709010f3117b3740abb20abf21c0", size = 9476987, upload-time = "2026-09-11T19:03:40.17Z" },+ { url = "https://files.pythonhosted.org/packages/a9/29/2a47b700545aca050e0ed73c89ba21e08407e11f5f42a567421b220de6c1/matplotlib-3.11.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2a8285cea8ef4d92aa041d1c33788bcae82248503300f93f1ca2136b9049452f", size = 9306050, upload-time = "2026-09-11T19:03:43.103Z" },+ { url = "https://files.pythonhosted.org/packages/a9/df/e7c10292f348cf55178a5b3c0092a38ea68891a3945f199ae8b7b8ac9dc1/matplotlib-3.11.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1944895967f87c84c9b4bad29a707b31f5b36df4a3a2339ea1f8ea3ce5105539", size = 9861060, upload-time = "2026-09-11T19:03:46.044Z" },+ { url = "https://files.pythonhosted.org/packages/e4/b9/b978de6d43d47f1d4d8e653fac32c16d8d2e5f46bbbb822e26d7cb1adece/matplotlib-3.11.2-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:af2661f6ac6bbd1d081996f54fdd9385715c625ace8cec0869055c0cfbf38981", size = 10670885, upload-time = "2026-09-11T19:03:48.942Z" },+ { url = "https://files.pythonhosted.org/packages/a3/80/d72f61bb2631ac15d17fada1f17e0f99fecba69d8376d34f17cf93b7eddd/matplotlib-3.11.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:7e5a90f8a707ebb6004a713b1cff091a40cc5df4c7c1cb165e5a505ebc11c292", size = 10811222, upload-time = "2026-09-11T19:03:51.665Z" },+ { url = "https://files.pythonhosted.org/packages/94/2e/6d1d33f242c705b5c6c6fb3f0fc141add51cb1abb62912e59de0835d28c4/matplotlib-3.11.2-cp313-cp313-win_amd64.whl", hash = "sha256:bc067c462a86f0e57bf52fc6e058d90171a5420007dac00c46e90153050c69a7", size = 9349539, upload-time = "2026-09-11T19:03:54.534Z" },+ { url = "https://files.pythonhosted.org/packages/bb/bb/c0aa86a7f4c0e62f1c3c0711e361f6f23f87eb9018732a5e11994bd1b7ec/matplotlib-3.11.2-cp313-cp313-win_arm64.whl", hash = "sha256:3e8576f7c47e02fd4f21f44171302d2d1d58d4471d46da3d71fe8899d19539d9", size = 9028295, upload-time = "2026-09-11T19:03:57.261Z" },+ { url = "https://files.pythonhosted.org/packages/54/b4/4facdb700bc236e4c676495ca3798d8134ab8668cbfe0f6b2e9ebf962a38/matplotlib-3.11.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c9721f81275499da1feeb36a2cf8192ea086283b3bd16b7dc4c9d7aedb7396d6", size = 9478976, upload-time = "2026-09-11T19:04:00.12Z" },+ { url = "https://files.pythonhosted.org/packages/4c/a0/bba05f0a25bfeb0475c2f2a87958b31103aa6b7a5386017afb1a96212825/matplotlib-3.11.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1a3040b209f3968b4e84161df7b174f07a9fad33b0f2d7e48ea3bbd3075e2863", size = 9307932, upload-time = "2026-09-11T19:04:02.976Z" },+ { url = "https://files.pythonhosted.org/packages/d4/42/81d5cba4bb39b41b0998efc880e129f2d7cdb94256ca49678fdcd9c21be5/matplotlib-3.11.2-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf3fe71fbfb8ec0e310e0bc8537c3405a01f38f25f9394ed2135e6202fed542b", size = 10674370, upload-time = "2026-09-11T19:04:06.912Z" },+ { url = "https://files.pythonhosted.org/packages/29/5e/52f56f93d5b20815ee0ae352f7a38eff25580edb180b4fa7df87cfeba68f/matplotlib-3.11.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8c8255de28f986d935a64c9ca71c0ec2d2f41d355691f5ea684725dc91413f71", size = 10954597, upload-time = "2026-09-11T19:04:09.948Z" },+ { url = "https://files.pythonhosted.org/packages/6e/ae/f8918a1b564db49c53cd603eb3c8748c5767e4ce0fb2cf1d7c38653e4c5d/matplotlib-3.11.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a8756cc73d9af9a7fe0deb54ea2e75ef73b01d9e575877e72acad5458e660943", size = 10812583, upload-time = "2026-09-11T19:04:12.887Z" },+ { url = "https://files.pythonhosted.org/packages/ea/61/4315ef0d63937fe56f451887b4a0be3b8e8b22cf1d92a8d157caac54570d/matplotlib-3.11.2-cp314-cp314-win_amd64.whl", hash = "sha256:ecea603dd2fbf8242fd31a305a8b12a4ece2de28096870c65fdd0d1e35b8d9a6", size = 9505972, upload-time = "2026-09-11T19:04:15.788Z" },+ { url = "https://files.pythonhosted.org/packages/d5/00/02398b0a1a62ef73d9af0a957fe1773363eec9a6ca7e433c72ae2790fbce/matplotlib-3.11.2-cp314-cp314-win_arm64.whl", hash = "sha256:01dc8eaaab5a9fce9ff615eca82345728f289e4715b186ee10c6d85272fc26bb", size = 9184534, upload-time = "2026-09-11T19:04:18.691Z" },+ { url = "https://files.pythonhosted.org/packages/ec/c5/1e6ca10baa7e04f113c37856aadb4adc3dbb1c55fc7da6dc830bba1292d7/matplotlib-3.11.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:79a258f58253dfa025af80a9e9bb228d75fced007f0e93ae7423fefbde81a74d", size = 9526415, upload-time = "2026-09-11T19:04:21.39Z" },+ { url = "https://files.pythonhosted.org/packages/e0/93/7561727af07ccc84747953c6a33eee3981cc436d04f465032e707ca0e429/matplotlib-3.11.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c0b83f044ce10a98027b105b3931548719a6e8c7ef986b4362651e0b5367c8dc", size = 9361064, upload-time = "2026-09-11T19:04:24.107Z" },+ { url = "https://files.pythonhosted.org/packages/c1/40/ce270ef2a6794d94a409fe28b8dabedffc07c07f9e5dbb89e0f605bd157d/matplotlib-3.11.2-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e43b188f0a5b75447bcc197728258166aa64365770ed1caa36595a5e1ca4bbba", size = 10684626, upload-time = "2026-09-11T19:04:27.201Z" },+ { url = "https://files.pythonhosted.org/packages/45/46/396e0307dbf1c1f2d0a3654caa6dbc780dd5379f5f11257369cf8d21d9fe/matplotlib-3.11.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d3304eb5a59442a8867f6920d484591c0fa09ffc29e9260be2feec3351e25869", size = 10960602, upload-time = "2026-09-11T19:04:30.254Z" },+ { url = "https://files.pythonhosted.org/packages/1c/97/4defb84695477340aa88b27c9482cc1ca4de11f36f66b6c8c0ddd685def1/matplotlib-3.11.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:02329432ae5c6af87cf208ee575b701d698bdf0b1a3bb28cc6d53c36e967e575", size = 10822603, upload-time = "2026-09-11T19:04:32.964Z" },+ { url = "https://files.pythonhosted.org/packages/7d/e7/eab54551c1ec6b72dcd678a078b6c6da8d4c85ec1ff0016e81fe52866304/matplotlib-3.11.2-cp314-cp314t-win_amd64.whl", hash = "sha256:f2ac30cf5eb5dff1b584627ae0b0e1186551a4f69ae3c75073911da497a29170", size = 9551206, upload-time = "2026-09-11T19:04:35.811Z" },+ { url = "https://files.pythonhosted.org/packages/4e/0e/04698032cb4d8fb1e30d8ffec5ded20f6f582b03c8c58b2385c95245f158/matplotlib-3.11.2-cp314-cp314t-win_arm64.whl", hash = "sha256:cf41ecd1b0c0b6f7177ed965a54c2afbe888715c7cf6054dc12d53bc1494002c", size = 9234977, upload-time = "2026-09-11T19:04:38.972Z" },+ { url = "https://files.pythonhosted.org/packages/44/a9/ca827c184b87364378964e36e7c0ae23651d146fdbc4000635205490cf82/matplotlib-3.11.2-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:894a9cbbecbe30ae6787d464df2e8fc7a8d475cfc68f87c3029f7c11152899b3", size = 9478997, upload-time = "2026-09-11T19:04:41.914Z" },+ { url = "https://files.pythonhosted.org/packages/48/60/01aaafc9c3159f3fae9a65bbcddaa4a6d4d72b0aeffdd636d7f6d00a5c8d/matplotlib-3.11.2-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:bbf1062991d826ed27e2144f3afa4461afbb8ff56e8f703043e191a8163b1ee9", size = 9307947, upload-time = "2026-09-11T19:04:44.834Z" },+ { url = "https://files.pythonhosted.org/packages/1e/a0/6aa72c7cd7cf4dfac652744d7a3310007cec3ce8e5ab9be607bec7096471/matplotlib-3.11.2-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:399fef672f7046ef7d6a57572b2a6f9845f3f5afcff04e7b2df7a363a9f42190", size = 10674370, upload-time = "2026-09-11T19:04:47.745Z" },+ { url = "https://files.pythonhosted.org/packages/a1/97/d7e90225ac145046787a2ee0fa4cdc7e4d5cb6772ea232130b10f8a4095a/matplotlib-3.11.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cc82dde2a0d3e3ad472edce04897ad7146b8d8bfd1df8a32992eebb81af18fdc", size = 10954581, upload-time = "2026-09-11T19:04:50.712Z" },+ { url = "https://files.pythonhosted.org/packages/58/18/89cf056a9d2cae01f4b8baf01c7e809d613244fcdfa2a2acf28c1e0d79fa/matplotlib-3.11.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:930efb28f59fda124e39265d177bab302625297bb147d2910de725a2fc2aef54", size = 10812605, upload-time = "2026-09-11T19:04:53.552Z" },+ { url = "https://files.pythonhosted.org/packages/9d/4d/c61b9f4c34af802d4d84e58803e009013d626b5f468bafe1416131863b5b/matplotlib-3.11.2-cp315-cp315-win_amd64.whl", hash = "sha256:3da3bc0cbf7245e7db72cc6d29d12c5abef72cb73059c73b945f14e3545f3eb2", size = 9506068, upload-time = "2026-09-11T19:04:56.519Z" },+ { url = "https://files.pythonhosted.org/packages/03/7b/047f2fa8708d47430d8e7fa45e9fffb0aee5d4e300f978e087be2ee11fbc/matplotlib-3.11.2-cp315-cp315-win_arm64.whl", hash = "sha256:f25446b2981717dca9786bac841cb3fd7efb568e3e3c755dd980481c5cb9228d", size = 9184576, upload-time = "2026-09-11T19:04:59.318Z" },+ { url = "https://files.pythonhosted.org/packages/03/6e/ad9c5989950785a98642667df265a47c6637e924cb69b5dcf68c3299ae7c/matplotlib-3.11.2-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:fea03cf56568cc1cba08b470be6a0559e71c3a5b688d54b7179bb35ba23d0821", size = 9525988, upload-time = "2026-09-11T19:05:02.304Z" },+ { url = "https://files.pythonhosted.org/packages/a6/c3/25c61701fb655dd412428b15eee2591ce554cdd593e39a045a153373f428/matplotlib-3.11.2-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:254d4ddb2fa8df3b4c689c0c306063aee10521df82cfb438185e499c75fe37c1", size = 9360774, upload-time = "2026-09-11T19:05:05.092Z" },+ { url = "https://files.pythonhosted.org/packages/58/5a/4552878fce8f9d249a5e264c16f5c267c27eac08fb039fa3e207a06feff5/matplotlib-3.11.2-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e60cf3047a51edecdc4535a9196bbd6a732936b8e9f8184aabf4d16165884aaf", size = 10685892, upload-time = "2026-09-11T19:05:07.686Z" },+ { url = "https://files.pythonhosted.org/packages/af/dd/b3b19ec0124fc4aafd8a4b3bae859c562a7ff0fd8ae3b2099947f78bde19/matplotlib-3.11.2-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eb3712dc9b464793de0a4e42a7313d50293c751f94bddaf7332a1bc71bccdda9", size = 10964946, upload-time = "2026-09-11T19:05:10.943Z" },+ { url = "https://files.pythonhosted.org/packages/7b/30/687ccce22f66a57fed85942450e88062773bcbf1a42914e70c7148ec71dc/matplotlib-3.11.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:75b6d88402770e181b5d06a67dda4129c31da7d05004d63a21c310ec78d1b83c", size = 10824960, upload-time = "2026-09-11T19:05:13.9Z" },+ { url = "https://files.pythonhosted.org/packages/d3/34/117fe35a8d05054b4b34d2d29287099927c24c3841d36e06d9fa2f20c1cf/matplotlib-3.11.2-cp315-cp315t-win_amd64.whl", hash = "sha256:a6939df7567114b6bac7f4c5e06c84a67f197c1b2f2e4b234d4eecb3bfec9482", size = 9551204, upload-time = "2026-09-11T19:05:16.48Z" },+ { url = "https://files.pythonhosted.org/packages/63/5a/9f440e7bec8b80d0af2a65d1165b2f4e718982dad785531f62255d9ff19b/matplotlib-3.11.2-cp315-cp315t-win_arm64.whl", hash = "sha256:d480038c83691532ed52ff3147db51fa902fc78cb2d8349993a1cdb684435bff", size = 9233946, upload-time = "2026-09-11T19:05:19.063Z" },+]++[[package]]+name = "mdurl"+version = "0.1.2"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" },+]++[[package]]+name = "mpmath"+version = "1.3.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106, upload-time = "2023-03-07T16:47:11.061Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198, upload-time = "2023-03-07T16:47:09.197Z" },+]++[[package]]+name = "networkx"+version = "3.7"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/dc/76/3af777226b63a5e64a6b36b1ec5855c14e2b94a37096d4760e595fc43511/networkx-3.7.tar.gz", hash = "sha256:fd77a511bd90f39f3d016351345b52cf5319b813bdca01de3f755d3cca62e96a", size = 1866482, upload-time = "2026-09-21T16:45:16.974Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/7e/cd/fe58041e9011f307c490e3e17dd48cc516448f7c698a3f2d9d9d65d7e6a8/networkx-3.7-py3-none-any.whl", hash = "sha256:e3fd2c13a7814cee3746340d8d7f8598a67f16a58bf47fb7f8793fab6efca1b0", size = 2142205, upload-time = "2026-09-21T16:45:14.609Z" },+]++[[package]]+name = "numpy"+version = "2.5.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/13/01/11703282db468b85f6f7b8c7f22d058de5970d5c7e60a3a8aaa313c3de36/numpy-2.5.3.tar.gz", hash = "sha256:df2d5874ff183595a4ba404edd04f6bd9b5505c1d7708573f6a6c17489a67563", size = 20791231, upload-time = "2026-09-06T16:27:47.073Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/d6/50/8fdbb16af64895706a45f06a4068e29db732ec180f3c1375f14123359138/numpy-2.5.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cb189f09db39283b26bfd061ec16189e14f71c6755207f72a0f7540867afe5b9", size = 16994982, upload-time = "2026-09-06T16:24:29.244Z" },+ { url = "https://files.pythonhosted.org/packages/60/39/789131c1188c078dcb3a1692e72e1e050c68b88ffe72c9ccaac9bcd7a9cd/numpy-2.5.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f59a878c33d6b88122d80d239bb3b845d58708750b0cb06a09aebb9b18ec696c", size = 12009327, upload-time = "2026-09-06T16:24:32.491Z" },+ { url = "https://files.pythonhosted.org/packages/9c/59/a312e95696e5f601914dd8b6dd844692ba61670807417e24b68e337b5c70/numpy-2.5.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:a72f874bc9e10e4b8f80426fb49716d5141f64442a0c8418065093ec8017fbb0", size = 5445405, upload-time = "2026-09-06T16:24:35.071Z" },+ { url = "https://files.pythonhosted.org/packages/30/d0/5623a1707ed4fe16e3909fe3cf5ee3da004ae677ad23d83bbf3adf1a6faf/numpy-2.5.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:fc36dc566135b5eceec4cf89758fcb719266a019ef07dae1754ae7c9f617ef3e", size = 6783213, upload-time = "2026-09-06T16:24:37.253Z" },+ { url = "https://files.pythonhosted.org/packages/f1/32/84146fc020ad3c25f805f70ab60da46fe3c540a21369754a7e4369754b6f/numpy-2.5.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:76c2c1e6bfa5c84adc6434dfbf013aa92096a7985221762c8f11fedfd20fff58", size = 15687872, upload-time = "2026-09-06T16:24:39.751Z" },+ { url = "https://files.pythonhosted.org/packages/65/af/aa78d1a88805456e212b65461354cd943197fb9acecc4c90fd12295123a3/numpy-2.5.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b7e18c623bb5c95acb3b3328861272816ba199fb531921c5d6d0b675f1fde9e3", size = 16717410, upload-time = "2026-09-06T16:24:42.745Z" },+ { url = "https://files.pythonhosted.org/packages/3b/24/faa79d865e69a97ba17473b23a1b74094b2259c03e820c70297293b9ea49/numpy-2.5.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4f8929ee6c96bfbd7b4ed2032e0c03af86fe1826740ab61ddabf9072d06e57ff", size = 17040975, upload-time = "2026-09-06T16:24:45.961Z" },+ { url = "https://files.pythonhosted.org/packages/62/4a/8877e629445a7176297dffcaf9c485faa96a95d81728a62521ad55bd4c0f/numpy-2.5.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b5d93cf48f687479941d12b69c873ad2cc76bbd487f0091c2200636497f34034", size = 18476479, upload-time = "2026-09-06T16:24:49.35Z" },+ { url = "https://files.pythonhosted.org/packages/c8/db/35e1c2d38b04cbd5b731f9d71495e055e813197669d22b612f11748d2ff9/numpy-2.5.3-cp312-cp312-win32.whl", hash = "sha256:bf63afbe037eb5d2fe87fbcc7778e61da53ebaf21d938a4515aa73b62532a5d4", size = 6133378, upload-time = "2026-09-06T16:24:51.915Z" },+ { url = "https://files.pythonhosted.org/packages/3c/a1/accf6d4f0c80c5d9ba9735d6b1550e444180599f34dec69ca01360f717ad/numpy-2.5.3-cp312-cp312-win_amd64.whl", hash = "sha256:0a59a421a32580a009e8a1751345bf829631b990dc1794b80514ab722b435def", size = 12567828, upload-time = "2026-09-06T16:24:54.255Z" },+ { url = "https://files.pythonhosted.org/packages/22/43/1764aff32e4652526ae2f71fa8b3efd8d25c8a3d6926914454e47138ed1e/numpy-2.5.3-cp312-cp312-win_arm64.whl", hash = "sha256:ccb32e0525d29e8b0572eb84c9a57af0e7a4e615726927506f55063c62414034", size = 10485432, upload-time = "2026-09-06T16:24:57.278Z" },+ { url = "https://files.pythonhosted.org/packages/79/e5/8fb89cd46d14e35699d13bf943a5f5f441ecee8667120a1f6105ab89e349/numpy-2.5.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:66a78fe4556c60aceda5916f9eacd638b18e9e681016ec302dcb4682d6d4d034", size = 16991061, upload-time = "2026-09-06T16:25:00.411Z" },+ { url = "https://files.pythonhosted.org/packages/2f/06/9dc9e48b5e5e941c8b10350c5ff2d721da42a20517d911d15544246775ff/numpy-2.5.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:92f30e89b8ee0ecf363033576c422b2f58fed6a80bed0aa48dff6d14c654663e", size = 12003676, upload-time = "2026-09-06T16:25:03.475Z" },+ { url = "https://files.pythonhosted.org/packages/ab/2a/98282aa5b8f58b1157d440bb6282eed47e3632a5de53a714fbab17e659fe/numpy-2.5.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f9a2353b37a1a9e78fd82b27ad7e2a32a2d036604d18f02b05e3136c62ca3b09", size = 5439695, upload-time = "2026-09-06T16:25:05.978Z" },+ { url = "https://files.pythonhosted.org/packages/a1/f9/b6533d777be9d6ffd29dc1be0867e563e6e8cc9a220ff1b716adc317f060/numpy-2.5.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:ccbc4665079665c3cf3bab4db9f6b095370cd6437d66be549b6c2a1fd19e1958", size = 6779395, upload-time = "2026-09-06T16:25:08.599Z" },+ { url = "https://files.pythonhosted.org/packages/73/85/735720d04ec197c5dcfacdfc9922667c7f1f5f496a279b7ba4d7c74c4cc7/numpy-2.5.3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c76d5dde9f445058f83d0c02af00557a4db91de9a9a57c0df87d1535001d654b", size = 15681750, upload-time = "2026-09-06T16:25:11.173Z" },+ { url = "https://files.pythonhosted.org/packages/3a/1b/3b16a9bc514a440a7a0883684111dcb1ef1aee960af2ca95da8fc775f124/numpy-2.5.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a5fa86b80fd24bcd1aff83ad23be44ea323de3f787be8f8b15d4a65621e25321", size = 16708577, upload-time = "2026-09-06T16:25:14.171Z" },+ { url = "https://files.pythonhosted.org/packages/69/c4/386f397831b07328b639c96c5b62719346cf4baf07c68d927239752b1534/numpy-2.5.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bd4cb9ad3c7889b9b3fe0a9a9fb5d2ed26f9879bff2608d9f01aed147a20d231", size = 17042047, upload-time = "2026-09-06T16:25:17.582Z" },+ { url = "https://files.pythonhosted.org/packages/5f/3e/a700ecbf36e85ae8328fd3b0e12eeddc22ed6358a64cb2bd913e0d195d65/numpy-2.5.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1302b90c0e52281681b2975adfe8a860cb7b12216a27b4b0b4207c44bf7bccf0", size = 18465724, upload-time = "2026-09-06T16:25:20.949Z" },+ { url = "https://files.pythonhosted.org/packages/41/ee/38e785e88a4045f6ad1d1f2808dcdfafdca48c760260c0587bf171e29fc9/numpy-2.5.3-cp313-cp313-win32.whl", hash = "sha256:1c80eabb4035ecf4ca9cd49cde8a9fdd69a729e63e6474887d1523ade7aa277f", size = 6129003, upload-time = "2026-09-06T16:25:23.664Z" },+ { url = "https://files.pythonhosted.org/packages/f3/ec/100f2b1794ede74a9b3d7ec6b9736927f56713414c1dfe19ab6c383494bf/numpy-2.5.3-cp313-cp313-win_amd64.whl", hash = "sha256:71cad2b2a7451ab79d8f5e71b453485b6775963d5cf794179144a7463fe6e8ec", size = 12560965, upload-time = "2026-09-06T16:25:26.602Z" },+ { url = "https://files.pythonhosted.org/packages/80/b1/7dc825ca94c12acebbce4c37caa5e198695eb31424bc579679f32b1bb49d/numpy-2.5.3-cp313-cp313-win_arm64.whl", hash = "sha256:8e4dd766076855b5ff7ea52fa5f07ce26286726e0f8bff446b7739d02e6ea204", size = 10482343, upload-time = "2026-09-06T16:25:29.772Z" },+ { url = "https://files.pythonhosted.org/packages/70/78/cf416f15dc29375a229d9dfebf8db6e313f291580b39fa1a568b6052bb07/numpy-2.5.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:350ba9783ce969cf9f7ce6e6a9a58e1a6e2a19ca025b7ee448c4db727706212a", size = 16998686, upload-time = "2026-09-06T16:25:33.171Z" },+ { url = "https://files.pythonhosted.org/packages/9e/59/abcc2d8def4fd60eec7d87f92d27c13448ffd9ab14339bcc63a0d7a2fdea/numpy-2.5.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:012e66aca395d795496446e52aeeb5866312a5d4d3f27da270e5a0b43f70dc5c", size = 12013862, upload-time = "2026-09-06T16:25:36.748Z" },+ { url = "https://files.pythonhosted.org/packages/94/75/4640d2d6e4b64a049e48425a82728a41ef4adb61332d2cba68055774878b/numpy-2.5.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:adc1ada2662f8a5f960b8a10d9986897e7499ef07e06d4cfe7197f8cce923c07", size = 5449793, upload-time = "2026-09-06T16:25:39.476Z" },+ { url = "https://files.pythonhosted.org/packages/96/cd/625b57ae33d4ca560f32cc0b47b4a5922146d9beb998ddf773900d440a73/numpy-2.5.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:54a115e5a73b8fc44f0cebef486365a1894b5c9760685d4558b72b7c3eb846e0", size = 6785176, upload-time = "2026-09-06T16:25:42.069Z" },+ { url = "https://files.pythonhosted.org/packages/9c/72/12918652e7912ef9751e8694c88820fcd1908e0618cb23f5f3caa6004b7b/numpy-2.5.3-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be5a8381859b6da607c84f4f7d6847725f1cf1853ef8a2c9e115b7d58bef47dc", size = 15703377, upload-time = "2026-09-06T16:25:45.135Z" },+ { url = "https://files.pythonhosted.org/packages/45/8f/9beacf79ca7c650688ad0baa80931adb988fe6e6e5d5903c23cc3dbd70eb/numpy-2.5.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b0521d0f4aebb6e06189451025fa17a913287b13c03d5fe05c017333b654ea5b", size = 16711928, upload-time = "2026-09-06T16:25:48.461Z" },+ { url = "https://files.pythonhosted.org/packages/09/8d/41d0a56e1ac4c87495c897a211b1368691b7237aadabec8b3b8f3a74d48f/numpy-2.5.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9deb49575e5b0b94ed72c8a64ec4d033381adc27e9060ae842971f697ba96104", size = 17059507, upload-time = "2026-09-06T16:25:51.873Z" },+ { url = "https://files.pythonhosted.org/packages/08/1e/0dfbc5cc251d54e2af790f254d24ec38637fa97ec7d5d11de7ffed787098/numpy-2.5.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b00eefbcf0f292945c4b4dec2ae845389ef5bcdcd596e6e4328051db5b5ba694", size = 18471002, upload-time = "2026-09-06T16:25:55.233Z" },+ { url = "https://files.pythonhosted.org/packages/b5/2c/dfa40f6991f8185c8c30ffd023dfcbb11888e823cfab9557b920f3bb7bed/numpy-2.5.3-cp314-cp314-win32.whl", hash = "sha256:c2381f82999704f818e2c987a865050e285ec3621262c66d40f5a96c8f899f8e", size = 6180485, upload-time = "2026-09-06T16:25:58.157Z" },+ { url = "https://files.pythonhosted.org/packages/a4/73/d2c08231e4fde7e415501fd02c715d96e98599b2d8384445933944152984/numpy-2.5.3-cp314-cp314-win_amd64.whl", hash = "sha256:2c25dfa72943e4336ddb6b0ee4277b47a0c85bede0807530ec68103bf58e2c10", size = 12698179, upload-time = "2026-09-06T16:26:00.789Z" },+ { url = "https://files.pythonhosted.org/packages/5c/e9/dcdcc9b95cf5f49815055573aee1b11cfbf5299f38a180e437ded050810f/numpy-2.5.3-cp314-cp314-win_arm64.whl", hash = "sha256:15aa985ac73a8db02db7663381aa109510449d3819d37206caed27b33a65a8a6", size = 10769383, upload-time = "2026-09-06T16:26:04.011Z" },+ { url = "https://files.pythonhosted.org/packages/49/c4/af8bc08a7ef4e1529a7c0cf24969accce316b783999802089a581ec99272/numpy-2.5.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ac7bb1c52d445bd4f8f7f97fefe6abc3a084dc4d63df50d79b17fa2b78e89297", size = 12132668, upload-time = "2026-09-06T16:26:07.138Z" },+ { url = "https://files.pythonhosted.org/packages/c5/ae/0f15eb56d4ec5e13c1f7ff04ff407f997d1acbadb45d3e1f2e2645a8f43c/numpy-2.5.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:e6ab667ba76450084eb64013762c438ea76d9d29cc676dcd6c2e9892ba37f841", size = 5568580, upload-time = "2026-09-06T16:26:09.828Z" },+ { url = "https://files.pythonhosted.org/packages/23/fb/c72a8f25d4b6e96c354e7ab45ace3b27dc11e5d6a13b6c7d0cd6b08bf112/numpy-2.5.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:f7fabeb6cea87d65f3b926de33d03fb016cfdc29314c90974383b5582ae72891", size = 6882634, upload-time = "2026-09-06T16:26:12.524Z" },+ { url = "https://files.pythonhosted.org/packages/07/a9/968c90ed2ab15060c338e8137f1215b5a60756ae07328e0a60d1c6734df4/numpy-2.5.3-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1fb6f8fb9ff0b3a69f52c66ce397b0246583e9f28616231b0e32ca49259a5fa6", size = 15748923, upload-time = "2026-09-06T16:26:15.092Z" },+ { url = "https://files.pythonhosted.org/packages/59/08/9df04103947b95e3b6b1f2ed1a70521f325647a31b82da6a2aae3a485508/numpy-2.5.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:93e1f5447e2b1e479d7bd74701e84746b86450cff1fc368b132d195e2b8f8211", size = 16746748, upload-time = "2026-09-06T16:26:18.43Z" },+ { url = "https://files.pythonhosted.org/packages/41/a0/14c8d5fe5b53a334aabb653deb391c0fef49558f491880ea300ed6785224/numpy-2.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c00abe94c1a69d75d827dcf1c025b25c8a45d230b3bcd77a9020883a1b047653", size = 17111561, upload-time = "2026-09-06T16:26:22.113Z" },+ { url = "https://files.pythonhosted.org/packages/c4/a6/d7e96e42f01522e154c32489640f16dfc4f6181d165d05fc3bec8c2c4999/numpy-2.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:536f963710a4e63934d80ac0dc4f478804a83e9a84b6828018f25d09953ada33", size = 18513945, upload-time = "2026-09-06T16:26:25.401Z" },+ { url = "https://files.pythonhosted.org/packages/25/39/3453afb7119d0449ef11c886874120ff180e2c337760e0e2d88f70f1a945/numpy-2.5.3-cp314-cp314t-win32.whl", hash = "sha256:4c8a6d2ebce6305fd82fbefca827775437147052a976ee7c94b36a0c1b52ac6c", size = 6335421, upload-time = "2026-09-06T16:26:28.175Z" },+ { url = "https://files.pythonhosted.org/packages/99/01/22815d2b19a1a746b1d45205cffebb3fe511a18acb75fba6c88491fc9894/numpy-2.5.3-cp314-cp314t-win_amd64.whl", hash = "sha256:9a37475425b431b4d060f23b4f52cd2f3aef6bc7c654bd760adf0040eec9d435", size = 12896420, upload-time = "2026-09-06T16:26:31.265Z" },+ { url = "https://files.pythonhosted.org/packages/fa/ee/a7cbba67eeaff038dc29ca8b98a88396c8b0cc9c89d4924f4a27a5c9150b/numpy-2.5.3-cp314-cp314t-win_arm64.whl", hash = "sha256:2d8240cb4c16fd831074aa2b2cf9fc54664d826341d61c372245b96a74a49a9a", size = 10857177, upload-time = "2026-09-06T16:26:34.167Z" },+ { url = "https://files.pythonhosted.org/packages/45/56/78194492883ff5eec90423fe56a3a44b154da047d88a6307f629713c584f/numpy-2.5.3-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:a6391fafaba97500887132cd582abc6e19452b1ac775a47caa7b24490e152058", size = 16996531, upload-time = "2026-09-06T16:26:37.287Z" },+ { url = "https://files.pythonhosted.org/packages/11/39/dd55c0af90bbab564b09ae3b0aa60ec5c02b900fa4f1ba23440525c8b32d/numpy-2.5.3-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:09d5a423c71ad5feb5625844ad58050e35df43871004b52ac9c0ad44a56775be", size = 12012569, upload-time = "2026-09-06T16:26:40.707Z" },+ { url = "https://files.pythonhosted.org/packages/b6/51/04f67d32e4862b281b1cb84ceeaed3421189a84fb6fb51a391cd6d5009f7/numpy-2.5.3-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:f9579f383d1bf9df80081e72760e84960a7fd4f88cf0c9e535a8597c9bb646f5", size = 5448498, upload-time = "2026-09-06T16:26:43.435Z" },+ { url = "https://files.pythonhosted.org/packages/a3/c9/25b4dc0dd1344ec26c7319e84fd4e9809d2b5628f4e12decd618036e5178/numpy-2.5.3-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:86bff898a431c0fb71f7610b75726e75a54d47b37edc9d537f48de63bb3c0b90", size = 6783026, upload-time = "2026-09-06T16:26:46.374Z" },+ { url = "https://files.pythonhosted.org/packages/fc/c7/29285be1e5232a6e7ee3268a33c85843f5a8ee93350c6465cddd66ebbf76/numpy-2.5.3-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f3ed25271581281f2fccb1adcedfcde4c07362eec69189b50baf6f90e3ae159", size = 15697322, upload-time = "2026-09-06T16:26:49.415Z" },+ { url = "https://files.pythonhosted.org/packages/55/49/bbad5335fb4996a16881f853ff3e0ba582f01720e55c89b1c06b8fc42a90/numpy-2.5.3-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ffdc76bfcae6b255dff75202c5e7feaf95b40246bc0a17944facc1fecf9f79ab", size = 16708995, upload-time = "2026-09-06T16:26:53.127Z" },+ { url = "https://files.pythonhosted.org/packages/ef/e9/1df35483760b04a65ea44669f89dc64f30e5aca098b48ceb8b1310b0e0fe/numpy-2.5.3-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:116f96cadd935c6122e9228d676fe7ede19e741f5c8bb1c3cddbe0c51ccebea2", size = 17052508, upload-time = "2026-09-06T16:26:56.464Z" },+ { url = "https://files.pythonhosted.org/packages/b8/99/66e54da8265cc8be8a7382bf96edce17aaa2837d6f484432025932a3caa5/numpy-2.5.3-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:09ffa5d903faeaa5c4dd05009cf81c8bab9f2cb37c548b8d39b65b4cfa7c97f7", size = 18468224, upload-time = "2026-09-06T16:26:59.966Z" },+ { url = "https://files.pythonhosted.org/packages/01/bc/b5e90a91c115168d793dfd2ad9c69c438c2fe7a13a437e770bc5b078e732/numpy-2.5.3-cp315-cp315-win32.whl", hash = "sha256:e01c918ac3d48e18a927cf7b14a26a3e29ff2bdf2eacb976da0aecd6a43ed034", size = 6179919, upload-time = "2026-09-06T16:27:03.166Z" },+ { url = "https://files.pythonhosted.org/packages/37/ea/780748fd3985109075514ef8fc64cd25f943e40dde13a6d59141eb268fc8/numpy-2.5.3-cp315-cp315-win_amd64.whl", hash = "sha256:e931e4f499e0dc7ef29d269a8e5b35dd722e5d14be07df6240166ea7c6532fae", size = 12697656, upload-time = "2026-09-06T16:27:06.153Z" },+ { url = "https://files.pythonhosted.org/packages/b3/16/407be69a2a87c8cab64d95975a8977a426a29e138f07e276ec258f0fe4e5/numpy-2.5.3-cp315-cp315-win_arm64.whl", hash = "sha256:26e15e4aecd8617dfbaecb37d223e365d7b39411fba20454be2670a96aa74cb5", size = 10767601, upload-time = "2026-09-06T16:27:09.297Z" },+ { url = "https://files.pythonhosted.org/packages/44/bf/a97ffb01e41d50a32a9177aef942a4d0e389a3daf451d04e5f38ef6afb87/numpy-2.5.3-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:6cef4bb1706dfec49243c05d921eefb4e190d41e2528b30d8035ea1f36b4c24a", size = 17090092, upload-time = "2026-09-06T16:27:12.907Z" },+ { url = "https://files.pythonhosted.org/packages/d1/24/136c02f2c2af9a067a84d0c3aa10c99012c0476fa5066732fa4a4202557d/numpy-2.5.3-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:d1c89973648c85069c5046ad460f7b8a00218b29a2e42359ac8cc63e9ab94832", size = 12129429, upload-time = "2026-09-06T16:27:16.089Z" },+ { url = "https://files.pythonhosted.org/packages/fe/6c/b47582d6597789bf946d5efbeb6b9e56fd8bcbd5efc6fbf51dbe1ea31eb3/numpy-2.5.3-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:214045a5bf00113a146ab9ee9730c44501af6723cdf1f6830932f7b5ef2e7af0", size = 5565452, upload-time = "2026-09-06T16:27:19.868Z" },+ { url = "https://files.pythonhosted.org/packages/be/b4/ef3cc6da73774202d4deae16bb321fd8298a4e0561e3539f8c4be237d916/numpy-2.5.3-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:8617bbfae4486cf99c9f899966699428d19da931d06ca94ad3da986c76e15997", size = 6876736, upload-time = "2026-09-06T16:27:22.232Z" },+ { url = "https://files.pythonhosted.org/packages/9e/24/e3813329498596cb842703dcacac1741612ed9fb9c4e6a3e0c7e2ebbc597/numpy-2.5.3-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:595d020938c84e320bcf40ad71089e108eac0d377cd018e14a8c094f39e98d85", size = 15745777, upload-time = "2026-09-06T16:27:25.181Z" },+ { url = "https://files.pythonhosted.org/packages/4a/9e/4e7a07fd0776dc2210cdacf2010be8665194d094defc10c419d7dea794cc/numpy-2.5.3-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f24021b9f22bc6301c37b196974a92c1c18dccedb6fef3dd252e95f2d6adbe4", size = 16746949, upload-time = "2026-09-06T16:27:28.576Z" },+ { url = "https://files.pythonhosted.org/packages/91/db/01674c0e20335057813a00c2ebd546ed25bff9ed7914f9bced00f8c55d94/numpy-2.5.3-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:71b39d9f935b6ec0f8753e3e2afb51e3efba6f2e05b68b32a40754d24bcd4a3c", size = 17108994, upload-time = "2026-09-06T16:27:31.946Z" },+ { url = "https://files.pythonhosted.org/packages/45/7a/584c5e71f8d378e57cac0b033891ed65c683ef90573ba4854e8c28203db0/numpy-2.5.3-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:6b05c171afb3aa07adbd20abc00aea86fe375beb0fdb9ef780ec5b7f63bab1c0", size = 18512266, upload-time = "2026-09-06T16:27:35.196Z" },+ { url = "https://files.pythonhosted.org/packages/a1/d2/4e1014173aa3c55e6a756e0e567290743a6ab33a288460374d7ef6bcd239/numpy-2.5.3-cp315-cp315t-win32.whl", hash = "sha256:f54660b0eb6b0b9f36e7fe1cdfdff472028dd0d14acd9b9b65098efbad059469", size = 6330292, upload-time = "2026-09-06T16:27:38.149Z" },+ { url = "https://files.pythonhosted.org/packages/6c/b0/ff5658a58199b7bcaad87bf260eef6713d9d42cca4e028f935b4fc5fbac6/numpy-2.5.3-cp315-cp315t-win_amd64.whl", hash = "sha256:1aad64d99730d013cfc6debafed22783b4fc5a7f4b8bc744d2d8cf7dcc880551", size = 12884918, upload-time = "2026-09-06T16:27:40.965Z" },+ { url = "https://files.pythonhosted.org/packages/fb/0b/b12a2df5d1b774bd9007a6fdff9381145b6223d37f11afc9c37ab0efd9a1/numpy-2.5.3-cp315-cp315t-win_arm64.whl", hash = "sha256:befa1ae5bd6030b3f512b43ff3fa5290bbed6b84411a44244b14adf835f5b89d", size = 10850807, upload-time = "2026-09-06T16:27:43.868Z" },+]++[[package]]+name = "nvidia-cublas-cu12"+version = "12.8.4.1"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/29/99/db44d685f0e257ff0e213ade1964fc459b4a690a73293220e98feb3307cf/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:b86f6dd8935884615a0683b663891d43781b819ac4f2ba2b0c9604676af346d0", size = 590537124, upload-time = "2025-03-07T01:43:53.556Z" },+ { url = "https://files.pythonhosted.org/packages/dc/61/e24b560ab2e2eaeb3c839129175fb330dfcfc29e5203196e5541a4c44682/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:8ac4e771d5a348c551b2a426eda6193c19aa630236b418086020df5ba9667142", size = 594346921, upload-time = "2025-03-07T01:44:31.254Z" },+]++[[package]]+name = "nvidia-cuda-cupti-cu12"+version = "12.8.90"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/d5/1f/b3bd73445e5cb342727fd24fe1f7b748f690b460acadc27ea22f904502c8/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:4412396548808ddfed3f17a467b104ba7751e6b58678a4b840675c56d21cf7ed", size = 9533318, upload-time = "2025-03-07T01:40:10.421Z" },+ { url = "https://files.pythonhosted.org/packages/f8/02/2adcaa145158bf1a8295d83591d22e4103dbfd821bcaf6f3f53151ca4ffa/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea0cb07ebda26bb9b29ba82cda34849e73c166c18162d3913575b0c9db9a6182", size = 10248621, upload-time = "2025-03-07T01:40:21.213Z" },+]++[[package]]+name = "nvidia-cuda-nvrtc-cu12"+version = "12.8.93"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/05/6b/32f747947df2da6994e999492ab306a903659555dddc0fbdeb9d71f75e52/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:a7756528852ef889772a84c6cd89d41dfa74667e24cca16bb31f8f061e3e9994", size = 88040029, upload-time = "2025-03-07T01:42:13.562Z" },+ { url = "https://files.pythonhosted.org/packages/eb/d1/e50d0acaab360482034b84b6e27ee83c6738f7d32182b987f9c7a4e32962/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fc1fec1e1637854b4c0a65fb9a8346b51dd9ee69e61ebaccc82058441f15bce8", size = 43106076, upload-time = "2025-03-07T01:41:59.817Z" },+]++[[package]]+name = "nvidia-cuda-runtime-cu12"+version = "12.8.90"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/7c/75/f865a3b236e4647605ea34cc450900854ba123834a5f1598e160b9530c3a/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:52bf7bbee900262ffefe5e9d5a2a69a30d97e2bc5bb6cc866688caa976966e3d", size = 965265, upload-time = "2025-03-07T01:39:43.533Z" },+ { url = "https://files.pythonhosted.org/packages/0d/9b/a997b638fcd068ad6e4d53b8551a7d30fe8b404d6f1804abf1df69838932/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:adade8dcbd0edf427b7204d480d6066d33902cab2a4707dcfc48a2d0fd44ab90", size = 954765, upload-time = "2025-03-07T01:40:01.615Z" },+]++[[package]]+name = "nvidia-cudnn-cu12"+version = "9.10.2.21"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "nvidia-cublas-cu12" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/fa/41/e79269ce215c857c935fd86bcfe91a451a584dfc27f1e068f568b9ad1ab7/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:c9132cc3f8958447b4910a1720036d9eff5928cc3179b0a51fb6d167c6cc87d8", size = 705026878, upload-time = "2025-06-06T21:52:51.348Z" },+ { url = "https://files.pythonhosted.org/packages/ba/51/e123d997aa098c61d029f76663dedbfb9bc8dcf8c60cbd6adbe42f76d049/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:949452be657fa16687d0930933f032835951ef0892b37d2d53824d1a84dc97a8", size = 706758467, upload-time = "2025-06-06T21:54:08.597Z" },+]++[[package]]+name = "nvidia-cufft-cu12"+version = "11.3.3.83"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "nvidia-nvjitlink-cu12" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/60/bc/7771846d3a0272026c416fbb7e5f4c1f146d6d80704534d0b187dd6f4800/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:848ef7224d6305cdb2a4df928759dca7b1201874787083b6e7550dd6765ce69a", size = 193109211, upload-time = "2025-03-07T01:44:56.873Z" },+ { url = "https://files.pythonhosted.org/packages/1f/13/ee4e00f30e676b66ae65b4f08cb5bcbb8392c03f54f2d5413ea99a5d1c80/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d2dd21ec0b88cf61b62e6b43564355e5222e4a3fb394cac0db101f2dd0d4f74", size = 193118695, upload-time = "2025-03-07T01:45:27.821Z" },+]++[[package]]+name = "nvidia-cufile-cu12"+version = "1.13.1.3"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/bb/fe/1bcba1dfbfb8d01be8d93f07bfc502c93fa23afa6fd5ab3fc7c1df71038a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1d069003be650e131b21c932ec3d8969c1715379251f8d23a1860554b1cb24fc", size = 1197834, upload-time = "2025-03-07T01:45:50.723Z" },+ { url = "https://files.pythonhosted.org/packages/1e/f5/5607710447a6fe9fd9b3283956fceeee8a06cda1d2f56ce31371f595db2a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:4beb6d4cce47c1a0f1013d72e02b0994730359e17801d395bdcbf20cfb3bb00a", size = 1120705, upload-time = "2025-03-07T01:45:41.434Z" },+]++[[package]]+name = "nvidia-curand-cu12"+version = "10.3.9.90"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/45/5e/92aa15eca622a388b80fbf8375d4760738df6285b1e92c43d37390a33a9a/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:dfab99248034673b779bc6decafdc3404a8a6f502462201f2f31f11354204acd", size = 63625754, upload-time = "2025-03-07T01:46:10.735Z" },+ { url = "https://files.pythonhosted.org/packages/fb/aa/6584b56dc84ebe9cf93226a5cde4d99080c8e90ab40f0c27bda7a0f29aa1/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:b32331d4f4df5d6eefa0554c565b626c7216f87a06a4f56fab27c3b68a830ec9", size = 63619976, upload-time = "2025-03-07T01:46:23.323Z" },+]++[[package]]+name = "nvidia-cusolver-cu12"+version = "11.7.3.90"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "nvidia-cublas-cu12" },+ { name = "nvidia-cusparse-cu12" },+ { name = "nvidia-nvjitlink-cu12" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/c8/32/f7cd6ce8a7690544d084ea21c26e910a97e077c9b7f07bf5de623ee19981/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:db9ed69dbef9715071232caa9b69c52ac7de3a95773c2db65bdba85916e4e5c0", size = 267229841, upload-time = "2025-03-07T01:46:54.356Z" },+ { url = "https://files.pythonhosted.org/packages/85/48/9a13d2975803e8cf2777d5ed57b87a0b6ca2cc795f9a4f59796a910bfb80/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4376c11ad263152bd50ea295c05370360776f8c3427b30991df774f9fb26c450", size = 267506905, upload-time = "2025-03-07T01:47:16.273Z" },+]++[[package]]+name = "nvidia-cusparse-cu12"+version = "12.5.8.93"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "nvidia-nvjitlink-cu12" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/bc/f7/cd777c4109681367721b00a106f491e0d0d15cfa1fd59672ce580ce42a97/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9b6c161cb130be1a07a27ea6923df8141f3c295852f4b260c65f18f3e0a091dc", size = 288117129, upload-time = "2025-03-07T01:47:40.407Z" },+ { url = "https://files.pythonhosted.org/packages/c2/f5/e1854cb2f2bcd4280c44736c93550cc300ff4b8c95ebe370d0aa7d2b473d/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ec05d76bbbd8b61b06a80e1eaf8cf4959c3d4ce8e711b65ebd0443bb0ebb13b", size = 288216466, upload-time = "2025-03-07T01:48:13.779Z" },+]++[[package]]+name = "nvidia-cusparselt-cu12"+version = "0.7.1"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/73/b9/598f6ff36faaece4b3c50d26f50e38661499ff34346f00e057760b35cc9d/nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_aarch64.whl", hash = "sha256:8878dce784d0fac90131b6817b607e803c36e629ba34dc5b433471382196b6a5", size = 283835557, upload-time = "2025-02-26T00:16:54.265Z" },+ { url = "https://files.pythonhosted.org/packages/56/79/12978b96bd44274fe38b5dde5cfb660b1d114f70a65ef962bcbbed99b549/nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_x86_64.whl", hash = "sha256:f1bb701d6b930d5a7cea44c19ceb973311500847f81b634d802b7b539dc55623", size = 287193691, upload-time = "2025-02-26T00:15:44.104Z" },+]++[[package]]+name = "nvidia-cutlass-dsl"+version = "4.8.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "nvidia-cutlass-dsl-libs-base" },+ { name = "nvidia-cutlass-dsl-libs-cu12" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/e4/f4/e96f452f7975dd2fd4d2a4af88c63205431dad7efbe63aff6e3a4b1ada17/nvidia_cutlass_dsl-4.8.0-py3-none-any.whl", hash = "sha256:24f996e0e5fa88c8b417f4893e615af135bdfdfdbdbed7e239faf36a88df711b", size = 10493, upload-time = "2026-09-21T03:44:08.278Z" },+]++[[package]]+name = "nvidia-cutlass-dsl-libs-base"+version = "4.8.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "cuda-bindings" },+ { name = "nvidia-cutlass-dsl-libs-core" },+ { name = "protobuf" },+ { name = "typing-extensions" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/21/59/99fa03da9ace3048379601cf090a629c8d7df3ed33a4fa284848080e342d/nvidia_cutlass_dsl_libs_base-4.8.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:3affcaefb59a976ff5195dd2bff4c13594233cb4941540b74e372b63e497d3f2", size = 3553268, upload-time = "2026-09-21T03:23:16.521Z" },+ { url = "https://files.pythonhosted.org/packages/12/1c/2f7a13626af1edfefb5ad69234d47e3b212064a42ad2e6db59351b5ae002/nvidia_cutlass_dsl_libs_base-4.8.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:5bdc80989b0fbbac3d58960057e74e2ce8676fafa76b852d9422b9c4b9b74bdd", size = 3050530, upload-time = "2026-09-21T03:23:37.86Z" },+ { url = "https://files.pythonhosted.org/packages/70/fc/b17e40e75a5b120c37a67ccc41f0b596da0e0b0af90112beda4321b5a3be/nvidia_cutlass_dsl_libs_base-4.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:f3ae1fc18c1353e329dc481a4010e7f738746745a20d6badea2e6035d1493c9a", size = 553975, upload-time = "2026-09-21T03:24:01.373Z" },+ { url = "https://files.pythonhosted.org/packages/bf/26/42c965639d659e2092087a176579ac3682da3007f6e1f8cd70a7d4be1615/nvidia_cutlass_dsl_libs_base-4.8.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:4d26dd2848b2fa03954151cfd6da92b79e2f4175d87f4d661eedc77c36b7a054", size = 3553164, upload-time = "2026-09-21T03:24:22.327Z" },+ { url = "https://files.pythonhosted.org/packages/74/a0/876b645cfa98137a1db319b549cc36b416d006ac352eaba5f2b2e292cf65/nvidia_cutlass_dsl_libs_base-4.8.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:5e36773748f5a8061afe999264f1c3dccc5ff18ec9548a9c769d8e72632c8b00", size = 3050412, upload-time = "2026-09-21T03:24:53.919Z" },+ { url = "https://files.pythonhosted.org/packages/61/dd/183be799302275a7e978438b58bbb61af2e1748c60ffeb407410d3604394/nvidia_cutlass_dsl_libs_base-4.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:49bdb4ac523fb8e618c485c42c451ccc99a2664a6a6996ac64627fcc35a6948c", size = 553975, upload-time = "2026-09-21T03:25:15.949Z" },+ { url = "https://files.pythonhosted.org/packages/b1/20/5720c14f147559b5c6eea59971543e4ef81b3861da16d5618051f638c008/nvidia_cutlass_dsl_libs_base-4.8.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:752f1715d50a4af4704aa2f199986b99653b40dfb574dd0c6aa5cf264dddc800", size = 3553854, upload-time = "2026-09-21T03:25:41.565Z" },+ { url = "https://files.pythonhosted.org/packages/d1/d2/22980e2fded6fb7232b027fe1afb1a93a4b999cba293deeaf188f007e48e/nvidia_cutlass_dsl_libs_base-4.8.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:728abf1bc065fa950ad4f4506928300d7e32f3148312b93f83f3f2e8f756329a", size = 3050483, upload-time = "2026-09-21T03:26:03.194Z" },+ { url = "https://files.pythonhosted.org/packages/1a/9f/f9402062be3f2f8f6194b9b2a0b27a7ef8ce42487236b267868c87b314d8/nvidia_cutlass_dsl_libs_base-4.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:25f8b98c4d42f3a41c131556616827d49c619a7a79e4884c3e36d15048cc9062", size = 554030, upload-time = "2026-09-21T03:26:22.576Z" },+ { url = "https://files.pythonhosted.org/packages/76/b4/79d87535b14f923b14cf6f45557383f7ec70aa0b02c50b1552e31320a506/nvidia_cutlass_dsl_libs_base-4.8.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:c137f5b1df0eba5c3bd64f49a2b72ac1748a371c7a75bd461ce4b8602fcced25", size = 3560846, upload-time = "2026-09-21T03:26:34.838Z" },+ { url = "https://files.pythonhosted.org/packages/e8/f2/f1d639c23bf4cb6f1ea483431e6a0ab6aa46bbd6e3b6a17a11ae87a6f713/nvidia_cutlass_dsl_libs_base-4.8.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:0c9759725b5e3967606bcaa8f28d7218729fed5f90cbb73fdac96802802f1408", size = 3063843, upload-time = "2026-09-21T03:26:58.966Z" },+ { url = "https://files.pythonhosted.org/packages/d9/8a/d57c812b47551eae2c99d40a8b86483083875fe96cfc21b1593c3f1df1fa/nvidia_cutlass_dsl_libs_base-4.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:8701b91be993b621d892796fa252aa9b63cb75fb5a7fe894536fe132b57d554e", size = 554033, upload-time = "2026-09-21T03:27:20.891Z" },+]++[[package]]+name = "nvidia-cutlass-dsl-libs-core"+version = "4.8.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "cuda-bindings" },+ { name = "protobuf" },+ { name = "typing-extensions" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/85/66/d05f0ae372b80fc757e59d5211d93483c6ff721f574cb68cad84ceb87157/nvidia_cutlass_dsl_libs_core-4.8.0-py3-none-any.whl", hash = "sha256:b32716d2ed10c185cdbbb6b5c6fca26a3113a60e6e2fe4e2f0cb15966422b621", size = 1634056, upload-time = "2026-09-21T03:20:12.741Z" },+]++[[package]]+name = "nvidia-cutlass-dsl-libs-cu12"+version = "4.8.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "cuda-bindings" },+ { name = "nvidia-cutlass-dsl-libs-base" },+ { name = "protobuf" },+ { name = "typing-extensions" },+]+wheels = [+ { url = "https://files.pythonhosted.org/packages/b9/10/6894d25cc9011416f82d33eee70ad458c5f6fd50c7e7e2f75d85b708f9a5/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:32766847abe3bef711eb6052ab78c0f24c090edd1f83322f6e74531d399e8117", size = 90663297, upload-time = "2026-09-21T03:30:26.937Z" },+ { url = "https://files.pythonhosted.org/packages/13/a0/fdde64cc231f52a716107bf1a1246db9dde8cb11b28278b8d9c05f7c87bd/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:2374cfdff635ceaf7e2c5bd17b4beb410830420a4fd65b12b7f24b5d5cbb9d4c", size = 91698149, upload-time = "2026-09-21T03:30:50.832Z" },+ { url = "https://files.pythonhosted.org/packages/72/57/c58304e2ff19ce3afd33076d6dfa6639a5023601f6fc11f7f16d6ea0eef6/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:d1d942de8ea20dea9ce86fdc5c4dab6c572bab81c9f708f7e8ca54cfd78bddc4", size = 74239275, upload-time = "2026-09-21T03:31:21.136Z" },+ { url = "https://files.pythonhosted.org/packages/63/89/5cb06d4a4a59c2a5f3a8183e2a31c90b5ba679e3d53e9889ce4311580405/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:08af2b89f33081df69b64be1cad133f9f767274b33669882cbee6a5fa35c5fcc", size = 90660248, upload-time = "2026-09-21T03:31:41.285Z" },+ { url = "https://files.pythonhosted.org/packages/aa/7a/fc227e590fb9aff5d542e970011a55bb9c6a4eb3165fd64e8f4b2de631a5/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:a06ea6a42c921ec66b190f14849e152a95a45f28819214488b9b0aa34168da33", size = 91698043, upload-time = "2026-09-21T03:32:04.819Z" },+ { url = "https://files.pythonhosted.org/packages/bc/87/d84548297aa98583a483e8cca5b7db9379d0e0fb4f647472c5148e8e14da/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:4963300d4242dd5ee122be0367008c57a9bb9fb11fa4d9fc8e0befb491dccecd", size = 74239680, upload-time = "2026-09-21T03:32:26.019Z" },+ { url = "https://files.pythonhosted.org/packages/71/7c/1d74bb455a41cfff0ff70b51a4a4898a8a96b991411117e7f4fbcd218d15/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:41f9d49087f18200c4516e00abade67f542795f363c7f195bb53404b81a866f8", size = 90664033, upload-time = "2026-09-21T03:32:49.163Z" },+ { url = "https://files.pythonhosted.org/packages/6f/a6/87c26f561a784631ef26a606549c26b72ca13d40886462ee8b89abceb072/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:889918c32fe6cad047ae718343fedb374a9c4275903b4ab2d8f42e811a6a0dac", size = 91698171, upload-time = "2026-09-21T03:33:11.342Z" },+ { url = "https://files.pythonhosted.org/packages/23/df/47032477e611232dc10085974139fd4a72e0c5af3fb2c8d34f02626fedc9/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:74e5f9d291eb689422695e36c8c85ae65fca05c743e60d8bce392bdb9dc4f68e", size = 76219624, upload-time = "2026-09-21T03:33:33.831Z" },+ { url = "https://files.pythonhosted.org/packages/e3/17/13ccd372d4f624447e93c7a46a32a93c7df774e401d14a8d0684ef1ccf7a/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:0746ff56576d63abf616d242fd1c3884713012448461d0f2bbf25bc397b410a0", size = 90672972, upload-time = "2026-09-21T03:33:56.587Z" },+ { url = "https://files.pythonhosted.org/packages/8e/21/242fbcd98c5355589c878fd41bb3c94cb1ed62bd5e67a63f6fae93375990/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:54125669fc51e70ce97e85554ae089cc745c4b2b8d740750b315e5777304ea6c", size = 91698894, upload-time = "2026-09-21T03:34:27.435Z" },+ { url = "https://files.pythonhosted.org/packages/d3/7f/64dfbf8acc280f31719c0b8d8638332f1616c0d8ac42053b2e0e43fe2c4b/nvidia_cutlass_dsl_libs_cu12-4.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:bad2b4cab99ebf4211d305f77254b5edaa29421d6e56767b0ae6f1b835d10742", size = 76341929, upload-time = "2026-09-21T03:34:48.15Z" },+]++[[package]]+name = "nvidia-nccl-cu12"+version = "2.27.5"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/bb/1c/857979db0ef194ca5e21478a0612bcdbbe59458d7694361882279947b349/nvidia_nccl_cu12-2.27.5-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:31432ad4d1fb1004eb0c56203dc9bc2178a1ba69d1d9e02d64a6938ab5e40e7a", size = 322400625, upload-time = "2025-06-26T04:11:04.496Z" },+ { url = "https://files.pythonhosted.org/packages/6e/89/f7a07dc961b60645dbbf42e80f2bc85ade7feb9a491b11a1e973aa00071f/nvidia_nccl_cu12-2.27.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ad730cf15cb5d25fe849c6e6ca9eb5b76db16a80f13f425ac68d8e2e55624457", size = 322348229, upload-time = "2025-06-26T04:11:28.385Z" },+]++[[package]]+name = "nvidia-nvjitlink-cu12"+version = "12.8.93"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/f6/74/86a07f1d0f42998ca31312f998bd3b9a7eff7f52378f4f270c8679c77fb9/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:81ff63371a7ebd6e6451970684f916be2eab07321b73c9d244dc2b4da7f73b88", size = 39254836, upload-time = "2025-03-07T01:49:55.661Z" },+ { url = "https://files.pythonhosted.org/packages/2a/a2/8cee5da30d13430e87bf99bb33455d2724d0a4a9cb5d7926d80ccb96d008/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:adccd7161ace7261e01bb91e44e88da350895c270d23f744f0820c818b7229e7", size = 38386204, upload-time = "2025-03-07T01:49:43.612Z" },+]++[[package]]+name = "nvidia-nvshmem-cu12"+version = "3.4.5"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/1d/6a/03aa43cc9bd3ad91553a88b5f6fb25ed6a3752ae86ce2180221962bc2aa5/nvidia_nvshmem_cu12-3.4.5-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0b48363fc6964dede448029434c6abed6c5e37f823cb43c3bcde7ecfc0457e15", size = 138936938, upload-time = "2025-09-06T00:32:05.589Z" },+ { url = "https://files.pythonhosted.org/packages/b5/09/6ea3ea725f82e1e76684f0708bbedd871fc96da89945adeba65c3835a64c/nvidia_nvshmem_cu12-3.4.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:042f2500f24c021db8a06c5eec2539027d57460e1c1a762055a6554f72c369bd", size = 139103095, upload-time = "2025-09-06T00:32:31.266Z" },+]++[[package]]+name = "nvidia-nvtx-cu12"+version = "12.8.90"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/10/c0/1b303feea90d296f6176f32a2a70b5ef230f9bdeb3a72bddb0dc922dc137/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d7ad891da111ebafbf7e015d34879f7112832fc239ff0d7d776b6cb685274615", size = 91161, upload-time = "2025-03-07T01:42:23.922Z" },+ { url = "https://files.pythonhosted.org/packages/a2/eb/86626c1bbc2edb86323022371c39aa48df6fd8b0a1647bc274577f72e90b/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5b17e2001cc0d751a5bc2c6ec6d26ad95913324a4adb86788c944f8ce9ba441f", size = 89954, upload-time = "2025-03-07T01:42:44.131Z" },+]++[[package]]+name = "omegaconf"+version = "2.3.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "antlr4-python3-runtime" },+ { name = "pyyaml" },+]+sdist = { url = "https://files.pythonhosted.org/packages/ce/3d/e4b57b8d9008c6ebe0d5eff901f91d5700cf7bdb8c8863df817463a7fd5e/omegaconf-2.3.1.tar.gz", hash = "sha256:e5e7de64aeebeddaf8e6d3f7a783b32ac2a01c0fbd9c878012caecb891a1f42a", size = 3298472, upload-time = "2026-06-11T05:05:12.885Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/a4/0e/152509871bf30df6fc38569f52a2db9b55dd41aae957adae50a053ac7778/omegaconf-2.3.1-py3-none-any.whl", hash = "sha256:3d701d14e9a8828f1edd28bb70b725908b34277cdd72cf7d6a83f94dadc6b6a0", size = 79502, upload-time = "2026-06-11T05:05:09.954Z" },+]++[[package]]+name = "opentelemetry-api"+version = "1.45.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/1f/dc/e12c1fe1ed8a7b7149777127b1a0e12ce5bd5a81d97408bedc2128c260f5/opentelemetry_api-1.45.0.tar.gz", hash = "sha256:711ede81773c8025c2c03dac0450bc89f3d30aea6eabcc815c570d4e35a963f7", size = 72115, upload-time = "2026-09-25T12:32:28.399Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/44/b9/040d1a1c7836922828e6480cd2366bb8fe0ebf75b413d2bb51a9b0e7f78f/opentelemetry_api-1.45.0-py3-none-any.whl", hash = "sha256:80e068aba7cd56c8b58512d6a36f8d25cb1dfaa0c0a4cc1c938ccf9f362d9cb3", size = 60020, upload-time = "2026-09-25T12:32:03.192Z" },+]++[[package]]+name = "opentelemetry-exporter-http-transport"+version = "0.66b0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "opentelemetry-api" },+]+sdist = { url = "https://files.pythonhosted.org/packages/5e/31/cbedb10e08c3c932b80f58edf055a16bb48a500c23c617b758fb3ec18f08/opentelemetry_exporter_http_transport-0.66b0.tar.gz", hash = "sha256:2c229b6593eaa22c86d9b8a15843dc23b406dbda00fb138339189aab07923b4e", size = 11694, upload-time = "2026-09-25T12:32:29.689Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b1/65/34d7106eb45acda40f016c5b31b313ffbbf4744acd5f099f29eaf2958b4d/opentelemetry_exporter_http_transport-0.66b0-py3-none-any.whl", hash = "sha256:c82689928a11505a2a0a26a04afe0ce06d270d3db984bc16c1a80ffa902db00e", size = 12156, upload-time = "2026-09-25T12:32:05.621Z" },+]++[package.optional-dependencies]+urllib3 = [+ { name = "urllib3" },+]++[[package]]+name = "opentelemetry-exporter-otlp-common"+version = "0.66b0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "opentelemetry-sdk" },+]+sdist = { url = "https://files.pythonhosted.org/packages/68/09/01239cdfe8a414d46ed625b68b6da92666ffd16d93cc6dadf89404b4bd85/opentelemetry_exporter_otlp_common-0.66b0.tar.gz", hash = "sha256:362268ec6aa705e183776ff938539df1e8ce45bc5509d242538b1d40c26fe6a6", size = 14323, upload-time = "2026-09-25T12:32:31.481Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/c3/a9/b6a7a9d40ba99ed71b18e17310339024b086578f5f32162df1c1c0cf6270/opentelemetry_exporter_otlp_common-0.66b0-py3-none-any.whl", hash = "sha256:35d24c867310f4713a9738b0202b6bade77955418fccb9e2f7eea01b76263916", size = 12387, upload-time = "2026-09-25T12:32:08.438Z" },+]++[[package]]+name = "opentelemetry-exporter-otlp-proto-common"+version = "1.45.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "opentelemetry-proto" },+]+sdist = { url = "https://files.pythonhosted.org/packages/e5/e0/ee3823dbdc10da15b5750becc37b61194dd7c55e3b56764ecbbe446f659a/opentelemetry_exporter_otlp_proto_common-1.45.0.tar.gz", hash = "sha256:36495115a0c6a7aa946cfda9d59b6ed4e917b6ab0f75cdaf66bc1b176ec1be1f", size = 18870, upload-time = "2026-09-25T12:32:34.141Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/f0/bf/3e21917368a81282ce9fc6d085a944dcaea6eed19de7d29cc979375db347/opentelemetry_exporter_otlp_proto_common-1.45.0-py3-none-any.whl", hash = "sha256:7e1410ae6d3ed301f7a74bec96467d519d3f37e52f9d95b309ae125e5a1af863", size = 15394, upload-time = "2026-09-25T12:32:12.663Z" },+]++[[package]]+name = "opentelemetry-exporter-otlp-proto-http"+version = "1.45.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "googleapis-common-protos" },+ { name = "opentelemetry-api" },+ { name = "opentelemetry-exporter-http-transport", extra = ["urllib3"] },+ { name = "opentelemetry-exporter-otlp-common" },+ { name = "opentelemetry-exporter-otlp-proto-common" },+ { name = "opentelemetry-proto" },+ { name = "opentelemetry-sdk" },+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/94/78/a503801c1c8f80b1d8aad0e14106a7c57f39344001652a78a683f9a9089e/opentelemetry_exporter_otlp_proto_http-1.45.0.tar.gz", hash = "sha256:2f35496d96809f946f41b8805e6b93aec6c9b71b5fd759b75b6af4c084d992ae", size = 28818, upload-time = "2026-09-25T12:32:35.335Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/e7/18/875e0ee47e035f324e42eda9aab47d58381a4412181dca251d3504e24680/opentelemetry_exporter_otlp_proto_http-1.45.0-py3-none-any.whl", hash = "sha256:74385f99266dafdefff41f3da4b76f6dba79d237a9d4487e6ff1ee653c74a0a3", size = 22260, upload-time = "2026-09-25T12:32:14.658Z" },+]++[[package]]+name = "opentelemetry-proto"+version = "1.45.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "protobuf" },+]+sdist = { url = "https://files.pythonhosted.org/packages/72/28/67c38cfb7e2bdfdd0cde7dcdd0424aed0291fbd64aa4ea3e7e913734711a/opentelemetry_proto-1.45.0.tar.gz", hash = "sha256:96ee414f24bc3f61ea8e17dc56b4348d4049d73db3eb17c6b3edf75b5b403300", size = 46489, upload-time = "2026-09-25T12:32:41.409Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/6b/45/814d55714507c7ce9c9cd86a4f83ceb5a74ab0bffcc63ff493943f138de2/opentelemetry_proto-1.45.0-py3-none-any.whl", hash = "sha256:9731566359d7b8e1ee1e149d8e4ad6865bab965e657ad3387ec2784d16927666", size = 72486, upload-time = "2026-09-25T12:32:23.36Z" },+]++[[package]]+name = "opentelemetry-sdk"+version = "1.45.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "opentelemetry-api" },+ { name = "opentelemetry-semantic-conventions" },+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/ac/ed/ad32d76cc86ebce601105d01d13f8a08d6abc1852eaf69d79cf199bc1ee7/opentelemetry_sdk-1.45.0.tar.gz", hash = "sha256:20caa5130505e386c67c3da1c76e446c842698ced54c76c6148679539aa97972", size = 218337, upload-time = "2026-09-25T12:32:43.591Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/8a/ae/46963201ce58d6b86f9e54087a39720a35ac9f57c3a9e440d275995c2b02/opentelemetry_sdk-1.45.0-py3-none-any.whl", hash = "sha256:5dc634c946546f61b757c5b1781f9fd1a10e96ffaf7357c797e508fe9c57e75e", size = 140132, upload-time = "2026-09-25T12:32:25.399Z" },+]++[[package]]+name = "opentelemetry-semantic-conventions"+version = "0.66b0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "opentelemetry-api" },+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/2e/21/910f085c0b83b80e45c341c7859baef37c877046b2c44c88d5ff2d5db948/opentelemetry_semantic_conventions-0.66b0.tar.gz", hash = "sha256:97a77dce484c54861e7eeff7651fd8a806dd3c30e501dc316730215ec36890e6", size = 150247, upload-time = "2026-09-25T12:32:44.827Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/f4/93/2ad416d69c4ca8fd21ebc6894f23f4eda744dc6f43a14d7a9ffd7ed3abbd/opentelemetry_semantic_conventions-0.66b0-py3-none-any.whl", hash = "sha256:175b19dd98c4473f4f43a2b1df59186fd7b4a48cd3f77cbe03438b6d6fda230a", size = 206277, upload-time = "2026-09-25T12:32:26.484Z" },+]++[[package]]+name = "packaging"+version = "26.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" },+]++[[package]]+name = "pillow"+version = "12.3.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz", hash = "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", size = 47025035, upload-time = "2026-07-01T11:56:38.965Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/37/bf/fb3ebff8ddcb76aac5a01389251bbbb9519922a9b520d8247c1ca864a25d/pillow-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", size = 5345969, upload-time = "2026-07-01T11:54:06.397Z" },+ { url = "https://files.pythonhosted.org/packages/d8/66/9a386a92561f402389a4fc70c18838bf6d35eb5eb5c6850b4b2dc64f5048/pillow-12.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7", size = 4780323, upload-time = "2026-07-01T11:54:09.351Z" },+ { url = "https://files.pythonhosted.org/packages/25/27/ac8f99618ffd3dde21db0f4d4b1d2ab00c0880595bfd17df103f7f39fd0c/pillow-12.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9", size = 6266838, upload-time = "2026-07-01T11:54:11.71Z" },+ { url = "https://files.pythonhosted.org/packages/84/21/a35af28dcc61f37ed850a2d64c65c701321dfbf25085e469d5559360cbbf/pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", size = 6940830, upload-time = "2026-07-01T11:54:13.732Z" },+ { url = "https://files.pythonhosted.org/packages/eb/51/8b08617af3ad95e33ce6d7dd2c99ed6c8298f7fb131636303956be022e25/pillow-12.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c", size = 6344383, upload-time = "2026-07-01T11:54:15.756Z" },+ { url = "https://files.pythonhosted.org/packages/1d/72/cf78ac9780bb93c28328f408973845a309d4d145041665f734572ced1b52/pillow-12.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", size = 7052934, upload-time = "2026-07-01T11:54:17.721Z" },+ { url = "https://files.pythonhosted.org/packages/20/20/25e0f4dc178a6bc0696793720055519a0de89e7661dae886992decbd2f81/pillow-12.3.0-cp312-cp312-win32.whl", hash = "sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f", size = 6472684, upload-time = "2026-07-01T11:54:19.839Z" },+ { url = "https://files.pythonhosted.org/packages/45/89/da2f7971a317f83d807fdd4065c0af40208e59e692cc43d315a71a0e96d1/pillow-12.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", size = 7227137, upload-time = "2026-07-01T11:54:22.025Z" },+ { url = "https://files.pythonhosted.org/packages/de/47/4845a0a6c0dbf1db8456bd9fc791f13c5ced7ced20606d08a0aacfd25b49/pillow-12.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510", size = 2568267, upload-time = "2026-07-01T11:54:24.051Z" },+ { url = "https://files.pythonhosted.org/packages/9d/ac/31fb64e1e7efb5a4b50cd3d92049ba89ac6e4d8d3bb6a74e15048ca3353e/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89", size = 4161684, upload-time = "2026-07-01T11:54:25.934Z" },+ { url = "https://files.pythonhosted.org/packages/87/b4/9805e23d2b4d77842b468513841fda254ee42f0289d25088340e4ff46e2d/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace", size = 4255487, upload-time = "2026-07-01T11:54:27.935Z" },+ { url = "https://files.pythonhosted.org/packages/df/39/ecf519435a200c693fe053a6ee4d835b41cf963a4dfc2551c4e637cb2a71/pillow-12.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec", size = 3696433, upload-time = "2026-07-01T11:54:29.813Z" },+ { url = "https://files.pythonhosted.org/packages/42/92/2fc3ffad878ae8dd5469ec1bc8eb83b71f48e13efdf68f02709003982a32/pillow-12.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66", size = 5345889, upload-time = "2026-07-01T11:54:31.97Z" },+ { url = "https://files.pythonhosted.org/packages/10/76/8803c13605b763d33d156c4678fc77f8443389c0c51c8aef707bb02015f4/pillow-12.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35", size = 4780109, upload-time = "2026-07-01T11:54:34.026Z" },+ { url = "https://files.pythonhosted.org/packages/1f/01/e18aff37cb0b4aac47ac90f016d347a49aca667ef97f190b06ac2aabc928/pillow-12.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65", size = 6263736, upload-time = "2026-07-01T11:54:36.131Z" },+ { url = "https://files.pythonhosted.org/packages/f7/62/de5bdd77d935331f4f802edc11e4d82950f642caad6cb2f949837b8560e2/pillow-12.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3", size = 6937129, upload-time = "2026-07-01T11:54:38.216Z" },+ { url = "https://files.pythonhosted.org/packages/70/4d/105627a13300c5e0df1d174230b32fd1273062c96f7745fd552b945d1e1d/pillow-12.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a", size = 6339562, upload-time = "2026-07-01T11:54:40.354Z" },+ { url = "https://files.pythonhosted.org/packages/6b/1d/f13de01a553988ab895ba1c722e06cf3144d4f57656fd5b81b6d881f1179/pillow-12.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e", size = 7049439, upload-time = "2026-07-01T11:54:42.489Z" },+ { url = "https://files.pythonhosted.org/packages/c9/f9/066794cca041b969964f779ee5fa66a9498bbf34248ac39c5d7954e4198f/pillow-12.3.0-cp313-cp313-win32.whl", hash = "sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f", size = 6473287, upload-time = "2026-07-01T11:54:44.9Z" },+ { url = "https://files.pythonhosted.org/packages/a6/9b/7a58e61d62be561da3a356fe2384d4059a6345fc130e23ef1c36a5b81d24/pillow-12.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8", size = 7239691, upload-time = "2026-07-01T11:54:47.141Z" },+ { url = "https://files.pythonhosted.org/packages/aa/b0/c4ed4f0ef8f8fa5ee8351537db6650bb8189f7e118842978dd6589065692/pillow-12.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b", size = 2568185, upload-time = "2026-07-01T11:54:49.137Z" },+ { url = "https://files.pythonhosted.org/packages/dc/01/001f65b68192f0228cc1dbbc8d2530ab5d58b61037ba0587f946fea607cd/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330", size = 4161736, upload-time = "2026-07-01T11:54:51.156Z" },+ { url = "https://files.pythonhosted.org/packages/1a/d2/0219746d0fd16fc8a84498e79452375be3797d3ce4044596ce565164b84f/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217", size = 4255435, upload-time = "2026-07-01T11:54:53.414Z" },+ { url = "https://files.pythonhosted.org/packages/c8/02/8d0bc62ef0302318c46ff2a512822d2610e81c7aa46c9b3abe6cbaca5ad0/pillow-12.3.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930", size = 3696262, upload-time = "2026-07-01T11:54:55.739Z" },+ { url = "https://files.pythonhosted.org/packages/85/e2/73c77d218410b14f5f2d565e8a998d5317b7b9c75368d29985139f7a46f0/pillow-12.3.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8", size = 5350344, upload-time = "2026-07-01T11:54:57.657Z" },+ { url = "https://files.pythonhosted.org/packages/c7/da/32c752228ae345f489e3a42499d817b6c3996da7e8a3bc7a04fc806b243b/pillow-12.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0", size = 4780131, upload-time = "2026-07-01T11:54:59.713Z" },+ { url = "https://files.pythonhosted.org/packages/b1/9d/8b2c807dbef61a5197c047afe99823787eb66f63daf9fb2432f91d6f0462/pillow-12.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321", size = 6263757, upload-time = "2026-07-01T11:55:01.778Z" },+ { url = "https://files.pythonhosted.org/packages/5c/44/c85361f65dbe00eea8576ee467c768d25129989efb76e94f205e9ca9bb46/pillow-12.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b", size = 6936962, upload-time = "2026-07-01T11:55:03.93Z" },+ { url = "https://files.pythonhosted.org/packages/18/7e/e483414b35800b86b6f08dbbc7803fb5cd52c4d6f897f47d53ea2c7e6f65/pillow-12.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198", size = 6339171, upload-time = "2026-07-01T11:55:05.989Z" },+ { url = "https://files.pythonhosted.org/packages/f0/f4/68c491844841ede6bed70189546b3ee9731cf9f2cbad396faff5e1ccba45/pillow-12.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130", size = 7048116, upload-time = "2026-07-01T11:55:08.131Z" },+ { url = "https://files.pythonhosted.org/packages/a3/34/77f3f793fed8efc7d243f21b33c5a3f0d1c97ee70346d3db855587e155ff/pillow-12.3.0-cp314-cp314-win32.whl", hash = "sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a", size = 6467209, upload-time = "2026-07-01T11:55:10.408Z" },+ { url = "https://files.pythonhosted.org/packages/f1/e0/492879f69d94f91f60fc8cd05ba03650e9520afebb2fb7aa12777d7c7f38/pillow-12.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d", size = 7237707, upload-time = "2026-07-01T11:55:12.745Z" },+ { url = "https://files.pythonhosted.org/packages/c9/ac/6b11f2875f1c2ac040d84e1bbf9cf22a88038f901ca1037898b280b38365/pillow-12.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838", size = 2565995, upload-time = "2026-07-01T11:55:14.736Z" },+ { url = "https://files.pythonhosted.org/packages/52/69/c2208e56af9bfc1913afb24020297a691eb1d4ef688474c8a04913f65e04/pillow-12.3.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e", size = 5352503, upload-time = "2026-07-01T11:55:17.076Z" },+ { url = "https://files.pythonhosted.org/packages/07/70/e5686d753e898a45d778ff1718dba8516ead6ab6b95d85fc8c4b70650cf2/pillow-12.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17", size = 4782956, upload-time = "2026-07-01T11:55:19.448Z" },+ { url = "https://files.pythonhosted.org/packages/d5/37/25c6692f06927ee973ff18c8d9ee98ad0b4d84ee67a09610c2dd1447958e/pillow-12.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385", size = 6322855, upload-time = "2026-07-01T11:55:21.613Z" },+ { url = "https://files.pythonhosted.org/packages/cc/91/420637fcb8f1bc11029e403b4538e6694744428d8246118e45719f944556/pillow-12.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c", size = 6989642, upload-time = "2026-07-01T11:55:24.006Z" },+ { url = "https://files.pythonhosted.org/packages/10/08/b94d7811281ccf0d143a1cf768d1c49e1e54af63e7b708ab2ee3eb87face/pillow-12.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d", size = 6391281, upload-time = "2026-07-01T11:55:26.252Z" },+ { url = "https://files.pythonhosted.org/packages/d2/87/24233f785f55474dc02ce3e739c5528a77e3a862e9333d1dd7a25cc31f70/pillow-12.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931", size = 7096716, upload-time = "2026-07-01T11:55:28.318Z" },+ { url = "https://files.pythonhosted.org/packages/23/26/fcb2f6e37175b04f53570b59937867e2b80ee1685e744023153028fc14f9/pillow-12.3.0-cp314-cp314t-win32.whl", hash = "sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7", size = 6474125, upload-time = "2026-07-01T11:55:30.956Z" },+ { url = "https://files.pythonhosted.org/packages/90/de/3634abee5f1c9e13c56787b7d5517b0ba8d6de51700b95578cf338349c9f/pillow-12.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c", size = 7242939, upload-time = "2026-07-01T11:55:34.044Z" },+ { url = "https://files.pythonhosted.org/packages/ce/2a/fd13f8eb24de5714a6eb444a3d67e2842c6c576e159a43793adf23051351/pillow-12.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45", size = 2567506, upload-time = "2026-07-01T11:55:35.988Z" },+ { url = "https://files.pythonhosted.org/packages/5d/dc/8fdce34ec725a33c81c6ba122b904d6b9024e50ea9ac7bede62fab54506c/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139", size = 4162063, upload-time = "2026-07-01T11:55:37.941Z" },+ { url = "https://files.pythonhosted.org/packages/76/66/2044b9a63d3b84ff048228dfcb7cd9bf0df983e8470971bf7d4c57b693de/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402", size = 4255549, upload-time = "2026-07-01T11:55:40.022Z" },+ { url = "https://files.pythonhosted.org/packages/52/7e/1f67e6f4ece6b582ee4b539decbcc9f848dc245a93ed8cd7338bafef72f1/pillow-12.3.0-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c", size = 3696331, upload-time = "2026-07-01T11:55:41.98Z" },+ { url = "https://files.pythonhosted.org/packages/12/40/d306fc2c8e4d45d7f175c77edca7063be7b86fe7fe6e68f4353bf71d808c/pillow-12.3.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f", size = 5350370, upload-time = "2026-07-01T11:55:44.028Z" },+ { url = "https://files.pythonhosted.org/packages/dd/44/668fb1437e8ce420f62d6106eb66e44a5971602a4d794615bdf79315d82d/pillow-12.3.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701", size = 4780147, upload-time = "2026-07-01T11:55:46.073Z" },+ { url = "https://files.pythonhosted.org/packages/0c/08/93fa2e70e30a2d81547e481b6ee2bb9522117221fb1e0ce4b5df70967677/pillow-12.3.0-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace", size = 6273659, upload-time = "2026-07-01T11:55:48.264Z" },+ { url = "https://files.pythonhosted.org/packages/f8/6d/043e96ff814fc31a33077e4cba86082167db520c93632afdf2042febbb0c/pillow-12.3.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4", size = 6947439, upload-time = "2026-07-01T11:55:50.503Z" },+ { url = "https://files.pythonhosted.org/packages/af/92/ba71d2ee2ac0edf3fa33bd9d5ee9ee080da70b1766f3ca3934f9938ddac9/pillow-12.3.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39", size = 6353577, upload-time = "2026-07-01T11:55:52.697Z" },+ { url = "https://files.pythonhosted.org/packages/0f/ce/e63064e2122923ff687c8ad792d0d736a7b3920a56a46982e81a7fdd25d6/pillow-12.3.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71", size = 7060394, upload-time = "2026-07-01T11:55:55.149Z" },+ { url = "https://files.pythonhosted.org/packages/54/76/a09cc3ccc8d773a7283d34c38bec1708f9e3cc932093cbc4c5e71ac4060b/pillow-12.3.0-cp315-cp315-win32.whl", hash = "sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827", size = 6467375, upload-time = "2026-07-01T11:55:57.769Z" },+ { url = "https://files.pythonhosted.org/packages/3e/03/1846c49ba3b1d5550392a4bbd06d6fb4578e1cd91a803198b5c90f5f7d53/pillow-12.3.0-cp315-cp315-win_amd64.whl", hash = "sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5", size = 7237048, upload-time = "2026-07-01T11:55:59.975Z" },+ { url = "https://files.pythonhosted.org/packages/fb/bb/89f35dcc79610423f9f195504d7def7f0d1416a711541b42867e25fe3412/pillow-12.3.0-cp315-cp315-win_arm64.whl", hash = "sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658", size = 2566006, upload-time = "2026-07-01T11:56:02.143Z" },+ { url = "https://files.pythonhosted.org/packages/30/88/707027ba09942dfa2c28759b5c222d769290a41c6d20ea60ec250801941f/pillow-12.3.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf", size = 5352509, upload-time = "2026-07-01T11:56:04.2Z" },+ { url = "https://files.pythonhosted.org/packages/b0/6d/00352fa25332c2569cd387851f568cc5a4b75a9adbfb37ac4fbce4c02eec/pillow-12.3.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64", size = 4783167, upload-time = "2026-07-01T11:56:06.631Z" },+ { url = "https://files.pythonhosted.org/packages/13/4f/9e049dfa21af7c22427275720e2490267ba8138120add5c4c574deb69782/pillow-12.3.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e", size = 6329237, upload-time = "2026-07-01T11:56:08.868Z" },+ { url = "https://files.pythonhosted.org/packages/36/16/cf6eeaae8d0fce8dd390a33437cf68c5d5bd73834a2bc6e2f14efda0ab45/pillow-12.3.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777", size = 6997047, upload-time = "2026-07-01T11:56:11.379Z" },+ { url = "https://files.pythonhosted.org/packages/1e/69/dbf769bdd55f48bf5733cac28edc6364ffaa072ec9ba336266e4fe66be55/pillow-12.3.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1", size = 6400440, upload-time = "2026-07-01T11:56:13.908Z" },+ { url = "https://files.pythonhosted.org/packages/a0/e1/ffc9cfc2eea0d178da8018e18e959301ad9d6bc9f3edb7181e748a474b97/pillow-12.3.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9", size = 7105895, upload-time = "2026-07-01T11:56:16.575Z" },+ { url = "https://files.pythonhosted.org/packages/18/f0/a5595c1e8c3ae44b9828cb2f0fa8155e5095ef04d6327b8f61cf44a3df85/pillow-12.3.0-cp315-cp315t-win32.whl", hash = "sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8", size = 6474384, upload-time = "2026-07-01T11:56:18.855Z" },+ { url = "https://files.pythonhosted.org/packages/e4/04/62bcd9f844984c5938d3b05264a61d797a29d3e0812341a8204af70bbdee/pillow-12.3.0-cp315-cp315t-win_amd64.whl", hash = "sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418", size = 7243537, upload-time = "2026-07-01T11:56:21.214Z" },+ { url = "https://files.pythonhosted.org/packages/3d/68/1f3066acedf37673694a7141381d8f811ae97f30d34413d236abe7d489f1/pillow-12.3.0-cp315-cp315t-win_arm64.whl", hash = "sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59", size = 2567491, upload-time = "2026-07-01T11:56:23.506Z" },+]++[[package]]+name = "platformdirs"+version = "4.12.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/42/23/4a86fc741c38c5b69792a4ef954b281afa69bea9f083f881de1b0d23bc07/platformdirs-4.12.3.tar.gz", hash = "sha256:427fc0bb321ae0c5b037fa03238ca74820437be162e78b4848c4d4055b9b766c", size = 59538, upload-time = "2026-10-03T23:40:46.595Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/c5/9b/6ce1ead737fe496611bda600c263b9a11ae7bd8f41bb13f9bd7e0a2c37a4/platformdirs-4.12.3-py3-none-any.whl", hash = "sha256:080f3b39423b5abfca9a23d84c4e9795f54d395cd8459867a8ded44084fcd5f8", size = 32493, upload-time = "2026-10-03T23:40:45.104Z" },+]++[[package]]+name = "pluggy"+version = "1.6.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },+]++[[package]]+name = "protobuf"+version = "7.36.2"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/d9/89/5b8517baa72f84a67b8a307ba953c91057af618bf40bf676f3c03551f8f0/protobuf-7.36.2.tar.gz", hash = "sha256:497d0463ff3316681da6c0b9e8d06cb465d61abce00b613ab42226175644d1bb", size = 512737, upload-time = "2026-09-17T20:07:59.326Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/32/72/98342feb672507c8f3a69e34b4fa8961f608edba5c1a48a6f47156d92cb5/protobuf-7.36.2-cp310-abi3-macosx_10_9_universal2.whl", hash = "sha256:cbc70b17ee27e28894c7fee8bb04be1abead49e936bc70eb60052531eee2079e", size = 456039, upload-time = "2026-09-17T20:07:51.542Z" },+ { url = "https://files.pythonhosted.org/packages/b6/ea/91fdf7c2b8bbd49cde056f00a9df6773532987e1c00fe2830b895af95c7e/protobuf-7.36.2-cp310-abi3-manylinux2014_aarch64.whl", hash = "sha256:e11e1f0180583a2af89db6a2ecd9e8dc40aa6d2988ca175bfd0e6d12ea72d74e", size = 344219, upload-time = "2026-09-17T20:07:52.914Z" },+ { url = "https://files.pythonhosted.org/packages/17/ab/5fd5f8ece73fad885c5a09aa849b32d70472f954ba3a92d3bb5974ea953b/protobuf-7.36.2-cp310-abi3-manylinux2014_s390x.whl", hash = "sha256:f4fee11ec330d238b34a05c9b675f693c20415d1c5bd7d5320cc2f8a798eb9cf", size = 357223, upload-time = "2026-09-17T20:07:53.985Z" },+ { url = "https://files.pythonhosted.org/packages/db/f3/3996583dd2906297a637af12114deddf7658af6e683fedb83be061983fb5/protobuf-7.36.2-cp310-abi3-manylinux2014_x86_64.whl", hash = "sha256:89f23aa53c24553a2416fd4fd1ec06f74fa42b14b546d8883128813f775bbfd2", size = 343223, upload-time = "2026-09-17T20:07:54.931Z" },+ { url = "https://files.pythonhosted.org/packages/fc/1b/dcc64f358fcb51811b58ae40b3d28f820725f116d86487cc20bd4b130701/protobuf-7.36.2-cp310-abi3-win32.whl", hash = "sha256:912c1221170e16c08d1f086762f563dd61ff83c18b5fa6652952dfaded66f728", size = 442998, upload-time = "2026-09-17T20:07:55.826Z" },+ { url = "https://files.pythonhosted.org/packages/8a/55/b77bda4e5e5f5971fb51b07663694690e9afdb9402136c16a522bd621cad/protobuf-7.36.2-cp310-abi3-win_amd64.whl", hash = "sha256:a300819d441e078a5608c0d3c709796bb548136058fda017ae51d425b44fd353", size = 456514, upload-time = "2026-09-17T20:07:57.188Z" },+ { url = "https://files.pythonhosted.org/packages/e4/04/d52c7016b04b6c5108f26691f9d33ec82a9b65d041f1a9c771137693d618/protobuf-7.36.2-py3-none-any.whl", hash = "sha256:bdb3a345d48db958e6ce1f18e508beb0cc981d64f24088427549c866cd039f1e", size = 179806, upload-time = "2026-09-17T20:07:58.211Z" },+]++[[package]]+name = "psutil"+version = "7.2.2"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740, upload-time = "2026-01-28T18:14:54.428Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/51/08/510cbdb69c25a96f4ae523f733cdc963ae654904e8db864c07585ef99875/psutil-7.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b", size = 130595, upload-time = "2026-01-28T18:14:57.293Z" },+ { url = "https://files.pythonhosted.org/packages/d6/f5/97baea3fe7a5a9af7436301f85490905379b1c6f2dd51fe3ecf24b4c5fbf/psutil-7.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea", size = 131082, upload-time = "2026-01-28T18:14:59.732Z" },+ { url = "https://files.pythonhosted.org/packages/37/d6/246513fbf9fa174af531f28412297dd05241d97a75911ac8febefa1a53c6/psutil-7.2.2-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63", size = 181476, upload-time = "2026-01-28T18:15:01.884Z" },+ { url = "https://files.pythonhosted.org/packages/b8/b5/9182c9af3836cca61696dabe4fd1304e17bc56cb62f17439e1154f225dd3/psutil-7.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312", size = 184062, upload-time = "2026-01-28T18:15:04.436Z" },+ { url = "https://files.pythonhosted.org/packages/16/ba/0756dca669f5a9300d0cbcbfae9a4c30e446dfc7440ffe43ded5724bfd93/psutil-7.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b", size = 139893, upload-time = "2026-01-28T18:15:06.378Z" },+ { url = "https://files.pythonhosted.org/packages/1c/61/8fa0e26f33623b49949346de05ec1ddaad02ed8ba64af45f40a147dbfa97/psutil-7.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9", size = 135589, upload-time = "2026-01-28T18:15:08.03Z" },+ { url = "https://files.pythonhosted.org/packages/81/69/ef179ab5ca24f32acc1dac0c247fd6a13b501fd5534dbae0e05a1c48b66d/psutil-7.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00", size = 130664, upload-time = "2026-01-28T18:15:09.469Z" },+ { url = "https://files.pythonhosted.org/packages/7b/64/665248b557a236d3fa9efc378d60d95ef56dd0a490c2cd37dafc7660d4a9/psutil-7.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9", size = 131087, upload-time = "2026-01-28T18:15:11.724Z" },+ { url = "https://files.pythonhosted.org/packages/d5/2e/e6782744700d6759ebce3043dcfa661fb61e2fb752b91cdeae9af12c2178/psutil-7.2.2-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a", size = 182383, upload-time = "2026-01-28T18:15:13.445Z" },+ { url = "https://files.pythonhosted.org/packages/57/49/0a41cefd10cb7505cdc04dab3eacf24c0c2cb158a998b8c7b1d27ee2c1f5/psutil-7.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf", size = 185210, upload-time = "2026-01-28T18:15:16.002Z" },+ { url = "https://files.pythonhosted.org/packages/dd/2c/ff9bfb544f283ba5f83ba725a3c5fec6d6b10b8f27ac1dc641c473dc390d/psutil-7.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1", size = 141228, upload-time = "2026-01-28T18:15:18.385Z" },+ { url = "https://files.pythonhosted.org/packages/f2/fc/f8d9c31db14fcec13748d373e668bc3bed94d9077dbc17fb0eebc073233c/psutil-7.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841", size = 136284, upload-time = "2026-01-28T18:15:19.912Z" },+ { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090, upload-time = "2026-01-28T18:15:22.168Z" },+ { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859, upload-time = "2026-01-28T18:15:23.795Z" },+ { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560, upload-time = "2026-01-28T18:15:25.976Z" },+ { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997, upload-time = "2026-01-28T18:15:27.794Z" },+ { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972, upload-time = "2026-01-28T18:15:29.342Z" },+ { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266, upload-time = "2026-01-28T18:15:31.597Z" },+ { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737, upload-time = "2026-01-28T18:15:33.849Z" },+ { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" },+]++[[package]]+name = "pydantic"+version = "2.13.5"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "annotated-types" },+ { name = "pydantic-core" },+ { name = "typing-extensions" },+ { name = "typing-inspection" },+]+sdist = { url = "https://files.pythonhosted.org/packages/53/ef/fc4f868f4e2cee79f863883abffceff107875f569b848507319842d2a681/pydantic-2.13.5.tar.gz", hash = "sha256:51a9c5f7b2f8e636f04c6cada605d9b6a3bf1348fdf945a3d8869b19bba0ee08", size = 845750, upload-time = "2026-08-28T14:04:00.916Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/eb/47/c95ffc2009878c7aac0c5e08528022dcb885933252a88b5f170058014464/pydantic-2.13.5-py3-none-any.whl", hash = "sha256:346a034f080da3755d8e9cb5e00e8b07de1d39e4f6e2c87d8ab7cafa0b269a73", size = 472589, upload-time = "2026-08-28T14:03:59.136Z" },+]++[[package]]+name = "pydantic-core"+version = "2.46.5"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/af/f9/8a06bea35ef8daf588f707784c973a7046e0034c8d8cfb08828eeffb8b75/pydantic_core-2.46.5.tar.gz", hash = "sha256:10416c15b8839ecc4ef4d0885da76da6fd0f67333a0eb8aff6d93c4b8f2910fc", size = 472262, upload-time = "2026-08-28T10:01:31.677Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/82/3f/76358795aa7a8c6d4f36e2cb828ad1c90ee118e1393a9281664f5aade9d4/pydantic_core-2.46.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:b9fe6fb92520e3fd61f2e49000b6911b188824f089b75973ea06d6267f0b476d", size = 2076516, upload-time = "2026-08-28T09:58:21.576Z" },+ { url = "https://files.pythonhosted.org/packages/db/50/26b091836076ce4cb2fac264186936acc069e0595772cfd02a563bc4761a/pydantic_core-2.46.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a39ac25a9a2fa4072efdb429833c4a4c8009a51ff9eea3eeae131713cd27991e", size = 1922874, upload-time = "2026-08-28T09:58:23.766Z" },+ { url = "https://files.pythonhosted.org/packages/09/f0/2a8ce3849e299d44e2d2c196b6082643a3235565a735cb51db7a6261f614/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4fdc8b93a41521988916eeaa271173fcca7fa0803d62f87675aac8dcec1c8e29", size = 1951772, upload-time = "2026-08-28T09:58:25.435Z" },+ { url = "https://files.pythonhosted.org/packages/87/46/ac0dc8bdd9e6048183a14eb127764e7ad9240021c17513074a4711b0e31e/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b98134087d9de723658d17a42c7d0da8d6e2ef08015dee7dc93889047315f5e4", size = 2031832, upload-time = "2026-08-28T09:58:27.102Z" },+ { url = "https://files.pythonhosted.org/packages/c4/c2/339de5bef7be36301a2231eaa52e62163742c2281f11b5f4892bc79785cd/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e652ab17569c94bff5475520f907b7148b8c24036a8ebbe5cf7cf7493d28579a", size = 2208645, upload-time = "2026-08-28T09:58:28.948Z" },+ { url = "https://files.pythonhosted.org/packages/7b/a0/9ff22b797724262da14427abaed4dd1d864a139693fc5e7809114376a716/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d925f3d9afd05a8c0fb3a1031463a8d59ebe5e2afad297e29c78be19e13b4e62", size = 2265935, upload-time = "2026-08-28T09:58:30.625Z" },+ { url = "https://files.pythonhosted.org/packages/c0/a4/eb9409ec0736e50aa70a412f16c204ed149516846912f7e6724d4c73ee53/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fc5be0abd4a407e200d844b404e33639a554e7bd0d448e7b9ae181be4789ac2", size = 2066284, upload-time = "2026-08-28T09:58:32.289Z" },+ { url = "https://files.pythonhosted.org/packages/c0/02/7f6156ffc926857f1c37c07d9a388682865a81830ab6a1b637082c25e399/pydantic_core-2.46.5-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:816ff0a6550ffc06c098ccd2e0698600f9aa7da192a79eaa6f9af504a35db869", size = 2105889, upload-time = "2026-08-28T09:58:33.986Z" },+ { url = "https://files.pythonhosted.org/packages/92/b1/e781d357ebe09fc929f995700f1b3503e8897f1cece183ecb1300d4d67e9/pydantic_core-2.46.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c7ea57fc63aa7da93a1bd2d644e6577befae10c52c4e36377635eea1056a74f5", size = 2158006, upload-time = "2026-08-28T09:58:35.647Z" },+ { url = "https://files.pythonhosted.org/packages/70/0a/644597d84ab400e50609c192120b85c9681c22d3a20461b9060a79be0a7a/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:efd62a42486f1bda5d24cb4f63d15a3c7768375fe83d36f9417b4ad7a2fb20b3", size = 2158408, upload-time = "2026-08-28T09:58:37.38Z" },+ { url = "https://files.pythonhosted.org/packages/1e/ee/ca3b7b3a4b3769ffe9ce9432a7c9be755de9593a46d3b0d54d0409323e44/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:2bc9419666990c06d7397831f2126a1ecc3594aaa3ff7de5bf2d066802f4e07b", size = 2309609, upload-time = "2026-08-28T09:58:39.22Z" },+ { url = "https://files.pythonhosted.org/packages/ce/52/39fa1f451486019524ca685020390e7ca351832fd874530ba30c8628e6dc/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:18a09e1e1011b462f2e32774f25859ef1223d5c2b0546a633cf56654710721e0", size = 2342618, upload-time = "2026-08-28T09:58:40.89Z" },+ { url = "https://files.pythonhosted.org/packages/81/5e/468fc630568c61dcef3cd47ad32ffbeed9af643f49208d1ea86ab4f890c4/pydantic_core-2.46.5-cp312-cp312-win32.whl", hash = "sha256:5cb482e9e84c851f4e623fe4acc1ced89168cf1fe18f7089db4548c8f5bbb65b", size = 1939475, upload-time = "2026-08-28T09:58:42.591Z" },+ { url = "https://files.pythonhosted.org/packages/cf/c9/4c19f41b84cf6b622a72fbeed7665b25d47a187d68d47d0d430c07f23268/pydantic_core-2.46.5-cp312-cp312-win_amd64.whl", hash = "sha256:5e81740c09e310f5aa5cbd3e434a01c154d4bef93241c7877b39f211d2b78ba8", size = 2043140, upload-time = "2026-08-28T09:58:44.272Z" },+ { url = "https://files.pythonhosted.org/packages/af/dd/0c1a050299147c746e5256db16d645ab5efd4f78c59937d581a0524e74a2/pydantic_core-2.46.5-cp312-cp312-win_arm64.whl", hash = "sha256:f7b0ec93a2893de856652154d73b7ba622f26fa97726487dcac373de5f4c6084", size = 1997729, upload-time = "2026-08-28T09:58:46.13Z" },+ { url = "https://files.pythonhosted.org/packages/f5/37/5abe39a8372a61d3dc3c1338fc504281c01b32fdb3169cd7187153b56d3e/pydantic_core-2.46.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:b7ca9034437b6022f941f4857459562ee00a560b97e7cce8a0ec5a74fc6766e0", size = 2075885, upload-time = "2026-08-28T09:58:47.856Z" },+ { url = "https://files.pythonhosted.org/packages/21/43/6323b1f8b217780454c61304bcd2b38ae4762f50754414124603ccc90bb2/pydantic_core-2.46.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f332f0e72a5a0400141f830744e141bf9f97917878dbe968669e8a7fefea78ff", size = 1922768, upload-time = "2026-08-28T09:58:49.58Z" },+ { url = "https://files.pythonhosted.org/packages/0f/a3/c05ca796e1197618a774b01e596aeedfefc2f7d8c01ae3054e910b120e8a/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:193375f3548919d3f0b60936ca113ada3e38f264f91b9b8e0508efaad57be931", size = 1951241, upload-time = "2026-08-28T09:58:51.511Z" },+ { url = "https://files.pythonhosted.org/packages/68/32/33bc39ac705c52cffc908e8389f9754fdb208aea5c69cceddf4eb3ce99af/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:79bdfa52f843137045b2d081cc05c120ba6665d29b7559c2c47690906f39279f", size = 2031975, upload-time = "2026-08-28T09:58:53.166Z" },+ { url = "https://files.pythonhosted.org/packages/b0/70/2333e885c0f6a67bc105c5916965dac9b57f2718ee20d81d1a06a4ebdc13/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:24922243639cbdac66c75fcb6fd6495a9cb52b213d62f9a0d16f0310b1ff8038", size = 2208542, upload-time = "2026-08-28T09:58:55.017Z" },+ { url = "https://files.pythonhosted.org/packages/f7/ea/296debfb4264207bbda5936133892e027c0a58875ad53ebd512fba8ec3a2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c76fe65e607be28c7fd4d56fc3c42b1583aa058ce3408b7ad0fd540171d31f9f", size = 2264692, upload-time = "2026-08-28T09:58:56.767Z" },+ { url = "https://files.pythonhosted.org/packages/d3/f2/9e4de77a6271e07a76d2d58b11c091a979c191ed2939bf80067568b369d2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f7b393a8b3da82f5c1fc0751e6d01ac6c55b93c18226a60bdfba4a724efafd1", size = 2066633, upload-time = "2026-08-28T09:58:58.531Z" },+ { url = "https://files.pythonhosted.org/packages/8d/db/f9e9d0c97445987b2084823d5c240de88087338f04fc2cfaa2df186b8049/pydantic_core-2.46.5-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:7ac031912d54f3d83ef3b3eb98dfabc1608802e2202263d25957eeed40b94761", size = 2105235, upload-time = "2026-08-28T09:59:00.421Z" },+ { url = "https://files.pythonhosted.org/packages/07/c5/79169b047b3b2c3e99e04bc76372af9637e0bf6db638274fa927df96369e/pydantic_core-2.46.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:837b396ca3d7b74091ca623f6cbd8351bd42d670a79c2683e79fb089f06a2de5", size = 2157367, upload-time = "2026-08-28T09:59:02.442Z" },+ { url = "https://files.pythonhosted.org/packages/26/b5/ba6057afb7c291bd449f51b867f95aef2072941c4ce4e5c31d6ffd132d3b/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5ee239d575f80b08eca11f6e20f90c4c695de7825c67eefe6091fbf20dda648e", size = 2158420, upload-time = "2026-08-28T09:59:04.2Z" },+ { url = "https://files.pythonhosted.org/packages/6e/28/2057abecaafdc22912afa819603a51f0a62d40643b7c4871c51721fea9be/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:e80675d75ae2cd14372cb65cad5400d9347a3d3f6c13000183f22dfd027283ed", size = 2309588, upload-time = "2026-08-28T09:59:06.048Z" },+ { url = "https://files.pythonhosted.org/packages/71/9d/881156dc404e27479c4246128d73538464cab4a239bec61995e227644c30/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:9c4b71f10dd532fb7a5cbc8f58707779e64f03a258c2bf8bfbaecfcd9970b519", size = 2341866, upload-time = "2026-08-28T09:59:08.539Z" },+ { url = "https://files.pythonhosted.org/packages/5a/38/d66f443a259f84d13babdceae568e572b0ed26da17ca5d0a649ebb110a67/pydantic_core-2.46.5-cp313-cp313-win32.whl", hash = "sha256:97bf8de4d541598c94a59344eeb988a94c08ff76b5723c41f6567ec18c7892ea", size = 1938580, upload-time = "2026-08-28T09:59:10.402Z" },+ { url = "https://files.pythonhosted.org/packages/2c/1e/1d5371213f4cc9a7ed70c0bfcc7911de22311ee99a662a56077d7292d2ac/pydantic_core-2.46.5-cp313-cp313-win_amd64.whl", hash = "sha256:15f4a94963c95accac15b7b657bb177d3ad82bb90b0d0526d9a9b85079925db5", size = 2041980, upload-time = "2026-08-28T09:59:12.396Z" },+ { url = "https://files.pythonhosted.org/packages/5a/48/4222d90b1c67568bace4dec6dca6271449c66de3595d72b6d098f5fde597/pydantic_core-2.46.5-cp313-cp313-win_arm64.whl", hash = "sha256:d22a945598fb91236b4dd793a6e42e4f3dd7740bb5aace5ebd7d4c08d13bb575", size = 1997213, upload-time = "2026-08-28T09:59:14.245Z" },+ { url = "https://files.pythonhosted.org/packages/8e/8a/14596f2a8367da50cf7cbac48169ee5d9c8e11d486a3b527082384630c72/pydantic_core-2.46.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c1c43ad4339643d70ebb8124e1305a7dab423001eff58bb41a0f731adbc98355", size = 2074081, upload-time = "2026-08-28T09:59:16.141Z" },+ { url = "https://files.pythonhosted.org/packages/ae/d5/d8a4eb6d6c7f66b91dd37c576d76e9e60fba900caf5372c17bcf949febc2/pydantic_core-2.46.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1a353f84de772f423b5ffb11d7ae352fbbef0f446f3c0b0af0f8236d7233606e", size = 1920497, upload-time = "2026-08-28T09:59:18.065Z" },+ { url = "https://files.pythonhosted.org/packages/8e/26/092079428f86e927e030b2c0ced87df69dbb1c875cdeaa67bf42ea2be746/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5086029a57366b8cf81b130a43908738095c270c21a8d7f0e8bdfdb89718e2f3", size = 1952130, upload-time = "2026-08-28T09:59:20.476Z" },+ { url = "https://files.pythonhosted.org/packages/08/c3/8ec0e290a9ebaebd64047bf5fda94be835c6b1551b02437e4b76778fbcd7/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:46c25dda9d092a06c08db76ffe0a197107904d0dfac653f7d5306bbcd6d6119c", size = 2026371, upload-time = "2026-08-28T09:59:22.227Z" },+ { url = "https://files.pythonhosted.org/packages/01/72/4fd20ad520fb8da0157f95b27a7eb05a72790ef08138e7701ac972c342ea/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:37ea7b83c935e5b0d68c9449b82651accf78a10828b2c02b2f2d9e9496446c21", size = 2202822, upload-time = "2026-08-28T09:59:24.277Z" },+ { url = "https://files.pythonhosted.org/packages/31/b0/d16e0771206b29314f0d52198b720be21e8a99ab2bf11e3bc0d7c9cebdff/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e64e88d5585bea9ce95861079de72006c7fa6d3df4e3a3b65ba31eb979c15c9f", size = 2262756, upload-time = "2026-08-28T09:59:26.608Z" },+ { url = "https://files.pythonhosted.org/packages/2c/9b/59634b7ac631c63b2a37760eb6943af3e29573d6b59a4abc5e7f019d4cee/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54d510bac3ee52247af28ed4bb18a1e799f040ac60fd2bf5ccd4c92f1fbe786f", size = 2068352, upload-time = "2026-08-28T09:59:29.044Z" },+ { url = "https://files.pythonhosted.org/packages/08/7c/570abb1ad2155348dc754ea91be22e5aaa18eb6d69a6068f7c6f2679a6ed/pydantic_core-2.46.5-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:a2a5e1d0ff29adddc9f6d6821a66302e4493f8ca898b715b6b1182c2c201ea0a", size = 2104777, upload-time = "2026-08-28T09:59:30.95Z" },+ { url = "https://files.pythonhosted.org/packages/8e/25/5bf74adc65a1ac5b7be3f6cb0bcb5433615c1598a801c19d830d84c98ded/pydantic_core-2.46.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:03b9666e41e35d8909852ba191a0607520f81b74eaf12ccf8737005dbb313821", size = 2156312, upload-time = "2026-08-28T09:59:32.604Z" },+ { url = "https://files.pythonhosted.org/packages/90/6a/2ef38830675e050121040618135564ed56b860b45433b02d9b4ebece46f3/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:a91c17edf6eea2402cb5457b4c89e99bc5ed1004aa34c4adf1d4258c1a5c22c2", size = 2150067, upload-time = "2026-08-28T09:59:34.453Z" },+ { url = "https://files.pythonhosted.org/packages/90/ef/a7dbb03a14a64c2a4621f989c615ed9a892535a6cad938fc27079f919d80/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b49924c73a235e969511bf2aabdff3beebf9820931f646c80274d5d780010c47", size = 2304516, upload-time = "2026-08-28T09:59:36.194Z" },+ { url = "https://files.pythonhosted.org/packages/68/f8/6bb4c4b80e8a6fde1904c64a51c62a1d04fcdfa3ea521a66b2ddefa1d885/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:2cbd9a5eff05e51c447c34dfa4632145b26b09120cf04bd0c871e44c1a5e1c9a", size = 2335223, upload-time = "2026-08-28T09:59:37.931Z" },+ { url = "https://files.pythonhosted.org/packages/2a/80/f46b8c681195190b2c1f1c7c0a81abce60663e987613e09ef64d433dd96b/pydantic_core-2.46.5-cp314-cp314-win32.whl", hash = "sha256:2d5d76654becf5efd62c9e51c3756c67b49498b0c9a40884934c40807adbd074", size = 1934827, upload-time = "2026-08-28T09:59:39.836Z" },+ { url = "https://files.pythonhosted.org/packages/f7/3c/60674207246bc0a4009d2391b7c7251c7159f279c8d2ab8aae8ef46f3dee/pydantic_core-2.46.5-cp314-cp314-win_amd64.whl", hash = "sha256:fa10ef4112775900e7a0661068635eb67b2ab824fbde764de6e0e21982a93db0", size = 2042648, upload-time = "2026-08-28T09:59:41.792Z" },+ { url = "https://files.pythonhosted.org/packages/69/0c/117c562c7c1babdf44576b72a5e496906506c93690387ecfbca7c729ae2e/pydantic_core-2.46.5-cp314-cp314-win_arm64.whl", hash = "sha256:045ab3b6d308439e32b81cc173bba5b9018bc6ed896afd0c65b3b009b1699af5", size = 1989652, upload-time = "2026-08-28T09:59:43.702Z" },+ { url = "https://files.pythonhosted.org/packages/e8/66/9336ae58f9eb68c41d121894e52c4c89eccb07eb8f602a04ee9c3f37736a/pydantic_core-2.46.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8816f3d218beb4b787de5c9759c259b8fa61f9dec42dc7811f320a33771778b7", size = 2065829, upload-time = "2026-08-28T09:59:45.364Z" },+ { url = "https://files.pythonhosted.org/packages/c5/02/bc19b47a96c2d3109760711acf22369e56bd7e405ca52f7ade164d2ead57/pydantic_core-2.46.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:bce57638e08ac148e5778cce7feb968307a727d66f8e2274a543d0cf0c9ad6a3", size = 1905716, upload-time = "2026-08-28T09:59:47.18Z" },+ { url = "https://files.pythonhosted.org/packages/52/a4/70b47c0509923dd98ccfed04fb3e32ea3849c82a0ff2205bb41009b43c00/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:976e1128455aa595ea04c79ccfedff1aaeab96ee013fcc916bed120c4f0ad94f", size = 1934216, upload-time = "2026-08-28T09:59:49.241Z" },+ { url = "https://files.pythonhosted.org/packages/52/ab/aa03b65f7bb198585edf806b906c3223ecf1795543e39e23aec4cce27ad2/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b891faeedeafba41b2983e5001a81b6a915b69544c7e7570d1989ce1c36ac7", size = 2010635, upload-time = "2026-08-28T09:59:51.692Z" },+ { url = "https://files.pythonhosted.org/packages/3c/8b/0da06343f30b84ec549aafd309c6456223d5dc8bd36af504c573faad561d/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5f194189415698233dd1114a093a9b56e61e2c57e11b469be3b0506f46f0771c", size = 2209369, upload-time = "2026-08-28T09:59:53.582Z" },+ { url = "https://files.pythonhosted.org/packages/d6/5b/844c4defaa34a3df66eb9257087d121d70c201298b96abdf9f492fc2f1bf/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:82a36973cf8a2ef5406f4fe2edbf8ed0c99629535d959e0b100c76a32535a111", size = 2253238, upload-time = "2026-08-28T09:59:55.484Z" },+ { url = "https://files.pythonhosted.org/packages/f4/64/a4e536cb16d7f61a7fd3120b46c577fc7fa7325992f69c4f52bc786d77d8/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdbb78909f52b981d3b2d56b97328d71eb0b974c36bd77c920123a7ebb192829", size = 2065740, upload-time = "2026-08-28T09:59:58.038Z" },+ { url = "https://files.pythonhosted.org/packages/5f/75/aaa38c6bc2d085f6605b34eabdc6a8a4e0b2e61fc9c8e6e52b28e97b3125/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:52e24eacdb536cade636aa90fb851835222becff8484b7001fdc78cb0290f2aa", size = 2087425, upload-time = "2026-08-28T09:59:59.898Z" },+ { url = "https://files.pythonhosted.org/packages/55/ae/fcab4cfc39aba3689e1d20c8b5250ad280957022c09af2ed9cd585602a5e/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:37ae34309d7bd8c0d61ab839668058f2a7962ea1fc51d105d2db228fe0618034", size = 2139306, upload-time = "2026-08-28T10:00:03.057Z" },+ { url = "https://files.pythonhosted.org/packages/2d/f4/f1d03a4bc9d9acbc62f4d742b8a319af52f71885079868b2ff8e48a651ee/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:0cdbada856a1c69a7624a64d3d9aefe79300bd6ef827b43a4f265010b9b55184", size = 2144589, upload-time = "2026-08-28T10:00:05.645Z" },+ { url = "https://files.pythonhosted.org/packages/83/f3/7a53bb1356de514a4cd295f25b6ac39237895620c0462d2592b76c16e114/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:545f26c504b27c3758439a5e6d9349931f0a04f855668d5fe323c89e82300a38", size = 2288882, upload-time = "2026-08-28T10:00:07.931Z" },+ { url = "https://files.pythonhosted.org/packages/cd/94/5a81583660c175c59d49ffb09f4b3a44debeaf86a19fca664ae1cdd9ee32/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:ff218293c9c806138dca139765e3b067621be52bcd93cdc14c7711be7ddc90a9", size = 2335210, upload-time = "2026-08-28T10:00:10.177Z" },+ { url = "https://files.pythonhosted.org/packages/5a/9f/5d685c2693b972d1a59c998586e8823712b66603aeff47ee60a4bdaafd37/pydantic_core-2.46.5-cp314-cp314t-win32.whl", hash = "sha256:97cf3eb53a8cccacf9d46686a0926186c9bfb5574f2ed66d3639d5fe117cd3a9", size = 1921180, upload-time = "2026-08-28T10:00:12.35Z" },+ { url = "https://files.pythonhosted.org/packages/70/12/5c94ee16d65a37a15f9e869f5e6256df111154491173801a4c5e800ab548/pydantic_core-2.46.5-cp314-cp314t-win_amd64.whl", hash = "sha256:d2f9fc07a8042a8f95925b35c4f04f469707c981fc33245b6ca187cf5d2dd290", size = 2020515, upload-time = "2026-08-28T10:00:14.774Z" },+ { url = "https://files.pythonhosted.org/packages/63/19/67830dda664e6bdf9285ee2e40f355d0d7d6b92aa0c42e8d217bb8d33d36/pydantic_core-2.46.5-cp314-cp314t-win_arm64.whl", hash = "sha256:acf8a67ba51f4ca9ddbd0e6b3000a65ac51ab734661778b3e7ba64d99a710f2f", size = 1989276, upload-time = "2026-08-28T10:00:16.984Z" },+ { url = "https://files.pythonhosted.org/packages/df/dd/053c2e4303f791f3b8f8a14ab0b22008e8eb21d868c0c90b4f9be705b76a/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:013d6f3483d81e02e7c328831808f336c8596ee33b4bd4026b9ffb1e960b8942", size = 2062540, upload-time = "2026-08-28T10:01:00.318Z" },+ { url = "https://files.pythonhosted.org/packages/d7/dd/a18df751a5e37dd51bfad7f68e766999125bebe68c9e1d10a493ad01bd63/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:e9c134bb666dd54b778b9fc0d2b50cbb7f979b9e3716f26a88c9ab3b6fc1dd0f", size = 1902040, upload-time = "2026-08-28T10:01:02.529Z" },+ { url = "https://files.pythonhosted.org/packages/b7/13/01d40f9d07ce8a779fd6e0bd8ad4fba91309500dd67b869e2e219d261a6d/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:347ec774390c87326a2e4929d58d3f7e8763a104d5d35f4cd595a4c952366433", size = 1967479, upload-time = "2026-08-28T10:01:05.004Z" },+ { url = "https://files.pythonhosted.org/packages/fa/04/c81d4841331c2178b6fb09ae225425e110ed72d990c9fe556c4ec03d1013/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8e24d8f05fa2d28513d94e877e9c75ad66175376209b3977f916e240e623193c", size = 2111034, upload-time = "2026-08-28T10:01:07.345Z" },+]++[[package]]+name = "pygments"+version = "2.21.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" },+]++[[package]]+name = "pyparsing"+version = "3.3.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/e4/11/b213bebff182584360cb8d17c72c1677fec5c5c228de439e63bcf8ab1c8f/pyparsing-3.3.3.tar.gz", hash = "sha256:928ae7e20211f3b6f3915a72f06a0cfd29ab9d24279dd6346b6b1a7146397d36", size = 1050487, upload-time = "2026-09-20T20:59:05.609Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/38/bb/d215ee7c73b61497b28a5503f9f53523f294fcc936762b7caf90e0c1c2b5/pyparsing-3.3.3-py3-none-any.whl", hash = "sha256:ece8c00a69cf01b45d0b1dedabb469c90d8caf996d4fda40f147627a122849a4", size = 126420, upload-time = "2026-09-20T20:59:04.025Z" },+]++[[package]]+name = "pytest"+version = "9.1.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "colorama", marker = "sys_platform == 'win32'" },+ { name = "iniconfig" },+ { name = "packaging" },+ { name = "pluggy" },+ { name = "pygments" },+]+sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" },+]++[[package]]+name = "python-dateutil"+version = "2.9.0.post0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "six" },+]+sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" },+]++[[package]]+name = "pyyaml"+version = "6.0.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" },+ { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" },+ { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" },+ { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" },+ { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" },+ { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" },+ { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" },+ { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" },+ { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" },+ { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" },+ { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" },+ { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" },+ { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" },+ { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" },+ { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" },+ { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" },+ { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" },+ { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" },+ { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" },+ { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" },+ { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" },+ { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" },+ { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" },+ { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" },+ { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" },+ { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" },+ { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" },+ { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" },+ { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" },+ { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" },+ { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" },+ { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" },+ { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" },+ { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" },+ { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" },+ { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" },+ { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" },+ { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },+]++[[package]]+name = "quack-kernels"+version = "0.6.5"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "apache-tvm-ffi" },+ { name = "einops" },+ { name = "nvidia-cutlass-dsl" },+ { name = "torch" },+ { name = "torch-c-dlpack-ext" },+]+sdist = { url = "https://files.pythonhosted.org/packages/5f/18/6c2a20d00dff254f154fb3b951f4e5a0377a60122c17385e5f08d5f5b5e1/quack_kernels-0.6.5.tar.gz", hash = "sha256:dd9405a4a6fa35fc3a5a18fe35b46a14b0bf7e3ad9fe2451903e355047ac471d", size = 846876, upload-time = "2026-09-11T05:08:20.621Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/73/d8/f5e56c38b286308d115a171e3c5c44f24e9d03980c3cfd22588df40261fa/quack_kernels-0.6.5-py3-none-any.whl", hash = "sha256:df1ddd31366c82eb9692fe087c671209189dcbde53c909c81a865d4ee66b158d", size = 729615, upload-time = "2026-09-11T05:08:19.306Z" },+]++[[package]]+name = "regex"+version = "2026.9.29"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/fc/f2/af1da9d3ceed77bfcdce40427d49ba0be94e4fe84245e3bfef68c10e75b6/regex-2026.9.29.tar.gz", hash = "sha256:8b5fcc4771732191b2b7d1dd68d8f0353f47f8d90b6150f6dce58bf1112442cb", size = 419199, upload-time = "2026-09-29T00:49:58.298Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/84/48/3fdcde9a0baa84d7d25571223265d6e434e114763b438601d54a8028bf3e/regex-2026.9.29-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:dc79d36d0618752265f0d575915bdc5c5130ecb9c9f6b3bcefeae32e4bdfafcf", size = 497903, upload-time = "2026-09-29T00:46:38.938Z" },+ { url = "https://files.pythonhosted.org/packages/2e/1c/4ee3e97c76f53940488dfe7a7e18705e78daac8cd7fb161d246b9e328449/regex-2026.9.29-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3a21a9509d0ee88e7a70e1ad228cd2f0e0fd1e187458db132e8a8d18c97daf9d", size = 296416, upload-time = "2026-09-29T00:46:40.406Z" },+ { url = "https://files.pythonhosted.org/packages/37/14/f3f0ba083d2094392d5eabf56db5ea6ba469fd6e927afd187042054ea68a/regex-2026.9.29-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f57dc6b8fef170f105d2cf5cdce254f47b137d7755086cf7050f47e16582abba", size = 293633, upload-time = "2026-09-29T00:46:41.959Z" },+ { url = "https://files.pythonhosted.org/packages/c9/72/67e7a8ce17f1aea49df215564048efb49cc8c2b31a0e0fc30f36838f8516/regex-2026.9.29-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f93bc1c3486ef3747e07c9d7c1d0a147b8fbaab975f80e348aed6f71309dfaca", size = 805885, upload-time = "2026-09-29T00:46:43.373Z" },+ { url = "https://files.pythonhosted.org/packages/f6/78/25436bcfd4d2260b4b4090094d55d7ab53ec8a1ab4865a0b8bcb33c7d5c0/regex-2026.9.29-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e1d3a4cb7993b708f0ada8d0c84590efd853f169e7147d2202c9da503180242", size = 878344, upload-time = "2026-09-29T00:46:45.328Z" },+ { url = "https://files.pythonhosted.org/packages/97/e6/a09ec3a23ae41d6179880e67f0aace9284b2d95f2d7b326eff203f8eec5e/regex-2026.9.29-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:dabee8f4935e731fb46b2a3091bdda0d3d94b3bbfb907d2b4f12eefce4009619", size = 919181, upload-time = "2026-09-29T00:46:47.041Z" },+ { url = "https://files.pythonhosted.org/packages/26/83/d2fbd2e4e3afb1167daa825187d196f313cbaa1a4768f311fb041bb0e3d2/regex-2026.9.29-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:39ab5894d971f9ac68baa6eca5c50387db579cfcacf36ae8df3feceb1815e6d0", size = 807783, upload-time = "2026-09-29T00:46:48.894Z" },+ { url = "https://files.pythonhosted.org/packages/46/0b/eb429a7016610d44fc89a597163f8c9127505f0d7dc724dc9effbb6a3ac0/regex-2026.9.29-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c1a9a6651197fbed6f0212591418b9def774fc3f8324f78d1bf0e6a63e5f8aa1", size = 783465, upload-time = "2026-09-29T00:46:50.64Z" },+ { url = "https://files.pythonhosted.org/packages/1b/07/58a3c0153c7476898430f6a7cf3d9062a1d17fbea4f43399ecaf411c7b4c/regex-2026.9.29-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87fb80cbe3557e27e7b28b995c2b2eedf689b8886f941ab93e0e288f0976518a", size = 793519, upload-time = "2026-09-29T00:46:52.396Z" },+ { url = "https://files.pythonhosted.org/packages/2a/e8/161b94d39164520e21a7befe0245569bf7fda4c7cf1fc4e2df2b5def49da/regex-2026.9.29-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:3c5c2ef13797466aa64170cbb66ad98a32351dd4127694cea7199f80f213750d", size = 869293, upload-time = "2026-09-29T00:46:54.128Z" },+ { url = "https://files.pythonhosted.org/packages/8f/07/3b02ed829aa2decdc1955d222bd1e2f99d1c8bb4873bbb9a66b2f0a36bff/regex-2026.9.29-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:59b49507f47479e299a9e1bc41b5cb83a7afda0540625f1dbae886615978acbf", size = 770239, upload-time = "2026-09-29T00:46:56.106Z" },+ { url = "https://files.pythonhosted.org/packages/42/5b/ba61f6fe062eb8562e742367d177bb75370434138ef6c9d2a27114f8d613/regex-2026.9.29-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:0dd8af32e9f7b56b7f95cc1fd79b23054c3bdc172392ae560acc24d57b7ffe71", size = 861973, upload-time = "2026-09-29T00:46:57.665Z" },+ { url = "https://files.pythonhosted.org/packages/cc/27/767259b20e8a842948990f5e99138d6c077248fd42f8b5468b1d9ca4b814/regex-2026.9.29-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:db5e82ba15c142425b8406690032df89e39cca4a2e8afbbb9a3d84edc2373ac3", size = 796470, upload-time = "2026-09-29T00:46:59.236Z" },+ { url = "https://files.pythonhosted.org/packages/a0/05/2566c4ba849b68a8ab81a6bf428fa79d20aae7ddee83979103c0381df254/regex-2026.9.29-cp312-cp312-win32.whl", hash = "sha256:d0c3082bf79bcd6a614d55916590ad4b8f93200e10b97f463ea5d9d07c9b5f23", size = 269327, upload-time = "2026-09-29T00:47:01.135Z" },+ { url = "https://files.pythonhosted.org/packages/93/19/489bc8db91196381c935752df01ba3f607140daece33b78d88573f028e64/regex-2026.9.29-cp312-cp312-win_amd64.whl", hash = "sha256:fdd88ed5e20b1bcdd234421e454962c971aa44b653bdb7f1ea9ef683e90fb649", size = 280334, upload-time = "2026-09-29T00:47:04.436Z" },+ { url = "https://files.pythonhosted.org/packages/0b/47/fb88ba779d0e5e7d4b0ec1aceeb13845948a2cb876bd572a2d1dfdba090b/regex-2026.9.29-cp312-cp312-win_arm64.whl", hash = "sha256:4fe97894d1b306c919b4e50def1e6f6c522f4d03a7283811f4d108f1ce5d3ac2", size = 279614, upload-time = "2026-09-29T00:47:06.541Z" },+ { url = "https://files.pythonhosted.org/packages/79/d5/6080f7d1a6e7e36aa720f806ac93c035ba39c209ae6cc510e8ef4c0279c6/regex-2026.9.29-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f1a0d5117230dd46b399a30a38afa44f79c99f3168988fdc4f425c3f928b39df", size = 497622, upload-time = "2026-09-29T00:47:08.251Z" },+ { url = "https://files.pythonhosted.org/packages/00/71/c87fc7a2e21a42f9d57489db32951c37eef56d153840459a80d464f0321d/regex-2026.9.29-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f0fe9834e5aeccaf19a0d8feb296d66a24be1a7c9922002f842a682cd5abb787", size = 296281, upload-time = "2026-09-29T00:47:09.764Z" },+ { url = "https://files.pythonhosted.org/packages/11/9e/aa0f4cde3bc4688c1d58b0cd8415edd708339bc0bc401a195b0b1e8c8f0c/regex-2026.9.29-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c90fcf7804ea0a54b896ce0f2b9565350220b8d4890fd0db461a476a4c687963", size = 293472, upload-time = "2026-09-29T00:47:11.723Z" },+ { url = "https://files.pythonhosted.org/packages/90/d4/e835c487850ed922a8d6074f953b888c8ea99775c76b9ed5f8a4d72eab92/regex-2026.9.29-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e11edba5bc344a32b029a7af9d4b3173982dd79eeafa0b9dbd787364414b0509", size = 805966, upload-time = "2026-09-29T00:47:13.235Z" },+ { url = "https://files.pythonhosted.org/packages/2c/57/ba8809847fbae8d2cbc71367c6ded510a7ec88bf52493c65efc1acf4effb/regex-2026.9.29-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bb90e7177944b6684738c1fc36aabd2dd00d1de3be7dbe09f91e196f1bc0dc81", size = 878346, upload-time = "2026-09-29T00:47:14.877Z" },+ { url = "https://files.pythonhosted.org/packages/1a/52/e3da19fc3cc15ef67ab67e121e87887c3bccfdb683a7a9ec557c460ca5b7/regex-2026.9.29-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d06fcdecc10fc7954d7c8f27a03c96055fe525274dc84a7b0dbdc3d6b9e03dab", size = 919250, upload-time = "2026-09-29T00:47:16.622Z" },+ { url = "https://files.pythonhosted.org/packages/9a/8e/c1ed81f55f992f6aa0b699a592a50c1ce9e6d44ff1aee2c14c0537dcef9c/regex-2026.9.29-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d49c18f1ea294cf4adde2e5ac256e98c82ea9d708462ce4bf799dffa7cfe8a2c", size = 807902, upload-time = "2026-09-29T00:47:18.268Z" },+ { url = "https://files.pythonhosted.org/packages/ad/bc/5a6886eb470e41040e21e05b75024a18b6ebfe7ea400b72094a60f949101/regex-2026.9.29-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3e778bfccd63075167709136afbc251c1f683758d5bf49c803c60ac3f894ce6b", size = 783514, upload-time = "2026-09-29T00:47:19.921Z" },+ { url = "https://files.pythonhosted.org/packages/cb/52/6d951d453b023c6edb880f1ba474291b53b8ce1cc438b96a9db6d791d991/regex-2026.9.29-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:686ac5350fceae63830bb98805fcb8039325bf4c06d9f6f048ff65229d5bffa5", size = 793466, upload-time = "2026-09-29T00:47:21.552Z" },+ { url = "https://files.pythonhosted.org/packages/99/b9/d5a41adc08360f5eee0dc4846c578f002366947211fc8af5a69a64ee7b9f/regex-2026.9.29-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:26ec4ccce55aa533fbd603d08911b01101a8fcfec987845ac3ae2c7087b2bde3", size = 869464, upload-time = "2026-09-29T00:47:23.276Z" },+ { url = "https://files.pythonhosted.org/packages/4b/32/d76c9d91f5d798e2e9e67f6f85ec4ae35445ac425f7454797311cecb80ca/regex-2026.9.29-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:a655d34b2a6943af32401f3d94f72e9d731f6ad16285815550bf2b4ee69d420a", size = 770278, upload-time = "2026-09-29T00:47:25.193Z" },+ { url = "https://files.pythonhosted.org/packages/24/00/aeebdb540c620a0f7317f6d6fad80a47729ecf0599a24b5c34ec155351f5/regex-2026.9.29-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:0c992c19cd45058a4b92f68f139c93db168b48fb1f322c9a7cd620806afb6b51", size = 861949, upload-time = "2026-09-29T00:47:27.005Z" },+ { url = "https://files.pythonhosted.org/packages/12/62/d0314bcedfd3586197e4596931fa220260eb2385bf53184e5b9ae67db24b/regex-2026.9.29-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ebb8912f565b8cdbbf27debfe00df04202c20e2f651b9e32767930c5eace3621", size = 796602, upload-time = "2026-09-29T00:47:29.233Z" },+ { url = "https://files.pythonhosted.org/packages/ae/c7/d5a8c13a613facb03e0fb55c1ebaaf7bb35d8e2c1abe8bef8dca809fc1d9/regex-2026.9.29-cp313-cp313-win32.whl", hash = "sha256:4d7d93613b01b0199961330e49cfc52d479b3d5776c56c691db31130c0a07d91", size = 269306, upload-time = "2026-09-29T00:47:31.14Z" },+ { url = "https://files.pythonhosted.org/packages/80/a7/bf93a3a6afa5f7bc16b7afb94ae581b01cae620b8ad56bd8f9572a985959/regex-2026.9.29-cp313-cp313-win_amd64.whl", hash = "sha256:61956f074ecd123f55adca68ee3eab46e6a07ad3f8e64e6db95dfacb444f55c4", size = 280307, upload-time = "2026-09-29T00:47:32.709Z" },+ { url = "https://files.pythonhosted.org/packages/b2/7d/388274e53605a86297f433a08102a7bbdcf9379d47683d307ccaefd88e2c/regex-2026.9.29-cp313-cp313-win_arm64.whl", hash = "sha256:bfc71e6d970419c1309b3640305298643e2a734cad3f7cfb6d2ddee4175ab53d", size = 279599, upload-time = "2026-09-29T00:47:34.674Z" },+ { url = "https://files.pythonhosted.org/packages/93/1f/d9dc6f02f569625faf67a4daec926cd5023472dcd69bb44286dccd5a5ab3/regex-2026.9.29-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:957bb708e8057ab1649ba566456429d691ec9b90d1c9ad1af1ba7ffbbeaf05f2", size = 497598, upload-time = "2026-09-29T00:47:36.541Z" },+ { url = "https://files.pythonhosted.org/packages/9c/83/9b693a3fd1451381e812031a8961ec5b3b8f0c8cc6871f14c5223642804d/regex-2026.9.29-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c9b602fae1e00b7c035d661ce85575365719192a7b46784bd71cf64c68053aa0", size = 296250, upload-time = "2026-09-29T00:47:38.233Z" },+ { url = "https://files.pythonhosted.org/packages/dd/5f/52bc2abc3fef040cd9de76ab29c918d6a717a454ae2b9dd7938b0c95656d/regex-2026.9.29-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0166844493626c5015c6088ee15c9ca2fd060ca15b7641d1657da6a58432ae33", size = 293518, upload-time = "2026-09-29T00:47:39.957Z" },+ { url = "https://files.pythonhosted.org/packages/dc/fc/cf50671215ee0057046980b4571ef8646a005819bb67f0957e779ed107a5/regex-2026.9.29-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b97a38fb4c732b6832db6bf108963adbcd82ef1268ba2025dce390f45af75efa", size = 806037, upload-time = "2026-09-29T00:47:41.676Z" },+ { url = "https://files.pythonhosted.org/packages/14/4b/dddef8fc15c63e4347cc9efb138d0cd306f30e6c98acbcc81a8f780083b9/regex-2026.9.29-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a540abfab208e1b7ef2df231c40ef3b6cbb30a0aad6204e9b6a81c10a6794628", size = 878881, upload-time = "2026-09-29T00:47:43.755Z" },+ { url = "https://files.pythonhosted.org/packages/9f/cb/38daabed32d28f7e58a06e9344ce00dc67952e9996bc578ed6a29fe1240e/regex-2026.9.29-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ddfa987262763c3c22a8367d2a49c244b018a74c3a8e3ab1a864119ad45c5633", size = 918684, upload-time = "2026-09-29T00:47:45.594Z" },+ { url = "https://files.pythonhosted.org/packages/a9/4d/041d9458a645fee4fce4d642a89d27271a3cfcd91095104f6dde44da70bf/regex-2026.9.29-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2f7f7aa47b229f2b39a2ae2596d2ad5625d77b5eb9856fac2dab3eb506cdd0a0", size = 807176, upload-time = "2026-09-29T00:47:47.372Z" },+ { url = "https://files.pythonhosted.org/packages/bf/c4/4383eed7aa5aef67616cb1b3f3ad06b7c624c4e6cced48630cd5ce133d85/regex-2026.9.29-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d9b77b25b4f395f92de6099ab08e8ae2bc7e51dfe157f22900902243a5cc90c7", size = 784315, upload-time = "2026-09-29T00:47:49.518Z" },+ { url = "https://files.pythonhosted.org/packages/5c/a6/0086ad31cebb183c637d3198547075aa493afde308e1ff61fccccb29ba6e/regex-2026.9.29-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:34b6925af9853bf461950e6508910f179fd6e9b1a7ec8548e069606b7e51a26b", size = 793748, upload-time = "2026-09-29T00:47:51.279Z" },+ { url = "https://files.pythonhosted.org/packages/d5/a0/f9005cba3f629a859573fc5d1224ea4e1f97919ec8581d018e03a351a604/regex-2026.9.29-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:addd736a0547d553283adaf4e05d7104e7f2c7b0b092e9b4d28756825f14531f", size = 870302, upload-time = "2026-09-29T00:47:53.368Z" },+ { url = "https://files.pythonhosted.org/packages/01/4f/e1a3e46bb5315a4e18b01a990e7a28e2a16595609d50c442baf2815a3c65/regex-2026.9.29-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fe3fa1dd453ed5c7f5ea23a26218329790ed7197a99b90e94330e313959a7f52", size = 770299, upload-time = "2026-09-29T00:47:55.606Z" },+ { url = "https://files.pythonhosted.org/packages/2c/fe/f303b4acfda44e1ff1379368748c1ef2dad04a6a8e9c0ecbc970b19d97ca/regex-2026.9.29-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:0cc63b5e47c12a48d90c7e9d7de6a035dd14f62868aaedbb4e0ff8ba2b8bfe7b", size = 861570, upload-time = "2026-09-29T00:47:57.617Z" },+ { url = "https://files.pythonhosted.org/packages/60/b6/b4f7e99249f596017c60ccad5faf9310fc8e3e59bb2244940a90a1b0bdff/regex-2026.9.29-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:724184b4aafed865e4f13ca313fdcb43024300c028ec67319cfa16847d84685e", size = 795967, upload-time = "2026-09-29T00:47:59.922Z" },+ { url = "https://files.pythonhosted.org/packages/fb/d3/fc865a4638d9f6762192b6bab5b7aa1f33a90e9e99578c2e111e2a63c8c3/regex-2026.9.29-cp314-cp314-win32.whl", hash = "sha256:c6c8fabf1dafc1f1ddcbb67896d3f93efb092e8c4b6322d7389b944e76a484e5", size = 274758, upload-time = "2026-09-29T00:48:01.8Z" },+ { url = "https://files.pythonhosted.org/packages/31/e2/c2b466924ccbeb874862968ca638051b15a8fd29d994a0e99004a5cbf78e/regex-2026.9.29-cp314-cp314-win_amd64.whl", hash = "sha256:1c2a0026062abcc321a53db4a185ceba0b59a66b5d37b0808917a88b55a5257f", size = 283817, upload-time = "2026-09-29T00:48:03.614Z" },+ { url = "https://files.pythonhosted.org/packages/c6/42/ea0f8dbaa924fa75c6338935eaee2f44dab369b27f02db1e03d74344b049/regex-2026.9.29-cp314-cp314-win_arm64.whl", hash = "sha256:121a76a0985db80ceae9e171c337f8c927868e37d01b54e3ce87bc87f9c6a208", size = 283663, upload-time = "2026-09-29T00:48:05.624Z" },+ { url = "https://files.pythonhosted.org/packages/44/48/d58e5081119f5c223bbb37d2340acde3d069e1df8e8cd166c37502eee4da/regex-2026.9.29-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:e31f72490b7c12f7790e1e25c3afffd20503ee1bfb43461d7838b871ff244b19", size = 501393, upload-time = "2026-09-29T00:48:07.833Z" },+ { url = "https://files.pythonhosted.org/packages/72/3c/c49945287d4f9efee7d41f98072f8ad880efb8f430595a612fbdea996a4e/regex-2026.9.29-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:80ea96f5c1a30bf09007d48466521d9c294bebe197c708c3359096e3e3691632", size = 298237, upload-time = "2026-09-29T00:48:09.684Z" },+ { url = "https://files.pythonhosted.org/packages/f9/1f/688cb61c3d4cf7bcc1ed444b5cc49399eba3e51c469ae285cf87fea3022e/regex-2026.9.29-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:554bffadcbcb6d5f4e5fb10a61cc52084b9a63d1dab5f10bcd2c4343972e8e2c", size = 295936, upload-time = "2026-09-29T00:48:11.454Z" },+ { url = "https://files.pythonhosted.org/packages/26/a3/de43ac6b877b7d09c19a3a426b1bd5acdd209eaaf68f406466f80439ccf6/regex-2026.9.29-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:864e9b87ac33c3fb9fb4ad48166d4fdb579c351d5c77deb0d34bccb36a775cd9", size = 816905, upload-time = "2026-09-29T00:48:13.321Z" },+ { url = "https://files.pythonhosted.org/packages/62/14/9940763201c51d537786304984c67d0fc3d2ed18837ffb6f09a869f6b6c9/regex-2026.9.29-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:044265d77d94f5e3cb2fd72c76723807c429cb8c533e9d4672d0334a6f14f588", size = 881527, upload-time = "2026-09-29T00:48:15.313Z" },+ { url = "https://files.pythonhosted.org/packages/d3/e1/c842d8df0b23245ebf202f8ab9c39fd48e2db39959454ec39a41c8c72082/regex-2026.9.29-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2089fe39c406784d90101c726755ffa1497bb74638fd434300d2b88006186de8", size = 923115, upload-time = "2026-09-29T00:48:17.328Z" },+ { url = "https://files.pythonhosted.org/packages/d8/c1/98622479e3c354a446a75232e522d747d2b3df23092dcd8a5309380a2020/regex-2026.9.29-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0def9fb6abac55492d6d51cddb7225d07d6f279e774e0adc08569a54a5fc8d46", size = 820674, upload-time = "2026-09-29T00:48:19.32Z" },+ { url = "https://files.pythonhosted.org/packages/6c/d0/5808c95f9c79ed27b5eedaafc3df6239ec56a49f2e23ea8f831b18427c82/regex-2026.9.29-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:888d60953908dcf761aa320c3e390ab8556efbdb551ace63921de90f6ae0848d", size = 793306, upload-time = "2026-09-29T00:48:21.615Z" },+ { url = "https://files.pythonhosted.org/packages/bf/d3/021ca2638671ad20603bcd9b4d5bfa35d2610cd216a043ea7f0b44ea39f6/regex-2026.9.29-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ed511a0708e2297e1d6431e7fb217e3402791e491e02da800658ace4973df1bb", size = 803103, upload-time = "2026-09-29T00:48:23.871Z" },+ { url = "https://files.pythonhosted.org/packages/6b/2d/755c6d13ef9c657378013676c391c7a402166b3f419a464a3e058dcbe533/regex-2026.9.29-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e1172147d28d8fbcf8cb8d26c41506169f5ad8fe9ec969cb116835a19d4d8eca", size = 872175, upload-time = "2026-09-29T00:48:26.255Z" },+ { url = "https://files.pythonhosted.org/packages/6c/fc/e1cab183b9dafe8597f58c1c766da9bf96204d3b2f232bcf3eeb75ff7b6c/regex-2026.9.29-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:92f05c9c42bde5785dc48770bc2194d9f7442544156f951e19cd31b096cec562", size = 777362, upload-time = "2026-09-29T00:48:28.389Z" },+ { url = "https://files.pythonhosted.org/packages/06/7c/e10ea17fba31fb4a1f9d13ed53a2d2a9066a2aea58d7557e263f6d99e7b0/regex-2026.9.29-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:f37964e4a5e993d2fd45147741e9dff7f34a2d8c00ab94c4ea0514a4677f959e", size = 865606, upload-time = "2026-09-29T00:48:30.4Z" },+ { url = "https://files.pythonhosted.org/packages/8e/6e/69824d9aee1fd41c54ea7264654a47c8d9d84d8a228e11c2bcf4c201ed81/regex-2026.9.29-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:951733b1bbdb71e377cec567b409f1a7881b47cfcad84121aa74cb575fa425ea", size = 807945, upload-time = "2026-09-29T00:48:32.375Z" },+ { url = "https://files.pythonhosted.org/packages/89/22/857050a86e21ce60193e02a8ef662521f2e263a645c8b1b905fc136b61a7/regex-2026.9.29-cp314-cp314t-win32.whl", hash = "sha256:65b408d8fcb273e3499e7ef2ce796810da1becd208c7fb4373692a242d79d461", size = 276758, upload-time = "2026-09-29T00:48:34.72Z" },+ { url = "https://files.pythonhosted.org/packages/4d/96/56808fe029553d7d4c703414f2a527faad2ea2bfa9ca094a2e7f8762b530/regex-2026.9.29-cp314-cp314t-win_amd64.whl", hash = "sha256:bf48516e35cf848390ea68850aba53e7c333720d2945b4d2c25b69fc5171723f", size = 286527, upload-time = "2026-09-29T00:48:36.864Z" },+ { url = "https://files.pythonhosted.org/packages/01/aa/074e2cfb3d8101a6a764aba5f7c5d1e21de087483e35bdc0c4ce2eb60364/regex-2026.9.29-cp314-cp314t-win_arm64.whl", hash = "sha256:9173db3be74a35cb6731701094b98120f7ee4876a287882a59cdea1fa7da342f", size = 285954, upload-time = "2026-09-29T00:48:38.901Z" },+ { url = "https://files.pythonhosted.org/packages/a7/dc/d84990386c9dfdf8c377f00f371b241fdc9a2c8aea0e3d66941b2e51be0b/regex-2026.9.29-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:c3589f40749acce747510bf5d589d54e376cb0930ea58b35effac97e5312b0c1", size = 497836, upload-time = "2026-09-29T00:48:40.858Z" },+ { url = "https://files.pythonhosted.org/packages/c2/ab/a569ebde875fa12ff8c6c9a30e07503620f195e4be4d54c3d3ee8eecc283/regex-2026.9.29-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:32ab11df9677ca80bcbb5fe4eb1da9109a5019239a054836efc6fa1c64e683cf", size = 296244, upload-time = "2026-09-29T00:48:42.952Z" },+ { url = "https://files.pythonhosted.org/packages/f3/3e/7d548e82a108e7c8b2d5246650e397a2f8db599f9b2e975466939c5b4e70/regex-2026.9.29-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:7c03031610e3e6ed1768a2b7a8fc84637c1257b50c5eacaf094c6e17a84fc563", size = 293748, upload-time = "2026-09-29T00:48:44.985Z" },+ { url = "https://files.pythonhosted.org/packages/40/34/a8e19a52f452bbb07b32a2bef70dcdf90c2737049749f74cc12d7486fb4f/regex-2026.9.29-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:42e82e578c904445d4c8a35b8f28052cf567593215fa5db06266fbc6f77aaa2e", size = 807840, upload-time = "2026-09-29T00:48:46.948Z" },+ { url = "https://files.pythonhosted.org/packages/88/7b/11fbd4640b3bb82b72822a63c20ade4013d562d291703a9debeedc24e682/regex-2026.9.29-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0b65c72739f981377c9c22e0c5c3cd7f42da7bd8a3c9209330fac772c7d893ed", size = 879330, upload-time = "2026-09-29T00:48:49.168Z" },+ { url = "https://files.pythonhosted.org/packages/f3/55/de58c74f1f4e31586d83eb39c56872d686c4e0d0966d151884c833b94ced/regex-2026.9.29-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4408b2b27a95ca8cc48b7411945753773353b5c93b307754781086c99d3a576f", size = 919251, upload-time = "2026-09-29T00:48:51.322Z" },+ { url = "https://files.pythonhosted.org/packages/81/42/a8c480f6dd5ac59fa28ddae79afd9d7ac7e596fdb61813adc65bb6e674b8/regex-2026.9.29-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a714befaacbd10092ffe4cea0d3c5f008fb9efe9bc322c715bcdfdee414b9a3d", size = 808808, upload-time = "2026-09-29T00:48:53.529Z" },+ { url = "https://files.pythonhosted.org/packages/68/60/0bc0d1ec8b37ad64be6fa30e035251f11de9667a0fac9e82ee74517d81be/regex-2026.9.29-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33026515aebc0e70d1c89978e53e8d695d35d9e472f8d5b34465ba3c74028650", size = 789907, upload-time = "2026-09-29T00:48:56.036Z" },+ { url = "https://files.pythonhosted.org/packages/da/84/116a3ef19b3acfe81077f0bf2cbc7714a5e94bc8935b7243ab61cb0f1c3c/regex-2026.9.29-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:31b003f9a070335e2a8233ee9b14a3ca8e6d792012ae011f741bf0aaf11744c5", size = 795770, upload-time = "2026-09-29T00:48:58.284Z" },+ { url = "https://files.pythonhosted.org/packages/96/ba/e38c3f203e7e7e18c957d48e6cb6dbf96c11e95a44efa4a480522afc5d6d/regex-2026.9.29-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:c03c6eb6ece86dfdcbb34799efaa339b093132e1aceed491ba5e08fe06cdf699", size = 870671, upload-time = "2026-09-29T00:49:00.506Z" },+ { url = "https://files.pythonhosted.org/packages/2f/0f/9ee0b0cb76c55f63684bd7fff554978e8773b4fc86e2bcb2d50772dc1086/regex-2026.9.29-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:a5300757f8a68f5b6cc33f57338d72a0e3589c5cc9ad5f8504ea06f028be582a", size = 778631, upload-time = "2026-09-29T00:49:02.984Z" },+ { url = "https://files.pythonhosted.org/packages/b6/19/e6e3eeb226af5872c4958002f6edef4e4f40ea4cc5f5665023f2019eb045/regex-2026.9.29-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:80c7cadd3fd2bfde5df8aa0787e315812cad0c313a753095d02f4c2b6c01677b", size = 862187, upload-time = "2026-09-29T00:49:05.264Z" },+ { url = "https://files.pythonhosted.org/packages/5b/62/823c102e106bb2711d6b7dfe5981552fe4467b2969c46a20c5c383cf498c/regex-2026.9.29-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:3f1e6cb402a89457582cd696f982559217d13484a193202c394015297968c86d", size = 798423, upload-time = "2026-09-29T00:49:07.644Z" },+ { url = "https://files.pythonhosted.org/packages/37/e0/e927776258fa70b2f6feffc3be584ffc85ba4c1e20a320f0aee9a632fc7d/regex-2026.9.29-cp315-cp315-win32.whl", hash = "sha256:a64b85a4760337cfefdb27d42da6ed8b58e8cde3f2d57b6ef43e76ef6ea9ef47", size = 274757, upload-time = "2026-09-29T00:49:10.513Z" },+ { url = "https://files.pythonhosted.org/packages/77/04/358de85d1860238e1b4fa98fc2c80c990124a25d2e14739e28cc02c25562/regex-2026.9.29-cp315-cp315-win_amd64.whl", hash = "sha256:b3e445b66c80b4eb4234e855ce94d9adc183eedbd632816228d89930b91b2c5b", size = 283824, upload-time = "2026-09-29T00:49:12.849Z" },+ { url = "https://files.pythonhosted.org/packages/92/d3/d5c5b264784a5ab2b0f8cf620c1eeb4dbf3440d306761905e7d99345bef5/regex-2026.9.29-cp315-cp315-win_arm64.whl", hash = "sha256:8f39588af4731c8923c26810eb3b33f76f17633985e40f59c3cd45a33805a895", size = 283664, upload-time = "2026-09-29T00:49:15.331Z" },+ { url = "https://files.pythonhosted.org/packages/02/dc/f63ec2c201445ce1150fe780f5c56f16a10124d9a9da3a93161dbb0d8892/regex-2026.9.29-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:fb99cc9d45f48895d9d67f6a0b8a57f08d39c174d9f25ad97a313e0470267b1c", size = 501549, upload-time = "2026-09-29T00:49:17.705Z" },+ { url = "https://files.pythonhosted.org/packages/9a/5c/d2a698dc6bfc11fbce03f1cb0249c13284e93b79ed11f893edf6fac431c9/regex-2026.9.29-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:720537c7ea6f80dc61913184edb0ce2497a306b39ef19f28505b322553d52bdb", size = 298187, upload-time = "2026-09-29T00:49:20.171Z" },+ { url = "https://files.pythonhosted.org/packages/85/b7/88dcdb38cd3935d4ee9e9ce9b8e56cb3b3518d1f020acfa7dd62ad289bf8/regex-2026.9.29-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:0fd2c901cc307a745ad4bc87f20060d7a0825a3371d1e93488af22e7a387f78f", size = 296157, upload-time = "2026-09-29T00:49:22.342Z" },+ { url = "https://files.pythonhosted.org/packages/d3/8e/ba6c01dde33a69fc294b38b43f6677baaa5735a6248f39708031a738158a/regex-2026.9.29-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b11b589e00095ec69cf79841a76360f9b079e95b0368a25b5ebb951ab0c157ff", size = 818468, upload-time = "2026-09-29T00:49:24.612Z" },+ { url = "https://files.pythonhosted.org/packages/2a/f1/2586693e3a2d6b1247852593d37a6c17b42a92ee44f7cdcb9a0c1494e64a/regex-2026.9.29-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d7cab119d0df0b9413f106b4d7fc34f2872d3574ed3806fb48959c830b1537da", size = 882825, upload-time = "2026-09-29T00:49:26.996Z" },+ { url = "https://files.pythonhosted.org/packages/30/51/084f3e7bdcd0e9c33665c938cf5d134dc3548cbb4a75f0197ec7bfd754b1/regex-2026.9.29-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b89efc38431793d28b7cd91227e2f952ad7c48df19132b17f43a5fec3c14143b", size = 923314, upload-time = "2026-09-29T00:49:29.822Z" },+ { url = "https://files.pythonhosted.org/packages/5a/f1/066c6fc23b7dc229789c21c880b5ba5ad689fb95fed12e078266f55a1f9b/regex-2026.9.29-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:80a5ea3b4fd9d6a5b9a44f7976a9acaaab35aa3c1f6b29e5bd857dfabaded223", size = 822222, upload-time = "2026-09-29T00:49:32.404Z" },+ { url = "https://files.pythonhosted.org/packages/0a/56/592cd46fdb8f2f8682a1d7fd1310e4d0bcb93fbd0e6bbe4141ac28240227/regex-2026.9.29-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:19959129885356df0e97556856f77eb2888380dac18bed075a7c05c5128c618d", size = 794882, upload-time = "2026-09-29T00:49:35.076Z" },+ { url = "https://files.pythonhosted.org/packages/ee/4d/d65384bb071c864b01aa8314e3a6a687845ebd57588390976edc960c218b/regex-2026.9.29-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:6a1a824fbed817e0a891103886b68f063b1e83cc51bc97192a90a60195a9291f", size = 805887, upload-time = "2026-09-29T00:49:37.395Z" },+ { url = "https://files.pythonhosted.org/packages/65/b6/358de0d8f40d5178e4f7e7e121cfd5b961c812b77a055d11f5079e3f8fd7/regex-2026.9.29-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:1ba8c6a416569ce0d37e83e28a254a61dc99a419084dfb6476cea02d997f74fa", size = 872901, upload-time = "2026-09-29T00:49:39.927Z" },+ { url = "https://files.pythonhosted.org/packages/00/06/6bfded72d043240c6b52bbb5e16f639d81affbf7484b4fe2ec45f3d4afc9/regex-2026.9.29-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:446654b29bfaa30500d80947eda42cef1449dc8a87f4e3cf061cc8485d3a1f0b", size = 782970, upload-time = "2026-09-29T00:49:42.581Z" },+ { url = "https://files.pythonhosted.org/packages/5a/20/9f418a50baa78b3ed8308fcb0cc49e472dd000b7ef935a7295af202ea744/regex-2026.9.29-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:bf3c49863c23a1ad6da9c30351aed6cff8d5ddbeb63c5c8420ae54e98c7d0138", size = 865441, upload-time = "2026-09-29T00:49:45.238Z" },+ { url = "https://files.pythonhosted.org/packages/2c/29/817c7eacdeaf8463123e949bd394c39ad024eea1ec38ddf5ad141da2f3bd/regex-2026.9.29-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:01000ddf0e3ffef97f2413ceb514f6313040106b6d18a03ee00a4fe35c1eb1db", size = 809431, upload-time = "2026-09-29T00:49:47.878Z" },+ { url = "https://files.pythonhosted.org/packages/63/0b/83aab3b5b739947f744135a7a3a446e25433ebc92b05e01aae197ccbfdda/regex-2026.9.29-cp315-cp315t-win32.whl", hash = "sha256:c4e38dd8f39c43a91d2410ad2b85610701b0979342c3df1d69eaf8e838c757d8", size = 276964, upload-time = "2026-09-29T00:49:50.524Z" },+ { url = "https://files.pythonhosted.org/packages/72/f2/6314b5fc68789b5dcc38885bc6e3d6986b34fb3372b7231088ee5cecaa05/regex-2026.9.29-cp315-cp315t-win_amd64.whl", hash = "sha256:e2c89e9b762c57f59d5e99ee8b20202adb892e35f8d3485741340999ca55058e", size = 286487, upload-time = "2026-09-29T00:49:53.224Z" },+ { url = "https://files.pythonhosted.org/packages/56/bc/97b2245c8c7b2dd01f2db74f2bea003cd33c15009b4996a2447f46b5325c/regex-2026.9.29-cp315-cp315t-win_arm64.whl", hash = "sha256:e8c65ef3862a8ad6e86492b6ed9327805dd66904c012bd3649dc67d822ed6c34", size = 285955, upload-time = "2026-09-29T00:49:55.655Z" },+]++[[package]]+name = "requests"+version = "2.34.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "certifi" },+ { name = "charset-normalizer" },+ { name = "idna" },+ { name = "urllib3" },+]+sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" },+]++[[package]]+name = "rich"+version = "15.0.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "markdown-it-py" },+ { name = "pygments" },+]+sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" },+]++[[package]]+name = "ruff"+version = "0.16.10"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/c4/49/23802c45f093eb14bde54b141d2b2f058edfa63a06db7beed047308cc08f/ruff-0.16.10.tar.gz", hash = "sha256:eff4728c4eaae93f0955cd264d24b2ab348e74bf59986ccf282ba6dc16b3b017", size = 4958724, upload-time = "2026-10-01T18:03:21.697Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/2f/21/ebce22e1d90cdb2cd691026b9c6e9bec6499f0b396089481755b5d49efff/ruff-0.16.10-py3-none-linux_armv6l.whl", hash = "sha256:488b0fe3f3574210e5cf80d9f59b9e3ab17a127a8155de3f307b392589cfb511", size = 10095557, upload-time = "2026-10-01T18:02:36.072Z" },+ { url = "https://files.pythonhosted.org/packages/cb/98/a54de85876a8b2612bfa0d84c7b9abfb39c6a3354aee7800b09c1649b9e3/ruff-0.16.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:e748ff95c934c4e978783b8e687bc174e7bd84e8ad24e3243e1ecfcda5e0282d", size = 10340577, upload-time = "2026-10-01T18:02:39.258Z" },+ { url = "https://files.pythonhosted.org/packages/9f/16/1a5a4a2657effe4806110f2b907313802f1367fcdbb29e8122766e407fab/ruff-0.16.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:3031a4a2e8e7b8a46f70be45f198c35a11ece509a94b80334d8d397a33c67550", size = 9774282, upload-time = "2026-10-01T18:02:41.79Z" },+ { url = "https://files.pythonhosted.org/packages/6e/fb/470085af734da396e68cd80fb0a3e7c109a459716ae59588c0f6fab8a17d/ruff-0.16.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:494401c86df4c4c25f69b9419605d944467ee98c42fb6ad405ef4fa40b8fb67d", size = 9920895, upload-time = "2026-10-01T18:02:44.458Z" },+ { url = "https://files.pythonhosted.org/packages/57/de/f10cffe4f88a37ea6615ec460f01bf76f0bc1477737a35d9ee61a630a78b/ruff-0.16.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d203abc0ff2b773ee33d00ab8df0bb67046fbc7c07b119332f08b9b345cf8221", size = 9902707, upload-time = "2026-10-01T18:02:47.041Z" },+ { url = "https://files.pythonhosted.org/packages/ff/44/3fdcedf83ae60ef837dd239170e480dce606a9142cfa2db911afdf855fd9/ruff-0.16.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bd83d1235a5258d318477bc5b576303974cbdef5df0c01a1bff14efcc23bd12a", size = 10619287, upload-time = "2026-10-01T18:02:49.485Z" },+ { url = "https://files.pythonhosted.org/packages/c1/62/02e76a5574002153618eafbb70e159468addc72a5d2c488e65cbb4639d2d/ruff-0.16.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bc2610fb269fa56dd8a68669ae470fa6272902668c0fc2ebc3aa112b2633d5b8", size = 11339942, upload-time = "2026-10-01T18:02:52.008Z" },+ { url = "https://files.pythonhosted.org/packages/6b/c4/cde27d47ad8d4126c587e608c67c46e7feac11763f606d261a1bc8a489e6/ruff-0.16.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3e70175e29cc94c26ea296c80e470180b744b7419026898e58f520c6ab32578e", size = 10934316, upload-time = "2026-10-01T18:02:54.811Z" },+ { url = "https://files.pythonhosted.org/packages/e4/03/17234145f302a645a123e8c3bb2411ecf4669fbc350de3b0d803230a1729/ruff-0.16.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f33f43a864a8483eebd160e713336c8bab02c934feaff0a33cf5ccb41546d09a", size = 10387968, upload-time = "2026-10-01T18:02:57.497Z" },+ { url = "https://files.pythonhosted.org/packages/71/29/2493af60240ee7644b38a4b821f5f9c3b5a4fa3178770fe1d0c685217395/ruff-0.16.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:1dfc6f0088149fb6a362c1c446bcbb3fd2157b3852fe2fa68409276eab9ad9b3", size = 10537906, upload-time = "2026-10-01T18:03:00.006Z" },+ { url = "https://files.pythonhosted.org/packages/2e/9a/f56b28f3b143bb9e518c34fb89ab191b626bca8b70dbf8af0d2e2d473572/ruff-0.16.10-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6553498afc35f580f036030795810b9e6bcea31604b0fd9e8d352795473042e3", size = 10012938, upload-time = "2026-10-01T18:03:03.006Z" },+ { url = "https://files.pythonhosted.org/packages/c2/c4/fca37362848ea4d4d80712df13632e645e7c7cfb1bdedf140699ac7a090b/ruff-0.16.10-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a3b8471dea115d37f123882be852bed13403746d3a76c11de4a19ec5f9ff5a03", size = 9897945, upload-time = "2026-10-01T18:03:05.818Z" },+ { url = "https://files.pythonhosted.org/packages/7d/c7/e0bc57664d6e0c61fd22f620af260fe9662d7e1ddb320ea7f160e76ef165/ruff-0.16.10-py3-none-musllinux_1_2_i686.whl", hash = "sha256:92e59a70bcbd9d3a5483656da906ec28edfdacfce00afd99edb8b4e9d15644be", size = 10333134, upload-time = "2026-10-01T18:03:08.25Z" },+ { url = "https://files.pythonhosted.org/packages/21/aa/5c9f3b68737c0e4a33a1db5dfab44f7b786d96ca91a7233112ddab1e6dc2/ruff-0.16.10-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:7ae7375f803b5520dc9f546bed7e3a0acb70b91812e9bb4b19927de22f25b77d", size = 10741702, upload-time = "2026-10-01T18:03:10.775Z" },+ { url = "https://files.pythonhosted.org/packages/78/fa/0f9c2020dc316c53d983be011720b8157cc052b97e3f4dfa7db6d0f880a6/ruff-0.16.10-py3-none-win32.whl", hash = "sha256:2a12e01cb9156c10c466f63b46eaae5ecea28dfbd21b5836353ae498e7d1349a", size = 10139176, upload-time = "2026-10-01T18:03:13.267Z" },+ { url = "https://files.pythonhosted.org/packages/99/29/cfb0df9448d4d4ad48c2de029ada9ebd71baa6da983a6c77ee6c6cd0fe82/ruff-0.16.10-py3-none-win_amd64.whl", hash = "sha256:97f2015c92aa97105b0eab19eb5d224884399281cfc5da86a92db4ab5e7fb2ca", size = 10584734, upload-time = "2026-10-01T18:03:16.006Z" },+ { url = "https://files.pythonhosted.org/packages/fc/05/c16957eb287c3fc062e032619a25868d93d408a844b725bcf514f7a378ff/ruff-0.16.10-py3-none-win_arm64.whl", hash = "sha256:25a65fe998c4e6861ec079ada5826a2fc605e6cbccbe9dcd7fac1f54e791621b", size = 10366440, upload-time = "2026-10-01T18:03:19.04Z" },+]++[[package]]+name = "safetensors"+version = "0.8.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/45/06/f955dbbb1859e3bd23c8ac6141af5106e7ad5fedec4a3a6e3d60f94b7001/safetensors-0.8.0.tar.gz", hash = "sha256:fabaf3e0f18a6618d9b36560682562157f77c2b71fcffc7b432be2baed9d753d", size = 325846, upload-time = "2026-06-09T07:52:25.563Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/39/a0/f718cda65b05407d228f97602cf60dca269c979867aa5beb25410de26cd3/safetensors-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:c554f85858e05226d3c2828e32395e677434685d6d94594a41643361c5e837f0", size = 473568, upload-time = "2026-06-09T07:52:18.829Z" },+ { url = "https://files.pythonhosted.org/packages/f5/b1/fa7c600e7dceae12e9606c7578cbc9ff1e1ed55844883ee5c92205e86226/safetensors-0.8.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:c80201d22cbf405b80647a60ada77bba06c8fba2da2743ba1e89cdcc39a81f25", size = 484562, upload-time = "2026-06-09T07:52:17.518Z" },+ { url = "https://files.pythonhosted.org/packages/09/7d/65a7de0af421317bb36a067241e4235fff194eed60b961ed6d3f59a3fc60/safetensors-0.8.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a46e5ff292c356d6991e60942ba7f79817682d3a2cef0702136448cb9c4d235", size = 502844, upload-time = "2026-06-09T07:52:07.624Z" },+ { url = "https://files.pythonhosted.org/packages/91/4f/3175c9d75634e0e0dda0082794193521035edd7c70a6f212bf33ca06ddf4/safetensors-0.8.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4124502b78f03534117c848f87a39b8f31e577b15eff423bf8bfb95f2a8c30d0", size = 511823, upload-time = "2026-06-09T07:52:09.565Z" },+ { url = "https://files.pythonhosted.org/packages/20/87/846c289e7aa2299eff406335717cf43ce8777194ece8aad75772e0411615/safetensors-0.8.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7bc0a787ba8a35be368ee3574edfa2b1ad389eebd0a72e482ae275490e3f6c98", size = 633461, upload-time = "2026-06-09T07:52:11.128Z" },+ { url = "https://files.pythonhosted.org/packages/76/22/8d64d9df2c45d5ded401df889d0ad90882804ca172d79ec4f0df8f727fe0/safetensors-0.8.0-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:040070828e36dc8e122178bbbd5830ff9e97920affb84cbe0f46442497bed358", size = 545148, upload-time = "2026-06-09T07:52:13.603Z" },+ { url = "https://files.pythonhosted.org/packages/28/50/f203ff3a3ddfe19308efc83c5a3a29ed02bf786732ec35e68bf9162f3365/safetensors-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd6f3f93c9a0a7cc2788ee63fb763353d4bd2e89b0751bc78fcf7dda00bea774", size = 516040, upload-time = "2026-06-09T07:52:16.29Z" },+ { url = "https://files.pythonhosted.org/packages/46/fb/cdaed17ceb2948784fd9c36b6fd3e951b608547cea81a48e8ee6f8cfdfcb/safetensors-0.8.0-cp310-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:fcdd41ec4628fee5799f807c73c353629130fbd942aa23d83c623dd6c9d52d78", size = 513832, upload-time = "2026-06-09T07:52:12.37Z" },+ { url = "https://files.pythonhosted.org/packages/0d/49/1e15de264dcc3b77943d2d0c56a95809956883b1c2d6d585c792523f180b/safetensors-0.8.0-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8e9f537aa183a38ace122d27303dcd986b26bd2a7591f9181d7f0c396f4677ca", size = 559930, upload-time = "2026-06-09T07:52:14.743Z" },+ { url = "https://files.pythonhosted.org/packages/2a/43/bf38443278eab4b1be1fce2931e2b012ad9cb7df52ada751d0aab8f7659a/safetensors-0.8.0-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:87eec7ffed2b809f05a398a8becb7d013f19f7837cd15d9748580d6cf30dbaf4", size = 678670, upload-time = "2026-06-09T07:52:20.032Z" },+ { url = "https://files.pythonhosted.org/packages/72/e3/68cd3fa5b48488e84add63e04cb12f3bc28ae4638c06d4508c6e88823d0e/safetensors-0.8.0-cp310-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:4a95ae2b05d7726d751da4ebf626a2ca782b706e101bd894c95bc2450b1cffcc", size = 786679, upload-time = "2026-06-09T07:52:21.322Z" },+ { url = "https://files.pythonhosted.org/packages/29/4b/1c19c509d56e01f4fbb3d0a2e597450f6cc04d1d56cf52defb0a62dfd715/safetensors-0.8.0-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:3ae091f16662658bdc019a4ff6cb4c085bb7d725eb5978b183ffd265863b6d2d", size = 765683, upload-time = "2026-06-09T07:52:22.594Z" },+ { url = "https://files.pythonhosted.org/packages/27/43/41c1621732edd934d868a00d1b891584c892a7b62a9aab82ea5a0a5623ee/safetensors-0.8.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:8e080062fcde23be189565e1c3305d16751a218ecf9412c8601e64204eb6f846", size = 722361, upload-time = "2026-06-09T07:52:23.924Z" },+ { url = "https://files.pythonhosted.org/packages/8e/3f/73ccf82579412b4a71c4ca673f10b5f1f888d7cf5af7fe24f27d30307be4/safetensors-0.8.0-cp310-abi3-win32.whl", hash = "sha256:2ddf52eac562eda224f99acfa7889d02968c1fd59a5b011ae7d8137c37e9c02d", size = 342401, upload-time = "2026-06-09T07:52:28.895Z" },+ { url = "https://files.pythonhosted.org/packages/1b/6d/3fba214c1e5e0f69991677ec3bc17023f0421776975e1de0c682dca475e2/safetensors-0.8.0-cp310-abi3-win_amd64.whl", hash = "sha256:096ec1a98435df7beb08853bb5aa9081a84f23d0adc67ed1a0a10550f608373f", size = 355540, upload-time = "2026-06-09T07:52:27.832Z" },+ { url = "https://files.pythonhosted.org/packages/8d/fc/7eedc3510d97878876e32774eebbeb61c43f148a96e915c84229a3e967aa/safetensors-0.8.0-cp310-abi3-win_arm64.whl", hash = "sha256:f7838e5135a406ad3e02efdcb8cf2e5397d368b0154537c4fec682dbc544d452", size = 340500, upload-time = "2026-06-09T07:52:26.745Z" },+]++[[package]]+name = "sentencepiece"+version = "0.2.2"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/cc/33/ea3cb3839607eb175da835244a798f797f478c5ddf0e8ecdf57ea85a4c70/sentencepiece-0.2.2.tar.gz", hash = "sha256:3d2b5e824b5622038dc7b490897efe05ebbbb9e7350fc142f3ecc8789ef9bdf6", size = 8218435, upload-time = "2026-07-12T08:39:34.701Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b8/13/7a562289c8d5b49ebdf3f9c1e8ab67cf14a8743b1d90c8f406bfdec36b72/sentencepiece-0.2.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1edb10e520e4bddf74d85b0f5ae74cc2d60c2b448885080bfb618bc2b3a49f6b", size = 2188384, upload-time = "2026-07-12T08:38:28.486Z" },+ { url = "https://files.pythonhosted.org/packages/85/d1/912f14fd5eae168aba726ffb6a9a2dc1c71fe7676c53da6f5c442b886d4a/sentencepiece-0.2.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f7c06c751c19d923435a54bff4f7e66e728fad160e8da28254f133abc9725820", size = 1441553, upload-time = "2026-07-12T08:38:30.552Z" },+ { url = "https://files.pythonhosted.org/packages/bd/44/caa9cab5f261a019e2808bc5046152775dc57352ba9cbae7525e9e7a1ed4/sentencepiece-0.2.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:38111ed1f79268f399c505028023d5eaaf0ab4e5eafceb709468b0d3323e7838", size = 1347176, upload-time = "2026-07-12T08:38:32.211Z" },+ { url = "https://files.pythonhosted.org/packages/19/90/cd798935668cff71d309d8ff10385844ecf216b1fe454f1993ed8bf2cb91/sentencepiece-0.2.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cbce24284f51f71d10a42b7b9c964dcb9048b28f1c8e5db40bcbcb6f428cba6a", size = 1325200, upload-time = "2026-07-12T08:38:33.689Z" },+ { url = "https://files.pythonhosted.org/packages/b6/2d/37e3da037318a70066ded0d51bc2a7f35491ae6338dd993d5eb1503fc3b5/sentencepiece-0.2.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c8a168b040bc61681293f79a949b5d911c8e25086f4260285b8d97ab5f1195da", size = 1397736, upload-time = "2026-07-12T08:38:35.771Z" },+ { url = "https://files.pythonhosted.org/packages/8d/11/753fca2e6b109be3ab7867abf357dfe48677fe726ae5a5363d0b54ca9450/sentencepiece-0.2.2-cp312-cp312-win_amd64.whl", hash = "sha256:7c6e7bf684dc12145bfa685d3060beaea55139134ba848289bee514ed42e7383", size = 1248030, upload-time = "2026-07-12T08:38:37.604Z" },+ { url = "https://files.pythonhosted.org/packages/e2/0a/70efbe861ca182d7d4b6e1a20f58e043400848fa9f2915229f082e221648/sentencepiece-0.2.2-cp312-cp312-win_arm64.whl", hash = "sha256:76ff5814db72e7462dece042d7593cdf102b8ec82c2b1cc201a2add34ee3050d", size = 1187325, upload-time = "2026-07-12T08:38:39.348Z" },+ { url = "https://files.pythonhosted.org/packages/b9/a3/b3b05095c174d6e80d37d5ddc2f57c2c56237333e7bbd6079cf3243c2a8a/sentencepiece-0.2.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:77c3ce990b23441e5ecfa5bce181fd6f408b564aeb6d7e1d1e7de9c5612501c8", size = 2188346, upload-time = "2026-07-12T08:38:41.089Z" },+ { url = "https://files.pythonhosted.org/packages/ca/f3/72ebc4acb10a06bcf7503fbc6091c8f5db68300f6aac4356c09e6c76e0e1/sentencepiece-0.2.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:fd523c4992041faa5c2b3cde62253d11a96c30d73a34afe48a486e8e2254cd1c", size = 1441434, upload-time = "2026-07-12T08:38:42.56Z" },+ { url = "https://files.pythonhosted.org/packages/34/db/f9ea1a6844b4fa5dfe2312095cd866a1f724cd0905054ab9d5991778ba50/sentencepiece-0.2.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:201a8e0f55501a76e08dbf2c54bc45f4642b379271e89c667d517bfbc2191f2a", size = 1347267, upload-time = "2026-07-12T08:38:44.389Z" },+ { url = "https://files.pythonhosted.org/packages/32/4f/31c1073314ad94466bca37d29581761d70110237ee3d46b0efece59a8c1e/sentencepiece-0.2.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8eed98514bffe5ecac37f493f91869c351fbb05629328bfdbc08502c6c094dc0", size = 1324980, upload-time = "2026-07-12T08:38:46.304Z" },+ { url = "https://files.pythonhosted.org/packages/59/b4/a0356fa04d6a14337a6e0e443556785a0422c53ec58baae6b9568120eb0f/sentencepiece-0.2.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:64b656f025355cf8c51abe9fbe3848540756c6d7ca5e6791b1afa664bc24c7cb", size = 1397593, upload-time = "2026-07-12T08:38:48.302Z" },+ { url = "https://files.pythonhosted.org/packages/09/fa/d2d6369257fd2f0de616b1c7110b73fab409ef61b14f1b9e0010ed325914/sentencepiece-0.2.2-cp313-cp313-win_amd64.whl", hash = "sha256:74f0ee601047c0c12a783088b51be4e6214a62ecd9e02278c477433cd16e0ed9", size = 1247987, upload-time = "2026-07-12T08:38:50.15Z" },+ { url = "https://files.pythonhosted.org/packages/17/ee/2bb594da6fd95e32f29057f1aa7fa996701b8980090923c2d8711fdc0a24/sentencepiece-0.2.2-cp313-cp313-win_arm64.whl", hash = "sha256:b23fe17779834d3c27aaf2edac9486d04cca1a7deb8f5facda35150ac6263a91", size = 1187250, upload-time = "2026-07-12T08:38:52.246Z" },+ { url = "https://files.pythonhosted.org/packages/58/9c/dfc82846460e7a712310f5613f23d8b553cabb4e2e648663c11d8382af56/sentencepiece-0.2.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:72b7825b331b1b7e7c45be2e674b3e3c65af608fa376bad2d851b20aaf0cdc78", size = 2223080, upload-time = "2026-07-12T08:38:54.391Z" },+ { url = "https://files.pythonhosted.org/packages/8d/4e/3ff12cebe6d31662d9ceeabfb282de20bd0d6098fa282b4a3b8305abc7e8/sentencepiece-0.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:d795c4ac689a57f9d4ba2288126ec7901d389ad5827d2f8b8533c883974fe563", size = 1458511, upload-time = "2026-07-12T08:38:56.811Z" },+ { url = "https://files.pythonhosted.org/packages/59/5a/16d51d05360be4cee3ebfe4837c184054c4eed16cabaeb3b039524e9a000/sentencepiece-0.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3ab3f1ae98970b5590e2209341522718900ba19bcc2c207ffaa6bd417ad960c5", size = 1361138, upload-time = "2026-07-12T08:38:58.808Z" },+ { url = "https://files.pythonhosted.org/packages/0f/af/c30ee2a9f99d51db9844acaa8fa0b611a97c2fa7116646fa43db3300b187/sentencepiece-0.2.2-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3ec27c152a1f1b24bc9168b55a5880f3c16e2334e697da6f55a1046a22405a3d", size = 1328625, upload-time = "2026-07-12T08:39:00.849Z" },+ { url = "https://files.pythonhosted.org/packages/3e/1a/4c6b39d03f5ba8439509adbd5a23c9538088a3cb679e7a47b911e8442bc6/sentencepiece-0.2.2-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:59d6588712101ccfcae9b03692be3aaae1514c2078666d7b05f15ba3a702e41b", size = 1398595, upload-time = "2026-07-12T08:39:02.86Z" },+ { url = "https://files.pythonhosted.org/packages/0f/bc/9eedddcec1fd57bc70200fa3ebf792d18fa63527a5369581cd416c81f97f/sentencepiece-0.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:89625fb43765cccaa1443b9adb61f283e5fe4cb1536728205d06bada730caa53", size = 1259346, upload-time = "2026-07-12T08:39:04.559Z" },+ { url = "https://files.pythonhosted.org/packages/41/15/7e74c8533848866ff560b29f7d8719921b76c4ec7149592d6d28e0deee75/sentencepiece-0.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:4f0603267cd15b92b68c2c0e852a441507614b70dc7773659baa6b8c214a91fd", size = 1196596, upload-time = "2026-07-12T08:39:06.454Z" },+ { url = "https://files.pythonhosted.org/packages/0b/7e/f5df63edb6bcb46c1343cfa5d9192d73a4eb61af2e800d9402efff387523/sentencepiece-0.2.2-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c62bd361cec1f5b556eb8210264ecfff37486cd990c3386cc00310f26c54090a", size = 2190240, upload-time = "2026-07-12T08:39:08.178Z" },+ { url = "https://files.pythonhosted.org/packages/52/0a/095d183b453b2a2e20b016829029c58eca90adc1c9911113e5d26fff45ed/sentencepiece-0.2.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:46ba07b543add034de0ff47ac5f907e9a06682f91d85121a972764628933be6b", size = 1442220, upload-time = "2026-07-12T08:39:09.91Z" },+ { url = "https://files.pythonhosted.org/packages/d1/18/823954c9c90e74eba09fb96752dc37a5555df00d69866cb9406d1725dc7e/sentencepiece-0.2.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:79bac5a251f23a7341e28fda9ce0d5319edf45328239ce037c0682936f137906", size = 1348056, upload-time = "2026-07-12T08:39:11.744Z" },+ { url = "https://files.pythonhosted.org/packages/10/ca/1b6c251321901cbf8a2d2e48b8b70eb82a449011b766af52a228d0a90b6b/sentencepiece-0.2.2-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1402d8ee36f0d851cea8eee4dbb85fea14643b7503cf4d00d102eec0fe3ca719", size = 1325463, upload-time = "2026-07-12T08:39:13.413Z" },+ { url = "https://files.pythonhosted.org/packages/24/b3/718847349da7b25c8220ed86d85b89080af94740b2d87a59198104ae5c51/sentencepiece-0.2.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8d44b20234905ff022b7d535f79d1f823ad7670c9851cc4f03cdc34787cdb3ab", size = 1398138, upload-time = "2026-07-12T08:39:15.564Z" },+ { url = "https://files.pythonhosted.org/packages/33/fe/4906f12c458274edd96387e4baaad7c6f064a2b7c11a1cc2401c8a7bd483/sentencepiece-0.2.2-cp314-cp314-win_amd64.whl", hash = "sha256:63250cfab8b80a1ef82a614eb2b3cadfec2c405f870cedc139d08e2f063eb708", size = 1356144, upload-time = "2026-07-12T08:39:17.313Z" },+ { url = "https://files.pythonhosted.org/packages/d3/eb/22f89b6542aba400b0007cf0b1697cc3f99be8fb682fdb4c05eec450e33f/sentencepiece-0.2.2-cp314-cp314-win_arm64.whl", hash = "sha256:65d84ec36888de4a848eee5f910e67fbc79b064685ef1e10a502e14520ead9c9", size = 1294351, upload-time = "2026-07-12T08:39:18.967Z" },+ { url = "https://files.pythonhosted.org/packages/84/c4/7afe8c2315b76e46818851a057e50a378a0382aa00b970a1fa444181b6f6/sentencepiece-0.2.2-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:d254c98ca6387655400b3959c33c83efd807f5edeb608e3aca45800ceaa77151", size = 2223281, upload-time = "2026-07-12T08:39:20.978Z" },+ { url = "https://files.pythonhosted.org/packages/98/42/fb678e472c554ef086be6375d20060ca610a2c4218854d4c091001fc6f91/sentencepiece-0.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:3fd9ce2ab4460c713cfdeb4aca693ca6732a11538e05fb332d5af42e3d7fde25", size = 1458779, upload-time = "2026-07-12T08:39:22.812Z" },+ { url = "https://files.pythonhosted.org/packages/78/52/ffe402b13bce1889228a98dc6cd86ae8afac1112362236be3468be784441/sentencepiece-0.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7fc14c1585139fa6b68775e616a6b90cf622ebf219f9558c0aeaf5d253ee6c9b", size = 1361736, upload-time = "2026-07-12T08:39:24.602Z" },+ { url = "https://files.pythonhosted.org/packages/78/4a/2288f60e7283583ec0a0f16e72f9c8e68557d7e7a4b585d2cda4f9f47e64/sentencepiece-0.2.2-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:df88b0c34f2fa909d322f7b06b1398e1e81af4b2f42a7b8e3556f928b25d1811", size = 1328155, upload-time = "2026-07-12T08:39:26.422Z" },+ { url = "https://files.pythonhosted.org/packages/26/31/5dd6882ebe899f741a5cfe40ff56c6efc06bc26ee287abdb723b671f409c/sentencepiece-0.2.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3f5851441ab1ef8634963a5100b733a8bbeefe623e0c5c005b1f1f3880e574cf", size = 1398307, upload-time = "2026-07-12T08:39:28.637Z" },+ { url = "https://files.pythonhosted.org/packages/da/05/7d7780fa63f4b8c1821953b916e25f89ae8f14d4da6ba91e10f6d06dc2b4/sentencepiece-0.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:046b15ea22d8042e2e173561d464ec3b64a9c2081324df70ebce7bf7ebb3e497", size = 1367133, upload-time = "2026-07-12T08:39:30.546Z" },+ { url = "https://files.pythonhosted.org/packages/49/a1/70007fef3f818c688de4a730f98024a671599ab67f20270f8efb03d69dcc/sentencepiece-0.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:fa9f5ef0e2a82233dd0b8b32ea3f5710e0c44afbc07ed3620219f32601e56090", size = 1302760, upload-time = "2026-07-12T08:39:32.457Z" },+]++[[package]]+name = "setuptools"+version = "84.0.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/6d/44/f5da03a8ef95d369145c5bb53050e7877c9f3d312e128605fd9504829143/setuptools-84.0.0.tar.gz", hash = "sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73", size = 1168449, upload-time = "2026-08-08T18:27:58.365Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/95/9c/c510029fc6ef33a6275cd2c5d3cecd6613dfd6aa401d57c54f1c18852ccf/setuptools-84.0.0-py3-none-any.whl", hash = "sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670", size = 818216, upload-time = "2026-08-08T18:27:56.719Z" },+]++[[package]]+name = "shellingham"+version = "1.5.4"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310, upload-time = "2023-10-24T04:13:40.426Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755, upload-time = "2023-10-24T04:13:38.866Z" },+]++[[package]]+name = "six"+version = "1.17.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" },+]++[[package]]+name = "sympy"+version = "1.14.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "mpmath" },+]+sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353, upload-time = "2025-04-27T18:04:59.103Z" },+]++[[package]]+name = "tokenizers"+version = "0.23.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "huggingface-hub" },+]+sdist = { url = "https://files.pythonhosted.org/packages/18/1e/bc6587c5ab643b2e17776cace9070a2ae73549c86bffac9934a600bf3c31/tokenizers-0.23.2.tar.gz", hash = "sha256:7f0f085686b9de0d0079e6f874ae053600db64c5d13049e0bbc0119926d25aac", size = 385745, upload-time = "2026-09-03T08:55:42.89Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/4d/ed/8a443528baa6fac8dfe8c3b75b038c63ac92bb539bcabe311e227c718173/tokenizers-0.23.2-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:85a9a357a3764aecc904ee76bdaf8cf1ad8e5a67a1b929a487c4a39b49ed0e90", size = 3148852, upload-time = "2026-09-03T08:55:30.874Z" },+ { url = "https://files.pythonhosted.org/packages/67/49/22da045a91732384d3a3771816bf188dc5a1f702c32e635afa7c679c0bef/tokenizers-0.23.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:986670e43691469dcee610ea0f846f91a8f84e91fc6f7a48d4c064414c0ec2bf", size = 3101593, upload-time = "2026-09-03T08:55:28.587Z" },+ { url = "https://files.pythonhosted.org/packages/2e/4d/8f569ed49372a3ed8e57099bd515055fd48d7c95912c4307cda6973c2168/tokenizers-0.23.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a37039b5dfc4af84eb3ef0a92f4307e28936c8f9adccba2629d36f652e9bf7a2", size = 3516830, upload-time = "2026-09-03T08:55:14.741Z" },+ { url = "https://files.pythonhosted.org/packages/2a/de/e2f14c8919d5bf51874051d00d6c7b7e0e8bde6c6a2dbeddda7f642896ff/tokenizers-0.23.2-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7b7e37ba198f24150f523e1242e83c4970de4a525480586be5dcc24d9add32c5", size = 3407975, upload-time = "2026-09-03T08:55:16.842Z" },+ { url = "https://files.pythonhosted.org/packages/c5/bd/93c69152d02ef06ce47aed8b2bf4952dcf733c935a62791873932b2934d9/tokenizers-0.23.2-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:43e4f2071e3cc8d5d86421c874aebc82659bb51a68bcdef5a0da75ee89511ccb", size = 3748165, upload-time = "2026-09-03T08:55:24.769Z" },+ { url = "https://files.pythonhosted.org/packages/2d/b7/56b84b80bc96942bba8eb23751a9e8a1fce4faaf4390425e7083f721c98c/tokenizers-0.23.2-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:325fee2e0418a9dc6c9ecf736a5f5f0db7875183ace9549ae339da76f7a1fbb7", size = 4024165, upload-time = "2026-09-03T08:55:18.806Z" },+ { url = "https://files.pythonhosted.org/packages/9b/8a/0175e216f005c2fe08238292663aa41e4c802b216e71047a69a0e9fc6fa3/tokenizers-0.23.2-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:950d7c9426fa72406a0ffeacdbc0bb9985f5db20eb8b263f29c79aaf83105703", size = 3591899, upload-time = "2026-09-03T08:55:22.752Z" },+ { url = "https://files.pythonhosted.org/packages/2c/ca/ca6b93c7820df123b2662a9469e8facc826ccc94e98fdd0d615f6431e73a/tokenizers-0.23.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:41c2f84d172449b4dadb9cdc508e3e364076613c35b16e76ecfe47a60d1e3305", size = 3386843, upload-time = "2026-09-03T08:55:26.584Z" },+ { url = "https://files.pythonhosted.org/packages/e9/a4/4f9106d317b14a80aefea9f0e3a8d07ef25f856a7607eb7f5ab894281fcb/tokenizers-0.23.2-cp310-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:12f0835dc2ee694746a76adf7b1567d4346a4a502ebe93fb1f5f80ea49799b78", size = 3577314, upload-time = "2026-09-03T08:55:20.825Z" },+ { url = "https://files.pythonhosted.org/packages/8d/6a/1552b70fb0d9ab074fd3fc961435d01364e79c9058481822c3af6e8d402c/tokenizers-0.23.2-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:eb2f9c8a24da020ea8c11a01a19c1c2547912d92121ae4a01cfbca46125dee40", size = 9967367, upload-time = "2026-09-03T08:55:33.188Z" },+ { url = "https://files.pythonhosted.org/packages/06/01/3ccb3a956c7528b2507b8a9714155c4baf86af593039db6ea375dd0c96c3/tokenizers-0.23.2-cp310-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:f486f402f6f9abee5bb032553736813af0c710a86b2e0ca592634c55cea1f835", size = 9811886, upload-time = "2026-09-03T08:55:35.642Z" },+ { url = "https://files.pythonhosted.org/packages/fa/73/7038e612d48bda1599457f712f6bd3854eae1a9dc9c13aa47f835349db48/tokenizers-0.23.2-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:bef235815a067b2648caf6dcc7a71091b0b0fff9ee8057f6451eb9335fae52ef", size = 10146224, upload-time = "2026-09-03T08:55:38.391Z" },+ { url = "https://files.pythonhosted.org/packages/b5/d8/8e9e4e0b287a338d8f88976729628c9d22e8a54cfaf9777018a7f7cb58a0/tokenizers-0.23.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5c56bda1511921587789163e524d196ed8284174ac23abd7685d5ea8da6c4718", size = 10256304, upload-time = "2026-09-03T08:55:40.977Z" },+ { url = "https://files.pythonhosted.org/packages/f3/1f/c79a01f671a49728ebb0b61f7ff9ea45663b66cab40bc0858e9859b25c16/tokenizers-0.23.2-cp310-abi3-win32.whl", hash = "sha256:debf978920d93ba9c219bd67cc4bbfaf912c9039e41e7a28b91ec15e3728c95a", size = 2592809, upload-time = "2026-09-03T08:55:48.02Z" },+ { url = "https://files.pythonhosted.org/packages/db/f7/0a69ac6b82dbccf3f71add938a161c497952749294b8dd6dfe03a819dc40/tokenizers-0.23.2-cp310-abi3-win_amd64.whl", hash = "sha256:2e96f5699d5249c9c64aa8412e044f727aae3a4098cf830f9901ec1afc361cde", size = 2863236, upload-time = "2026-09-03T08:55:46.193Z" },+ { url = "https://files.pythonhosted.org/packages/d7/b0/dee84cb44175be1b4c35bd2f770727494e78f0bb38e571a623ade94dbebb/tokenizers-0.23.2-cp310-abi3-win_arm64.whl", hash = "sha256:e49c394456dd9985787fec76132438ba3fb8911f857b1bf3d40119f9292d41aa", size = 2729352, upload-time = "2026-09-03T08:55:44.345Z" },+]++[[package]]+name = "torch"+version = "2.10.0+cu128"+source = { registry = "https://download.pytorch.org/whl/cu128" }+dependencies = [+ { name = "cuda-bindings", marker = "sys_platform == 'linux'" },+ { name = "filelock" },+ { name = "fsspec" },+ { name = "jinja2" },+ { name = "networkx" },+ { name = "nvidia-cublas-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cuda-cupti-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cuda-nvrtc-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cuda-runtime-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cudnn-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cufft-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cufile-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-curand-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cusolver-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cusparse-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cusparselt-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-nccl-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-nvshmem-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-nvtx-cu12", marker = "sys_platform == 'linux'" },+ { name = "setuptools" },+ { name = "sympy" },+ { name = "triton", marker = "sys_platform == 'linux'" },+ { name = "typing-extensions" },+]+wheels = [+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:6f09cdf2415516be028ae82e6b985bcfc3eac37bc52ab401142689f6224516ca", upload-time = "2026-01-21T15:22:03Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:628e89bd5110ced7debee2a57c69959725b7fbc64eab81a39dd70e46c7e28ba5", upload-time = "2026-01-21T15:22:11Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp312-cp312-win_amd64.whl", hash = "sha256:fbde8f6a9ec8c76979a0d14df21c10b9e5cab6f0d106a73ca73e2179bc597cae", upload-time = "2026-01-21T15:22:17Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:bdbcc703382f948e951c063448c9406bf38ce66c41dd698d9e2733fcf96c037a", upload-time = "2026-01-21T15:22:29Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:7b4bd23ed63de97456fcc81c26fea9f02ee02ce1112111c4dac0d8cfe574b23e", upload-time = "2026-01-21T15:22:51Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp313-cp313-win_amd64.whl", hash = "sha256:4d1b0b49c54223c7c04050b49eac141d77b6edbc34aea1dfc74a6fdb661baa8c", upload-time = "2026-01-21T15:22:54Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:f1f8b840c64b645a4bc61a393db48effb9c92b2dc26c8373873911f0750d1ea7", upload-time = "2026-01-21T15:23:28Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:23f58258012bcf1c349cb22af387e33aadca7f83ea617b080e774eb41e4fe8ff", upload-time = "2026-01-21T15:23:31Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp313-cp313t-win_amd64.whl", hash = "sha256:01b216e097b17a5277cfb47c383cdcacf06abeadcb0daca0c76b59e72854c3b6", upload-time = "2026-01-21T15:23:53Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:c42377bc2607e3e1c60da71b792fb507c3938c87fd6edab8b21c59c91473c36d", upload-time = "2026-01-21T15:23:56Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:37d71feea068776855686a1512058df3f19f6f040a151f055aa746601678744f", upload-time = "2026-01-21T15:24:08Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp314-cp314-win_amd64.whl", hash = "sha256:c57017ca29e62271e362fdeee7d20070e254755a5148b30b553d8a10fc83c7ef", upload-time = "2026-01-21T15:24:10Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:777461f50b2daf77e4bdd8e2ad34bdfc5a993bf1bdf2ab9ef39f5edfe4e9c12b", upload-time = "2026-01-21T15:24:20Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:7bcba6a7c5f0987a13298b1ca843155dcceceac758fa3c7ccd5c7af4059a1080", upload-time = "2026-01-21T15:24:44Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.10.0%2Bcu128-cp314-cp314t-win_amd64.whl", hash = "sha256:70d89143c956389d4806cb4e5fe0b1129fe0db280e1073288d17fa76c101cba4", upload-time = "2026-01-21T15:24:46Z" },+]++[[package]]+name = "torch-c-dlpack-ext"+version = "0.1.5"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "torch" },+]+sdist = { url = "https://files.pythonhosted.org/packages/37/de/921b6491efce5c389a5ef9bbed3d2d6660005840dae488124173180859ab/torch_c_dlpack_ext-0.1.5.tar.gz", hash = "sha256:d06f0357d575d22a168cc77acb9020fc4bae30968ceb6718a055dcbe92bacabe", size = 12913, upload-time = "2026-01-12T11:25:08.484Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b1/67/10d236698525d7b7db4d74ec0a4b01f5b2db33968995fdd9ac6b4635e327/torch_c_dlpack_ext-0.1.5-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:c0f2bd51fcd99c0e5b50314e1985f2728c4941bfa821f065e6c30951d1f995ca", size = 5291237, upload-time = "2026-01-12T11:24:44.011Z" },+ { url = "https://files.pythonhosted.org/packages/87/06/8d760997307a5c3be4384424667bf31aae0a42060838c532c7d846516175/torch_c_dlpack_ext-0.1.5-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3562ee411258676f9c38b8ad39306d1c8d027b6a86f6a87c920d2d009a9d1510", size = 443069, upload-time = "2026-01-12T11:24:45.451Z" },+ { url = "https://files.pythonhosted.org/packages/e2/79/a914539b4785f3e44f891aa012a886edb8bc10fe081c440981c57543ce21/torch_c_dlpack_ext-0.1.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e6f9da4bb9af70e27facc777458be62e10dbbbddda7672d16138db0553c5a524", size = 897846, upload-time = "2026-01-12T11:24:48.168Z" },+ { url = "https://files.pythonhosted.org/packages/3a/e6/7d7a97a3953208d6d6ce749180c34d1dab48464ded9a76cecabe9d021ce6/torch_c_dlpack_ext-0.1.5-cp312-cp312-win_amd64.whl", hash = "sha256:670fbbab70123cc228bed41693a3720757af57a0ad22669063c9db25321e8f55", size = 1482855, upload-time = "2026-01-12T11:24:49.581Z" },+ { url = "https://files.pythonhosted.org/packages/ca/c6/65346a201d921b616731311fc9941f15137672b444cebdad702cb52ccee0/torch_c_dlpack_ext-0.1.5-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:74acea2ed395cadda63342845b9e9ee7cd4537846223dacfb4431b4610109265", size = 1993243, upload-time = "2026-01-12T11:24:51.079Z" },+ { url = "https://files.pythonhosted.org/packages/fd/ec/faf10be09a5812b1c5ec9922b53fb5def5fc4080b81a653b9347bb169ebb/torch_c_dlpack_ext-0.1.5-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:49f1e99d13c64e22dac0a34a1560e9e5a398a49a9fa81df83053e04fde6ec5bd", size = 443798, upload-time = "2026-01-12T11:24:52.754Z" },+ { url = "https://files.pythonhosted.org/packages/2d/68/f434b48700f3e04f33882f54d8d3910327b935f55e14ec49da7d607bf470/torch_c_dlpack_ext-0.1.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:debe62e5ef93e631065d6b9f6e60d3d39bae6b89fa1b25d9523f40b3efbf8aba", size = 755004, upload-time = "2026-01-12T11:24:54.004Z" },+ { url = "https://files.pythonhosted.org/packages/03/a8/cc64e563f05ea99bd79bdb43f71f0f46452d3acd734da4843ede5fc73a35/torch_c_dlpack_ext-0.1.5-cp313-cp313-win_amd64.whl", hash = "sha256:30e3eab616dbc81dfdb7492aca557be551a9163ba9b585f97394a42b336b113a", size = 999126, upload-time = "2026-01-12T11:24:55.44Z" },+ { url = "https://files.pythonhosted.org/packages/96/5e/449324ca8e81573e650b6851fc31c1038f750d1de85d0b185d788e1c7a3a/torch_c_dlpack_ext-0.1.5-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:cac94a4905d391889e679a8da31e46dc325af5d55d13b7c70c0ce3d71d1ced6d", size = 1982154, upload-time = "2026-01-12T11:24:58.038Z" },+ { url = "https://files.pythonhosted.org/packages/20/62/11c05b99f69aa5152bca0313e0dfa6d125a020cf890dc888ef009aa7891c/torch_c_dlpack_ext-0.1.5-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a58fdf45fb0bda7bc459632cec891570f31c11636d5851c825cf308ec8b73c2", size = 163825, upload-time = "2026-01-12T11:24:59.474Z" },+ { url = "https://files.pythonhosted.org/packages/15/b5/be613cd8e71c9982bd07af530f86c5a7f30df7831d14cec5414857af7149/torch_c_dlpack_ext-0.1.5-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b985a324c68241cf83a9474b28015524b66775b12a91930dd4c0760aa628d01", size = 171740, upload-time = "2026-01-12T11:25:00.776Z" },+ { url = "https://files.pythonhosted.org/packages/5c/11/52e291f1659e2ec70a09f5ca4ad27e015eb4f0a1371ae68d23a9fbd1c704/torch_c_dlpack_ext-0.1.5-cp314-cp314-win_amd64.whl", hash = "sha256:d794e19fa3f330ab7a29987c07e031fc08e4953aec516d35701d0827863e356b", size = 277086, upload-time = "2026-01-12T11:25:01.901Z" },+]++[[package]]+name = "torchcodec"+version = "0.10.0"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/52/ff/2b27797e039673156710e5a0febe87cafc203722acafa3d34db283b40cf9/torchcodec-0.10.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b35fa4061c5757f8d714187c040a90a11669de6470a644bb04e3cd335ff1c110", size = 4073213, upload-time = "2026-01-22T15:41:45.485Z" },+ { url = "https://files.pythonhosted.org/packages/29/34/ccc711b6dc581e43b8d8d227e4173a8826994ee7b68d6b3d82291f307325/torchcodec-0.10.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:6e43184d83ccced965b31cad5bb6200c779646fee2ec153a6d784b4def40c91b", size = 2083121, upload-time = "2026-01-22T15:41:37.947Z" },+ { url = "https://files.pythonhosted.org/packages/cf/6c/9af3bd945a610d6c757d898aa4624e0f5135cc8a6992d0a1d846f1084576/torchcodec-0.10.0-cp312-cp312-win_amd64.whl", hash = "sha256:e4f022fa53d91b414b4177fe87b0afc40a806092da4595d24de4b245d6fb0fba", size = 2225338, upload-time = "2026-01-22T15:41:52.094Z" },+ { url = "https://files.pythonhosted.org/packages/d2/b6/b1041c8ccb175b08779b3e2d3e60f838bbcbfe2398d49e3673b6a66f0649/torchcodec-0.10.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:be3ce7cc667effecd06da9d0d6c5e9e347c5f376b705934e7b82378a65cf6eef", size = 4043681, upload-time = "2026-01-22T15:41:47.236Z" },+ { url = "https://files.pythonhosted.org/packages/fd/85/fc44f6d702dfd344e6859a9a4d713aaaa991578eb74677a80297d9ae8a07/torchcodec-0.10.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:71f25caf9ab89a434ae2008b1374fd98557a6864b8313b103bae53af3e6fd17f", size = 2088572, upload-time = "2026-01-22T15:41:39.203Z" },+ { url = "https://files.pythonhosted.org/packages/df/9d/b73a0f47e11b66a1d23c7d867f12f8bb41b1b5e707d7e23d8f54793e3267/torchcodec-0.10.0-cp313-cp313-win_amd64.whl", hash = "sha256:9e077146e894f373b805972da96aee42ff8bb87b1a3f3fb64d26925cd9e64184", size = 2225208, upload-time = "2026-01-22T15:41:53.233Z" },+ { url = "https://files.pythonhosted.org/packages/90/c9/4b6242e3456bae148f4086337d3e43d98c4e79c04091de3462db9f5eb67a/torchcodec-0.10.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:bb882c12ca07dcf6d82833db67e6b565693a4bccfeab6696697620e43e465556", size = 3821202, upload-time = "2026-01-22T15:41:48.627Z" },+ { url = "https://files.pythonhosted.org/packages/96/a2/5fe0e62b208a367f741361881321c1b25de487318a44f870f326747585a1/torchcodec-0.10.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:bec2b938ad4b294bd71d0b0ab4976037c740be0c80be79e67803ebed4eff270e", size = 2089647, upload-time = "2026-01-22T15:41:40.711Z" },+ { url = "https://files.pythonhosted.org/packages/93/71/0fc10230965e319552e064d66f1c8675b471d1b98c4a94c529e771b3c165/torchcodec-0.10.0-cp314-cp314-win_amd64.whl", hash = "sha256:4734eb82146516049e1070152eb3013d7b9689159ef35db7c0894d130d4e335d", size = 2226749, upload-time = "2026-01-22T15:41:54.393Z" },+]++[[package]]+name = "torchvision"+version = "0.25.0+cu128"+source = { registry = "https://download.pytorch.org/whl/cu128" }+dependencies = [+ { name = "numpy" },+ { name = "pillow" },+ { name = "torch" },+]+wheels = [+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:8623e534ef6a815bd6407d4b52dd70c7154e2eda626ad4b9cb895d36c5a3305b", upload-time = "2026-01-21T22:32:23Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:1255a0ca2bf987acf9f103b96c5c4cfe3415fc4a1eef17fa08af527a04a4f573", upload-time = "2026-01-21T22:32:24Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp312-cp312-win_amd64.whl", hash = "sha256:068e519838b4a8b32a09521244b170edd8c2ac9eeb6538b7bf492cd70e57ebf5", upload-time = "2026-01-21T22:32:25Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:12c253520a26483fe3c614f63ff16eca6d9b0b4ebe510699b7d15d88e6c0cd35", upload-time = "2026-01-21T22:32:26Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:a9c0de893dce9c2913c9c7ae88a916910f92d02b99da149678806d18e8079f29", upload-time = "2026-01-21T22:32:27Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp313-cp313-win_amd64.whl", hash = "sha256:e2e0317e3861bba1b5aeba7c1cb4bcd50937cf0bffdbea478619d1f5f73e9050", upload-time = "2026-01-21T22:32:27Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:58b2971b55c761f1d2491bd80fcc4618ea97d363d387a9dd3aff23220cbee264", upload-time = "2026-01-21T22:32:28Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:1b6878b043513ea3dea1b90bfb5193455d9b248b8c4d5e66ea9f5d1643a43f13", upload-time = "2026-01-21T22:32:29Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp313-cp313t-win_amd64.whl", hash = "sha256:96cd2ba7b289117873b2a8f4c80605d38118d920b1045f3ce21a9f0ca68a701e", upload-time = "2026-01-21T22:32:30Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:e2dbf9ea9f4b2416822249e96ff3ad873d9a84e51285d6b9967732be3015c523", upload-time = "2026-01-21T22:32:31Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:5b7ad3fb6cf03ef2a2fd617cb4b4e41efa9bb0143c67f506c2a3e6765c7b12ad", upload-time = "2026-01-21T22:32:31Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp314-cp314-win_amd64.whl", hash = "sha256:a52ff3b072e89280f41499813e11c418d168ffc502b86cb17767bab29f432b3a", upload-time = "2026-01-21T22:32:32Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:687987fbcb074fd7f7a61cf2b407b1eac07588ace8351a3a36978546a00adc52", upload-time = "2026-01-21T22:32:33Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:84c5e2cb699235339b8a5c295e974a795244a45d1104ecee658d9d19600cdc75", upload-time = "2026-01-21T22:32:33Z" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp314-cp314t-win_amd64.whl", hash = "sha256:d1cf27bc2da13fd9e83694ae601b1bf4135c24d9c9e9ec249056896395a78a9e", upload-time = "2026-01-21T22:32:35Z" },+]++[[package]]+name = "tqdm"+version = "4.70.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "colorama", marker = "sys_platform == 'win32'" },+]+sdist = { url = "https://files.pythonhosted.org/packages/0d/ea/b2a5bd54b28a324dae8211928b2d730b6547500342c7e6c6dea08bd0a485/tqdm-4.70.1.tar.gz", hash = "sha256:cefd0eca11b2a37a3aee776544d4f4ae913f02688135b5556b8788dfa474afc4", size = 171846, upload-time = "2026-09-11T07:25:16.601Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/a7/03/921a3d3c75785aca9ebfbfcabfbc3a1be12e2ab5265deb026d55a5a3f83e/tqdm-4.70.1-py3-none-any.whl", hash = "sha256:c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73", size = 80199, upload-time = "2026-09-11T07:25:14.599Z" },+]++[[package]]+name = "transformers"+version = "5.18.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "huggingface-hub" },+ { name = "numpy" },+ { name = "packaging" },+ { name = "pyyaml" },+ { name = "regex" },+ { name = "safetensors" },+ { name = "tokenizers" },+ { name = "tqdm" },+ { name = "typer" },+]+sdist = { url = "https://files.pythonhosted.org/packages/9e/6e/5a50ca8aff5fdd4ff21271198d2fb9e1f11bcd0ea279576199c0caa34cba/transformers-5.18.0.tar.gz", hash = "sha256:d89c206e42e841af7cd314b3d2b21c03e977d819cdb4aef65ada048769a644df", size = 10028745, upload-time = "2026-09-30T16:46:00.575Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/2d/3b/f84d7d12886147c5267216ed6c57d1163e68d24a89b2ad29d835a7089463/transformers-5.18.0-py3-none-any.whl", hash = "sha256:d79e5a515a572ee3deb33eb0d578be47d91e70c75d54cf21bf6eede6edef14a9", size = 12579646, upload-time = "2026-09-30T16:45:57.51Z" },+]++[[package]]+name = "triton"+version = "3.6.0"+source = { registry = "https://pypi.org/simple" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/17/5d/08201db32823bdf77a0e2b9039540080b2e5c23a20706ddba942924ebcd6/triton-3.6.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:374f52c11a711fd062b4bfbb201fd9ac0a5febd28a96fb41b4a0f51dde3157f4", size = 176128243, upload-time = "2026-01-20T16:16:07.857Z" },+ { url = "https://files.pythonhosted.org/packages/ab/a8/cdf8b3e4c98132f965f88c2313a4b493266832ad47fb52f23d14d4f86bb5/triton-3.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:74caf5e34b66d9f3a429af689c1c7128daba1d8208df60e81106b115c00d6fca", size = 188266850, upload-time = "2026-01-20T16:00:43.041Z" },+ { url = "https://files.pythonhosted.org/packages/3c/12/34d71b350e89a204c2c7777a9bba0dcf2f19a5bfdd70b57c4dbc5ffd7154/triton-3.6.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:448e02fe6dc898e9e5aa89cf0ee5c371e99df5aa5e8ad976a80b93334f3494fd", size = 176133521, upload-time = "2026-01-20T16:16:13.321Z" },+ { url = "https://files.pythonhosted.org/packages/f9/0b/37d991d8c130ce81a8728ae3c25b6e60935838e9be1b58791f5997b24a54/triton-3.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:10c7f76c6e72d2ef08df639e3d0d30729112f47a56b0c81672edc05ee5116ac9", size = 188289450, upload-time = "2026-01-20T16:00:49.136Z" },+ { url = "https://files.pythonhosted.org/packages/ce/4e/41b0c8033b503fd3cfcd12392cdd256945026a91ff02452bef40ec34bee7/triton-3.6.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1722e172d34e32abc3eb7711d0025bb69d7959ebea84e3b7f7a341cd7ed694d6", size = 176276087, upload-time = "2026-01-20T16:16:18.989Z" },+ { url = "https://files.pythonhosted.org/packages/35/f8/9c66bfc55361ec6d0e4040a0337fb5924ceb23de4648b8a81ae9d33b2b38/triton-3.6.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d002e07d7180fd65e622134fbd980c9a3d4211fb85224b56a0a0efbd422ab72f", size = 188400296, upload-time = "2026-01-20T16:00:56.042Z" },+ { url = "https://files.pythonhosted.org/packages/49/55/5ecf0dcaa0f2fbbd4420f7ef227ee3cb172e91e5fede9d0ecaddc43363b4/triton-3.6.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef5523241e7d1abca00f1d240949eebdd7c673b005edbbce0aca95b8191f1d43", size = 176138577, upload-time = "2026-01-20T16:16:25.426Z" },+ { url = "https://files.pythonhosted.org/packages/df/3d/9e7eee57b37c80cec63322c0231bb6da3cfe535a91d7a4d64896fcb89357/triton-3.6.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a17a5d5985f0ac494ed8a8e54568f092f7057ef60e1b0fa09d3fd1512064e803", size = 188273063, upload-time = "2026-01-20T16:01:07.278Z" },+ { url = "https://files.pythonhosted.org/packages/48/db/56ee649cab5eaff4757541325aca81f52d02d4a7cd3506776cad2451e060/triton-3.6.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0b3a97e8ed304dfa9bd23bb41ca04cdf6b2e617d5e782a8653d616037a5d537d", size = 176274804, upload-time = "2026-01-20T16:16:31.528Z" },+ { url = "https://files.pythonhosted.org/packages/f6/56/6113c23ff46c00aae423333eb58b3e60bdfe9179d542781955a5e1514cb3/triton-3.6.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:46bd1c1af4b6704e554cad2eeb3b0a6513a980d470ccfa63189737340c7746a7", size = 188397994, upload-time = "2026-01-20T16:01:14.236Z" },+]++[[package]]+name = "typer"+version = "0.27.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "annotated-doc" },+ { name = "colorama", marker = "sys_platform == 'win32'" },+ { name = "rich" },+ { name = "shellingham" },+]+sdist = { url = "https://files.pythonhosted.org/packages/16/f7/57713ba479fd405eb76de31404b2c744c289e336b2d999511ebf51e496f7/typer-0.27.2.tar.gz", hash = "sha256:269b7eb9d3c202ca84b4bc9618cb04ebb43d3d4d1e567e4c768607232c05f945", size = 204045, upload-time = "2026-08-28T10:26:55.046Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/dc/bf/205d0004930ede8f542fb58f601526fccf4ae7626075ca1e6c4de5d3d652/typer-0.27.2-py3-none-any.whl", hash = "sha256:b3a5fc4342d5fc8fda8fc3010b1cf117e9249aab7fae800c2eff62fd3842d97d", size = 123130, upload-time = "2026-08-28T10:26:53.752Z" },+]++[[package]]+name = "typing-extensions"+version = "4.16.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },+]++[[package]]+name = "typing-inspection"+version = "0.4.4"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/a3/26/b09b8010994eccc3c09092e6b34058f36a460eea2d4c3e8b910c695975a0/typing_inspection-0.4.4.tar.gz", hash = "sha256:547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47", size = 76928, upload-time = "2026-08-12T12:37:25.997Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl", hash = "sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147", size = 14750, upload-time = "2026-08-12T12:37:24.648Z" },+]++[[package]]+name = "urllib3"+version = "2.8.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/e3/05/b17359e1cefb4f909b5e40b1b90a496d987258916dbbf88e842c729f510e/urllib3-2.8.0.tar.gz", hash = "sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63", size = 458972, upload-time = "2026-09-15T19:29:36.253Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl", hash = "sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3", size = 135717, upload-time = "2026-09-15T19:29:34.577Z" },+]++[[package]]+name = "wandb"+version = "0.30.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "click" },+ { name = "opentelemetry-api" },+ { name = "opentelemetry-exporter-otlp-proto-http" },+ { name = "opentelemetry-sdk" },+ { name = "packaging" },+ { name = "platformdirs" },+ { name = "protobuf" },+ { name = "pydantic" },+ { name = "pyyaml" },+ { name = "requests" },+ { name = "typing-extensions" },+ { name = "xxhash" },+]+sdist = { url = "https://files.pythonhosted.org/packages/86/10/c4481d12b26f57606d1ef7c8d56825ad6af769cbb8cd29ee501ac6bbbc2d/wandb-0.30.0.tar.gz", hash = "sha256:f2d7de3c2019204f493f3f9e9166071c2be36f74140af2e1409b4de0fd84c454", size = 40862616, upload-time = "2026-09-09T00:16:41.551Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/71/5a/83201590d1e84a3b7d0a0cc7b53ee1318def18ba5431a32b26a44e6694f6/wandb-0.30.0-py3-none-macosx_13_0_arm64.whl", hash = "sha256:f4f908ace761db42d239d100230df0b77eb9684924d962a762bba176d829a236", size = 23464329, upload-time = "2026-09-09T00:16:20.505Z" },+ { url = "https://files.pythonhosted.org/packages/35/b6/c0acf63242a0b8a3df9f877249ca260be80b86ecb08396fc34982967a50e/wandb-0.30.0-py3-none-macosx_13_0_x86_64.whl", hash = "sha256:9cf2492acd5c66ba7217667386e2a90535ccaec08079b97c389c3da5d15cde48", size = 25250085, upload-time = "2026-09-09T00:16:23.401Z" },+ { url = "https://files.pythonhosted.org/packages/91/69/0593b9e43cd3fc257a0f6ceaf5e078f2b28baf1968e00dfa1be98261ee68/wandb-0.30.0-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:72b564712e85e10d78d37ccdaef4a908d28cbb39240c9c00fa4dde567150c764", size = 24049519, upload-time = "2026-09-09T00:16:25.874Z" },+ { url = "https://files.pythonhosted.org/packages/26/13/775a4c7d87fb771a2ddb104ce7c5c5d393e48720e448b4e8c43aac7cd4ce/wandb-0.30.0-py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:bad9412f137d02303bf178513e0109f4fed37a6c817604085a1a4151047d8790", size = 26105520, upload-time = "2026-09-09T00:16:28.146Z" },+ { url = "https://files.pythonhosted.org/packages/58/36/4974e9ec44c23dd28a39c8ee699f1b8911dd6619c932c3fe94b016bc8a1f/wandb-0.30.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:1f2cc20c033f1650d387ca073177e629f1e2a1b5c4be393698e3db4752b9cf3a", size = 24112309, upload-time = "2026-09-09T00:16:30.3Z" },+ { url = "https://files.pythonhosted.org/packages/05/77/5eddd97f33f581f4d167f41bbf4736f2a51ad7271b9c9ed5dceb6994cbd6/wandb-0.30.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:e7dc3b0b1567f6a121d8f7a58131b5d085861139a653ef8bed1569c9be796721", size = 26320243, upload-time = "2026-09-09T00:16:32.878Z" },+ { url = "https://files.pythonhosted.org/packages/2f/e7/821c363f0a74aa9826ca058d3f6f8f8e41697001a0a869b5ccc7eca5b0e4/wandb-0.30.0-py3-none-win_amd64.whl", hash = "sha256:217bde0a7c49482f26166a1a7bee760bb9e2658135b2d45a33aacabffec68817", size = 24083356, upload-time = "2026-09-09T00:16:36.766Z" },+ { url = "https://files.pythonhosted.org/packages/3a/60/fd40e8b1a6136f4df97739a503c239fb4dab67f093cb9cccb5a1dd9d1895/wandb-0.30.0-py3-none-win_arm64.whl", hash = "sha256:36d6d8a5b88b36ad82b0f7ffab79033a8bbba047b5a90c0b7e26d0cf3a09f0b6", size = 21788859, upload-time = "2026-09-09T00:16:39.088Z" },+]++[[package]]+name = "wcwidth"+version = "0.9.2"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/f0/b4/7830542634bb2d3e62aa3b586a72d5b3b6c91c3168929e7000ef3fed041d/wcwidth-0.9.2.tar.gz", hash = "sha256:ae0ef90b90f6af38b54f1fe6d58662ec33b3cb4b8391958a62416d654231727b", size = 955039, upload-time = "2026-10-05T00:24:05.521Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/59/1e/4532a81fb9dfbf4114a816775e0a36c3a64ee1d1f4bba2094e2da50be5dc/wcwidth-0.9.2-cp310-abi3-macosx_10_9_x86_64.whl", hash = "sha256:7ef5a940bd5e30bac6e721f1a48fce0cd7bb3ece19e9c5d139e72c76c35cfd07", size = 605343, upload-time = "2026-10-05T00:23:22.649Z" },+ { url = "https://files.pythonhosted.org/packages/a0/07/cb6940e81134b7ed25fa312ee9ab536a63db0793b149f88a90e603ceace9/wcwidth-0.9.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:ae0800c5339423cc53d33a266ad264b42ba8aaa16d4464f6e6b1bee607f50b17", size = 609960, upload-time = "2026-10-05T00:23:27.049Z" },+ { url = "https://files.pythonhosted.org/packages/a4/80/15ad05d40bfa99155639fb9e13b3d77083aa0fab893c816db2543d29005c/wcwidth-0.9.2-cp310-abi3-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:9e542f1f8475b78452a295495d7a5bc3ead565112e9446a64dc93462a41c2a79", size = 762566, upload-time = "2026-10-05T00:23:38.322Z" },+ { url = "https://files.pythonhosted.org/packages/bc/f0/b8ef7758003d66b60f093695831a86dcc726aac01ee6446ffcbda27b61e3/wcwidth-0.9.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:674b518af28d38ee645ff97b74f5760abee5fad4bac74413bfc4b881ef2ce724", size = 771632, upload-time = "2026-10-05T00:23:32.448Z" },+ { url = "https://files.pythonhosted.org/packages/db/6c/f940133c71427c208575910e981942bd78c98b1f7cd0d1425ca4b7457c04/wcwidth-0.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:751bef0ab404b6a1dc028b56b4b85d46486be1c55833f80da533e42dc691f389", size = 769763, upload-time = "2026-10-05T00:23:40.175Z" },+ { url = "https://files.pythonhosted.org/packages/92/8f/285f862826f721964ec7c42f81dc53d23afbd723a0f4cd989651f8218e25/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c3d80f39ba4653a595edae9aa46a509d14883790a8fc23c5db221ceb207f64b7", size = 782134, upload-time = "2026-10-05T00:23:33.926Z" },+ { url = "https://files.pythonhosted.org/packages/c2/2d/64aa54882a5d556d3654c1f926d9118b797461033e23a158409941a37c8f/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:0a47e03d8293590ecce66c45dc20ff7b4b885e3c78093722239585eca0d77ab2", size = 782851, upload-time = "2026-10-05T00:23:41.974Z" },+ { url = "https://files.pythonhosted.org/packages/59/39/52389f6de7fe2e9c14ceb8253dd99034bd86e1c87847ea3c100a97dded9a/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:67d901a4ad99249eb775b4ee4769ca97fa405d35a75f46e83166910a47003f04", size = 784621, upload-time = "2026-10-05T00:23:43.449Z" },+ { url = "https://files.pythonhosted.org/packages/b3/8b/20225500a076ace27bbcc8a6fd7c55125133c57a618816c7b7b8b73070b1/wcwidth-0.9.2-cp310-abi3-win32.whl", hash = "sha256:ee1fd0db9d9fd711a70f3e7765e0e04c05d26982fa05361456163062549d7da4", size = 593123, upload-time = "2026-10-05T00:23:55.953Z" },+ { url = "https://files.pythonhosted.org/packages/5a/d6/b0690f55ea0483530a18bac917fbadbf54f35122510446fc370f5f1c2453/wcwidth-0.9.2-cp310-abi3-win_amd64.whl", hash = "sha256:2a9746de704242bd4fdaabb31dd46b82f694a56a8d21081ad89b679a89da9fec", size = 597827, upload-time = "2026-10-05T00:23:57.489Z" },+ { url = "https://files.pythonhosted.org/packages/e5/11/6ecf4e9e268ab1a4ec617ffcccc2ee4a71301625f5490912dbaba462fa9c/wcwidth-0.9.2-cp310-abi3-win_arm64.whl", hash = "sha256:b9c6ab615e03723b7f8760ea2f27758d656e7e13b51515c9dca5c3e8b04612fa", size = 598415, upload-time = "2026-10-05T00:23:51.517Z" },+ { url = "https://files.pythonhosted.org/packages/4e/41/549eef1ab767032bdbdc1f0ab655d404b082b1e9a1dab1361dbba90f64ed/wcwidth-0.9.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eda88ffdc97c0fbf193d407114f2c7a54b379f67f6e52a7531ee3b9fe749eca7", size = 606555, upload-time = "2026-10-05T00:23:24.188Z" },+ { url = "https://files.pythonhosted.org/packages/9b/64/a875ed7ea71cacadc0ae11b5fd3fac3486efd58bb25e67a7344248dceadd/wcwidth-0.9.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1bf361c8705576760623b4724ae564666d73b016f9a778bcfd1c7345378ef4ec", size = 610829, upload-time = "2026-10-05T00:23:28.563Z" },+ { url = "https://files.pythonhosted.org/packages/c6/98/513095e484fe79b6f2613d6a72f855f5d56b65e15c215c2a6746fbc638f5/wcwidth-0.9.2-cp314-cp314t-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:97b878d1e158da5ed9ac5aac53fa3a55e282103af6a09ec353865613d1a31a76", size = 775819, upload-time = "2026-10-05T00:23:45.116Z" },+ { url = "https://files.pythonhosted.org/packages/22/fc/c02f3eec57224731e78f84b68e272250f784b6205acc7e0dcef6a7c23a0e/wcwidth-0.9.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:59dab4049cbd982b478bca098528df2c79a9160636a3a163ffebffcbd7d1b892", size = 786915, upload-time = "2026-10-05T00:23:35.323Z" },+ { url = "https://files.pythonhosted.org/packages/3d/6f/b0529a79bac3fe8d94f32b4237a13dbc3f955508753f6a6f06c73d679dc2/wcwidth-0.9.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bb08ceb501d6aaf94066c3ee122dd825b152df40ff0bd0df4dc27126233b948e", size = 784186, upload-time = "2026-10-05T00:23:46.366Z" },+ { url = "https://files.pythonhosted.org/packages/d5/bd/6357c84ca9a734bfc735b7c48dbe21336b3777fab8a4101d14976dfe49a7/wcwidth-0.9.2-cp314-cp314t-win32.whl", hash = "sha256:8b4e381590b9b7390e07e22b2c0c1bb96ce50e1d2243c866d9387600362d51ed", size = 600791, upload-time = "2026-10-05T00:23:59.398Z" },+ { url = "https://files.pythonhosted.org/packages/98/de/037591ca18d897cc2179559dde72e6efc6ce0c90e9cd1e6bca4e87c38b4b/wcwidth-0.9.2-cp314-cp314t-win_amd64.whl", hash = "sha256:f2f7b3bba5a5d5f31fc350fd36ce5b84b693c83b7eb95ee630b720da5a5ce06f", size = 605463, upload-time = "2026-10-05T00:24:01.049Z" },+ { url = "https://files.pythonhosted.org/packages/d0/07/c9d96e106d938d26f7ab639bc80b8199359a1645ba6e3498413313ab6f38/wcwidth-0.9.2-cp314-cp314t-win_arm64.whl", hash = "sha256:734aa9405b321d1042301aa19c943c4731ee9e3460e4f8feea3299c064c97a14", size = 605936, upload-time = "2026-10-05T00:23:52.765Z" },+ { url = "https://files.pythonhosted.org/packages/82/8a/a28d61d910005ac93dfe48be3a0ebaa49352d88cebd25323e69e6ff2f4a8/wcwidth-0.9.2-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:42dbcb76ce8af39e2c9db410ac3f9bdf4e47eb41d6f44525952f172d3d98f724", size = 606575, upload-time = "2026-10-05T00:23:25.663Z" },+ { url = "https://files.pythonhosted.org/packages/01/c2/a3c66bd32766c8f4d6dc47d572532ba014fe5be30489f2576aff7cada363/wcwidth-0.9.2-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:138e1f8898e431b2f2d7881f8ca8d75591c1d3c21aa53f54e989bd6b39811da2", size = 611045, upload-time = "2026-10-05T00:23:30.421Z" },+ { url = "https://files.pythonhosted.org/packages/ec/8a/d39964f8f8c019d7d439b9b501d3e7bb42fee69f00354040ba0b27b5824c/wcwidth-0.9.2-cp315-cp315t-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:5175609bf8cc7398a5f48aa35207bd64ebf9f45e4c70df65f7fdc7a988041a3c", size = 778143, upload-time = "2026-10-05T00:23:47.7Z" },+ { url = "https://files.pythonhosted.org/packages/2f/53/525da13e8f9ff7b5b4e74ec6f8d68bdee63905796972e086c6b1b96670d2/wcwidth-0.9.2-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e5f669ae8c3d969c72032f9cdee019674b666e522d45e1e2099a2e9dda4a341d", size = 786630, upload-time = "2026-10-05T00:23:36.967Z" },+ { url = "https://files.pythonhosted.org/packages/ef/9f/d6a0c6df354b9d93466548a65cbf4ffcb48c719bbd307504cf3e76740837/wcwidth-0.9.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:196b47cf32f9df27ccda6dc513237f3c2429c4c659db428d60a5bc443d10f270", size = 784839, upload-time = "2026-10-05T00:23:49.88Z" },+ { url = "https://files.pythonhosted.org/packages/bf/d7/3021feed1ed7926021ec134943ad3b24a2f7ea742cc9976461171482ed77/wcwidth-0.9.2-cp315-cp315t-win32.whl", hash = "sha256:0cd4f7f2e53905dcb110d213a4c8529b6733fa3d232d8c717f946cc69a10349b", size = 600845, upload-time = "2026-10-05T00:24:02.497Z" },+ { url = "https://files.pythonhosted.org/packages/63/80/6a03356d8ee38261e3a78cf89ee03d8e7f12c572d969237be00869e2dc73/wcwidth-0.9.2-cp315-cp315t-win_amd64.whl", hash = "sha256:33df042f96c61ed3cd5fb3742fba427553a635bc578799857a48aa79f774a0b9", size = 605441, upload-time = "2026-10-05T00:24:04.052Z" },+ { url = "https://files.pythonhosted.org/packages/0c/48/1a308a86a833fd12ff7a08d0d2491ff4a72c8a92d12f5ead8317630f771e/wcwidth-0.9.2-cp315-cp315t-win_arm64.whl", hash = "sha256:48719a9bc76c2f84238693fe5013571fa5beffa3621cf228f1f3a9e30dae84b8", size = 605885, upload-time = "2026-10-05T00:23:54.274Z" },+ { url = "https://files.pythonhosted.org/packages/9c/b4/0bfa065af506540d9d558e3e5548cff00bc1f9b24e6e2a8512498e8628de/wcwidth-0.9.2-py3-none-any.whl", hash = "sha256:89ca642c5bf0101157a09366be69fad0379db1f700ae39a920e103234573670e", size = 301667, upload-time = "2026-10-05T00:23:21.097Z" },+]++[[package]]+name = "webdataset"+version = "1.0.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "braceexpand" },+ { name = "numpy" },+ { name = "pyyaml" },+]+sdist = { url = "https://files.pythonhosted.org/packages/5a/3a/68800d92e065cf4750ebecf973b13979c0c929b439e1293012938862038d/webdataset-1.0.2.tar.gz", hash = "sha256:7f0498be827cfa46cc5430a58768a24e2c6a410676a61be1838f53d61afdaab4", size = 80090, upload-time = "2025-06-19T23:26:21.945Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/d9/00/aca6beb3658dab4ed3dbb41a78e6e7f31342e0b41d28088f205525751601/webdataset-1.0.2-py3-none-any.whl", hash = "sha256:3dbfced32b25c0d199c6b9787937b6f85742bc3c84f652c846893075c1c082d9", size = 74956, upload-time = "2025-06-19T23:26:20.354Z" },+]++[[package]]+name = "xxhash"+version = "4.0.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/f6/a5/1386f35da1475fcaeef42581deae73417c6d2a6a0b2d2e8914de18844dcd/xxhash-4.0.1.tar.gz", hash = "sha256:d55bf4ef10eb09b8b6866790e083d26d087d84caa3cc0946ba87c3ca7ecaf7b7", size = 101513, upload-time = "2026-08-17T08:24:08.557Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/26/6c/dc7cffeadd06336cd934947187cd38abb263103bbc552ca0f55fe4ff595a/xxhash-4.0.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:1ee523f51718e41753f04f7102bb4dc55a18d2ea5cbaceef8ec7ca08571bd428", size = 38444, upload-time = "2026-08-17T08:21:54.332Z" },+ { url = "https://files.pythonhosted.org/packages/75/c9/cf736f6db8c3273af18925061572db0d4357818a9ce425f4b5fb0021918e/xxhash-4.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:515a822c73abbf6a0b7c70976d9662be342835c9d78b8dc7c023411f39c35dbc", size = 36195, upload-time = "2026-08-17T08:35:13.004Z" },+ { url = "https://files.pythonhosted.org/packages/da/a2/ca1929354b6851529d0148f7f335b5e2b0281f83bab3e19f0896dc579796/xxhash-4.0.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:f5d031f35962e5483a613214e61f09fe24ab523062c3646d592dc16c4a217451", size = 253113, upload-time = "2026-08-17T08:20:52.152Z" },+ { url = "https://files.pythonhosted.org/packages/de/bb/542005206af59518bc8d78a210f1e0172217bc53beb32f64a5b632e72b6b/xxhash-4.0.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:da0264844a09b538c894e5eff25313d941deb4dedec2131b98418a71a3c9944e", size = 276525, upload-time = "2026-08-17T08:21:01.886Z" },+ { url = "https://files.pythonhosted.org/packages/1b/df/607cff25dcb0f1d35c3b04493f6ad8471edb03fd4eacbdcc5ceddef1f3e9/xxhash-4.0.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1642907941ee4b75aacc3db688af52ea02ca2305ab22af7ee686ed726b332684", size = 297703, upload-time = "2026-08-17T08:21:57.958Z" },+ { url = "https://files.pythonhosted.org/packages/15/ba/9d2275eea0b9d9c6b02921be23f7588356c60df95c763b25f0e045894d43/xxhash-4.0.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4af350bc3f329970c0e3a59af84a8a30998bf8a9167eb50cd48e59baaa1d7bec", size = 280252, upload-time = "2026-08-17T08:20:47.299Z" },+ { url = "https://files.pythonhosted.org/packages/1d/aa/2299d9f6369e550aef2abb64945e39daa34412725aa46a20d99b74d76f67/xxhash-4.0.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8ba782ca3bf1e81492611152b9a0d5264971339e95e34d69de0ac2c926be496d", size = 511041, upload-time = "2026-08-17T08:20:36.771Z" },+ { url = "https://files.pythonhosted.org/packages/83/97/31bd8b8279e6935a0719f6910ced15e9d5a2cd554b253f6027ce1b5a1c2c/xxhash-4.0.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:237b8f63a2a0fcfb1ffc06e21dad23add44e6d354b2b014364a1d41e419a4dee", size = 261812, upload-time = "2026-08-17T08:22:00.469Z" },+ { url = "https://files.pythonhosted.org/packages/2d/c1/d180a2da23c105d8e0b02d54f9f5841013fc81c233010ec781e31f1aee4c/xxhash-4.0.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:81507a68ba84c55241fb61cce1469f473a5da4205fc8ef6f698e5948eea8dd88", size = 339878, upload-time = "2026-08-17T08:35:17.626Z" },+ { url = "https://files.pythonhosted.org/packages/a8/3d/f584cd3172fe934f0f5a0a3917d0d7ce781f74d794fd43bb72be71c3ef6f/xxhash-4.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5f1ea31d61bcd2cd2f3ec4ca80a64187bbd7948f490b63cf0dcbc6e717b4c1e9", size = 272871, upload-time = "2026-08-17T08:20:56.067Z" },+ { url = "https://files.pythonhosted.org/packages/34/50/2c7956b2b551682e00b9aebce9ceb0a991a131d65f9850c09f5f9760be2e/xxhash-4.0.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:06713a5aaf1d0905c5579416c020c02e42b3ceb931e86c7d3b7fb85403dee3f3", size = 301440, upload-time = "2026-08-17T08:21:35.911Z" },+ { url = "https://files.pythonhosted.org/packages/eb/a2/0739f6482184a8026f4b022718f5f815d352059312e80696825433f0a8e7/xxhash-4.0.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e8cda075b10bb3917b002c74a04f9e02b7d13b5bf732571404d51c52b11c7329", size = 260157, upload-time = "2026-08-17T08:22:01.416Z" },+ { url = "https://files.pythonhosted.org/packages/a1/25/b31a7bcf1d7d116842812e54f9b944843b4236ea4fa85634e8259f342212/xxhash-4.0.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c10b9206753b64aa791b35b201485477525b26fdec5bf86e8364c388a03e2592", size = 278233, upload-time = "2026-08-17T08:21:15.674Z" },+ { url = "https://files.pythonhosted.org/packages/db/e8/5293bae090fc6119dbc5fcf5c4cc0e1536394b52d73b7904d033836c73db/xxhash-4.0.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:f3e1a44af01b6692de0ec6caba5f0bf93ceb36896e02b7fc00952c6ea7ef39e1", size = 330270, upload-time = "2026-08-17T08:20:51.128Z" },+ { url = "https://files.pythonhosted.org/packages/72/9e/e2ab12d40921f3f34c9317637d65e011aeababf8288356ea8d527de2c1d0/xxhash-4.0.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:c6fc415b5568bd9accc7187f1729a99707330c0a67a8b9f93c1149ed573ed75d", size = 478555, upload-time = "2026-08-17T08:22:04.183Z" },+ { url = "https://files.pythonhosted.org/packages/6d/32/c6148d39a49efa95f39b4cf0d41ef35a487f3b30f6fb1fc8fe8d8eab577e/xxhash-4.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:96d8de55029d42251945531f6aa7590c32b48163c66a43bf29d8657d7446a377", size = 258174, upload-time = "2026-08-17T08:35:21.18Z" },+ { url = "https://files.pythonhosted.org/packages/8f/fb/0b04b68d6c5bc71c7a2c344f1287327b67e607f28fbcfd937697caca64b6/xxhash-4.0.1-cp312-cp312-pyemscripten_2024_0_wasm32.whl", hash = "sha256:0163b5d259de23ae9e07b7eabf435ce4704f6f205589a2b154e6af4be985ce1b", size = 20767, upload-time = "2026-08-17T08:21:00.806Z" },+ { url = "https://files.pythonhosted.org/packages/a6/be/476092aba34d1fcd313e1613a3bb3bc692f253d167b54bc90049043b5034/xxhash-4.0.1-cp312-cp312-win32.whl", hash = "sha256:1216f7ba5683f17a89eb7dcb4bc50a0b743dfe1902278d7b3d0786f538118433", size = 34669, upload-time = "2026-08-17T08:21:49.486Z" },+ { url = "https://files.pythonhosted.org/packages/aa/02/f9413d94fae43cec6d1a74c4f12156c6f4a7f5fd50e1d34defebdee3dec9/xxhash-4.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:5c2d525a3afabcd8e3549d85fc7e111fde6bc302d06a1893fe73adb79823415e", size = 37073, upload-time = "2026-08-17T08:22:04.886Z" },+ { url = "https://files.pythonhosted.org/packages/c1/83/6fe93c1b95acf962bc61a246df09dc2dcce895ccfc1080c9f48d0b652b92/xxhash-4.0.1-cp312-cp312-win_arm64.whl", hash = "sha256:86b2b12bec60c678ed8f5cca0258ad93a8928ebddb6ca7732f0875afe1451d1a", size = 33299, upload-time = "2026-08-17T08:35:12.708Z" },+ { url = "https://files.pythonhosted.org/packages/f3/dd/c707286b527722f776e1fb81dd202c45623355ba1a2972337a2a26075b2b/xxhash-4.0.1-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:8c9fe122444e129881afd1d4d1c7ac0d3ce2d91b68c2b40173b6025ff1c31f9a", size = 43639, upload-time = "2026-08-17T08:20:54.945Z" },+ { url = "https://files.pythonhosted.org/packages/1b/3b/bb71639a0f95635f61936a6f2653599c4261b645ddddd8d00f9dfe3613e2/xxhash-4.0.1-cp313-cp313-android_24_x86_64.whl", hash = "sha256:1f3346c5c287ac3c7f38b20380f55e8768230e7252af59fabcf3b87ab21e4256", size = 40657, upload-time = "2026-08-17T08:22:12.616Z" },+ { url = "https://files.pythonhosted.org/packages/3c/91/76f3f5385faa9886a36f21fcc603f40b4c0c40ce622382f133160c48b4d9/xxhash-4.0.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:4e5141543c7f7fe3087500bbb4ac2845cb528a980aa91f8f1e661e2292ff4a5d", size = 34708, upload-time = "2026-08-17T08:35:24.614Z" },+ { url = "https://files.pythonhosted.org/packages/9a/4a/f48f0e3e1b1ab072979fff2a5be899234e28090883e8b519d0b10215d708/xxhash-4.0.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f09ee747e2a5f876cc5ad56947734811828335e13b403dd8ea1e06d77a9dd48d", size = 35650, upload-time = "2026-08-17T08:21:09.337Z" },+ { url = "https://files.pythonhosted.org/packages/c4/53/b73d7472b196101ad1f57ed0674af3af803ac3e9ec2feadd650a7b262562/xxhash-4.0.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:acf52474b2494ef66dc7e0fb6d5e2b50c18313039ad4d275fbf9f9907c804bc5", size = 37958, upload-time = "2026-08-17T08:22:10.616Z" },+ { url = "https://files.pythonhosted.org/packages/d0/f2/024946ad8fa532074af4e4380179da54b7ec9facc8bd0b279ec0fac4e63a/xxhash-4.0.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1b3cccf75eeb5b01639b2feadb042a8e07889293b7ca72fa2985e7dcb64763cf", size = 38032, upload-time = "2026-08-17T08:22:09.535Z" },+ { url = "https://files.pythonhosted.org/packages/da/e0/934af8d99bb5885711006bec30a691f728edd513d2c40f053f887d8e7577/xxhash-4.0.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cd878d32f5c6cbce9783f8d6897561fb772211edba9dde49d85672b88ed45276", size = 35895, upload-time = "2026-08-17T08:35:16.53Z" },+ { url = "https://files.pythonhosted.org/packages/20/5f/a8011f6a1558f7ca66d9077bb4f192b1871afcea62fbd5733605d2015755/xxhash-4.0.1-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:41e579025a6e13a99e6d71e39c9cfc621a0dcdbbf19106325e145fa858f2d794", size = 259464, upload-time = "2026-08-17T08:21:06.72Z" },+ { url = "https://files.pythonhosted.org/packages/ff/89/9665a44397547e7a3d58c0942425a976d58dcfd4b538f33220a312bf6912/xxhash-4.0.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:74379a577a9f3b6afbdedf1b90e5c7764467051977f18a326d7d607336d743bd", size = 283949, upload-time = "2026-08-17T08:22:17.003Z" },+ { url = "https://files.pythonhosted.org/packages/34/2d/78774141266457468f29f3f5803092df4db87d8148ba74e4debd041649db/xxhash-4.0.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:acb31ecdd1a97fab5cd39a84ee9f515e727d319f796fec48703b8339b9998360", size = 303898, upload-time = "2026-08-17T08:35:27.951Z" },+ { url = "https://files.pythonhosted.org/packages/59/48/d78d22de576b42528bff87c14207de50de4f0b888221a50ff7c9d675d670/xxhash-4.0.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5b7875ac1a2edcb691f27642b8b94b904baa6bcecb7d79c72df2228ba8cb5c51", size = 287241, upload-time = "2026-08-17T08:21:13.042Z" },+ { url = "https://files.pythonhosted.org/packages/4c/de/7a1755a59c59fd46176f293bbdd99e399a6537ba9537fc723aa4d1bf6e27/xxhash-4.0.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4751f1d7eecae6b2d2a773630f1a7248f125c9a92a456694d03c15bceffc9d68", size = 519856, upload-time = "2026-08-17T08:22:15.35Z" },+ { url = "https://files.pythonhosted.org/packages/6f/fb/76580c08e916507859b0f335393cb5fdc59452c4402edbc6bcca6e47e7df/xxhash-4.0.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9a51b061d54cda8b83e62c44458bfbf0dabbef9b975dd9649952ba5076b9f349", size = 268572, upload-time = "2026-08-17T08:22:14.533Z" },+ { url = "https://files.pythonhosted.org/packages/d0/2b/1abde3e07b8f2077a38b4fbfaf764115008bfe0ff03bc7756a52c9fd0607/xxhash-4.0.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:74a164e8b63f1e9cf35c9a7809d082b033d1a00e7375d5d814415436e7867e57", size = 344967, upload-time = "2026-08-17T08:35:23.569Z" },+ { url = "https://files.pythonhosted.org/packages/5c/15/80b6ddf0732eef48a8b5fe717398274794392bd6dbe82af38d189d214772/xxhash-4.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4f5e5c6df4b703afcbe9352d238a51efd97c3b91fdc3a2052e40fdacb1e7505f", size = 279956, upload-time = "2026-08-17T08:21:24.97Z" },+ { url = "https://files.pythonhosted.org/packages/77/e0/11cbc43c205bf81fad50d69c7319cd1b1ccc01a66cd4fb8766357126c43d/xxhash-4.0.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:d54b8ae068af532c8cdf56abb9e09a60fbe7b10792444c9c27987bb6d3b450fa", size = 307583, upload-time = "2026-08-17T08:22:22.541Z" },+ { url = "https://files.pythonhosted.org/packages/1c/11/cf0bc07feb2791045b6ac075d4bf64f1a5beedef2f46ae70d7104d63a19f/xxhash-4.0.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:1749f0688020209fe0d357ce1e1cd9ec9c6161ed0405ea949d24581c4c43fa91", size = 265848, upload-time = "2026-08-17T08:35:31.298Z" },+ { url = "https://files.pythonhosted.org/packages/d4/c4/7ada4bea2a2795073dfc42d96842930efbe7a0c1857ef4b522e4e90e5d83/xxhash-4.0.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:94ac8a6b8c47951173f0b67bf862bcb971bf24e493b9fbbdb0e010cbbc7d9f54", size = 284409, upload-time = "2026-08-17T08:21:23.156Z" },+ { url = "https://files.pythonhosted.org/packages/3c/f4/d8ce83dd6b99ccfbdadaf2db968ae40334d2e5f73a0297e593b9ddb3df39/xxhash-4.0.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:a33de7633c948ab2dc144af370a66e7e7af29b425dcd0f7e4f59689fb9391b53", size = 335921, upload-time = "2026-08-17T08:22:21.802Z" },+ { url = "https://files.pythonhosted.org/packages/a6/9f/f47d8724bd8bc45b395b06b7cacea2dae0d00031af1b707184a091161df6/xxhash-4.0.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:247ece770647c0aef080561fa996f9774b4dadce2d0c42eeb98229db7dcf820d", size = 487023, upload-time = "2026-08-17T08:22:19.729Z" },+ { url = "https://files.pythonhosted.org/packages/57/54/2d87098f3371cc1e42dd04d2285ad56bca4c56667bc501bff02d2b9fd6b5/xxhash-4.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a4553d36cc0b7fce1f35ba8a94dfd775aa3ed12f5eab2dc3b46ac75a0706b0bb", size = 264333, upload-time = "2026-08-17T08:35:27.001Z" },+ { url = "https://files.pythonhosted.org/packages/27/b8/93795ca5898ec7d7d0455283ad261c0fc76b4f0c0a69e86233bd7badb0bd/xxhash-4.0.1-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:87aa309a93bd5ec13f14309a305ff4e9bf74c5363fc46c264c0a22edfd5b0670", size = 20581, upload-time = "2026-08-17T08:21:39.207Z" },+ { url = "https://files.pythonhosted.org/packages/b6/96/926f7335a0a1647952c00421e8da877f658094f61336306c7cadc335c94d/xxhash-4.0.1-cp313-cp313-win32.whl", hash = "sha256:cba763d84b06bda2c38d5185dee76f1b9dfdc0789e96e476d9e10005526d0788", size = 34449, upload-time = "2026-08-17T08:22:29.362Z" },+ { url = "https://files.pythonhosted.org/packages/ea/61/8a5aeb811de093bab3434e77eff0e9461624a1a56a6a93d315d080aab2aa/xxhash-4.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:97b94fb29abf21f5f0bde15f7dbdd3a4aa2dc59f37026adc7b4bee8563b84375", size = 36520, upload-time = "2026-08-17T08:35:34.852Z" },+ { url = "https://files.pythonhosted.org/packages/04/14/97f3c74000ca36955e9cb86f6d270dcd5848b5c65afa623453f5cf2d83d6/xxhash-4.0.1-cp313-cp313-win_arm64.whl", hash = "sha256:08ed8da18cd4fd0a6a5d6a444852d8fbd0e565388a74a4937085451b5f1a312a", size = 33428, upload-time = "2026-08-17T08:21:31.713Z" },+ { url = "https://files.pythonhosted.org/packages/81/0e/ea406a02b561d3275232ccfdb3e29df80f7a65414940e3a15721c7bea40f/xxhash-4.0.1-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:af05a3f650220a6c59fa0ad2410249f2d2470a05225807c378fb67458693f8df", size = 43747, upload-time = "2026-08-17T08:22:31.37Z" },+ { url = "https://files.pythonhosted.org/packages/f9/f0/b0c94d61ccf6b5d1f8847b58ef8f923125ac4919ed5bd0eb082750ca7cbd/xxhash-4.0.1-cp314-cp314-android_24_x86_64.whl", hash = "sha256:a6e3653df1a70b8ac4191216324242e4be2bca18c9a7c10934e1bd56dc7ca15e", size = 40749, upload-time = "2026-08-17T08:22:29.431Z" },+ { url = "https://files.pythonhosted.org/packages/2f/c5/8085881a538983be0fd1c865d5df236242fea496044e2c8ca32b9f2ba39c/xxhash-4.0.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:4528cf80ebbbf57d40edfb31521ae265daa6dd636d615b1cf0ac86209579e59d", size = 34734, upload-time = "2026-08-17T08:35:33.68Z" },+ { url = "https://files.pythonhosted.org/packages/d3/94/8803d13c968fc75ca434eea991d29ac5fd8a36b4afc9a6a9803c53933db4/xxhash-4.0.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:90cb2a1c9cc503a054a19612b48ff6e8e47805f618bdb3224a07568aad03a37e", size = 35671, upload-time = "2026-08-17T08:21:48.322Z" },+ { url = "https://files.pythonhosted.org/packages/85/d5/ad91d7f0fd294190d37c08236fe661f5c4e3f83dcd1a121877a2e64681ce/xxhash-4.0.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:a949b072ea59c6eca0811ccd9e95133cc50d2afda8d464b5b077c78f78efa269", size = 38094, upload-time = "2026-08-17T08:22:39.763Z" },+ { url = "https://files.pythonhosted.org/packages/89/f4/2b7ebdc1869caca5f02c4cba8379b631050d3c3d4adb9187e4dc1a6b8d3c/xxhash-4.0.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:79a3203aadf39637869dfea1185227d8452844d78b837e54fb1117b4d34ba5c3", size = 38244, upload-time = "2026-08-17T08:35:38.081Z" },+ { url = "https://files.pythonhosted.org/packages/90/9d/f66cf6935f528e575f1ae4d6560d376e7587569747186f4fae8777cadc1b/xxhash-4.0.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d9f3848ffaf010bdbabdbf4c25641fa258b6227ff27bc74a4d06edef521a4873", size = 35904, upload-time = "2026-08-17T08:21:37.358Z" },+ { url = "https://files.pythonhosted.org/packages/07/29/34569d7b482f0dc060074faafd163c588f915cbc3e3e218f1ffd8a3ad340/xxhash-4.0.1-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9283d9dd6b44acad35118e2976fc763a065509e4118debdb61916ec322ed17b9", size = 259595, upload-time = "2026-08-17T08:22:38.153Z" },+ { url = "https://files.pythonhosted.org/packages/ce/d2/a2370acfcd48732cf5c2b87f06cfbf7fa51c0ce0dd736bde42939eb9ebf7/xxhash-4.0.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c7c642a0f79c3e3cf2965475507574d3d1a50ec71060039d60cb87358667cb2", size = 284279, upload-time = "2026-08-17T08:22:36.396Z" },+ { url = "https://files.pythonhosted.org/packages/08/15/17d33c24e6c4a1c0b9ddc5584f0c25d51d48b34bacde1416a2235a19db4b/xxhash-4.0.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:96dedccfb09a73a25751053a183159b88f4ee75f388df8166040c152ac0531c6", size = 303973, upload-time = "2026-08-17T08:35:39.22Z" },+ { url = "https://files.pythonhosted.org/packages/ec/e0/4ec0d69ad5738729098a61e631b7ed2df22a922b0e03014b597c72bd863d/xxhash-4.0.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:81664268dba92e037b740ecf37fa02f1cab4a391f93f28e35792b3341c60648f", size = 287535, upload-time = "2026-08-17T08:21:52.158Z" },+ { url = "https://files.pythonhosted.org/packages/0f/8b/4f9b17e7a9eb71c65548ecddd9c18b84e3c18ca41c4d436ad2a3000d3f7b/xxhash-4.0.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:839f58c5bd9989875be0fd28446dbf32cace2c2cd8bf2f6762acdc38a95cd1aa", size = 519257, upload-time = "2026-08-17T08:22:43.272Z" },+ { url = "https://files.pythonhosted.org/packages/68/35/3276b3e743b8ddbed9c3f71c76d9dd6a75d72aa4e678b1447b635cfd92e0/xxhash-4.0.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ffa44b4c7c5d0ffa31356b4428659516c0e47647825c74079a296b3857b6d99d", size = 268190, upload-time = "2026-08-17T08:35:44.985Z" },+ { url = "https://files.pythonhosted.org/packages/08/d4/f1555de3c96721320930dbb7988c8482d82b85970076aba1a8d40e83ad43/xxhash-4.0.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e681a6fc7e4f715252b9b5acfb30536ec7dd1f75033a32dc617e6fa95af1a3fd", size = 345553, upload-time = "2026-08-17T08:21:41.025Z" },+ { url = "https://files.pythonhosted.org/packages/ac/98/c28908f27007087b61139d290f908dd827ffd40b88af0c43f9e1a1a7ffd5/xxhash-4.0.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c6301d92545c591ad31c3e050aa40a5f8a4c16413f1f9e6f9322c6f0f9d2b736", size = 280499, upload-time = "2026-08-17T08:22:52.236Z" },+ { url = "https://files.pythonhosted.org/packages/a9/76/3ef57622c65816348f8196273485baab4752aae064959901e85cd867e067/xxhash-4.0.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:6efb8f21cc136c79b3e5bb747c8682d37916fb202cdbbc32182de5c4e47f821f", size = 307211, upload-time = "2026-08-17T08:22:40.815Z" },+ { url = "https://files.pythonhosted.org/packages/8a/4c/5804504bbc808968e57d6a50286dd8f8cc06e0ddd6e4ab4b1dc89ae42f35/xxhash-4.0.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:760de77279e9cf9c81d012ce0705cba13afccee9b09c480f17d778c8c5cefae8", size = 265865, upload-time = "2026-08-17T08:35:42.727Z" },+ { url = "https://files.pythonhosted.org/packages/aa/ee/8572fdfd70e7aaaf150af899871c2cc0bb88c3295ca82172a31e04ca5168/xxhash-4.0.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:a16a3fa6936e36bb1414d16a6bd012c9033e5161b68b426805b61d895392437d", size = 284545, upload-time = "2026-08-17T08:21:56.965Z" },+ { url = "https://files.pythonhosted.org/packages/c1/f8/6eadcca0904660c848b466524e82a233d16c9d2d5258433aaf3546142d86/xxhash-4.0.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:9c3c4b9aa9a27196b921197f7daf9e6c1412739df06a99cfa6e923879362eff6", size = 336022, upload-time = "2026-08-17T08:22:46.346Z" },+ { url = "https://files.pythonhosted.org/packages/27/df/4aa107b81602d6d6d09ab5a607c530d2d3a6b28e2e9a59b01875bd877c54/xxhash-4.0.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:863f3d3b44110f7243e86cf994aa5c5d88f2348b6e84ab4402fadadfbf9f7da7", size = 486671, upload-time = "2026-08-17T08:35:49.016Z" },+ { url = "https://files.pythonhosted.org/packages/45/b7/b2bf9b5301e9cd5f2e335fea8da0f5cf209a6594cb1fe77754774ad4a6fd/xxhash-4.0.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:63aa52659bc32bb9bd7cb5caf523b4d14429a477762cfac886132d687c1f80fc", size = 263744, upload-time = "2026-08-17T08:21:56.165Z" },+ { url = "https://files.pythonhosted.org/packages/0b/96/35b1c02177ae26234892c2310fb4822ba62411acccbf425ab8f9fd99354a/xxhash-4.0.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:67e57b834e07ed973cee7b6da1548ff28a56458d77696fd2a5f397f340694848", size = 20563, upload-time = "2026-08-17T08:35:11.924Z" },+ { url = "https://files.pythonhosted.org/packages/51/c2/a06300b165fbd6b0cb4a9742987f2e997a9f447ce3bf7c6ac97b862ce62a/xxhash-4.0.1-cp314-cp314-win32.whl", hash = "sha256:b6c1f9c59bbe593f88a0aad30be4150f15bd57bd64efb95feeabcb8e563f1ecd", size = 35151, upload-time = "2026-08-17T08:22:44.283Z" },+ { url = "https://files.pythonhosted.org/packages/06/96/c5b37296b78f80fc97124c0fee0c7bbd1bdb6f3b18bcd8748bb113b2d8fc/xxhash-4.0.1-cp314-cp314-win_amd64.whl", hash = "sha256:da544672efd9ad76077928a3e6c5d894e52ce82d3bf14002db4a1bf17d1a36a2", size = 37156, upload-time = "2026-08-17T08:35:46.551Z" },+ { url = "https://files.pythonhosted.org/packages/ce/5e/248f9cd169c2fb62236bedfba246d213bce728f74901e99047e3f3c55875/xxhash-4.0.1-cp314-cp314-win_arm64.whl", hash = "sha256:d0d24a4f3fb63852cd09af46ae4b7a4d00cc8b8615a046dca543786e728d1056", size = 34379, upload-time = "2026-08-17T08:21:59.446Z" },+ { url = "https://files.pythonhosted.org/packages/58/c8/db1d37c0da0324d0298f6abd931ca1d4736e049d9f2081230a8421da74d2/xxhash-4.0.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:349775ac30372b344d2338b2a168c0a1312a644194da25b8bec476d55761a128", size = 38656, upload-time = "2026-08-17T08:22:49.119Z" },+ { url = "https://files.pythonhosted.org/packages/c5/8e/e18998ec465fb977bc74272e5bf3c2e886c13b014cbef916cd607802c709/xxhash-4.0.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:43e5f9169e73d0f0db33b5f6b8554bcce69ac278c966daf83d5eb4eb2f13829f", size = 36306, upload-time = "2026-08-17T08:35:52.853Z" },+ { url = "https://files.pythonhosted.org/packages/ef/1a/b83f86f8a987a3cbcb7e005a6824ff64aecae35abc1395a0d44ee16c3319/xxhash-4.0.1-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4a252fb862b0ae2590587e625f47a0e03da05cf0205e8830b67b6596c06038b1", size = 273729, upload-time = "2026-08-17T08:21:58.833Z" },+ { url = "https://files.pythonhosted.org/packages/02/4e/2db15aa8508e0cd5b632927a53b98234f24039ea65377e6cf996c06d2d4f/xxhash-4.0.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2df3ca8757dc381e75e90a4d7995a6324f58a923c7145220a7b2c0231f66fddc", size = 301083, upload-time = "2026-08-17T08:35:14.113Z" },+ { url = "https://files.pythonhosted.org/packages/26/94/ed759787ffe802bd8e31cfcdad3755cbeca2dcdafd2f790cd6f25d195199/xxhash-4.0.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:bfed61996d618eb90d6eaae0178002e3466a28b06bfc557a7a3a7266378d8c5a", size = 312745, upload-time = "2026-08-17T08:22:52.232Z" },+ { url = "https://files.pythonhosted.org/packages/45/7a/f64b4a4cc8b51e950709207f55f7f56ae9c5af6631dd31d7fb443312418c/xxhash-4.0.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9761ff4a0ffa583fe850731ad24fe82c88cccb7a2294727db0955f3279a4cb3f", size = 301419, upload-time = "2026-08-17T08:35:50.143Z" },+ { url = "https://files.pythonhosted.org/packages/a0/71/bac313b8de073569b8db3152044a7cfcce87a3fa9698c18fe9f914dee6b1/xxhash-4.0.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:edccc2ec58435a580f96a48a3ccae8cd0a480824119165dd90108718ad81ae6e", size = 534485, upload-time = "2026-08-17T08:22:11.515Z" },+ { url = "https://files.pythonhosted.org/packages/b9/0c/16b5e419f24e59507ee05626d2bb0deafdb03f9f27783bc0785a9849602e/xxhash-4.0.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4741d42d59e4e5fa1a86c17ab9c27dc8ea459c700d91b6742fdb9138d9a516cb", size = 279605, upload-time = "2026-08-17T08:22:52.934Z" },+ { url = "https://files.pythonhosted.org/packages/5f/55/5787dd6e2d8d5b61256a5039f6b18c2193c7c1de4a2fd2413288d0d9c604/xxhash-4.0.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:440c401e146ce64bdb3beb8ff0c84677b6f21307c28a34779071cecee5d4d70c", size = 358924, upload-time = "2026-08-17T08:35:58.164Z" },+ { url = "https://files.pythonhosted.org/packages/f3/68/89be41991f3b0a2e91f940bdf3128852c3ed571cf560d98ad0f67024afe4/xxhash-4.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5b7979f71d06ae45a769de0699900a246d8cb632db1e8bfdc79ec019063a503c", size = 295305, upload-time = "2026-08-17T08:22:13.683Z" },+ { url = "https://files.pythonhosted.org/packages/e6/5a/52ff0a0cc361aad393ff9a46ffe3aabbcf9c03d6c8f2612da7d553048276/xxhash-4.0.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:62198213fc3e0c56e567894b318ba45834e007d065f84ba6dc9165d21546fc56", size = 320228, upload-time = "2026-08-17T08:35:18.946Z" },+ { url = "https://files.pythonhosted.org/packages/0f/b5/91c60ff22c7f6cd5f6d7a5bad5a2cdcb4c33987dfa50bf13f0d856279b2e/xxhash-4.0.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:b3bece52127ac20044311ee73567f9f0893b5de64f9028aecc90cc740cfd525a", size = 279414, upload-time = "2026-08-17T08:23:03.212Z" },+ { url = "https://files.pythonhosted.org/packages/b9/94/9685954804d47d0390871a64bec606a0d536406382d71a784df3a5883fb4/xxhash-4.0.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:a865d2d470220e659220fdb59d5b6c4422802d8d6098e1324bc4d12444798914", size = 297594, upload-time = "2026-08-17T08:35:57.881Z" },+ { url = "https://files.pythonhosted.org/packages/89/62/b67ac9412907b7a07a2a0c08c3440b9e4480231a7b3de0767e87011e4564/xxhash-4.0.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:8580aab306888224074c7edeec734de0c3c5ccde65b2da4e6c9a5e28f7c0a1bd", size = 348526, upload-time = "2026-08-17T08:22:18.571Z" },+ { url = "https://files.pythonhosted.org/packages/37/ed/6723cc49a9f567d52d01fd7c1741b0f2e3a13e71d15f7ac49d753a20c115/xxhash-4.0.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:2d52dc7c33c1b83082b707f6b7814dc76d2faaa2ea62bd9c5fab4b36f83c087f", size = 499307, upload-time = "2026-08-17T08:22:56.52Z" },+ { url = "https://files.pythonhosted.org/packages/fd/2e/7b10e101ab988d93b791023be7191d7661271d6ab31ac082276b9091042a/xxhash-4.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6a9f98af872355e0c02439e48583958eee00e60b928bb20476460d9d40cb7b4e", size = 274989, upload-time = "2026-08-17T08:36:01.834Z" },+ { url = "https://files.pythonhosted.org/packages/9b/8d/7eabcc8d29cce40621443cff24c07d7306ef574b8956c47ac59f21098005/xxhash-4.0.1-cp314-cp314t-win32.whl", hash = "sha256:a14578102a6081465aec9cf73c76c3cd3f79f0709bdb3b8ae7ab0b54c9d8b089", size = 35482, upload-time = "2026-08-17T08:22:32.336Z" },+ { url = "https://files.pythonhosted.org/packages/ca/89/2a4268e1971f63038b79fb75e3b9c8de942cd77acabbb0c5625352a31940/xxhash-4.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:c57963970d359a72262f7fe6be88f945e2334d4bc41462b7f08c37b0abf35ca6", size = 37490, upload-time = "2026-08-17T08:35:22.475Z" },+ { url = "https://files.pythonhosted.org/packages/90/7b/950ecab1fe4cf421d0a6211ddd9a0ac82e39e55c45a111ceb90953dc6c9a/xxhash-4.0.1-cp314-cp314t-win_arm64.whl", hash = "sha256:b659fad79c99b0238c7ad7e9d7dbf4eebfea9097c2dba65fa0a4d18a25b29a2f", size = 34596, upload-time = "2026-08-17T08:23:10.001Z" },+ { url = "https://files.pythonhosted.org/packages/c4/03/7dc3b85fac10751613bfedb0e120734e0e8710054abad3f931e9d3843a14/xxhash-4.0.1-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:5adf927dca8c47fde7e683fe69efdd81bc865c4db1fb6bb00b391e2b6185207b", size = 43749, upload-time = "2026-08-17T08:36:00.47Z" },+ { url = "https://files.pythonhosted.org/packages/a5/55/bfac071c5b1c6d6a3d48ab1ab96a15e958a1d7061f4afc97804292d87264/xxhash-4.0.1-cp315-cp315-android_24_x86_64.whl", hash = "sha256:c30dd1af66a820820398b26e0d74e7a9aa43cae705924f23ed828cd8e5c26c3d", size = 40758, upload-time = "2026-08-17T08:22:30.209Z" },+ { url = "https://files.pythonhosted.org/packages/79/87/49a260e685d1a74c56a69432a8ee0527ddcbd684a3c51f87edc3b75639c5/xxhash-4.0.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1bc591533fc975614f7e13594daee76af96b8e1fbcf8de76c8773858fa9e7cea", size = 34788, upload-time = "2026-08-17T08:23:09.014Z" },+ { url = "https://files.pythonhosted.org/packages/6c/ef/50d72ed2170dae872e1c0fe333d0908e0a2afbffe74c5c9037d5406a4b89/xxhash-4.0.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:567cbc630302a46a8ecfd943b309ccf5372bb3718f1f3762d452df30f033bcf0", size = 35746, upload-time = "2026-08-17T08:36:05.557Z" },+ { url = "https://files.pythonhosted.org/packages/66/f0/969deaa2bab3bfd5ad5b023442124d2255b9961eef6f797ec74eb8683bdf/xxhash-4.0.1-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:e998cb3685b92101ec5de0fb4d9485cf01e50bc418211955c55d98064664cf4c", size = 38098, upload-time = "2026-08-17T08:22:36.906Z" },+ { url = "https://files.pythonhosted.org/packages/86/aa/45ed7d7b8d7b66202a47bf8ff3b77cea28d2ea54dfcdd202b4cfe043e3dc/xxhash-4.0.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:c3074db513c81f764053e3da079312ecf85a50d8350c71f4cc0105d9662a9e6c", size = 38251, upload-time = "2026-08-17T08:35:25.774Z" },+ { url = "https://files.pythonhosted.org/packages/f1/9d/45e7520a7856e13800a5dc8cd038d34c6372429465b163af0c5722f16918/xxhash-4.0.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:3088dadbffa33c29e0518578430a7dff2e901a212e487aefa5faaa0dc06dad34", size = 35986, upload-time = "2026-08-17T08:23:25.854Z" },+ { url = "https://files.pythonhosted.org/packages/9e/0e/5ad466e5fea18c9f9bdc5828c0506f62190061b4a1b0e688aa54969d0a9e/xxhash-4.0.1-cp315-cp315-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1b50223d92df94d54e1a31469335a2c74b16692e6c1cb726f1e6949514458706", size = 264609, upload-time = "2026-08-17T08:36:04.229Z" },+ { url = "https://files.pythonhosted.org/packages/aa/cf/8f269f85217e3dbd45e31e25e46cc26f3aff0e159ef05d228b4b982c778c/xxhash-4.0.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:427b62d62d4f967fbb10b82a3813e4875c2a6e7e7634739f17265b650c7f65a6", size = 285910, upload-time = "2026-08-17T08:22:38.589Z" },+ { url = "https://files.pythonhosted.org/packages/ca/30/2fc1a16ee0f9501d074b798ebfae52e24fa602c7117f5c4b81de71eada72/xxhash-4.0.1-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c6370189e8e66b7e608f533b939a9de092ddca6cce084ca0d3d414d2ed5b5d59", size = 306566, upload-time = "2026-08-17T08:23:16.895Z" },+ { url = "https://files.pythonhosted.org/packages/e0/a7/08375cf2b997e1903663fe7525c5973b1987a4f8ad2b8d47463e9143f2ee/xxhash-4.0.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ec1a470c6db94ac4589c203921e89ac1bc13e796a8b1784d8135e1893559cd3b", size = 287978, upload-time = "2026-08-17T08:36:09.296Z" },+ { url = "https://files.pythonhosted.org/packages/b2/e5/90a7b404c11add9e53a497d06236152852490c3b2f21e468d97a58f26afe/xxhash-4.0.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:37f667dee0f867c42894b34e2a6fe26bf195c0ea4683d9d2b713db023f242c3a", size = 520098, upload-time = "2026-08-17T08:22:41.565Z" },+ { url = "https://files.pythonhosted.org/packages/11/02/7fba10b1b17eb46308f09cc0a4ed513d74dff16b1e22a1c439f011c77129/xxhash-4.0.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f18732adcc271741bd651c3e56fa519d8a237d2cccda01fe3afb226bf87f783b", size = 268273, upload-time = "2026-08-17T08:35:29.043Z" },+ { url = "https://files.pythonhosted.org/packages/54/49/c21b228877357a3be43eeeaa22182ad1685796f415390ada475922c084e4/xxhash-4.0.1-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0b42a5a26607e4b2409fea174773a66f2dff9dfdbf2c1a851bb7b804e2c97535", size = 350164, upload-time = "2026-08-17T08:23:29.494Z" },+ { url = "https://files.pythonhosted.org/packages/00/3c/c15bb4aa33d94b78a5553b52e7fa1070565f0199925aeadec3871de20ce9/xxhash-4.0.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:99166cc98637e8bf550cda2aab07f4f1d5f899c45fbd721801aeabcc9d404824", size = 281975, upload-time = "2026-08-17T08:36:08.139Z" },+ { url = "https://files.pythonhosted.org/packages/18/7a/b1d0388315fe7752b7725b68a912667526a1dd48ed492fcc031ac03f4b52/xxhash-4.0.1-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:6cf633df84d80a1668fcf61e330791dae46825e395549e7d34f376411e75088a", size = 307872, upload-time = "2026-08-17T08:22:42.206Z" },+ { url = "https://files.pythonhosted.org/packages/b4/a1/037cb2dd8cf725c9565dfe3712b2915c0e0276a9154913dbfcbcecbeb672/xxhash-4.0.1-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:e259bb7e1e2d8de6b35f430f5c7220b1c0ebf3962d1ba7ec7545980d5931edb8", size = 268241, upload-time = "2026-08-17T08:23:23.997Z" },+ { url = "https://files.pythonhosted.org/packages/c6/a9/67c44422d0ee082169b238ce24bd2796b82d7c21ed953471365df8c508d8/xxhash-4.0.1-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:704381264b36a18b9c62ecbabe2e71d0fc58c77c129c15355c989b10bf05b6b0", size = 284970, upload-time = "2026-08-17T08:36:13.476Z" },+ { url = "https://files.pythonhosted.org/packages/7f/d0/254a5f51c4014cacc77a26f321372338b924f54e89efb730164ee336d850/xxhash-4.0.1-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:e90b4bcf1d9eb1010fdaee7c9209fb667e74c0684f3ba17f9032bd7319da90c9", size = 338074, upload-time = "2026-08-17T08:22:51.166Z" },+ { url = "https://files.pythonhosted.org/packages/64/03/f21c4830118d72ef3a958ce8bf2152f49e0d4cf200907616c9be6caf372a/xxhash-4.0.1-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:a65785e653573fcd1e33062760ab4c3c3440e8e910765018e4b6ed4ad07b54a0", size = 487626, upload-time = "2026-08-17T08:35:32.768Z" },+ { url = "https://files.pythonhosted.org/packages/45/1f/268a689d741d7da649317eb4ce41760140beb4179aaf43a7216fdbe8100c/xxhash-4.0.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e3996ff9b6f99180357024336bf5749a8ad6476a9a2523e535c5212b995b12a2", size = 263852, upload-time = "2026-08-17T08:23:41.871Z" },+ { url = "https://files.pythonhosted.org/packages/a7/f5/adaf8101cd7f143191a0b390600294d83924b32cb13770fde8803dce27a2/xxhash-4.0.1-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:99054b838b74d8d3995ea0d410976ae967c46207ae22d6ddfc535e809197dab9", size = 20569, upload-time = "2026-08-17T08:36:11.952Z" },+ { url = "https://files.pythonhosted.org/packages/ee/2c/56a5eb8c993420fc07114c08f447a2b66ee996510b4764cb368b9b44c9f0/xxhash-4.0.1-cp315-cp315-win32.whl", hash = "sha256:6c45258a37fc22721395c09927cb982d3e7a83607cab15be7e2416501bd3a330", size = 35145, upload-time = "2026-08-17T08:22:50.038Z" },+ { url = "https://files.pythonhosted.org/packages/67/c7/65f210db43e62157d0fef3b4d4d7b394821e7733c8bb4ece49f91410a725/xxhash-4.0.1-cp315-cp315-win_amd64.whl", hash = "sha256:0ab851b45c70d4992be7cdeeee16f97a0b677408c758c4b1efb1cfe8030bfd37", size = 37161, upload-time = "2026-08-17T08:23:32.438Z" },+ { url = "https://files.pythonhosted.org/packages/33/ae/1a641d1d60ba219756d9ebe907ff0ecf4445adcf4fa96f6e3da57b91d439/xxhash-4.0.1-cp315-cp315-win_arm64.whl", hash = "sha256:a5b21b42a01a343096a1c018d35e9b7aec9c7065dda53ae8da071e37478b2cea", size = 34378, upload-time = "2026-08-17T08:36:15.912Z" },+ { url = "https://files.pythonhosted.org/packages/48/7f/7698b320b251806d1249e513922a626f19027e104c829a611272250350eb/xxhash-4.0.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:44ab12e8cd17d4f001769f00ad465208b4bcb897ed29e65f058f74466b57a98f", size = 38610, upload-time = "2026-08-17T08:22:55.203Z" },+ { url = "https://files.pythonhosted.org/packages/c0/3d/436497e775b647b3b3e9a4ffe8c76c59fa4aa7a9fab6447cb59acf1b50ea/xxhash-4.0.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:45e88111ebe331de478ef8d4293efbe88f3cf8b863386c9a2357136b838e1af0", size = 36378, upload-time = "2026-08-17T08:35:36.18Z" },+ { url = "https://files.pythonhosted.org/packages/e3/d8/17a4f8182b9257898aa2a77c2a45f70233eb8e50681a280e8e09d2ee76e9/xxhash-4.0.1-cp315-cp315t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:bf430c587f447a554c53768ad76b9846fe7c5632180ef6f69c4fce8b0552fbd0", size = 273559, upload-time = "2026-08-17T08:23:51.075Z" },+ { url = "https://files.pythonhosted.org/packages/83/28/121bd5a5c5adb88e0da772c7bef61964cf9da92956a7a237c7d24c4351b8/xxhash-4.0.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:adbd48b30e3f82c89fb2b3e6a87cdd28d113b190a5ed0ee2dee286323ee9a621", size = 299133, upload-time = "2026-08-17T08:36:14.731Z" },+ { url = "https://files.pythonhosted.org/packages/11/8f/57c7b6e04642ed738a0d08a31bed7fc63fdacb661d665f98739cc9751b62/xxhash-4.0.1-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e71b34978e77868cbf2d18c5206a4603f9c644dd7181bec5643bd40141d3b8c5", size = 314527, upload-time = "2026-08-17T08:22:54.224Z" },+ { url = "https://files.pythonhosted.org/packages/8e/18/42793917dbab0ea1ff71458aea4875e17a7263f2797b798af048dc81e867/xxhash-4.0.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:488ca5c5e28ef56ec4bbb12f835b3f1cbecc5f3510062e70117bc6594851932a", size = 299199, upload-time = "2026-08-17T08:23:36.864Z" },+ { url = "https://files.pythonhosted.org/packages/37/60/51dc92443923d8e908d5614f1145d8d696450f9d6c8f1abe243c6f2a0222/xxhash-4.0.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:421b94f3ba7067958d02e38960d987756347aa150df06df11aa68ae1af78c619", size = 531967, upload-time = "2026-08-17T08:36:18.66Z" },+ { url = "https://files.pythonhosted.org/packages/88/c5/d0de77de09661fac71742c4155b1cd65e274f7cc277819d702b6c8ff2db5/xxhash-4.0.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f33cf0baa91eccd2cb7b62bf00f10c2264ef578b71dd33a12962e71a36eb4d32", size = 278764, upload-time = "2026-08-17T08:22:58.15Z" },+ { url = "https://files.pythonhosted.org/packages/08/9a/589929c655aba1bfb2c41ee03e50eec1547c39c3042a66bda9c173a9614b/xxhash-4.0.1-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:23a4376b4a3183cb50d4d2a3179f887a7773cc695eb2c908e551bec3221b8c60", size = 359876, upload-time = "2026-08-17T08:35:40.35Z" },+ { url = "https://files.pythonhosted.org/packages/3e/a8/c1d8c94d54d91db2215565f4b4151c1593af3e6d27ac4c00fd1e8d714a02/xxhash-4.0.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:38c3d22129a6958846a3098d68bc8e661704461c0be4793ae28836e4690c8478", size = 293548, upload-time = "2026-08-17T08:23:54.951Z" },+ { url = "https://files.pythonhosted.org/packages/8b/67/85d8abca94508a4dd10561d9dea3e6e68843c6986dd6d9c1b3729c8622e4/xxhash-4.0.1-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:87cbdec1a7dd930079671a60b249f3ca4e773e6fbd0676e21e36fdc9dd0f3b00", size = 318780, upload-time = "2026-08-17T08:36:17.623Z" },+ { url = "https://files.pythonhosted.org/packages/1b/16/2b920ed456b9cdcfc99ddc20c3afe42f9f807ee5850773c12fd891f3c08d/xxhash-4.0.1-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:6cbf4e21ef0890804b5bb9ad25c48f9c127758d7f6c66bef374efcacc63c738a", size = 277582, upload-time = "2026-08-17T08:22:57.156Z" },+ { url = "https://files.pythonhosted.org/packages/fa/cc/5811b5997aebb8452047f5800d32fc50eaa29d0ba08d4e426f84450b9c2f/xxhash-4.0.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:c101180495cb4ba3617b279a944345c53a5e73b0c150053d1fa8d8af32de9579", size = 295116, upload-time = "2026-08-17T08:23:40.868Z" },+ { url = "https://files.pythonhosted.org/packages/2d/dc/c2f3f9c2f4d6aadb79f17a9f1c9a7ee82638cc873680da044cf29537d2ee/xxhash-4.0.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:c0e6ccc2b19ec8a726b2e26062ac71ea63e15500d6bf85910e42481844fdffc1", size = 347065, upload-time = "2026-08-17T08:36:21.618Z" },+ { url = "https://files.pythonhosted.org/packages/a2/4c/750cc642c92252e10772ec09e1a1d995581ba4c3ceb24f6e2d57c7ce47ca/xxhash-4.0.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:8bcba9456242ebf180a04d9443812fd85ffe6bd12bda464dd116fcece8886ff3", size = 497208, upload-time = "2026-08-17T08:23:17.88Z" },+ { url = "https://files.pythonhosted.org/packages/6c/2d/58693cb13d6395f39b6b9bb40c5e0db53a5df7c9fce805aa7e792f64a1a5/xxhash-4.0.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:83b8c2013edb5dc1f9e7268b6496130705bc48d79c86bb8817b3d210b81a5513", size = 274338, upload-time = "2026-08-17T08:35:44.062Z" },+ { url = "https://files.pythonhosted.org/packages/4a/08/9aa9787586d9b3e92d63343ce7dc24f0f445fd9e74ff5d6e85dd82233df5/xxhash-4.0.1-cp315-cp315t-win32.whl", hash = "sha256:aa6ccc7f31018484d652cf52db020003433f3c9fa83189c028bd807d2adde503", size = 35471, upload-time = "2026-08-17T08:24:05.795Z" },+ { url = "https://files.pythonhosted.org/packages/f0/ab/4615789c333bee331ac417885c50105715eeb8244bfc68d2bc37dcfd63ca/xxhash-4.0.1-cp315-cp315t-win_amd64.whl", hash = "sha256:daade8936c4deaaf7b01561324ce438ba4f885d717e9adc62b4d67212ad7d7bd", size = 37488, upload-time = "2026-08-17T08:36:19.929Z" },+ { url = "https://files.pythonhosted.org/packages/fb/81/49f718beb0c55d0411bc4bd90b50a3fbe5863a0e97a2f4d11682ba13d298/xxhash-4.0.1-cp315-cp315t-win_arm64.whl", hash = "sha256:f00330ac7e24769e2032203f2b01794d670916b0c1799fd261340f1af9499875", size = 34590, upload-time = "2026-08-17T08:23:19.597Z" },+ { url = "https://files.pythonhosted.org/packages/86/79/9127ff42a887a348dc4ce3211cf1a962836887adee6f57078132bfba78b4/xxhash-4.0.1-graalpy312-graalpy250_312_native-macosx_10_13_x86_64.whl", hash = "sha256:ff48915bf1871a1f19f74c11834c6329443d306cedc0c05fe7fe617810422a80", size = 31836, upload-time = "2026-08-17T08:36:28.261Z" },+ { url = "https://files.pythonhosted.org/packages/0a/e6/f238693bfdd642adb59c99683964d46d9947fe721ff44d3bd850ae675407/xxhash-4.0.1-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:4a76345f5aceb4ec404918edf9c7f2b5507db864dc0d7455982009ac0890b57b", size = 34453, upload-time = "2026-08-17T08:23:49.795Z" },+ { url = "https://files.pythonhosted.org/packages/40/4b/796ace33cdfb75c91ba6d11615c3bd436355b9f3103e05865bbee9abce57/xxhash-4.0.1-graalpy312-graalpy250_312_native-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:31d86f9e81f3e84e00131ac7c54caf5119ae4ddd82c09c31cff597c813ce1ee2", size = 38488, upload-time = "2026-08-17T08:23:59.901Z" },+ { url = "https://files.pythonhosted.org/packages/ad/23/2d549e5d5d7759eaf9ac2d2d2ab81ff60f1bb2b52cdaae8e5ec5c6524354/xxhash-4.0.1-graalpy312-graalpy250_312_native-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:deca2a30d983d240b8375ec2ee0a4288e72042827fc61df2f7671f8467e4cb2f", size = 38206, upload-time = "2026-08-17T08:36:32.193Z" },+ { url = "https://files.pythonhosted.org/packages/79/98/1ee576b27f78e6107ee4ea8ac03e8a52888dff256e57d560f8282c195563/xxhash-4.0.1-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:7c343ee174d417a44d0c3355602c0cbbfa52a04d1bbbf1723378c7d2c8f60626", size = 37127, upload-time = "2026-08-17T08:23:42.705Z" },+]++[[package]]+name = "zipp"+version = "4.1.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/dc/23/655a1802fe8041302c959774ca7c80b53bc24737ff3ef45cb50ef11bd96c/zipp-4.1.1.tar.gz", hash = "sha256:7ebb7a44c021b29fd8dbd7cce6812d0d7b5b454521f93cc71af6ccd155aaa70b", size = 27649, upload-time = "2026-10-03T17:03:03.452Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/b5/98/df615823cd9419131ce19fba00de53a663794369e198aade064a244b385d/zipp-4.1.1-py3-none-any.whl", hash = "sha256:8979f52d874162f485ff2981e3891f3a3317b7a3dd43ff1e1775b9304f307a9c", size = 10582, upload-time = "2026-10-03T17:03:02.506Z" },+]