prism
/prism
Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.
- Author
- openJiuwen-ai ↗
- Repository
- FAST-Evolve ↗
- Licence
- Apache-2.0
- Last repository change
- 13.11.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 3
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 3 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: initial_program.py, initial_program_naive.py, scripts/evaluator.py
What it does and when to use it
Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.
Original author description
Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.
How it works
- Evaluator
- Program interface
- Optimization objective and guidance
SKILL.md preview
---
name: prism
description: Use when the user wants to solve or evolve the Prism GPU model-placement benchmark.
---
# Prism GPU Model Placement
Assign models to 80 GB GPUs to minimize the maximum KV-cache pressure ratio
while keeping every model within memory. The evaluator uses deterministic
synthetic test cases and maximizes the resulting fitness.
## Evaluator
Use the standard attempt-local artifact contract:
```text
main_artifact_name = solution.py
artifact_ref = runs/<run_id>/tasks/<task_id>/attempts/<attempt_id>/solution.py
```
In the commands below, `<skill_dir>` is the directory containing this SKILL.md.
Run only:
```bash
python <skill_dir>/scripts/evaluator.py --run-id <run_id> --task-id <task_id> --artifact-ref <artifact_ref> --out runs/<run_id>/tasks/<task_id>/attempts/<attempt_id>/eval_result.json
```
The evaluator validates model identity, placement completeness, and GPU memory
constraints before recording the score.
## Program interface
The candidate must define:
```python
def compute_model_placement(gpu_num, models):
...
```
Return a mapping from GPU IDs to lists containing exactly the input model
objects. `initial_program.py` is the initial reference program; the naive
baseline is retained as `initial_program_naive.py` for comparison only.
## Optimization objective and guidance
You are an expert in model placement on GPUs. Improve the model placement
algorithm by improving the `compute_model_placement` function in the initial
program that places models on available GPUs.
The algorithm must minimize the maximum KVPR across all GPUs while ensuring
that models fit in the GPUs' memory. KVPR is KV-cache pressure for a GPU and
indicates how crowded that GPU is. For a specific GPU, compute it as:
`sum(model.req_rate / model.slo for model in models) / (GPU_MEM_SIZE - sum(model.model_size for model in models))`
The generated program should be as simple as possible and execute correctly
without errors.
Files in this package (4)
- SKILL.md 2 KB
- initial_program.py 2 KB
- initial_program_naive.py 1 KB
- scripts/evaluator.py 11 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · openJiuwen-ai/FAST-Evolve | 95 | Apache-2.0 |
| sarvamai/skills | 100 | Apache-2.0 |
| OutlineDriven/outline-driven-development | 100 | Apache-2.0 |
| gooonzick/prism | 95 | MIT |
| lmsutools/prism-progressive-routing-indexing-skill-manager | 95 | MIT |
| LilMGenius/paperthin | 90 | MIT |
| gosuda/dalcom-skills | 85 | Apache-2.0 |
| tonone-ai/tonone | 85 | MIT |
Database snapshot: 13.11.2026 · package version e7f9729864c8 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 84prism-advise
Get CLAUDE.md recommendations from PRISM. Use when asked to audit, fix, improve, or check what is wrong with a CLAUDE.md file. - 84prism-analyze
Analyze Claude Code session health using PRISM. Use when asked to check token usage, audit CLAUDE.md, understand why sessions are failing, or list projects. - 100setup
Use when setting up or configuring ng-prism (@ng-prism/core) in an Angular CLI or Nx workspace - ng add, ng-prism.config.ts, the prism and prism-build targets and their options, adding an official plugin (jsdoc, box-model, figma, perf, coverage, visual-regression), theming the… - 100prism-story
Run the full Prism story lifecycle directly in the host with Beads-backed phase state and role-aligned Specify, Design, Breakdown, Human, Apply, and Verify contracts. Use when the user runs $prism:story, /prism:story, /prism-story, explicitly targets a Prism story, or asks to continue one story. - 100prism-lifecycle
Route Prism work to the host-native story or epic lifecycle and, when explicitly requested, advance a deterministic snapshot of all open Prism epics. Use when the user runs $prism:lifecycle, /prism:lifecycle, or /prism-lifecycle; asks to run or advance the primary host workflow;… - 100prism-scanner-module
Creates or extends scanner modules in packages/ng-prism/src/builder/scanner/. Triggers on "add scanner", "new extractor", "extend scanner", "add extraction", "scanner module".