From 4380c3f9bbca68f184372475c08ed2d914ed1aff Mon Sep 17 00:00:00 2001 From: Ruida Zeng <31152346+ruidazeng@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:37:43 -0600 Subject: [PATCH 1/5] docs: added installation of requirements --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b1efcb..08855d4 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ We provide several variants for each of the components in the unlearning pipelin ```bash conda create -n unlearning python=3.11 conda activate unlearning +pip install -r requirements.txt pip install .[flash-attn] ``` @@ -176,4 +177,4 @@ If you use OpenUnlearning in your research, please cite: --- ## 📄 License -This project is licensed under the MIT License. See the [`LICENSE`](LICENSE) file for details. \ No newline at end of file +This project is licensed under the MIT License. See the [`LICENSE`](LICENSE) file for details. From 1f7841153eaa1ff306906330fe3565e1863a3277 Mon Sep 17 00:00:00 2001 From: Ruida Zeng <31152346+ruidazeng@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:39:23 -0600 Subject: [PATCH 2/5] fix: added numpy to requirements. --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 01abf45..147f515 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ huggingface-hub==0.29.1 transformers==4.45.1 +numpy==2.2.3 hydra-core==1.3 hydra_colorlog==1.2.0 torch==2.4.1 @@ -11,4 +12,4 @@ pre-commit==4.0.1 scipy==1.14.1 tensorboard==2.18.0 scikit-learn==1.5.2 -deepspeed==0.15.4 \ No newline at end of file +deepspeed==0.15.4 From ed0e1a2c4a86f736c3ec09a99376280702b83fb7 Mon Sep 17 00:00:00 2001 From: Ruida Zeng <31152346+ruidazeng@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:39:33 -0600 Subject: [PATCH 3/5] chore: delete .DS_Store --- .DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 Date: Thu, 27 Feb 2025 22:33:13 -0500 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 08855d4..e66c4bf 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,8 @@ We provide several variants for each of the components in the unlearning pipelin ```bash conda create -n unlearning python=3.11 conda activate unlearning -pip install -r requirements.txt -pip install .[flash-attn] +pip install . +pip install --no-build-isolation flash-attn==2.6.3 ``` ### 💾 Data Setup From 21fb0c61fc8b80d7257427d30c3d84825a4eed57 Mon Sep 17 00:00:00 2001 From: Anmol Mekala <49127549+molereddy@users.noreply.github.com> Date: Thu, 27 Feb 2025 22:34:21 -0500 Subject: [PATCH 5/5] Update setup.py to remove flash-attn --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 4dcdef9..79c6dbc 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,6 @@ packages=find_packages(), install_requires=requirements, # Uses requirements.txt extras_require={ - "flash-attn": ["flash-attn==2.6.3"], # Optional installation "dev": ["pre-commit==4.0.1"], # Install using `pip install .[dev]` }, python_requires=">=3.11",