-
Notifications
You must be signed in to change notification settings - Fork 330
MLOps for GenAIExamples #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
0f16597
update containers
eef8d49
merge readme updates
f1cb30c
add no caching to pip
669fcb1
fix crypto vuln
97bc866
remove ssh keys
035b63f
Update README.md
tylertitsworth 39348cb
Update requirements.txt
tylertitsworth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,36 +1,23 @@ | ||
| FROM langchain/langchain | ||
|
|
||
| ARG http_proxy | ||
| ARG https_proxy | ||
| ENV http_proxy=$http_proxy | ||
| ENV https_proxy=$https_proxy | ||
|
|
||
| RUN apt-get update && \ | ||
| apt-get upgrade -y && \ | ||
| apt-get install -y \ | ||
| libgl1-mesa-glx \ | ||
| libjemalloc-dev | ||
|
|
||
| RUN pip install --upgrade pip \ | ||
| sentence-transformers \ | ||
| redis \ | ||
| unstructured \ | ||
| unstructured[all-docs] \ | ||
| langchain-cli \ | ||
| pydantic==1.10.13 \ | ||
| langchain==0.1.12 \ | ||
| poetry \ | ||
| pymupdf \ | ||
| easyocr \ | ||
| langchain_benchmarks \ | ||
| pyarrow \ | ||
| jupyter \ | ||
| intel-extension-for-pytorch \ | ||
| intel-openmp | ||
|
|
||
| ENV PYTHONPATH=/ws:/qna-app/app | ||
|
|
||
| COPY qna-app /qna-app | ||
| WORKDIR /qna-app | ||
| FROM langchain/langchain:latest | ||
|
|
||
| RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \ | ||
| libgl1-mesa-glx \ | ||
| libjemalloc-dev | ||
|
|
||
| RUN useradd -m -s /bin/bash user && \ | ||
| mkdir -p /home/user && \ | ||
| chown -R user /home/user/ | ||
|
|
||
| USER user | ||
|
|
||
| COPY requirements.txt /tmp/requirements.txt | ||
|
|
||
| RUN pip install --no-cache-dir --upgrade pip && \ | ||
| pip install --no-cache-dir -r /tmp/requirements.txt | ||
|
|
||
| ENV PYTHONPATH=/home/user:/home/user/qna-app/app | ||
|
|
||
| WORKDIR /home/user/qna-app | ||
| COPY qna-app /home/user/qna-app | ||
|
|
||
| ENTRYPOINT ["/usr/bin/sleep", "infinity"] |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,16 @@ | ||
| cryptography==42.0.4 | ||
| easyocr | ||
| intel-extension-for-pytorch | ||
| intel-openmp | ||
| jupyter | ||
| langchain_benchmarks | ||
| langchain-cli | ||
| langchain==0.1.12 | ||
| poetry | ||
| pyarrow | ||
| pydantic==1.10.13 | ||
| pymupdf | ||
| redis | ||
| sentence-transformers | ||
| unstructured | ||
| unstructured[all-docs] |
This file contains hidden or 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 hidden or 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 hidden or 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,5 @@ | ||
| huggingface_hub | ||
| langchain-cli | ||
| langchain==0.1.11 | ||
| pydantic==1.10.13 | ||
| shortuuid |
This file contains hidden or 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 hidden or 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,35 +1,21 @@ | ||
| FROM langchain/langchain | ||
| FROM langchain/langchain:latest | ||
|
|
||
| ARG http_proxy | ||
| ARG https_proxy | ||
| ENV http_proxy=$http_proxy | ||
| ENV https_proxy=$https_proxy | ||
| RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \ | ||
| libgl1-mesa-glx \ | ||
| libjemalloc-dev | ||
|
|
||
| RUN apt-get update && \ | ||
| apt-get upgrade -y && \ | ||
| apt-get install -y \ | ||
| libgl1-mesa-glx \ | ||
| libjemalloc-dev | ||
| RUN useradd -m -s /bin/bash user && \ | ||
| mkdir -p /home/user && \ | ||
| chown -R user /home/user/ | ||
|
|
||
| RUN pip install --upgrade pip \ | ||
| sentence-transformers \ | ||
| langchain-cli \ | ||
| pydantic==1.10.13 \ | ||
| langchain==0.1.12 \ | ||
| poetry \ | ||
| langchain_benchmarks \ | ||
| pyarrow \ | ||
| jupyter \ | ||
| docx2txt \ | ||
| pypdf \ | ||
| beautifulsoup4 \ | ||
| python-multipart \ | ||
| intel-extension-for-pytorch \ | ||
| intel-openmp | ||
| USER user | ||
|
|
||
| ENV PYTHONPATH=/ws:/summarize-app/app | ||
| COPY requirements.txt /tmp/requirements.txt | ||
|
|
||
| COPY summarize-app /summarize-app | ||
| WORKDIR /summarize-app | ||
| RUN pip install --no-cache-dir --upgrade pip && \ | ||
| pip install --no-cache-dir -r /tmp/requirements.txt | ||
|
|
||
| CMD ["/bin/bash"] | ||
| ENV PYTHONPATH=/home/user:/home/user/summarize-app/app | ||
|
|
||
| WORKDIR /home/user/summarize-app | ||
| COPY summarize-app /home/user/summarize-app |
This file contains hidden or 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 @@ | ||
| beautifulsoup4 | ||
| docx2txt | ||
| intel-extension-for-pytorch | ||
| intel-openmp | ||
| jupyter | ||
| langchain_benchmarks | ||
| langchain-cli | ||
| langchain==0.1.12 | ||
| poetry | ||
| pyarrow | ||
| pydantic==1.10.13 | ||
| pypdf | ||
| python-multipart | ||
| sentence-transformers |
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
| eager | ||
| fastapi | ||
| optimum[habana] | ||
| uvicorn |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.