-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Can't install on Windows 11- No such file or directory: 'bin\\deepspeed.bat' #6923
Comments
|
Hi @nitinmukesh - can you please share your repro steps, it looks like you are installing via the build_win.bat script after cloning the repo, but wanted to be sure. |
Hello @loadams. I am installing this tool which requires deepspeed I build the VE in python 3.10.11 using python -m venv venv and installed the dependencies using requirements.txt I executed the following (as mentioned in README) after all the requirements are installed in virtual environment
I have included all details in my 1st and 2nd post, please let me know if more information is needed. [EDIT] [EDIT 2] [EDIT 3] I referred to https://github.com/microsoft/DeepSpeed/blob/master/blogs/windows/08-2024/README.md#installing-via-pip |
Let me list all the command used on Windows command prompt (not powershell) git lfs install git clone https://huggingface.co/spaces/BestWishYsh/ConsisID-preview-Space cd ConsisID-preview-Space python -m venv venv venv\scripts\activate remove deepspeed from requirements.txt and add --extra-index-url https://download.pytorch.org/whl/cu124 at the top of requirements.txt pip install wheel pip install -r requirements.txt ----Till here success----- pip install deepspeed |
Hi @nitinmukesh - The HF space appears to be not loading for me, so I can't tell why they need a specific DeepSpeed version. If you are on Windows and need DeepSpeed, the latest version we have a published whl of is 0.15.0, listed here. You should be able to specify We are working on improving the Windows support, but that's likely what would help you for now. Otherwise, you might need to check if the creator of that space has any information on their config for DeepSpeed with 0.15.2+. |
@nitinmukesh - I found their GitHub here: https://github.com/PKU-YuanGroup/ConsisID - they don't explicitly mention Windows support or testing, so I think they did everything on linux, given their pinned DeepSpeed version in the requirements file. You can try with 0.15.0 and see if it works. |
I am not sure if it has to do anything with that project. I created an empty folder python -m venv venv venv\scripts\activate pip install wheel pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 pip install deepspeed Same error :(
|
Windows 11 / python 3.10.11/ Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30157 for x64 / cmake version 3.31.0 / C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4
The text was updated successfully, but these errors were encountered: