https://github.com/zooniverse/bajor
Azure Batch Job Runner - BaJoR
https://github.com/zooniverse/bajor
machine-learning
Last synced: 4 months ago
JSON representation
Azure Batch Job Runner - BaJoR
- Host: GitHub
- URL: https://github.com/zooniverse/bajor
- Owner: zooniverse
- License: apache-2.0
- Created: 2022-05-27T13:48:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-13T16:36:00.000Z (about 1 year ago)
- Last Synced: 2025-05-13T17:47:50.085Z (about 1 year ago)
- Topics: machine-learning
- Language: Python
- Homepage:
- Size: 410 KB
- Stars: 2
- Watchers: 8
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Batch Job Runner
Azure Batch Job Runner - BaJoR
The Zooniverse API for scheduling Azure batch jobs for machine learning systems.
Linked to the work in https://github.com/zooniverse/kade
## Documentation
### Training API docs
- [Swagger Format](https://bajor.zooniverse.org/docs)
- [Redoc Format](https://bajor.zooniverse.org/redoc)
- [OpenAPI JSON Format](https://bajor.zooniverse.org/openapi.json)
## Requirements
BaJoR uses Docker to manage its environment, the requirements listed below are also found in `docker-compose.yml`. The means by which a new instance is created with Docker is located in the `Dockerfile`. If you plan on using Docker to manage this application, skip ahead to Installation.
BaJoR is primarily developed against stable Python currently 3.10 and the Azure Batch python libraries https://docs.microsoft.com/en-us/python/api/overview/azure/batch?view=azure-python#install-the-libraries.
## Installation
We only support running BaJoR via Docker and Docker Compose. If you'd like to run it outside a container, see the above Requirements sections to get started.
## Usage
1. `docker-compose build`
2. `docker-compose up` to start the containers
* Alternatively use the following command to start a bash terminal session in the container `docker compose run --service-ports --rm api bash`
* Run the tests in the container `docker compose run --service-ports --rm api poetry run pytest`