fix(ci): use CUDA-supported Ubuntu builder baseline
KAR CUDA compile (GPU hidden) / kar-cuda-compile (pull_request) Failing after 2m17s
KAR CUDA compile (GPU hidden) / kar-cuda-compile (pull_request) Failing after 2m17s
This commit is contained in:
@@ -7,6 +7,7 @@ ROOT=Path(__file__).resolve().parents[1]
|
||||
lock=json.loads((ROOT/'deploy/kar-cuda-build.lock.json').read_text())
|
||||
assert lock['schema_version']==1
|
||||
assert lock['platform']=='linux/amd64'
|
||||
assert lock['builder_glibc']=='2.39'
|
||||
assert re.fullmatch(r'ubuntu@sha256:[0-9a-f]{64}',lock['builder_image'])
|
||||
assert lock['cuda_toolkit_release']=='13.0.1'
|
||||
assert lock['cuda_architecture']=='120' and lock['compile_jobs']==1
|
||||
@@ -18,6 +19,7 @@ assert set(lock['apt_packages'])==required
|
||||
assert all(re.fullmatch(r'[0-9][A-Za-z0-9.+:~_-]*',v) for v in lock['apt_packages'].values())
|
||||
workflow=(ROOT/'.gitea/workflows/kar-cuda-compile.yml').read_text()
|
||||
assert f"image: {lock['builder_image']}" in workflow
|
||||
assert "getconf GNU_LIBC_VERSION)" in workflow and "'glibc 2.39'" in workflow
|
||||
assert 'pull_request:' in workflow and '\n push:' not in workflow
|
||||
assert 'options: --platform' not in workflow
|
||||
assert 'NVIDIA_VISIBLE_DEVICES: void' in workflow
|
||||
|
||||
Reference in New Issue
Block a user