Loading
Free the model port and boot the accelerator lane from a faster disk
What
A rig built with up --accelerator exists to serve a model, but two defaults worked against it. The omnibus base installed a full GitLab that holds port 8080, so a model server binding that port failed to start until GitLab was stopped over SSH. The boot disk was the slow default type, and image pulls and model weight loads took most of an hour on it.
Changes
up --no-gitlab, accelerator lane only: the VM is created with its labels and auto-delete net as usual, thenupskips the GitLab install, the license step and every post-install step, says so in the log, and finishes ready.downis unchanged. The flag is refused on any other rig. Without it the lane still installs GitLab, because a GPU job can run through the runner, which needs a GitLab to register against.- The accelerator lane now boots from a faster disk type by default. Every other rig keeps today's default. An explicit
--disk-typestill wins, and a machine family that cannot boot the faster type keeps its own, as before. gce/operations.md(GPU lane) and theupusage text describe both.
The issue asked for a flag rather than a change of default, and the code agrees: the runner registration in the lane depends on GitLab being present.
Testing
gce/engine-selftest.shpasses. The new cases fail onmain(9 failures) and pass here: the lane's default disk, an explicit--disk-typeoverriding it, a family that cannot boot the faster type,--no-gitlabskipping the install and the license step, its labels and auto-delete net, and its refusal without--accelerator.just commit-trailersandjust word-budgetpass.- One real accelerator rig,
up --accelerator ... --no-gitlab --budget 1h, owneraccel: the boot disk is the faster type, no GitLab package orgitlab-ctlis present, nothing listens on port 8080, and the accelerator is visible to the driver. Torn down by name;gcloudlists no instance or disk left.
Closes #20 (closed)