Skip to content

Commit 98613d8

Browse files
authored
updated sample.json (#1981)
1 parent db55c96 commit 98613d8

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

  • AI-and-Analytics/Getting-Started-Samples/INC-Quantization-Sample-for-PyTorch

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,18 @@
1010
"ciTests": {
1111
"linux": [
1212
{
13+
"env": [
14+
"source /opt/intel/oneapi/setvars.sh --force",
15+
"conda env remove -n user_pytorch",
16+
"conda create -n user_pytorch --clone pytorch -y",
17+
"conda activate user_pytorch",
18+
"conda install -n user_pytorch jinja2=3.0.3 nbconvert=6.4.4 -y",
19+
"pip install ipykernel",
20+
"python -m ipykernel install --user --name=user_pytorch"
21+
],
1322
"id": "quantize with inc",
1423
"steps": [
15-
"/opt/intel/oneapi/intelpython/latest/envs/pytorch/bin/python -m ipykernel install --user --name=pytorch",
16-
"python ci_test.py"
24+
"jupyter nbconvert --ExecutePreprocessor.kernel_name=user_pytorch --to notebook quantize_with_inc.ipynb"
1725
]
1826
}
1927
]

0 commit comments

Comments
 (0)