-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upstream changes for v0.3.0 release (#29)
- Detailed changes mentioned in CHANGELOG.md file
- Loading branch information
1 parent
5c1b121
commit 3d29acf
Showing
126 changed files
with
5,459 additions
and
1,033 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Python Exclusions | ||
.venv | ||
**__pycache__** | ||
|
||
# Helm Exclusions | ||
**/charts/*.tgz | ||
|
||
# project temp files | ||
deploy/*.log | ||
deploy/*.txt | ||
|
||
# Docker Compose exclusions | ||
volumes/ | ||
uploaded_files/ |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,14 +1,22 @@ | ||
ARG BASE_IMAGE_URL=nvcr.io/nvidia/pytorch | ||
ARG BASE_IMAGE_TAG=23.08-py3 | ||
|
||
|
||
FROM ${BASE_IMAGE_URL}:${BASE_IMAGE_TAG} | ||
|
||
ARG EXAMPLE_NAME | ||
COPY RetrievalAugmentedGeneration/__init__.py /opt/RetrievalAugmentedGeneration/ | ||
COPY RetrievalAugmentedGeneration/common /opt/RetrievalAugmentedGeneration/common | ||
COPY RetrievalAugmentedGeneration/examples /opt/RetrievalAugmentedGeneration/examples | ||
COPY RetrievalAugmentedGeneration/examples/${EXAMPLE_NAME} /opt/RetrievalAugmentedGeneration/example | ||
COPY integrations /opt/integrations | ||
COPY tools /opt/tools | ||
RUN apt-get update && apt-get install -y libpq-dev | ||
RUN --mount=type=bind,source=RetrievalAugmentedGeneration/requirements.txt,target=/opt/requirements.txt \ | ||
python3 -m pip install --no-cache-dir -r /opt/requirements.txt | ||
|
||
RUN if [ -f "/opt/RetrievalAugmentedGeneration/example/requirements.txt" ] ; then \ | ||
python3 -m pip install --no-cache-dir -r /opt/RetrievalAugmentedGeneration/example/requirements.txt ; else \ | ||
echo "Skipping example dependency installation, since requirements.txt was not found" ; \ | ||
fi | ||
|
||
WORKDIR /opt | ||
ENTRYPOINT ["uvicorn", "RetrievalAugmentedGeneration.common.server:app"] |
Oops, something went wrong.