Repository navigation
What's Changed
- Faster PyTorch inference (#178):
SaT.optimize()andWtP.optimize()compile a PyTorch checkpoint withtorch.compile(TorchInductor by default). Call it afterto()/half(). Not available for ONNX (ort_providers). - NVIDIA AITune (#178):
optimize(backend="aitune")benchmarks CUDA backends and picks one. Optional extra:pip install wtpsplit[aitune] --extra-index-url https://pypi.nvidia.com. - LoRA training imports on transformers 4.29.2 (#180): fall back to
is_torch_tpu_availableandtransformers.deepspeedwhen the newer names are missing. - WtP Canine on transformers 5:
LACanineModelno longer calls the removedget_extended_attention_mask. - CI: pin Ruff to the pre-0.16 rule set so the lint job does not enable 413 new rules.
Full Changelog: 2.2.1...2.2.2