A Gradio Docker image built via GitHub Actions.
This project is similar to onnx-community/convert-to-onnx,
but it is based on microsoft/onnxruntime-genai.
It uses GitHub Actions to build and publish Docker images, and to sync with Hugging Face Gradio Spaces.
The goal is to keep the entire process clean and minimal, without custom configuration files.
The Hugging Face Space for this project is located at:
👉 xiaoyao9184/convert-to-genai
The Docker images are published to Docker Hub under:
👉 xiaoyao9184/convert-to-genai
Image tags are generated using the commit_id and branch name (main).
See the tagging workflow in docker-image-tag-commit.yml.
Note: Currently, only the
linux/amd64platform is supported.
You can fork this project and build your own image.
You will need to provide the following secrets: DOCKERHUB_USERNAME, DOCKERHUB_TOKEN, HF_USERNAME, and HF_TOKEN.
See docker/login-action for more details.
When upgrading versions, please pay attention to changes in the test requirements from onnxruntime-genai.
Check the test/python/requirements.txt file for the target version to ensure all necessary dependencies are included.
For example, when upgrading from v0.8.3 to v0.9.0, the requirements file added onnx_ir>=0.1.3: