From f70de1982e670ea6bd085e9ada13a717378d8ece Mon Sep 17 00:00:00 2001 From: dggaytan Date: Wed, 5 Mar 2025 13:45:40 -0800 Subject: [PATCH 1/4] Removed requirements.txt reference Remove unnecessary step to run the sample in README file Signed-off-by: dggaytan Signed-off-by: eromomon --- .../Getting-Started-Samples/Modin_GettingStarted/README.md | 1 - .../Getting-Started-Samples/Modin_Vs_Pandas/README.md | 1 - 2 files changed, 2 deletions(-) diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md index f7e4255c0f..531920e6e3 100644 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md +++ b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md @@ -68,7 +68,6 @@ cd oneAPI-samples/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted >**Note**: Before running the following commands, make sure your Conda/Python environment with AI Tools installed is activated ``` -pip install -r requirements.txt pip install notebook ``` For Jupyter Notebook, refer to [Installing Jupyter](https://jupyter.org/install) for detailed installation instructions. diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/README.md b/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/README.md index 597328d84f..9ded1bb519 100644 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/README.md +++ b/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/README.md @@ -73,7 +73,6 @@ cd oneAPI-samples/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas >**Note**: Before running the following commands, make sure your Conda/Python environment with AI Tools installed is activated ``` -pip install -r requirements.txt pip install notebook ``` For Jupyter Notebook, refer to [Installing Jupyter](https://jupyter.org/install) for detailed installation instructions. From c04a271388e3521312e3f5df5a2df8a0a79d5b14 Mon Sep 17 00:00:00 2001 From: jafraustro Date: Tue, 11 Mar 2025 10:53:37 -0700 Subject: [PATCH 2/4] Activate modin env in sample.json Use modin environment instead of base environment to run the samples Signed-off-by: jafraustro --- .../Getting-Started-Samples/Modin_GettingStarted/README.md | 1 + .../Modin_GettingStarted/requirements.txt | 1 - .../Getting-Started-Samples/Modin_GettingStarted/sample.json | 2 +- .../Getting-Started-Samples/Modin_Vs_Pandas/sample.json | 3 +-- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md index 531920e6e3..f7e4255c0f 100644 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md +++ b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/README.md @@ -68,6 +68,7 @@ cd oneAPI-samples/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted >**Note**: Before running the following commands, make sure your Conda/Python environment with AI Tools installed is activated ``` +pip install -r requirements.txt pip install notebook ``` For Jupyter Notebook, refer to [Installing Jupyter](https://jupyter.org/install) for detailed installation instructions. diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt index 4644de9471..6ccafc3f90 100644 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt +++ b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt @@ -1,2 +1 @@ matplotlib -modin[all] diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json index 5acc558d80..7bab404b22 100644 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json +++ b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json @@ -13,7 +13,7 @@ "env": [], "id": "Intel_Modin_GS_py", "steps": [ - "source /intel/oneapi/intelpython/bin/activate", + "source /intel/oneapi/intelpython/bin/activate modin", "pip install -r requirements.txt", "pip install jupyter ipykernel", "jupyter nbconvert --ExecutePreprocessor.enabled=True --to notebook Modin_GettingStarted.ipynb" diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/sample.json b/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/sample.json index 2f6e6bd812..aa02df0f31 100644 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/sample.json +++ b/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas/sample.json @@ -13,8 +13,7 @@ "linux": [{ "id": "modin_pandas_performance", "steps": [ - "source /intel/oneapi/intelpython/bin/activate", - "pip install numpy pandas modin[all]", + "source /intel/oneapi/intelpython/bin/activate modin", "pip install jupyter ipykernel", "jupyter nbconvert --ExecutePreprocessor.enabled=True --to notebook Modin_Vs_Pandas.ipynb" ] From 27e0d0d9f9b94f26e7709d3ae6ca8e932640e28c Mon Sep 17 00:00:00 2001 From: jafraustro Date: Thu, 13 Mar 2025 19:56:41 -0700 Subject: [PATCH 3/4] Update sample.json to install matplotlib instead of requirements.txt Signed-off-by: jafraustro --- .../Getting-Started-Samples/Modin_GettingStarted/sample.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json index 7bab404b22..96849831b4 100644 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json +++ b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/sample.json @@ -14,7 +14,7 @@ "id": "Intel_Modin_GS_py", "steps": [ "source /intel/oneapi/intelpython/bin/activate modin", - "pip install -r requirements.txt", + "pip install matplotlib", "pip install jupyter ipykernel", "jupyter nbconvert --ExecutePreprocessor.enabled=True --to notebook Modin_GettingStarted.ipynb" ] From 722f2847634238c87ffc4c33f1279eafd0fa5f84 Mon Sep 17 00:00:00 2001 From: jafraustro Date: Mon, 17 Mar 2025 23:20:35 -0700 Subject: [PATCH 4/4] Add Matplotlib directly instead of using a requirements file. Signed-off-by: jafraustro --- .../IntelPyTorch_TrainingOptimizations_AMX_BF16/README.md | 3 +-- .../Modin_GettingStarted/requirements.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt diff --git a/AI-and-Analytics/Features-and-Functionality/IntelPyTorch_TrainingOptimizations_AMX_BF16/README.md b/AI-and-Analytics/Features-and-Functionality/IntelPyTorch_TrainingOptimizations_AMX_BF16/README.md index 4cdfeae19d..1f81b92cd1 100644 --- a/AI-and-Analytics/Features-and-Functionality/IntelPyTorch_TrainingOptimizations_AMX_BF16/README.md +++ b/AI-and-Analytics/Features-and-Functionality/IntelPyTorch_TrainingOptimizations_AMX_BF16/README.md @@ -66,8 +66,7 @@ cd oneAPI-samples/AI-and-Analytics/Features-and-Functionality/IntelPyTorch_Train >**Note**: Before running the following commands, make sure your Conda/Python environment with AI Tools installed is activated ``` -pip install -r requirements.txt -pip install notebook +pip install matplotlib notebook ``` For Jupyter Notebook, refer to [Installing Jupyter](https://jupyter.org/install) for detailed installation instructions. diff --git a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt b/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt deleted file mode 100644 index 6ccafc3f90..0000000000 --- a/AI-and-Analytics/Getting-Started-Samples/Modin_GettingStarted/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -matplotlib