huggingface / alignment-handbook

Robust recipes to align language models with human and AI preferences
https://huggingface.co/HuggingFaceH4
Apache License 2.0
4.55k stars 393 forks source link

Windows installation #41

Open NicolasMejiaPetit opened 10 months ago

NicolasMejiaPetit commented 10 months ago

It is possible to download and use this entire repo on windows, with the exception of deepspeed. After trying to install the alignment-notebook package I found you can simply remove deepspeed from the setup.py and all the lines with deepspeed, and remove it. Doing so allows you to run “pip install .” With out any errors. Doing this will make multi-gpu’s not work, but that was kinda obvious for anyone who is trying to use multi gpu support. Otherwise everything else in the repo works just great!