muzishen / IMAGDressing

👔IMAGDressing👔: Interactive Modular Apparel Generation for Virtual Dressing. It enables customizable human image generation with flexible garment, pose, and scene control, ensuring high fidelity and garment consistency for virtual try-on.
https://imagdressing.github.io/
Apache License 2.0
1.04k stars 85 forks source link

Dependencies conflict #4

Closed cmd-d closed 4 months ago

cmd-d commented 4 months ago

Already installed in my env pip, torch-2.1.0+cu118

CUDA_HOME exists, and nvcc is 11.8.

However, I'm getting this error when running pip install -r requirements.txt

... Collecting deepspeed==0.14.1 (from -r requirements.txt (line 11)) Using cached deepspeed-0.14.1.tar.gz (1.3 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [17 lines of output] C:\Users\User\anaconda3\envs\imag\lib\site-packages\torch\nn\modules\transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.) device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), test.c LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'aio.lib' Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\User\AppData\Local\Temp\pip-install-z97g9w67\deepspeed_c6daba0ee84e4b7a8ea423e02b7a709f\setup.py", line 180, in abort(f"Unable to pre-compile {op_name}") File "C:\Users\User\AppData\Local\Temp\pip-install-z97g9w67\deepspeed_c6daba0ee84e4b7a8ea423e02b7a709f\setup.py", line 52, in abort assert False, msg AssertionError: Unable to pre-compile async_io DS_BUILD_OPS=1 [WARNING] async_io requires the dev libaio .so object and headers but these were not found. [WARNING] If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. [WARNING] One can disable async_io with DS_BUILD_AIO=0 [ERROR] Unable to pre-compile async_io [end of output]

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


I tried to manually install deepspeed==0.14.1., but still get a lot of dependencies conflicts.

WhiteJiang commented 4 months ago

If you just want to try our model, you don't need to install deepseed, and installing deepseed on Unbuntu may be the preferred option.