cocktailpeanut / fluxgym

Dead simple FLUX LoRA training UI with LOW VRAM support
1.18k stars 97 forks source link

cannot import name 'flux_train_utils' from 'library' #233

Closed Amazon90 closed 3 hours ago

Amazon90 commented 3 hours ago
D:\fluxgym\env\Lib\site-packages\transformers\utils\generic.py:441: FutureWarning: `torch.utils._pytree._register_pytree_node` is deprecated. Please use `torch.utils._pytree.register_pytree_node` instead.
  _torch_pytree._register_pytree_node(
Traceback (most recent call last):
  File "D:\fluxgym\app.py", line 19, in <module>
    from library import flux_train_utils, huggingface_util
ImportError: cannot import name 'flux_train_utils' from 'library' (D:\fluxgym\sd-scripts\library\__init__.py)
Amazon90 commented 3 hours ago

git clone -b sd3 https://github.com/kohya-ss/sd-scripts