The ONNX Deployment Platform NEXON is a web-based application that allows users to upload, deploy, and run inference on ONNX models easily. It provides a user-friendly interface for managing AI models and executing inference tasks.
- Upload and deploy ONNX models.
- Perform inference with custom input data.
- View inference results in a results panel.
- View all models uploaded on the platform and their metadata.
- Modern, responsive UI with an intuitive layout.
- 🆕 Deploy ONNX models directly from a MLflow Tracking Server
Copy .env.example and rename it to .env. For testing no value changes are needed, but it is adviced to change the passwords.
To build and start the MLflow Tracking Server, S3, MySQL and initial MLflow experiments use:
docker compose -f mlflow-compose.yml up --build -dTo build and start the NEXON frontend, backend and MongoDB use:
docker compose -f nexon-compose.yml up --build -d- Check MLflow to make sure the initial models are registered
- Run example requests from the
examples/directory.
curl -X POST http://localhost:8000/api/mlflow/sync -H "Content-Type: application/json" -d @examples/test_step_1.jsonOptional, for better readable responses:
curl -X POST http://localhost:8000/api/mlflow/sync -H "Content-Type: application/json" -d @examples/test_step_1.json | python -m json.tool- Check NEXON to see your deployed models
git clone https://github.com/Uni-Stuttgart-ESE/nexon.git
cd nexonNEXON uses MongoDB to store uploaded models and their metadata.
Mac:
brew install mongodb-community@7.0Ubuntu:
sudo apt update
sudo apt install -y mongodbWindows(Chocolatey):
choco install mongodbOr use your preferred package manager
mongod --dbpath=/data/dbNavigate to the server directory and create a virtual environment:
cd server
python -m venv nexon_env
source nexon_env/bin/activate # (Windows: nexon_env\Scripts\activate)if this doesn't work try using python3.
Install dependencies:
pip install -r requirements.txtRun the FastAPI backend:
uvicorn main:app --reloadOpen a new terminal and navigate to the frontend directory:
cd frontend
npm install
npm start