mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-10 15:00:23 +00:00
feat: faster safetensors load and split safetensor utils
This commit is contained in:
@@ -30,7 +30,8 @@ import torch
|
||||
from tqdm import tqdm
|
||||
|
||||
from library import flux_utils
|
||||
from library.utils import setup_logging, str_to_dtype, MemoryEfficientSafeOpen, mem_eff_save_file
|
||||
from library.utils import setup_logging, str_to_dtype
|
||||
from library.safetensors_utils import MemoryEfficientSafeOpen, mem_eff_save_file
|
||||
|
||||
setup_logging()
|
||||
import logging
|
||||
|
||||
Reference in New Issue
Block a user