Use this tag to ask questions about the Intel-optimizations included in the PyTorch framework. It includes deep learning operators in the PyTorch and Caffe2 backends using Intel MKL-DNN. Common model optimization techniques such as constant folding and operator fusion are also supported.
Questions tagged [intel-pytorch]
12 questions
3
votes
4 answers
How to enable Intel Extension for Pytorch(IPEX) in my python code?
I would like to use Intel Extension for Pytorch in my code to increase overall performance. Referred this GitHub(https://github.com/intel/intel-extension-for-pytorch) for installation.
Currently, I am trying out a hugging face summarization PyTorch…

Janani Chandran
- 31
- 1
- 5
2
votes
1 answer
Test Intel Extension for Pytorch(IPEX) in multiple-choice from huggingface / transformers
I am trying out one huggingface sample with SWAG dataset
https://github.com/huggingface/transformers/tree/master/examples/pytorch/multiple-choice
I would like to use Intel Extension for Pytorch in my code to increase the performance.
Here I am using…

RahilaRahi
- 57
- 4
1
vote
2 answers
When I was trying to run IPEX on DevCloud it is showing "Illegal instruction"
I was trying image classification using IPEX on DevCloud but it is showing "Illegal instruction" for me.
qsub -I -l nodes=1:gpu:ppn=2 -d .
python3 inf.py

Raviranjan
- 13
- 3
1
vote
1 answer
Performance with IPEX
I tried linear regression & gradient descent in PyTorch. (https://www.analyticsvidhya.com/blog/2021/08/linear-regression-and-gradient-descent-in-pytorch/)
I've imported Ipex with the following command:
import intel_pytorch_extension as ipex
How can…
user16867861
1
vote
1 answer
Getting error while building PyTorch from source on Linux
I have a problem with building PyTorch from source. I use Anaconda Python 3.6. I installed all the dependencies using conda and issued "python setup.py install" command to build it. It builds all files successfully but then it fails" at line 286 of…

Sarah Jane
- 11
- 4
1
vote
1 answer
I am trying to install intel optimized pytorch in different ways
I am very first time using pyTorch. I am trying to install it. In how many ways I can do this?
Please provide the steps for that.

Remi_TRish
- 193
- 1
- 8
0
votes
1 answer
How do you specify the bfloat16 mixed precision with the Intel Extension for PyTorch?
I would like to know how to use mixed precision with PyTorch and Intel Extension for PyTorch.
I have tried to look at the documentation on their GitHub, but I can't find anything that specifies how to go from fp32 to blfoat16.

DevKnight2001
- 15
- 3
0
votes
1 answer
PackagesNotFoundError When Trying to Install intel_extension_for_pytorch
I am trying to conda install intel_extension_for_pytorch but I keep getting the following error in the command line:
PackagesNotFoundError: The following packages are not available from current channels:
intel_extension_for_pytorch
this is the…

DevKnight2001
- 15
- 3
0
votes
1 answer
ERROR: while installing Ipex using docker centos image
Unable to install Ipex using docker centos image
I pulled this docker image: docker pull sysstacks/dlrs-pytorch-centos
Tried to run on my linux machine with this command: docker run -it sysstacks/dlrs-pytorch-centos bash
I was trying to install Ipex…

bannu
- 17
- 4
0
votes
2 answers
How to enable mixed precision training while using Intel Extension for PyTorch (IPEX)?
I am working on Dog-Cat classifier using Intel extension for Pytorch (Ref - https://github.com/amitrajitbose/cat-v-dog-classifier-pytorch). I want to reduce the training time for my model. How do I enable mixed precision in my code? Referred this…
0
votes
2 answers
how do I prevent from the actual pytorch model not to be converted to ipex
I have been trying out intel extension for pytorch(ipex) to optimise my inference. I am using a pretrained model from torchvision. I wanted to compare improvement with and without ipex so I created a copy of model converted it to ipex.
Now I try to…

ArunJose
- 1,999
- 1
- 10
- 33
-1
votes
3 answers
Unble to install requirements for summarization
I am following this huggingface github(https://github.com/huggingface/transformers/tree/master/examples/pytorch/summarization) for summarization but not able to install packages from requirements.
Command used:
pip install -r requirements.txt
For…

Janani Chandran
- 31
- 1
- 5