-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Run with DeepSpeed on Windows (partially implemented) #1225
Comments
Got deepspeed to run. However, it looks like there isn't much, if any, support for gloo. Either that or it needs to be more directly implemented in webui.
In |
Deepspeed can be run as-is with this from text-generation-webui folder: |
@jllllll Yes, the same problem after your change to gloo backend: I've also tried 'mpi' backend, and it doesn't work too (custom mpi pytorch compile required) Also, some links: |
I was somehow able to build the wheel ".whl" file for deepspeed 0.8.3 on Python 3.9 in Windows 10. I don't know much about how pip installs it, or if it would be at least slightly cross compatible. If you would like, I can share the .whl file. Let me know if you want it. |
I have followed all steps in this thread and come up against the same leaferror. |
I also have the NCCL error: |
Finally and i, after changed dist_backend=None to dist_backend='gloo' on line 562 in "C:\oobabooga_windows\installer_files\env\Lib\site-packages\deepspeed\comm\comm.py" |
This issue has been closed due to inactivity for 6 weeks. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment. |
Description
It'll be pretty good to have implemented Deepspeed running on Windows.
Additional Context
I've tried to solve some problems, so I'll provide the details:
Deepspeed install on Windows. It's not easy (i can't compile it manually), but I've finally found ready Wheels for Windows here: [REQUEST] Hey, Microsoft...Could you PLEASE Support Your Own OS? microsoft/DeepSpeed#2427 (comment) . So, I've installed deepspedd succesfully
You can't run "deepspeed" on windows (like docs say) because there is no EXE file on windows. I've prepared file https://gist.github.com/janvarev/8b6563b5da269533f9ec4e92e0327451 in main folder, and can start deepspeed that way:
call python deepspeedrun.py --num_gpus=1 server.py --auto-devices
I finally gain error
RuntimeError: Distributed package doesn't have NCCL built in
and can't solve it. (Setting backend to gloo os.environ["PL_TORCH_DISTRIBUTED_BACKEND"] = "gloo" will have no effect on me)If someone can solve last problem, we can run deepspeed on Win, and it'll be very cool!
The text was updated successfully, but these errors were encountered: