- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
## Issue Running Workloads on Intel GPU (DevCloud Preview)
I'm using a **DevCloud Preview** instance (connected successfully via SSH and jump host), and I'm trying to run workloads on the **Intel GPU**. However, I'm facing the following issues:
---
### `xpu-smi` Not Found
Running:
```bash
xpu-smi
```
Results in:
```
command not found
```
I also searched for it using:
```bash
find / -name xpu-smi
```
But no results were found.
---
### Package Installation Fails
Tried:
```bash
sudo apt install intel-oneapi-basekit
```
But received:
```
Unable to locate package
```
---
### PyTorch Can't Detect Intel GPU
Output of `lspci` includes:
```
Intel Corporation Device [8086:56c0] (rev 08)
```
However, running:
```python
torch.xpu.device_count()
```
Returns:
```
0
```
And shows the warning:
```
UserWarning: XPU device count is zero!
```
---
### Request for Help
I’d appreciate guidance on:
- How to **install or access `xpu-smi`**
- Whether **oneAPI runtimes or drivers need to be sourced manually**
- Whether a working **PyTorch + IPEX** environment is available, or if it needs to be built manually
Thanks in advance!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi lekhnath,
Thank you for reaching out to us.
- Intel® XPU-SMI Installation:
- Before initiating the installation, please refer to the documentation to identify the prerequisite libraries, supported devices, and operating systems.
- Visit the GitHub link and copy the URL for the latest Intel® XPU-SMI package.
- Connect to your instance and execute the following command to download the Intel® XPU-SMI package. Be sure to replace the link in the command below with the URL you copied in the previous step.
wget https://github.com/intel/xpumanager/releases/download/V1.2.39/xpu-smi_xxxxxxxx.xxxxxx.xxxxxxxx_amd64.deb
- Execute the command below to install the Intel® XPU-SMI package. Replace the filename in the command with the name of the downloaded file.
sudo apt install ./xpu-smi_xxxxxxxx.xxxxxx.xxxxxxxx_amd64.deb
- After installation, verify it by running the following command:
xpu-smi
- For further information, refer to the Intel® XPU-SMI installation guide.
- oneAPI Runtimes and Drivers:
- The oneAPI runtimes and drivers do not need to be sourced manually. The error you encountered when running sudo apt install intel-oneapi-basekit was due to the incorrect package name. Instead, use the following command:
sudo apt install intel-oneapi-base-toolkit
- Please refer to the Intel® oneAPI Toolkits Installation Guide for Linux* OS for complete instructions.
- The oneAPI runtimes and drivers do not need to be sourced manually. The error you encountered when running sudo apt install intel-oneapi-basekit was due to the incorrect package name. Instead, use the following command:
- PyTorch and IPEX Environment Setup:
- The PyTorch and Intel® Extension for PyTorch (IPEX) environment needs to be built manually. Follow the Intel® Extension for PyTorch (IPEX) Installation Guide to install the IPEX package on your instance.
- Before installation, you can create a conda or Python virtual environment to isolate your setup.
Please let us know if you have any further issues.
Regards,
Thivagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi lekhnath,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Thivagar

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