Add Hot Aisle bare metal support - #4325
Draft
peterschmidt85 wants to merge 8 commits into
Draft
peterschmidt85 wants to merge 8 commits into
peterschmidt85 wants to merge 8 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The shim start is now retried until the SSH command succeeds, and `disown` fails in shells other than bash even though the shim starts. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The bare metal server's ip_address is private (100.64.0.0/10); SSH is exposed on ssh_access. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bare metal servers
The
hotaislebackend now provisions Hot Aisle bare metal servers (currently 8x MI300X) in addition to VMs. Instance types are renamed tovm-mi300x-1,vm-mi300x-2,vm-mi300x-4,vm-mi300x-8, andbm-mi300x-8.Bare metal servers are charged upfront for a minimum reservation period of 8 hours. To keep the server for the full period, set
idle_durationin the fleet configuration:Starting
dstack-shimover SSH on Hot Aisle instances is now retried on every instance check until it succeeds, instead of a single unchecked attempt.While this PR is open,
DSTACK_FF_HOTAISLE_BARE_METAL_NO_FORCE_RELEASEis enabled by default (set it to0to disable), sodstackreleases bare metal servers withoutforce. If a fleet is deleted ordstackterminates the instance within the minimum reservation period, Hot Aisle refuses the release: the instance staysterminatingfor about 15 minutes whiledstackretries, thendstackmarks it terminated, but the server stays alive at Hot Aisle and must be released manually. The default will change to0before merging (see the TODO insettings.py).Confirmed with Hot Aisle
hotaisleuser with passwordless sudo, and Docker and AMD drivers preinstalled.userrole from the Hot Aisle API, so the key dstack uploads right before reserving works immediately.Before merging
instance_types: [bm-mi300x-8]andidle_duration: 8h. Keep all testing within the paid 8-hour period, ideally combined with work that needs 8x MI300X. Check the disk layout (lsblk,df -h) and, if needed, report the boot disk as the offer's disk size in gpuhunt and document the NVMe mount path.gpuhuntinstead of the branch.DSTACK_FF_HOTAISLE_BARE_METAL_NO_FORCE_RELEASEto0(see the TODO insettings.py).🤖 Generated with Claude Code