While using the dataflow compiler, an error occurred.

Hello, I encountered the following error while using my yolov8.onnx file with the Dataflow Compiler,how can I fix that:

(hailo_env) halil@halil-VirtualBox:~/hailo_env$ hailomz parse --hw-arch hailo8l --ckpt hepsi3_yeni.onnx yolov8n

    This CPU does not support `avx` instructions, and they are needed to run Tensorflow.
    It is recommended to run the Dataflow Compiler on another host.
    Another option is to compile Tensorflow from sources without `avx` instructions.

Traceback (most recent call last):
File “/home/halil/hailo_env/bin/hailomz”, line 8, in
sys.exit(main())
File “/home/halil/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/main.py”, line 122, in main
run(args)
File “/home/halil/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/main.py”, line 101, in run
from hailo_model_zoo.main_driver import compile, evaluate, optimize, parse, profile
File “/home/halil/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/main_driver.py”, line 10, in
from hailo_sdk_client import ClientRunner, InferenceContext
ModuleNotFoundError: No module named ‘hailo_sdk_client’

Hey @caliskanhalil815

What CPU are you using ? there seems to be an issue with perfoming the avx instruction on the cpu , to fix this you have two options :

  • If possible, switch to a compatible machine.
  • To compile TensorFlow without AVX, follow the detailed instructions on the TensorFlow website for building from source, ensuring you exclude AVX-related flags.

For the Missing Module:

# Activate your environment
source ~/hailo_env/bin/activate
# Install the missing module
pip install hailo_sdk_client

Hello,me again.I encountered the following error.How can I solve this error:
(hailo_env) halil@halil-VirtualBox:~/hailo_env$ pip install hailo_sdk_client
ERROR: Could not find a version that satisfies the requirement hailo_sdk_client (from versions: none)
ERROR: No matching distribution found for hailo_sdk_client