Build GPU Infrastructure Workload Allocator with AI SDK and Milvus
Cloud data centers face GPU cost volatility and resource allocation inefficiencies. Build a TypeScript allocation agent using Vercel AI SDK and Milvus vector search to continuously match deep learning workloads with optimal GPU clusters, reducing compute costs by over 20%.
What you are building
Construct an intelligent GPU workload scheduler leveraging Vercel AI SDK streaming and Milvus vector similarity search.
How work is evaluated
Evaluates GPU workload node assignment efficiency and cost reduction score.
Datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
budget_compliance
Ensures allocated instance cost does not exceed input max budget
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
cost_efficiency
Cost savings metric compared to baseline random allocation • target: 0.25 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Learning goals
Implement dynamic tool calling using Vercel AI SDK (`ai`) in TypeScript
Perform high-dimensional workload profile indexing and retrieval using Milvus vector database
Optimize GPU server cluster selection for minimum cost and latency
Resources
Telemetry logs of GPU node pricing and utilization metrics across cloud regions.
Challenge setup
Evaluates GPU workload node assignment efficiency and cost reduction score.
Challenge input
JSON containing batch_size, model_params_billions, memory_gb, max_budget_usd
AI SDK
Provides seamless TypeScript LLM streaming and function calling
Milvus
Enables fast vector similarity search over cluster profiles
Evaluated output
JSON containing assigned_instance, cost_per_hour, and vector_distance
- Ensures allocated instance cost does not exceed input max budget
- Cost savings metric compared to baseline random allocation • target: 0.25 • range: 0-1
- Benchmark: Cloud-GPU-Bench
- Cost Efficiency target: 0.25
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
Shows the first task, up to three tools, and up to three evidence items.
View technical recipe
Configured tools
- Milvus · Required
- Vercel AI SDK · Optional
- Bland AI · Optional
- Vercel AI SDK · Optional
Evaluation contract
- budget_compliance · Weight 1
- cost_efficiency · Weight 1
Metrics
- cost_efficiency · Target 0.25
Benchmarks
- Cloud-GPU-Bench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing batch_size, model_params_billions, memory_gb, max_budget_usd
Output: JSON containing assigned_instance, cost_per_hour, and vector_distance
Execution harness: JavaScript
Evaluation tools
- AI SDK · Agent Framework
- Milvus · Inference & Model Runtime
Recipe freeze marker
No recipe freeze time is recorded.