intel / intel-extension-for-pytorch

A Python package for extending the official PyTorch that can easily obtain performance on Intel platform
Apache License 2.0
1.57k stars 240 forks source link

Running IPEX samples - environment setup clarification #669

Closed js333031 closed 1 month ago

js333031 commented 3 months ago

Describe the issue

I would like to install IPEX for CPU via PIP and run the sample code.

I installed IPEX using steps from here

Then, to run a demo, I looked at section 3 here for the instructions. I'm not using Docker. Section 3.2 downloads a lot of things since that section's intention is to compile IPEX.

For running the demo, can section 3 provide instructions for case where one installs IPEX using the first link above?

js333031 commented 3 months ago

Found steps here. Trying them out and will update the issue accordingly.

tye1 commented 3 months ago

@jingxu10 please take a look.

wangkl2 commented 2 months ago

@js333031 Thanks for reporting the issue. Yes, the ipex will be built from source anyway in the main branch, while using the release branch such as 2.3.100+cpu will have the option to use pre-compiled whls or build from source.