Skip to content

Added cpuInstructionSets to sample.json for AI samples #1481

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 6 commits into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
{
"guid": "4AE0B94D-5272-4F81-9D8B-27718072B659",
"name": "PyTorch Inference Optimizations with Advanced Matrix Extensions Bfloat16 and Integer8",
"categories": ["Toolkit/oneAPI AI And Analytics/AI Features and Functionality"],
"description": "This sample illustrates how to do inference with a PyTorch model using Advanced Matrix Extensions Bfloat16 and Integer8",
"builder": ["cli"],
"languages": [{"python":{}}],
"os":["linux"],
"targetDevice": ["CPU"],
"ciTests": {
"linux": [
{
"id": "intel amx bf16 int8 inference",
"steps": [
"source activate pytorch",
"python IntelPyTorch_InferenceOptimizations_AMX_BF16_INT8.py",
"/opt/intel/oneapi/intelpython/latest/envs/pytorch/bin/python -m ipykernel install --user --name=pytorch",
"python ci_test.py"
]
}
]
},
"expertise": "Code Optimization"
}

"guid": "4AE0B94D-5272-4F81-9D8B-27718072B659",
"name": "PyTorch Inference Optimizations with Advanced Matrix Extensions Bfloat16 and Integer8",
"categories": ["Toolkit/oneAPI AI And Analytics/AI Features and Functionality"],
"description": "This sample illustrates how to do inference with a PyTorch model using Advanced Matrix Extensions Bfloat16 and Integer8",
"builder": ["cli"],
"languages": [{ "python": {} }],
"os": ["linux"],
"targetDevice": ["CPU"],
"cpuInstructionSets": ["AVX512", "AMX"],
"ciTests": {
"linux": [{
"id": "intel amx bf16 int8 inference",
"steps": [
"source activate pytorch",
"python IntelPyTorch_InferenceOptimizations_AMX_BF16_INT8.py",
"/opt/intel/oneapi/intelpython/latest/envs/pytorch/bin/python -m ipykernel install --user --name=pytorch",
"python ci_test.py"
]
}]
},
"expertise": "Code Optimization"
}
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
{
"guid": "A4D97FA0-D515-4944-9970-C6742A85257F",
"name": "PyTorch Training Optimizations with Advanced Matrix Extensions Bfloat16",
"categories": ["Toolkit/oneAPI AI And Analytics/AI Features and Functionality"],
"description": "This sample illustrates how to train a PyTorch model using Advanced Matrix Extensions Bfloat16",
"builder": ["cli"],
"languages": [{"python":{}}],
"os":["linux"],
"targetDevice": ["CPU"],
"ciTests": {
"linux": [
{
"id": "intel amx bf16 training",
"steps": [
"source activate pytorch",
"python IntelPyTorch_TrainingOptimizations_AMX_BF16.py",
"/opt/intel/oneapi/intelpython/latest/envs/pytorch/bin/python -m ipykernel install --user --name=pytorch",
"python ci_test.py"
]
}
]
},
"expertise": "Code Optimization"
}

"guid": "A4D97FA0-D515-4944-9970-C6742A85257F",
"name": "PyTorch Training Optimizations with Advanced Matrix Extensions Bfloat16",
"categories": ["Toolkit/oneAPI AI And Analytics/AI Features and Functionality"],
"description": "This sample illustrates how to train a PyTorch model using Advanced Matrix Extensions Bfloat16",
"builder": ["cli"],
"languages": [{ "python": {} }],
"os": ["linux"],
"targetDevice": ["CPU"],
"cpuInstructionSets": ["AVX512", "AMX"],
"ciTests": {
"linux": [{
"id": "intel amx bf16 training",
"steps": [
"source activate pytorch",
"python IntelPyTorch_TrainingOptimizations_AMX_BF16.py",
"/opt/intel/oneapi/intelpython/latest/envs/pytorch/bin/python -m ipykernel install --user --name=pytorch",
"python ci_test.py"
]
}]
},
"expertise": "Code Optimization"
}
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
{
"guid": "030C6A71-39DA-436E-9644-4FC25C7C5907",
"name": "TensorFlow Training Optimizations with Advanced Matrix Extensions Bfloat16",
"categories": ["Toolkit/oneAPI AI And Analytics/AI Features and Functionality"],
"description": "This sample illustrates how to train a TensorFlow model using Advanced Matrix Extensions Bfloat16",
"builder": ["cli"],
"languages": [{"python":{}}],
"os":["linux"],
"targetDevice": ["CPU"],
"ciTests": {
"linux": [
{
"id": "intel amx bf16 training",
"steps": [
"source activate tensorflow",
"pip install -r requirements.txt",
"python -m pip install py-cpuinfo",
"python Intel_TensorFlow_AMX_BF16_Training.py",
"/opt/intel/oneapi/intelpython/latest/envs/tensorflow/bin/python -m ipykernel install --user --name=tensorflow",
"python ci_test.py"
]
}
]
},
"expertise": "Code Optimization"
}

"guid": "030C6A71-39DA-436E-9644-4FC25C7C5907",
"name": "TensorFlow Training Optimizations with Advanced Matrix Extensions Bfloat16",
"categories": ["Toolkit/oneAPI AI And Analytics/AI Features and Functionality"],
"description": "This sample illustrates how to train a TensorFlow model using Advanced Matrix Extensions Bfloat16",
"builder": ["cli"],
"languages": [{ "python": {} }],
"os": ["linux"],
"targetDevice": ["CPU"],
"cpuInstructionSets": ["AVX512", "AMX"],
"ciTests": {
"linux": [{
"id": "intel amx bf16 training",
"steps": [
"source activate tensorflow",
"pip install -r requirements.txt",
"python -m pip install py-cpuinfo",
"python Intel_TensorFlow_AMX_BF16_Training.py",
"/opt/intel/oneapi/intelpython/latest/envs/tensorflow/bin/python -m ipykernel install --user --name=tensorflow",
"python ci_test.py"
]
}]
},
"expertise": "Code Optimization"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@
"categories": ["Toolkit/oneAPI AI And Analytics/AI Getting Started Samples"],
"description": "This sample code demonstrates optimizing a TensorFlow model with Intel® Advanced Matrix Extensions (Intel® AMX) using bfloat16 (Brain Floating Point) on Sapphire Rapids",
"builder": ["cli"],
"languages": [{"python":{}}],
"os":["linux"],
"languages": [{ "python": {} }],
"os": ["linux"],
"targetDevice": ["CPU"],
"cpuInstructionSets": ["AVX512", "AMX"],
"ciTests": {
"linux": [
{
"env": [],
"id": "Transformer_AMX_bfloat16_Mixed_Precision_Learning",
"steps": [
"conda activate tensorflow",
"conda install -y jupyter",
"jupyter nbconvert --execute IntelTensorFlow_Transformer_AMX_bfloat16_MixedPrecision.ipynb"
]
}
]
},
"expertise": "Getting Started"
"linux": [{
"env": [],
"id": "Transformer_AMX_bfloat16_Mixed_Precision_Learning",
"steps": [
"conda activate tensorflow",
"conda install -y jupyter",
"jupyter nbconvert --execute IntelTensorFlow_Transformer_AMX_bfloat16_MixedPrecision.ipynb"
]
}]
},
"expertise": "Getting Started"
}