Skip to content

--mpi auto-placement-group fails for hpc6a: cluster placement groups not supported by HPC instance types #104

Closed

Description

@scttfrdmn

Summary

spawn launch --mpi enables --auto-placement-group by default, which attempts to create a cluster placement group. hpc6a.48xlarge (and other HPC instance types) do not support cluster placement groups — they use partition placement internally via AWS HPC infrastructure. The result is a hard failure that prevents the cluster from launching.

Error

placement group validation: instance type hpc6a.48xlarge does not support cluster placement groups

Reproduction

spawn launch fem-hpc \
    --instance-type hpc6a.48xlarge \
    --count 2 \
    --mpi --efa \
    --region us-east-2
# Fails — auto-placement-group=true by default with --mpi

Workaround

spawn launch fem-hpc \
    --instance-type hpc6a.48xlarge \
    --count 2 \
    --mpi --efa \
    --auto-placement-group=false \
    --region us-east-2

Expected behaviour

--auto-placement-group should be skipped (or default to false) for instance types that are known to not support cluster placement groups. The HPC family (hpc6a, hpc7a, hpc7g) all fall into this category. Spawn already has instance type metadata for EFA validation — the same list could gate placement group creation.

Alternatively, the validation error could be a warning rather than a hard failure, with spawn automatically falling back to no placement group when the instance type doesn't support it.

Version

spawn v0.34.13 (also present in v0.39.0 based on current --help output)


Migrated from spore-host/spore-host#353 — refiled here as spawn issues belong on this repo.

Activity

  1. added
    bug
    area:mpi
    on Jun 12, 2026
  2. added a commit that references this issue on Jun 12, 2026
  3. scttfrdmn commented on Jun 12, 2026

    @scttfrdmn
    ContributorAuthor

    Fixed in #111 (merged). spawn now sources instance-type capabilities from truffle (GetCapabilities).

  4. scttfrdmn commented on Jun 12, 2026

    @scttfrdmn
    ContributorAuthor

    Verified fixed in spawn v0.43.0 (truffle v0.38.1). spawn launch --instance-type hpc6a.48xlarge --count 2 --mpi --efa no longer hard-fails on placement-group validation — HPC types are skipped gracefully. Previously this errored at exactly this point with "instance type hpc6a.48xlarge does not support cluster placement groups", forcing --auto-placement-group=false. That workaround is no longer needed. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mpibug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions