Per-tensor ranges were checked individually but gaps, overlaps, a non-zero first offset, and trailing bytes were still accepted. Sort ranges by start and require the data region to be fully and contiguously covered, matching safetensors' own validation on the mmap path. Adds corruption tests for a gap, an overlap, and trailing bytes. |
||
|---|---|---|
| .. | ||
| folder_path_test.py | ||
| load_torch_file_test.py | ||
| model_detection_test.py | ||
| seedvr_vae_forward_test.py | ||
| test_seedvr2_dtype.py | ||
| test_seedvr2_internals.py | ||
| test_seedvr2_model.py | ||
| test_seedvr2_vae_decode.py | ||
| test_seedvr2_vae_tiled.py | ||