load_torch_file only wrapped the tensor returned by safetensors.safe_open()/get_tensor() in a copy when --disable-mmap was set; the mmap-backed read that produces that tensor had already happened by then. On Windows that mmap-backed read of large safetensors files can crash the long-running ComfyUI process with an access violation (#15424). --disable-mmap now reads tensors with plain file I/O so no mmap of the file is created at all. |
||
|---|---|---|
| .. | ||
| 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 | ||