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, then up skips the GitLab install, the license step and every post-install step, says so in the log, and finishes ready. down is 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-type still wins, and a machine family that cannot boot the faster type keeps its own, as before.
  • gce/operations.md (GPU lane) and the up usage 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.sh passes. The new cases fail on main (9 failures) and pass here: the lane's default disk, an explicit --disk-type overriding it, a family that cannot boot the faster type, --no-gitlab skipping the install and the license step, its labels and auto-delete net, and its refusal without --accelerator.
  • just commit-trailers and just word-budget pass.
  • One real accelerator rig, up --accelerator ... --no-gitlab --budget 1h, owner accel: the boot disk is the faster type, no GitLab package or gitlab-ctl is present, nothing listens on port 8080, and the accelerator is visible to the driver. Torn down by name; gcloud lists no instance or disk left.

Closes #20 (closed)

Merge request reports

Loading
Loading