Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libaio .so error on win 11 #622

Open
gavinv587BC opened this issue Oct 5, 2023 · 4 comments
Open

libaio .so error on win 11 #622

gavinv587BC opened this issue Oct 5, 2023 · 4 comments

Comments

@gavinv587BC
Copy link

[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

@gavinv587BC
Copy link
Author

LINK : fatal error LNK1181: cannot open input file 'aio.lib'

@Hecto-r
Copy link

Hecto-r commented Oct 7, 2023

You have 2 options.
CPU only option: remove the deepspeed from the setup.py

GPU:
https://www.reddit.com/r/StableDiffusion/comments/13n16r7/cuda_not_available_fix_for_anybody_that_is/
Follow that, but for cuda 11.7
youll still run into more problems after fixing the above error though.

@esvoaca
Copy link

esvoaca commented Oct 7, 2023

Same here, only thing I figured out is that this probably has to do with deepspeed

@botcser
Copy link

botcser commented May 13, 2024

image

Build and install Deepspeed from git using VS2022: deepspeedai/DeepSpeed#4729

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants