Re-fix the round-34 CI regression: the round-34 attempt gated the accelerate preflight on enable_model_cpu_offload, but the parameter defaults to True so tests that did not explicitly opt out still hit the missing-accelerate path. Removed the accelerate preflight entirely; transformers' PyTorch backend already pulls accelerate as a hard dep on every supported install path, so the duplicate find_spec guard is redundant in practice and the missing-package case will still surface a clean ModuleNotFoundError from the offload code itself if the user somehow lands there without it. Round 34 P1 cross-block: extend the seed.py multipart filename validators (round 33) to /api/datasets/upload. Both routes echo the filename back to the client and persist it, so per the asymmetric-fix rule the validators must match. Now rejects control characters and embedded HF tokens in file.filename in both upload entry points. 86 targeted backend tests pass. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||