- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi i am very new in coding and deep learning so i followed this steps to install and use Pytorch
but when i used Cifar10 sample i got RuntimeError: Numpy is not available i tried to downgrade to 1.26 so conda also try to downgrade mkl to 2023.1 after accept that my environment raised many errors so i deleted and started over make new environment
i have few questions
first did i install correctly?
second how can i fix this error and test Cifar10 sample?
third i am using visual studio code does it ok and safe to use without getting errors?
fourth i used 3.9 python during creating new environment which latest version i can use without any problem?
thank you
Steps:
0)
Gpu driver
1)
Visual Studio, Desktop development with C++
2)
install all of oneApi base toolkit 2024.2.1
3)
installing anaconda and
conda create --name pytorch-arc python=3.9 -y
conda activate pytorch-arc
conda install anaconda::jupyter -y
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
4)
conda install pkg-config libuv -y
python -m pip install torch==2.1.0.post3 torchvision==0.16.0.post3 torchaudio==2.1.0.post3 intel-extension-for-pytorch==2.1.40+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/mtl/us/
pip install dpcpp-cpp-rt==2024.2.1 mkl-dpcpp==2024.2.1
5)
python -c "import torch; import intel_extension_for_pytorch as ipex; print(torch.__version__); print(ipex.__version__); [print(f'[{i}]: {torch.xpu.get_device_properties(i)}') for i in range(torch.xpu.device_count())];"
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi user_,
Apologies for the delay on my response. Could you let me know the purpose of your work so we can check it further?
If you have any questions or need further information, please let me know.
Best regards,
Dean R.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi user_,
I wanted to follow up on the previous message regarding your inquiry. Have you had a chance to review it? If you have any questions or need further information, please let me know.
Best regards,
Dean R.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi user_,
Since I haven't received a response from you, I will be closing this inquiry. If you need further assistance, please submit a new question, as this thread will no longer be monitored.
Best regards,
Dean R.
Intel Customer Support Technician

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page