ComputeQuota
Source:
src/AWS/SageMaker/ComputeQuota.ts
A SageMaker HyperPod compute allocation (task governance) — reserves instance capacity on an EKS-orchestrated HyperPod cluster for a team, with fair-share weights and borrow/lend rules for idle compute.
Creating Compute Allocations
Section titled “Creating Compute Allocations”import * as AWS from "alchemy/AWS";
const quota = yield* AWS.SageMaker.ComputeQuota("ResearchQuota", { clusterArn: hyperpod.clusterArn, computeQuotaTarget: { TeamName: "research", FairShareWeight: 10 }, computeQuotaConfig: { ComputeQuotaResources: [{ InstanceType: "ml.g5.xlarge", Count: 2 }], ResourceSharingConfig: { Strategy: "Lend", BorrowLimit: 50 }, },});