bmaltais / kohya_ss

Apache License 2.0
9.71k stars 1.25k forks source link

Update requirements_runpod.txt #2930

Closed btcrm closed 4 weeks ago

btcrm commented 4 weeks ago

modified the typo

bmaltais commented 4 weeks ago

Rebased to sd3-flux.1

No direct changes to master as sd3-flux.1 will soon be merged in dev then dev in master.

Not sure if this change is required given how much has changed in sd3-flux.1 branch...

FurkanGozukara commented 4 weeks ago

@bmaltais runpod requirements broken at the moment here logs

 ______                 ______            _
(_____ \               (_____ \          | |
 _____) ) _   _  ____   _____) )___    __| |
|  __  / | | | ||  _ \ |  ____// _ \  / _  |
| |  \ \ | |_| || | | || |    | |_| |( (_| |
|_|   |_||____/ |_| |_||_|     \___/  \____|

For detailed documentation and guides, please visit:
https://docs.runpod.io/ and https://blog.runpod.io/

Skipping git operations.
Ubuntu detected.
Python TK found...
Switching to virtual Python environment.
[10/27/24 15:00:30] INFO     Python version is 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]                                                                                                                              setup_common.py:28
[10/27/24 15:00:32] INFO     Submodule initialized and updated.                                                                                                                                                                setup_common.py:53
                    INFO     Installing python dependencies. This could take a few minutes as it downloads files.                                                                                                               setup_linux.py:14
                    INFO     If this operation ever runs too long, you can rerun this script in verbose mode to check.                                                                                                          setup_linux.py:15
                    INFO     Kohya_ss GUI version: v24.2.0                                                                                                                                                                    setup_common.py:371

                    INFO     Installing/Validating requirements from requirements_runpod.txt...                                                                                                                               setup_common.py:161
[10/27/24 15:00:33] ERROR    Failed to install requirements: ERROR: Invalid requirement: 'tensorflow==2.14.0 wheel' (from line 8 of requirements_runpod.txt)                                                                  setup_common.py:188
                    INFO     Configuring accelerate...                                                                                                                                                                        setup_common.py:201
                    WARNING  Could not automatically configure accelerate. Please manually configure accelerate with the option in the menu or with: accelerate config.                                                       setup_common.py:274
Copying accelerate config file to: /root/.cache/huggingface/accelerate/default_config.yaml
Traceback (most recent call last):
  File "/workspace/kohya_ss/kohya_gui.py", line 6, in <module>
    import gradio as gr
ModuleNotFoundError: No module named 'gradio'
root@6fd31d6e84f7:/workspace# 
FurkanGozukara commented 4 weeks ago

@bmaltais this is urgently needed to fix sd3-flux.1 branch

making like this fixed. thank you so much

image

bmaltais commented 4 weeks ago

Should be fixed

bmaltais commented 4 weeks ago

The refactoring of how requirements are installed has been a bit of a challenge. But now it will allow for running the same file format manually or via the setup.py.

I even added a new parameter to the GUI that allow you to specify a custom requirements file to use. Just add --requirements and it should use that during validation and install any missing custom modules.

FurkanGozukara commented 4 weeks ago

@bmaltais ty so much

I tested on RunPod and Massed Compute now works amazingly