Open-Sora icon indicating copy to clipboard operation
Open-Sora copied to clipboard

运行 demo.py 脚本时遇到了错误。错误信息如下:

Open FlowersWithoutMoon opened this issue 10 months ago • 5 comments

完整信息见TXT

(opensora)运行错误.txt 1threadblock_1_1RegularTileIterator_3_01Shape___00_01Element___00_0bc37beaa523707a55987f4ffcc372fcd.html: Filename too long fatal: Unable to checkout 'bbe579a9e3beb6ea6626d9227ec32d0dae119a49' in submodule path 'third_party/flash-attention/csrc/cutlass' fatal: Failed to recurse into submodule path 'third_party/flash-attention' error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. full command: git submodule update --init --recursive -q cwd: C:\Users\Sailner\AppData\Local\Temp\pip-install-c8_9cx6_\xformers_8013c1475f6a40849043c00c9623f0b6 error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Collecting git+https://github.com/hpcaitech/Open-Sora.git Cloning https://github.com/hpcaitech/Open-Sora.git to c:\users\sailner\appdata\local\temp\pip-req-build-p3vaz2_4 Running command git clone --filter=blob:none --quiet https://github.com/hpcaitech/Open-Sora.git 'C:\Users\Sailner\AppData\Local\Temp\pip-req-build-p3vaz2_4' Resolved https://github.com/hpcaitech/Open-Sora.git to commit 554358a4fa4dfd1f9c0cb92b67e0b8d440103009 Preparing metadata (setup.py) ... done Collecting colossalai (from opensora==1.0.0) Using cached colossalai-0.3.6.tar.gz (1.1 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Sailner\AppData\Local\Temp\pip-install-sms6vmsp\colossalai_114c661552014b25a3eabccc5508e90c\setup.py", line 20, in raise RuntimeError("Windows is not supported yet. Please try again within the Windows Subsystem for Linux (WSL).") RuntimeError: Windows is not supported yet. Please try again within the Windows Subsystem for Linux (WSL). [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. Traceback (most recent call last): File "D:\Software\Git\dates\Open-Sora\Open-Sora\scripts\demo.py", line 254, in main() File "D:\Software\Git\dates\Open-Sora\Open-Sora\scripts\demo.py", line 186, in main vae, text_encoder, stdit, scheduler = build_models(args.model_type, config) File "D:\Software\Git\dates\Open-Sora\Open-Sora\scripts\demo.py", line 106, in build_models from opensora.registry import MODELS, build_module ModuleNotFoundError: No module named 'opensora'

FlowersWithoutMoon avatar Mar 29 '24 00:03 FlowersWithoutMoon