File tree Expand file tree Collapse file tree
Features-and-Functionality
INC_QuantizationAwareTraining_TextClassification
IntelPyTorch_TrainingOptimizations_AMX_BF16
IntelPython_daal4py_DistributedLinearRegression
INC-Quantization-Sample-for-PyTorch
IntelPython_daal4py_GettingStarted Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 "env" : [
1515 " source /intel/oneapi/intelpython/bin/activate" ,
1616 " conda activate pytorch" ,
17- " pip install -r requirements.txt"
17+ " pip install uv" ,
18+ " uv init" ,
19+ " uv python pin $(which python)" ,
20+ " uv venv --system-site-packages" ,
21+ " uv add -r requirements.txt"
1822 ],
1923 "id" : " inc_text_classification_quantization_py" ,
2024 "steps" : [
21- " python INC_QuantizationAwareTraining_TextClassification.py"
25+ " uv run python INC_QuantizationAwareTraining_TextClassification.py"
2226 ]
2327 }
2428 ]
Original file line number Diff line number Diff line change 1515 "steps" : [
1616 " source /intel/oneapi/intelpython/bin/activate" ,
1717 " conda activate pytorch" ,
18- " python -m pip install -r requirements.txt" ,
19- " python -m ipykernel install --user --name=pytorch" ,
18+ " pip install uv" ,
19+ " uv init" ,
20+ " uv python pin $(which python)" ,
21+ " uv venv --system-site-packages" ,
22+ " uv add -r requirements.txt" ,
23+ " uv add --dev ipykernel" ,
24+ " uv run ipython kernel install --user --name pytorch" ,
2025 " python pytorch_training_avx512_bf16.py" ,
2126 " python pytorch_training_amx_bf16.py" ,
2227 " jupyter nbconvert --ExecutePreprocessor.enabled=True --ExecutePreprocessor.kernel_name=pytorch --to notebook IntelPyTorch_TrainingOptimizations_AMX_BF16.ipynb"
Original file line number Diff line number Diff line change 1414 "linux" : [{
1515 "env" : [
1616 " source /intel/oneapi/intelpython/bin/activate" ,
17- " pip install -r requirements.txt"
17+ " conda activate base" ,
18+ " pip install uv" ,
19+ " uv init" ,
20+ " uv python pin $(which python)" ,
21+ " uv venv --system-site-packages" ,
22+ " uv add -r requirements.txt"
1823 ],
1924 "id" : " idp_d4p_Linear_Regression_Dist" ,
2025 "steps" : [
21- " python download_data.py" ,
22- " mpirun -n 4 python ./IntelPython_daal4py_Distributed_LinearRegression.py"
26+ " uv run python download_data.py" ,
27+ " uv run mpirun -n 4 python ./IntelPython_daal4py_Distributed_LinearRegression.py"
2328 ]
2429 }]
2530 },
Original file line number Diff line number Diff line change 1313 "env" : [" apt-get update && apt-get install -y libgl1 libgl1-mesa-glx libglib2.0-0 libsm6 libxrender1 libxext6" ,
1414 " source /intel/oneapi/intelpython/bin/activate" ,
1515 " conda activate pytorch" ,
16- " pip install -r requirements.txt" ,
17- " pip install ipykernel jupyter" ,
18- " python -m ipykernel install --user --name=pytorch"
16+ " pip install uv" ,
17+ " uv init" ,
18+ " uv add --dev ipykernel" ,
19+ " uv python pin $(which python)" ,
20+ " uv venv --system-site-packages" ,
21+ " uv add -r requirements.txt" ,
22+ " uv run ipython kernel install --user --name pytorch"
1923 ],
2024 "id" : " quantize with inc" ,
2125 "steps" : [
Original file line number Diff line number Diff line change 1515 "env" : [
1616 " source /intel/oneapi/intelpython/bin/activate" ,
1717 " conda activate base" ,
18- " pip install -r requirements.txt"
18+ " pip install uv" ,
19+ " uv init" ,
20+ " uv python pin $(which python)" ,
21+ " uv venv --system-site-packages" ,
22+ " uv add -r requirements.txt"
23+ " uv add numpy==1.26.4"
1924 ],
2025 "id" : " idp_d4p_GS_py" ,
2126 "steps" : [
22- " python IntelPython_daal4py_GettingStarted.py"
27+ " uv run python IntelPython_daal4py_GettingStarted.py"
2328 ]
2429 }]
2530 },
You can’t perform that action at this time.
0 commit comments