Repository navigation
Backlog
Description
背景
isaac 先前因為 GPU runner 與 CI 的問題,暫時關閉了 GitHub CI,改在 host 上手動跑 CI,並以 admin 身分合併(臨時特例)。現在準備關閉這個特例,恢復 GitHub CI:
- 重新啟用
.github/workflows/main.yaml。它目前是disabled_manually。 - 重新開啟 main 的
enforce_admins。目前是 false,required check 是gate。
在重新啟用之前,想先確認 runner 端是否已經可以承接 isaac 的 CI。
isaac CI 對 GPU runner 的需求
- GPU job 共有 5 個:core-gpu、stream-smoke、stream-visual-e2e、headless-smoke、core-official-nativepython。
- core-gpu 用的是
ycpss91255-lab/.github/.github/workflows/gpu-self-hosted.yml@v0.4.0。 - 其他 4 個是 isaac 自己的 reusable workflow(
ci-*.yaml),也是跑在 self-hosted GPU runner 上。
- core-gpu 用的是
- 每個 PR 最多會觸發這 5 個 GPU job,實際觸發哪些由
changed_groups.py決定。 - 實測耗時(2026-11-29,在 RTX 5090 上手動執行):
- core-gpu 單次 103 到 121 分鐘,不含排隊。
timeout-minutes: 180。 - nativepython 約 41 到 52 分鐘。
- smoke 與 visual 類各約 2 到 15 分鐘。
- core-gpu 單次 103 到 121 分鐘,不含排隊。
- 實測 VRAM:單一 headless Isaac 程序約 3.5 到 8 GB。core-gpu 的 sensors 分組在其他程序同時佔用 10 到 14 GB 時曾經 OOM。
- 已知的 GPU 問題:在高負載下出現過 Xid 31 和 Xid 109(MMU fault、CTX SWITCH TIMEOUT),也出現過 NVML 999 與 CUDA error 100。
想確認的事
- runner 是否上線、標籤是什麼: 目前 org 的 GPU runner 有哪幾台在線?isaac 的 GPU job 應該用哪些 labels(
gpu-self-hosted.yml預設是self-hosted, Linux, X64, gpu)? - workflow allowlist(chore(runner-group): restrict the org GPU runner group to an explicit workflow allowlist #109): 如果 GPU runner group 已經限制成只允許特定 workflow,isaac 現在用的兩種寫法是否都在 allowlist 裡?
ycpss91255-lab/.github/.github/workflows/gpu-self-hosted.yml@v0.4.0(固定 tag,不是@refs/heads/main)- isaac repo 自己的
ci-*.yaml
- 並行能力(Share a GPU across jobs: declared vram-gb-<N> plus a live free-VRAM check #180): 目前一張 GPU 一次是不是只跑一個 job?如果是,一個 PR 的 5 個 GPU job 會依序跑,總時間大約 3 到 4 小時。
vram-gb-<N>什麼時候可以用?isaac 要怎麼宣告?建議值:core-gpu 12、nativepython 8、smoke 與 visual 8。 - 容器命名: isaac 的 compose project 名稱由
GITHUB_RUN_ID決定。runner 端有沒有其他命名或清理上的要求? - 還有沒有其他前提: runner 端有沒有其他要求,是 isaac 在重新啟用 CI 之前必須先完成的?例如 rootless docker(feat: run the runner as a low-privilege account (rootless Docker) #121)、host 工具(Runner images lack host tools (python3, ss, xz) that self-hosted workflows call outside containers #160)、credential helper(Listener image pulls exit 126 on hosts with docker-credential-pass #167)。
請 github_runner 在本 issue 回覆每一點的現況。isaac 會依回覆決定什麼時候重新啟用 CI,以及需要先調整什麼。
Metadata
Metadata
Assignees
Labels
No labels
Activity
ycpss91255 commentedon Nov 29, 2026
Runner-side status as of 2026-11-29 ~10:40Z.
1. Online GPU runners and labels
Two GPU listeners are up. Both carry the same labels, so a job lands on whichever host is free.
ci-5090self-hosted, Linux, X64, gpuci-ada2000-001self-hosted, Linux, X64, gpuruns-on: [self-hosted, Linux, X64, gpu](thegpu-self-hosted.ymldefault) or[self-hosted, gpu]both match.2. Workflow allowlist (#109)
Not applied.
restricted_to_workflows=false,visibility=allandallows_public_repositories=true.gpu-self-hosted.yml@v0.4.0or isaac's ownci-*.yaml. Both will run.pull_request.@*and tag refs, reusable-workflow matching) are still unverified. If chore(runner-group): restrict the org GPU runner group to an explicit workflow allowlist #109 is applied later, both forms you listed must be added and tested first, because a missing entry fails silently: the job just stays queued.3. Concurrency and
vram-gb-<N>(#180)vram-gb-1/2/4/8/16/32/64/128/all. Values outside the list never match a scale set, and the job stays queued. 12 is not in the list, so declare core-gpu asvram-gb-16.vram-gb-16vram-gb-8vram-gb-8vram-gb-16, core-gpu still fits on ada2000. If it must avoid the 16 GB card, usevram-gb-32: only the 5090's scale set carries that label, so the job routes there, and it holds that whole GPU.vram-gb-*label keeps holding a whole GPU, so you can enable CI before declaring anything.nvidia-smimust show the free VRAM still above 20%. Nothing caps VRAM (no MIG on these cards, and Vulkan is not capped by MPS or HAMi), so an under-declared job can OOM its neighbours. Declare your measured peak.4. Container naming and cleanup
GITHUB_RUN_IDis fine.if: always()step. A job that is cancelled or whose runner is killed skips its steps, and its containers stay running. The daily docker GC (Daily conservative docker GC for CI residue on listener hosts #152) never removes containers or volumes; it removes only stale CI images and unattached compose networks older than 24h.GITHUB_RUN_ATTEMPTin the project name, so a re-run does not collide with the first attempt's leftovers.5. Other prerequisites
No runner-side change blocks re-enabling
main.yamlnow. Expect at most two GPU jobs at once until #180 is live.ycpss91255 commentedon Nov 29, 2026
Update:
vram-gb-<N>is live on both GPU hosts (2026-11-29, #180 / PR #184). Several jobs can now share one GPU.vram-gb-1, -2, -4, -8, -16, -32, -allvram-gb-1, -2, -4, -8, -16, -allvram-gb-32routes only to the 32 GB card.nvidia-smimust show the free VRAM on that GPU still above 20%. This counts non-CI processes too.vram-gb-*still holds the whole GPU. If the GPU probe fails, the host falls back to one job per GPU.vram-gb-16, orvram-gb-32to keep it off the 16 GB cardvram-gb-8vram-gb-8RUNNER_VRAM_GBandRUNNER_VRAM_TOTAL_GB.if: always()teardown.