You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a venv after sourcing source /share/apps/source_files/python/python-3.11.5_bzip2.source (this includes python developer headers, so there wont be issues with missing Python.h files)
install all requirements (accelerate, deepspeed, torch (should be 2.3.1>), transformers, and might be a few others depending on used model)
Configure deepspeed using accelerate config. See this pdf for ZeRO 2 config with RAM (CPU) parameter offloading: NOTE_SNLP_DEEPSPEED.pdf
Launch llm unlearning as before, but now source the venv with deepspeed, and use accelerate launch instead of python3 as the launcher.
Includes #105.
The text was updated successfully, but these errors were encountered: