Skip to content

Commit

Permalink
Update Readme instruction to install cython (#223)
Browse files Browse the repository at this point in the history
* add build-system, remove cython

Signed-off-by: Praateek Mahajan <[email protected]>

* remove commented cython

Signed-off-by: Praateek Mahajan <[email protected]>

* remove pyproject.toml changes, add readme instructions

Signed-off-by: Praateek Mahajan <[email protected]>

* Add build system

Signed-off-by: Praateek Mahajan <[email protected]>

---------

Signed-off-by: Praateek Mahajan <[email protected]>
  • Loading branch information
praateekmahajan authored Sep 4, 2024
1 parent 38f32c7 commit ad13c61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,14 @@ You can install NeMo-Curator from PyPi, from source or get it through the NeMo F
To install the CPU-only modules:

```bash
pip install cython
pip install nemo-curator
```

To install the CPU and CUDA-accelerated modules:

```bash
pip install cython
pip install --extra-index-url https://pypi.nvidia.com nemo-curator[cuda12x]
```

Expand All @@ -112,12 +114,14 @@ pip install --extra-index-url https://pypi.nvidia.com nemo-curator[cuda12x]
To install the CPU-only modules:

```bash
pip install cython
pip install .
```

To install the CPU and CUDA-accelerated modules:

```bash
pip install cython
pip install --extra-index-url https://pypi.nvidia.com ".[cuda12x]"
```

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"presidio-anonymizer==2.2.351",
"usaddress==0.5.10",
"nemo_toolkit[nlp]>=1.23.0",
"Cython",
"crossfit @ git+https://github.com/rapidsai/crossfit.git@0cc2993",
# Numpy 2.0 breaks with spacy https://github.com/explosion/spaCy/issues/13528
# TODO: Remove when issue is fixed
Expand Down

0 comments on commit ad13c61

Please sign in to comment.