Skip to content

Commit e03f296

Browse files
Ankur-singhjimmytweialexsin368louie-tsai
authored
Failed samples for AI Tools 2024.2 (#2390)
* Update README.md * Update README.md * Update README.md * Update lu_solve_omp_offload_optimized.F90 * Update openmp_sample.f90 (#2371) * Update openmp_sample.f90 * Update README.md * Update inc_quantize_model.py * Update inc_sample_tensorflow.ipynb * Update requirements.txt * Update sample.json and remove unused code * forgot this requirements.txt earlier * replace conda install with pip (#2389) * 2024.2 install changes for conda forge (#2388) * Update README.md * Update sample.json * Update sample.json --------- Co-authored-by: Jimmy Wei <[email protected]> Co-authored-by: alexsin368 <[email protected]> Co-authored-by: Louie Tsai <[email protected]>
1 parent ee4b4f6 commit e03f296

File tree

13 files changed

+33
-72
lines changed

13 files changed

+33
-72
lines changed

AI-and-Analytics/End-to-end-Workloads/Census/sample.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
"env": [],
1515
"id": "Intel_Modin_E2E_py",
1616
"steps": [
17-
"set -e # Terminate the script on first error",
18-
"source /root/intel/oneapi/intelpython/bin/activate",
19-
"conda create -n modin-hdk python=3.9 -y",
20-
"conda activate modin-hdk",
17+
"source /intel/oneapi/intelpython/bin/activate",
2118
"conda install modin-hdk -c conda-forge -y",
22-
"pip install scikit-learn scikit-learn-intelex matplotlib jupyter ipykernel",
23-
"python -m ipykernel install --name modin-hdk",
24-
"jupyter nbconvert --to notebook --execute census_modin.ipynb"
19+
"pip install scikit-learn scikit-learn-intelex matplotlib",
20+
"pip install jupyter",
21+
"jupyter nbconvert --to notebook census_modin.ipynb"
2522
]
2623
}
2724
]

AI-and-Analytics/Features-and-Functionality/IntelPyTorch_InferenceOptimizations_AMX_BF16_INT8/sample.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"linux": [{
1313
"id": "intel amx bf16 int8 inference",
1414
"steps": [
15-
"source /root/intel/oneapi/intelpython/bin/activate",
15+
"source /intel/oneapi/intelpython/bin/activate",
1616
"conda activate pytorch",
1717
"python -m pip install -r requirements.txt",
18-
"python -m ipykernel install --user --name=user_pytorch",
18+
"python -m ipykernel install --user --name=pytorch",
1919
"python pytorch_inference_vnni.py",
2020
"python pytorch_inference_amx.py",
21-
"jupyter nbconvert --ExecutePreprocessor.kernel_name=pytorch --to notebook IntelPyTorch_InferenceOptimizations_AMX_BF16_INT8.ipynb"
21+
"jupyter nbconvert --ExecutePreprocessor.enabled=True --ExecutePreprocessor.kernel_name=pytorch --to notebook IntelPyTorch_InferenceOptimizations_AMX_BF16_INT8.ipynb"
2222
]
2323
}]
2424
},
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
matplotlib
22
py-cpuinfo
3-
notebook
4-
ipykernel
3+
transformers

AI-and-Analytics/Features-and-Functionality/IntelPyTorch_TrainingOptimizations_AMX_BF16/sample.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
{
1414
"id": "intel amx bf16 training",
1515
"steps": [
16-
"source /root/intel/oneapi/intelpython/bin/activate",
16+
"source /intel/oneapi/intelpython/bin/activate",
1717
"conda activate pytorch",
1818
"python -m pip install -r requirements.txt",
19-
"python -m ipykernel install --user --name=user_pytorch",
19+
"python -m ipykernel install --user --name=pytorch",
2020
"python pytorch_training_avx512_bf16.py",
2121
"python pytorch_training_amx_bf16.py",
22-
"jupyter nbconvert --ExecutePreprocessor.kernel_name=pytorch --to notebook IntelPyTorch_TrainingOptimizations_AMX_BF16.ipynb"
22+
"jupyter nbconvert --ExecutePreprocessor.enabled=True --ExecutePreprocessor.kernel_name=pytorch --to notebook IntelPyTorch_TrainingOptimizations_AMX_BF16.ipynb"
2323
]
2424
}
2525
]

AI-and-Analytics/Features-and-Functionality/IntelTensorFlow_AMX_BF16_Inference/sample.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
{
1414
"id": "intel amx bf16 inference",
1515
"steps": [
16-
"source /root/intel/oneapi/intelpython/bin/activate",
16+
"source /intel/oneapi/intelpython/bin/activate",
1717
"conda activate tensorflow",
1818
"pip install -r requirements.txt",
1919
"pip install ipykernel jupyter",
2020
"python Intel_TensorFlow_AMX_BF16_Inference.py",
2121
"python -m ipykernel install --user --name=tensorflow",
22-
"jupyter nbconvert --ExecutePreprocessor.kernel_name=pytorch --to notebook IntelTensorFlow_AMX_BF16_Inference.ipynb"
22+
"jupyter nbconvert --ExecutePreprocessor.enabled=True --ExecutePreprocessor.kernel_name=tensorflow --to notebook IntelTensorFlow_AMX_BF16_Inference.ipynb"
2323
]
2424
}
2525
]

AI-and-Analytics/Features-and-Functionality/IntelTensorFlow_AMX_BF16_Training/sample.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
"linux": [{
1313
"id": "intel amx bf16 training",
1414
"steps": [
15-
"source /root/intel/oneapi/intelpython/bin/activate",
15+
"source /intel/oneapi/intelpython/bin/activate",
1616
"conda activate tensorflow",
1717
"pip install -r requirements.txt",
18+
"pip install jupyter ipykernel",
1819
"python Intel_TensorFlow_AMX_BF16_Training.py",
1920
"python -m ipykernel install --user --name=tensorflow",
20-
"jupyter nbconvert --ExecutePreprocessor.kernel_name=pytorch --to notebook IntelTensorFlow_AMX_BF16_Training.ipynb"
21+
"jupyter nbconvert --ExecutePreprocessor.enabled=True --ExecutePreprocessor.kernel_name=tensorflow --to notebook IntelTensorFlow_AMX_BF16_Training.ipynb"
2122
]
2223
}]
2324
},

AI-and-Analytics/Features-and-Functionality/IntelTensorFlow_Transformer_AMX_bfloat16_MixedPrecision/sample.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
"env": [],
1515
"id": "Transformer_AMX_bfloat16_Mixed_Precision_Learning",
1616
"steps": [
17-
"source /root/intel/oneapi/intelpython/bin/activate",
17+
"source /intel/oneapi/intelpython/bin/activate",
1818
"conda activate tensorflow",
19-
"conda install -c conda-forge -y jupyter",
20-
"jupyter nbconvert --execute --to notebook IntelTensorFlow_Transformer_AMX_bfloat16_MixedPrecision.ipynb"
19+
"pip install jupyter ipykernel",
20+
"python -m ipykernel install --user --name=tensorflow",
21+
"jupyter nbconvert --ExecutePreprocessor.enabled=True --ExecutePreprocessor.kernel_name=tensorflow --to notebook IntelTensorFlow_Transformer_AMX_bfloat16_MixedPrecision.ipynb"
2122
]
2223
}
2324
]

AI-and-Analytics/Getting-Started-Samples/INC-Quantization-Sample-for-PyTorch/ci_test.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

AI-and-Analytics/Getting-Started-Samples/INC-Quantization-Sample-for-PyTorch/sample.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
"ciTests": {
1111
"linux": [
1212
{
13-
"env": [
14-
"source /opt/intel/oneapi/setvars.sh --force",
13+
"env": ["apt-get update && apt-get install -y libgl1 libgl1-mesa-glx libglib2.0-0 libsm6 libxrender1 libxext6",
14+
"source /intel/oneapi/intelpython/bin/activate",
1515
"conda activate pytorch",
16+
"pip install -r requirements.txt",
1617
"pip install ipykernel jupyter",
1718
"python -m ipykernel install --user --name=pytorch"
1819
],
1920
"id": "quantize with inc",
2021
"steps": [
21-
"jupyter nbconvert --ExecutePreprocessor.kernel_name=pytorch --to notebook quantize_with_inc.ipynb"
22+
"jupyter nbconvert --ExecutePreprocessor.enabled=True --ExecutePreprocessor.kernel_name=pytorch --to notebook quantize_with_inc.ipynb"
2223
]
2324
}
2425
]

AI-and-Analytics/Getting-Started-Samples/INC-Sample-for-Tensorflow/sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"ciTests": {
1212
"linux": [
1313
{
14-
"env": ["source /opt/intel/oneapi/setvars.sh --force",
14+
"env": ["source /intel/oneapi/intelpython/bin/activate",
1515
"conda activate tensorflow",
1616
"conda install -n tensorflow -c conda-forge python-flatbuffers -y",
1717
"conda install -n tensorflow -c https://software.repos.intel.com/python/conda/ -c conda-forge neural-compressor -y",

0 commit comments

Comments
 (0)