{"id":23685,"library":"ethos-u-vela","title":"Ethos-U Vela","description":"Neural network model compiler for Arm Ethos-U NPUs. Version 5.0.0, released approximately monthly.","status":"active","version":"5.0.0","language":"python","source_language":"en","source_url":"https://git.mlplatform.org/ml/ethos-u/ethos-u-vela.git","tags":["compiler","nn","arm","ethos-u","npu","tflite"],"install":[{"cmd":"pip install ethos-u-vela","lang":"bash","label":"pip install"}],"dependencies":[],"imports":[{"note":"The main entry point is the 'vela' module after installing ethos-u-vela.","symbol":"vela","correct":"import vela"},{"note":"The package name is 'vela', not 'ethosu'. The PyPI package ethos-u-vela installs the vela module.","wrong":"from ethosu import vela","symbol":"vela.vela","correct":"import vela"}],"quickstart":{"code":"import vela\n# Compile a TFLite model\nvela.main(['--output-dir', './output', 'model.tflite'])","lang":"python","description":"After installing ethos-u-vela, use the vela module to compile TFLite models for Ethos-U NPUs."},"warnings":[{"fix":"Use 'ethos-u-vela' as the command or ensure the vela script is in PATH.","message":"The CLI entry point changed from 'vela' to 'ethos-u-vela' after version 3.x. Running 'vela' directly may fail.","severity":"breaking","affected_versions":"<4.0.0"},{"fix":"Convert your model to TFLite format using TensorFlow 2.x.","message":"Support for TensorFlow 1.x models was removed in v4.0.0. Only TFLite models (TensorFlow 2.x) are accepted.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Use 'import vela' after 'pip install ethos-u-vela'.","message":"The package name is 'ethos-u-vela' but the importable module is 'vela'. This confuses new users.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'import vela' instead of 'from ethosu import vela'.","cause":"Incorrect import path. The module is 'vela', not 'ethosu'.","error":"ModuleNotFoundError: No module named 'ethosu'"},{"fix":"Run 'ethos-u-vela' instead of 'vela', or ensure the vela script is in your PATH (pip install --user might help).","cause":"After version 4.0.0, the CLI command is 'ethos-u-vela' instead of 'vela'.","error":"bash: vela: command not found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}