-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include requirements files in the morpheus packages (#1957)
pip dependencies are included as a part of the package - morpheus/requirements_morpheus_core.txt morpheus_dfp/requirements_morpheus_dfp.txt morpheus_llm/requirements_morpheus_llm.txt And can be installed as needed. For example - ``` import importlib.resources import subprocess requirements_file = importlib.resources.path("morpheus_llm", "requirements_morpheus_llm.txt") subprocess.call(f"pip install -r {requirements_file}".split()) ``` Authors: - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: #1957
- Loading branch information
1 parent
5a2d71f
commit e648a5b
Showing
13 changed files
with
73 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include morpheus/_version.py | ||
include morpheus/requirements_morpheus_core.txt | ||
recursive-include morpheus/data * | ||
recursive-include morpheus *.cpython*.so py.typed *.pyi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This file is generated by `rapids-dependency-file-generator`. | ||
# To make changes, edit ../../../dependencies.yaml and run `rapids-dependency-file-generator`. | ||
--extra-index-url https://download.pytorch.org/whl/cu124 | ||
torch==2.4.0+cu124 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include morpheus_dfp/_version.py | ||
include morpheus_dfp/requirements_morpheus_dfp.txt | ||
recursive-include morpheus_dfp py.typed |
4 changes: 4 additions & 0 deletions
4
python/morpheus_dfp/morpheus_dfp/requirements_morpheus_dfp.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This file is generated by `rapids-dependency-file-generator`. | ||
# To make changes, edit ../../../dependencies.yaml and run `rapids-dependency-file-generator`. | ||
--extra-index-url https://download.pytorch.org/whl/cu124 | ||
torch==2.4.0+cu124 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include morpheus_llm/_version.py | ||
include morpheus_llm/requirements_morpheus_llm.txt | ||
recursive-include morpheus_llm *.cpython*.so py.typed *.pyi |
11 changes: 11 additions & 0 deletions
11
python/morpheus_llm/morpheus_llm/requirements_morpheus_llm.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file is generated by `rapids-dependency-file-generator`. | ||
# To make changes, edit ../../../dependencies.yaml and run `rapids-dependency-file-generator`. | ||
--extra-index-url https://download.pytorch.org/whl/cu124 | ||
faiss-cpu | ||
google-search-results==2.4 | ||
langchain-nvidia-ai-endpoints==0.0.11 | ||
langchain==0.1.16 | ||
milvus==2.3.5 | ||
nemollm==0.3.5 | ||
pymilvus==2.3.6 | ||
torch==2.4.0+cu124 |