File tree Expand file tree Collapse file tree 13 files changed +33
-72
lines changed
End-to-end-Workloads/Census
Features-and-Functionality
IntelPyTorch_InferenceOptimizations_AMX_BF16_INT8
IntelPyTorch_TrainingOptimizations_AMX_BF16
IntelTensorFlow_AMX_BF16_Inference
IntelTensorFlow_AMX_BF16_Training
IntelTensorFlow_Transformer_AMX_bfloat16_MixedPrecision
INC-Quantization-Sample-for-PyTorch
INC-Sample-for-Tensorflow Expand file tree Collapse file tree 13 files changed +33
-72
lines changed Original file line number Diff line number Diff line change 14
14
"env" : [],
15
15
"id" : " Intel_Modin_E2E_py" ,
16
16
"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" ,
21
18
" 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"
25
22
]
26
23
}
27
24
]
Original file line number Diff line number Diff line change 12
12
"linux" : [{
13
13
"id" : " intel amx bf16 int8 inference" ,
14
14
"steps" : [
15
- " source /root/ intel/oneapi/intelpython/bin/activate" ,
15
+ " source /intel/oneapi/intelpython/bin/activate" ,
16
16
" conda activate pytorch" ,
17
17
" python -m pip install -r requirements.txt" ,
18
- " python -m ipykernel install --user --name=user_pytorch " ,
18
+ " python -m ipykernel install --user --name=pytorch " ,
19
19
" python pytorch_inference_vnni.py" ,
20
20
" 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"
22
22
]
23
23
}]
24
24
},
Original file line number Diff line number Diff line change 1
1
matplotlib
2
2
py-cpuinfo
3
- notebook
4
- ipykernel
3
+ transformers
Original file line number Diff line number Diff line change 13
13
{
14
14
"id" : " intel amx bf16 training" ,
15
15
"steps" : [
16
- " source /root/ intel/oneapi/intelpython/bin/activate" ,
16
+ " source /intel/oneapi/intelpython/bin/activate" ,
17
17
" conda activate pytorch" ,
18
18
" python -m pip install -r requirements.txt" ,
19
- " python -m ipykernel install --user --name=user_pytorch " ,
19
+ " python -m ipykernel install --user --name=pytorch " ,
20
20
" python pytorch_training_avx512_bf16.py" ,
21
21
" 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"
23
23
]
24
24
}
25
25
]
Original file line number Diff line number Diff line change 13
13
{
14
14
"id" : " intel amx bf16 inference" ,
15
15
"steps" : [
16
- " source /root/ intel/oneapi/intelpython/bin/activate" ,
16
+ " source /intel/oneapi/intelpython/bin/activate" ,
17
17
" conda activate tensorflow" ,
18
18
" pip install -r requirements.txt" ,
19
19
" pip install ipykernel jupyter" ,
20
20
" python Intel_TensorFlow_AMX_BF16_Inference.py" ,
21
21
" 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"
23
23
]
24
24
}
25
25
]
Original file line number Diff line number Diff line change 12
12
"linux" : [{
13
13
"id" : " intel amx bf16 training" ,
14
14
"steps" : [
15
- " source /root/ intel/oneapi/intelpython/bin/activate" ,
15
+ " source /intel/oneapi/intelpython/bin/activate" ,
16
16
" conda activate tensorflow" ,
17
17
" pip install -r requirements.txt" ,
18
+ " pip install jupyter ipykernel" ,
18
19
" python Intel_TensorFlow_AMX_BF16_Training.py" ,
19
20
" 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"
21
22
]
22
23
}]
23
24
},
Original file line number Diff line number Diff line change 14
14
"env" : [],
15
15
"id" : " Transformer_AMX_bfloat16_Mixed_Precision_Learning" ,
16
16
"steps" : [
17
- " source /root/ intel/oneapi/intelpython/bin/activate" ,
17
+ " source /intel/oneapi/intelpython/bin/activate" ,
18
18
" 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"
21
22
]
22
23
}
23
24
]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
"ciTests" : {
11
11
"linux" : [
12
12
{
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 " ,
15
15
" conda activate pytorch" ,
16
+ " pip install -r requirements.txt" ,
16
17
" pip install ipykernel jupyter" ,
17
18
" python -m ipykernel install --user --name=pytorch"
18
19
],
19
20
"id" : " quantize with inc" ,
20
21
"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"
22
23
]
23
24
}
24
25
]
Original file line number Diff line number Diff line change 11
11
"ciTests" : {
12
12
"linux" : [
13
13
{
14
- "env" : [" source /opt/ intel/oneapi/setvars.sh --force " ,
14
+ "env" : [" source /intel/oneapi/intelpython/bin/activate " ,
15
15
" conda activate tensorflow" ,
16
16
" conda install -n tensorflow -c conda-forge python-flatbuffers -y" ,
17
17
" conda install -n tensorflow -c https://software.repos.intel.com/python/conda/ -c conda-forge neural-compressor -y" ,
You can’t perform that action at this time.
0 commit comments