Intel® Tiber Developer Cloud
Help connecting to or getting started on Intel® Tiber Developer Cloud
311 Discussions

XPU Not Detected on Intel DevCloud Preview Instance – xpu-smi Missing and PyTorch XPU Errors

lekhnath
Beginner
294 Views

## 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!

Labels (2)
0 Kudos
2 Replies
Thivagar_Intel
Moderator
232 Views

Hi lekhnath,

Thank you for reaching out to us.

 

  1. Intel® XPU-SMI Installation:
    1. Before initiating the installation, please refer to the documentation to identify the prerequisite libraries, supported devices, and operating systems.
    2. Visit the GitHub link and copy the URL for the latest Intel® XPU-SMI package.1.png
    3. 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​
    4. 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​​
    5. After installation, verify it by running the following command:
      xpu-smi​
    6. For further information, refer to the Intel® XPU-SMI installation guide.
  2. oneAPI Runtimes and Drivers:
    1. 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​

       

    2. Please refer to the Intel® oneAPI Toolkits Installation Guide for Linux* OS for complete instructions.
  3. 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

 

0 Kudos
Thivagar_Intel
Moderator
149 Views

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


0 Kudos
Reply
OSZAR »