@@ -55,8 +55,7 @@ This guide outlines the steps to deploy this project using Modal.
5555 WEBHOOK_SECRET=your_webhook_secret_here \
5656 ALLOWED_REPOS=" owner/repo1,owner/repo2" \
5757 RUNNER_VERSION=" 2.311.0" \
58- RUNNER_GROUP_ID=" 1" \
59- RUNNER_LABELS=' ["self-hosted", "modal"]'
58+ RUNNER_GROUP_ID=" 1"
6059 ` ` `
6160
62615. ** Deploy the app:**
@@ -78,6 +77,14 @@ This guide outlines the steps to deploy this project using Modal.
7877 runs-on: [self-hosted, modal]
7978 ` ` `
8079
80+ ** GPU jobs:** Add a ` gpu:` label to request GPU acceleration.
81+
82+ ` ` ` yaml
83+ runs-on: [self-hosted, modal, gpu:t4]
84+ ` ` `
85+
86+ Supported GPU types: ` gpu:t4` , ` gpu:l4` , ` gpu:a100` , ` gpu:a100-80gb` , ` gpu:h100`
87+
8188# ## ⚠️ Security Considerations
8289
8390* ** Trust Model:** This runner executes with root privileges in isolated Modal sandboxes. Only allow trusted repositories via ` ALLOWED_REPOS` .
@@ -101,7 +108,9 @@ Every time a job is queued, Modal will spawn an ephemeral sandbox that runs the
101108| `GITHUB_TOKEN` | Yes | - | GitHub PAT for runner registration |
102109| `WEBHOOK_SECRET` | Yes | - | Secret for webhook signature validation |
103110| `ALLOWED_REPOS` | No | (all) | Comma-separated allowlist of `owner/repo` |
104- | `RUNNER_VERSION` | No | `2.311.0 ` | GitHub Actions runner version |
111+ | `RUNNER_VERSION` | No | `2.333.1 ` | GitHub Actions runner version |
105112| `RUNNER_GROUP_ID` | No | `1` | Runner group ID |
106- | `RUNNER_LABELS` | No | `["self-hosted", "modal"]` | JSON array of runner labels |
113+ | `MAX_CONCURRENT_PER_REPO` | No | (unlimited) | Max concurrent sandboxes per repo |
114+ | `ALLOWED_CIDRS` | No | (allow all) | Comma-separated CIDR ranges for outbound |
115+ | `BLOCK_NETWORK` | No | `false` | Fully isolate sandbox network |
107116| `GITHUB_ENTERPRISE_DOMAIN` | No | - | Custom domain for GitHub Enterprise |
0 commit comments