-
Notifications
You must be signed in to change notification settings - Fork 722
/
Copy pathsample.json
33 lines (32 loc) · 1.1 KB
/
sample.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"guid": "91B5893E-028B-47BC-9D84-395A60CC1B33",
"name": "Intel PyTorch GPU Inference Optimization with AMP",
"categories": ["Toolkit/oneAPI AI And Analytics/Features and Functionality"],
"description": "This sample illustrates how to use AMP BFLOAT16 in PyTorch on Intel dGPU",
"builder": ["cli"],
"languages": [{"python":{}}],
"os":["linux"],
"targetDevice": ["GPU"],
"gpuRequired": ["ats-m","dg2","pvc"],
"ciTests": {
"linux": [
{
"id": "intel pytorch gpu inference optimization with amp",
"steps": [
"source /intel/oneapi/intelpython/bin/activate",
"conda activate pytorch-gpu",
"pip install uv notebook",
"uv init",
"uv python pin $(which python)",
"uv venv --system-site-packages",
"uv add -r requirements.txt",
"uv add numpy==1.26.4",
"uv add --dev ipykernel",
"uv run ipython kernel install --user --name=pytorch-gpu",
"uv run IntelPyTorch_GPU_InferenceOptimization_with_AMP.py"
]
}
]
},
"expertise": "Code Optimization"
}