forked from opendatahub-io/notebooks
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #182 from harshad16/rsync-main
sync main branch with the upstream main for feature-freeze 2.9
- Loading branch information
Showing
64 changed files
with
35,915 additions
and
1,474 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from sklearnex import patch_sklearn | ||
from sklearnex import unpatch_sklearn | ||
patch_sklearn() | ||
print("To disable Intel(R) Extension for Scikit-learn*, you can run: unpatch_sklearn()") |
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,33 @@ | ||
ARG BASE_IMAGE | ||
FROM ${BASE_IMAGE} | ||
|
||
LABEL name="odh-notebook-intel-runtime-ml-ubi9-python-3.9" \ | ||
summary="Runtime Intel® optimized ML notebook image for ODH notebooks" \ | ||
description="Runtime Intel® optimized ML notebook image with base Python 3.9 builder image based on UBI9 for ODH notebooks" \ | ||
io.k8s.display-name="Runtime Intel® optimized ML notebook image for ODH notebooks" \ | ||
io.k8s.description="Runtime Intel® optimized ML notebook image with base Python 3.9 builder image based on UBI9 for ODH notebooks" \ | ||
authoritative-source-url="https://github.com/opendatahub-io/notebooks" \ | ||
io.openshift.build.commit.ref="main" \ | ||
io.openshift.build.source-location="https://github.com/opendatahub-io/notebooks/tree/main/intel/runtimes/ml/ubi9-python-3.9" \ | ||
io.openshift.build.image="quay.io/opendatahub/workbench-images:intel-runtime-ml-ubi9-python-3.9" | ||
|
||
WORKDIR /opt/app-root/bin | ||
|
||
# Install Python packages from Pipfile.lock | ||
COPY Pipfile.lock Pipfile.lock | ||
|
||
# Copy Elyra dependencies for air-gapped enviroment | ||
COPY utils utils | ||
|
||
COPY --chown=1001:0 .patch_sklearn.py /opt/app-root/bin/.patch_sklearn.py | ||
ENV PYTHONSTARTUP="/opt/app-root/bin/.patch_sklearn.py" | ||
|
||
#Virtualenv creates a symlink of lib to lib64. That causes issues with importing ITEX since both locations will have ITEX library and it will conflict. | ||
RUN echo "Installing softwares and packages" && \ | ||
micropipenv install && \ | ||
rm -f ./Pipfile.lock && \ | ||
# Fix permissions to support pip in Openshift environments \ | ||
chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \ | ||
fix-permissions /opt/app-root -P | ||
|
||
WORKDIR /opt/app-root/src |
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,53 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
# Classical-ML | ||
daal4py = {version="*"} | ||
"modin[ray]" = {version="==0.24.1"} | ||
scikit-learn-intelex = {version="==2024.0.1"} | ||
threadpoolctl = {version="*"} | ||
xgboost = {version="==1.7.3"} | ||
|
||
# Datascience and useful extensions | ||
cloud-data-connector = {version="*"} | ||
kafka-python = "~=2.0.2" | ||
matplotlib = "~=3.6.3" | ||
numpy = "~=1.24.3" | ||
pandas = "~=2.1.4" | ||
plotly = "~=5.16.1" | ||
scipy = "~=1.11.2" | ||
scikit-learn = "~=1.3.1" | ||
skl2onnx = "~=1.15.0" | ||
codeflare-sdk = "~=0.13.0" | ||
|
||
# DB connectors | ||
pymongo = "~=4.5.0" | ||
psycopg = "~=3.1.10" | ||
pyodbc = "~=4.0.39" | ||
mysql-connector-python = "~=8.0.33" | ||
|
||
# This is a comprehensive list of python dependencies that Elyra requires to execute Jupyter notebooks. | ||
ipykernel = "==6.13.0" | ||
ipython = "==8.10.0" | ||
ipython-genutils = "==0.2.0" | ||
jinja2 = "==3.0.3" | ||
jupyter-client = "==7.3.1" | ||
jupyter-core = "==4.11.2" | ||
MarkupSafe = "==2.1.1" | ||
minio = "==7.1.15" | ||
nbclient = "==0.6.3" | ||
nbconvert = "==6.5.1" | ||
nbformat = "==5.4.0" | ||
papermill = "==2.3.4" | ||
pyzmq = "==24.0.1" | ||
prompt-toolkit = "==3.0.30" | ||
requests = "==2.31.0" | ||
tornado = "==6.3.3" | ||
traitlets = "==5.1.1" | ||
urllib3 = "==1.26.9" | ||
|
||
[requires] | ||
python_version = "3.9" |
Oops, something went wrong.