test_diffusion_attention.py documents itself as hermetic with no torch/diffusers needed, but the HunyuanVideo trim tests added a module-level 'import torch' that aborted collection of the whole file when torch is absent. Move those 15 tests to test_diffusion_attention_trim.py (which declares the torch dependency) so the attention-backend policy tests stay collectable and runnable without torch. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| hub | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| cloudflare_tunnel.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||