This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:ai:gaudi-software-firmware [2026/07/21 17:31] – created swilson | wiki:ai:gaudi-software-firmware [2026/07/21 17:51] (current) – swilson | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| sudo apt-get install -y habanalabs-dkms habanalabs-firmware habanalabs-container-toolkit | sudo apt-get install -y habanalabs-dkms habanalabs-firmware habanalabs-container-toolkit | ||
| hl-smi | hl-smi | ||
| + | </ | ||
| + | |||
| + | ==== Checking installed versions ==== | ||
| + | |||
| + | <code bash> | ||
| + | hl-smi -Q firmware-version -f csv, | ||
| + | dpkg -l | grep habanalabs | ||
| + | hl-smi -Q driver_version -f csv, | ||
| + | modinfo habanalabs | grep version | ||
| </ | </ | ||
| Line 21: | Line 30: | ||
| - Keep the old driver/ | - Keep the old driver/ | ||
| - After updating, confirm the driver loads and reports the version you expect. | - After updating, confirm the driver loads and reports the version you expect. | ||
| + | |||
| + | ==== Rolling back a bad update ==== | ||
| + | |||
| + | - Stop any jobs running on the node and drain it from the scheduler first. | ||
| + | - Reinstall the previously saved package versions: '' | ||
| + | - Reboot the node so the older kernel module and firmware load cleanly. | ||
| + | - Re-run '' | ||
| + | - Note the rollback (and the reason) in the change log so the next update attempt doesn' | ||
| + | |||
| + | ==== Troubleshooting a failed install ==== | ||
| + | |||
| + | - '' | ||
| + | - Driver installs but firmware mismatch warning appears: re-run the firmware package install and reboot — a partial install is more common than actual corruption. | ||
| + | - Package install fails due to repo signature errors: the apt-key step may need re-running after an OS upgrade; re-add the GPG key before retrying. | ||
| + | - After a kernel upgrade, the DKMS module fails to rebuild automatically: | ||
| ---- | ---- | ||