1.22.0
-
Docker Image
(arm64, Apple Silicon Mac)
Distributed docker image is not compatible with ARM environments such as Apple Silicon Mac.
Although Docker offers emulation for x86/amd64 environments, onnx2tf within this emulation mode results in an error, as shown below:$ root@39d07181ce27:/# onnx2tf -h > Illegal instruction
This issue is suspected to be caused by the dependency of PyPI TensorFlow on x86-specific instruction sets.
To address this,
I've augmented the release process with GitHub Actions to include building and pushing Docker images for Arm64 architecture. This make it possible to execute onnx2tf with docker on Arm64 hosts.- Update Dockerfile
- Extra dependencies (pkg-config and libhdf5-dev) are required to install h5py for arm64 docker build.
- Add Arm64 build and push in GitHub Actions
- Referenced the following URL for guidance: https://docs.docker.com/build/ci/github-actions/multi-platform/
- Update Dockerfile
What's Changed
Full Changelog: 1.21.6...1.22.0