Skip to content

Commit

Permalink
notes how to upgrade HW (#92)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Borda and pre-commit-ci[bot] authored Oct 12, 2023
1 parent e30412f commit 8980c4c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .azure/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Creation HPU self-hosted agent pool

## Upgrade machine

In general follow instructions in [Bare Metal Fresh OS Installation](https://docs.habana.ai/en/v1.10.0/Installation_Guide/Bare_Metal_Fresh_OS.html#) and in particular [Habana Driver Unattended Upgrade](https://docs.habana.ai/en/v1.10.0/Installation_Guide/Bare_Metal_Fresh_OS.html#habana-driver-unattended-upgrade).

1. check what is the actual state and version of HW - `hl-smi`
1. check the actual OS version - `lsb_release -a`
1. update sources - `sudo apt update --fix-missing`
1. run upgrade to the latest - `sudo apt upgrade`
1. reboot the machine...

### Troubleshooting

In some cases you may get stack with hanged libs linked to past kernel (for example `sudo apt purge habanalabs-dkms` errors), in such case do not follow with purge old libs and just continue with new

1. list available libs: `sudo apt list | grep habana | grep 1.12`
1. install all libs from the output list above:
```bash
sudo apt install \
habanalabs-container-runtime \
habanalabs-dkms \
habanalabs-firmware-tools \
habanalabs-firmware \
habanalabs-graph \
habanalabs-qual \
habanalabs-rdma-core \
habanalabs-thunk \
habanatools
```

Overall if you touch kernel version, follow with reboot before any eventual other updates.

## Prepare the machine

This is a slightly modified version of the script from
Expand Down

0 comments on commit 8980c4c

Please sign in to comment.