Repository navigation
Laya video companion r4 — updated dependencies
The Laya video examples with updated dependency pins and clearer CPU installation.
Use this release for new installations. It supersedes laya-v19-r3, whose older PyTorch and Transformers pins have published security advisories. Example code, model revision and historical video outputs are unchanged.
Validated in a fresh Python 3.12.3 / Linux ARM64 environment using PyTorch 2.13.0+cpu, Transformers 5.10.0 and the existing pinned checkpoint: pip check, first example, triage, clarification and custom categories. Labels, rounded probabilities and gate decisions matched the recording. The optional local-LLM integration was not rerun; Windows/macOS and a cold checkpoint download were not tested.
Download laya-tutorial.zip, extract it, open README.md and follow the commands for your platform. Models and environments are not included.
Video: https://youtu.be/J-Cn9UUJtdA