Modal

How Contextual AI automated CI with Modal GPUs

Sep 18, 2024
How Contextual AI automated CI with Modal GPUs
SummaryAI, from the source post

This post details how Contextual AI integrated Modal's cloud function platform with GitHub Actions to automate their CI pipelines on GPUs. It highlights the use of Modal Functions with custom GPU requirements and pytest for running test suites, enabling parallel execution of CI jobs for multiple pull requests. Key benefits include eliminating self-hosted runners, fast image caching for quick test startup (within 30 seconds), and usage-based billing. The post also provides a simplified code example of a Modal Function for pytest execution.

More from the Cloud Function Platform trail