Skip to content

--estimate-only ignores --count: a 2-node --mpi launch quotes the single-instance TTL cost #662

Closed

Description

@scttfrdmn

spawn launch x --instance-type c8g.48xlarge --count 2 --job-array-name x --mpi --efa --ttl 1h --estimate-only prints

On-demand:  $7.6570/hr (live)
TTL cost:   $7.66 (1 hr)

The real ceiling is $15.31 (2 x 1 h). The TTL line (https://github.com/spore-host/spawn/blob/528e038/cmd/launch_single.go#L363) multiplies the per-instance rate by duration only. For job arrays / MPI cohorts the estimate should multiply by --count (and show per-instance and total), since the point of the estimate is the bounded spend of the launch.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions