In order to fully understand the case:
You upgraded from AI HAT with Hailo 8 to the new AI HAT+2 with Hailo 10?
In other words, previously you had to do sudo apt install hailo-all and now sudo apt install hailo-h10-all?
If so, during this Hailo PCIe driver is changed, and reboot is required.
Since modprobe is a Linux command that loads kernel modules (drivers) into the running kernel - it’s a workaround to the required reboot.
After installing our PCIe driver - reboot indeed required.
That’s the reason for the required reboot in the installation guide after sudo apt install hailo-h10-all.
Indeed the installation script determines host machine type, and in order to allow custom hostnames, it uses the following method which is hostname agnostic:
def is_raspberry_pi():
try:
with open('/proc/device-tree/model', 'r') as f:
model = f.read()
return "Raspberry Pi" in model
except:
return False
I have done all the steps mentioned above. I have reinstalled hailo-h10-all. I have rebooted and checked hailortcli fw-control identify. I did sudo modprobe hailo1x_pci. I have done the following steps:
Can you please manually delete all previous hailo-apps (and previous versions of it) installations, including sudo rm -rf /usr/local/hailo and then install without running the command sudo ./scripts/cleanup_installation.sh?
I deleted hailo-apps and all other version including hailo-apps-infra. I also deleted the files in /usr/local/hailo as you suggest. I then cloned the git file as previously, changed directory and ran ./install.sh. Sadly, I get exactly the same result.
I did not run ./scripts/cleanup_installation.sh
I still get the same result: “X Installation completed with errors”.
The logfile doesn’t shed any light on the error. ‘Package summary’ is apparently still the source of the problem.
Disappointing experience so far to be honest albeit I managed to get that bit up and running, I’ve tried getting Ollama going now and it’s just as much of a nuisance. Pulling a model makes it start the ollama server and then I cant actually download any models.
I hope Hailo update their guides to make it easier, I’m tempted to wipe SD card and start again in case anything is conflicting.
Given that they haven’t updated the sticky message even though it’s clearly not working doesn’t fill me with hope though.
“Pulling a model makes it start the ollama server and then I cant actually download any models.”:
In the first terminal window, Hailo Ollama runs in the background.
In the second terminal window, you can execute commands such as pulling models or starting a chat.
I tested this again: after a pull command finishes, the second terminal returns to idle, ready for the next command (like pulling another model, starting a chat, or running any other CLI command).