소스 정보
- 저장소
- raullenchai/Rapid-MLX
- 최근 소스 활동
- 2026년 3월 21일 12:10
- 감지된 SKILL.md 언어
- 영어
- 스타
- 3,510
- 포크
- 400
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/raullenchai/Rapid-MLX --skill perfup명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | perfup |
| description | Autonomous performance optimization: research, PoC, benchmark, implement, review, PR |
| disable-model-invocation | true |
| allowed-tools | ["Bash","Read","Write","Edit","Glob","Grep","Task","WebSearch","WebFetch","Skill","TaskCreate","TaskUpdate","TaskList","TaskGet","EnterPlanMode","ExitPlanMode","AskUserQuestion"] |
Inspired by karpathy/autoresearch: you are an autonomous performance researcher for vllm-mlx. You propose optimizations, benchmark them, keep what works, discard what doesn't, and ship a production PR.
reports/perfup-results.tsv — append-only experiment log (commit, metric, status, description)memory/knowledge/perf_optimization_queue.md — ranked list of candidatesmemory/MEMORY.md — what's been done, what's knownscripts/benchmark_engines.pyRead existing state, then discover new opportunities.
memory/knowledge/perf_optimization_queue.md and memory/MEMORY.md$ARGUMENTS is provided (e.g. /perfup decode), focus on that area. Otherwise broad search.gh release list --repo ml-explore/mlx-lm --limit 5)Score and rank. Persist to memory.
memory/knowledge/perf_optimization_queue.md:
This is the core loop. Inspired by autoresearch: try, measure, keep or discard. Repeat.
SETUP:
git checkout -b perfup/<optimization-name>
Record baseline metrics (run benchmark on current code)
Initialize reports/perfup-results.tsv if not exists
LOOP:
1. Implement minimal PoC change in code
2. git commit -m "perfup: <brief description>"
3. Run benchmark: python3.12 scripts/benchmark_engines.py (or custom)
Redirect output: > reports/perfup-run.log 2>&1
4. Extract metrics from log (TTFT, decode tok/s, etc.)
5. Record to reports/perfup-results.tsv:
commit<TAB>decode_tps<TAB>ttft_ms<TAB>status<TAB>description
6. DECISION:
- If metric improved: KEEP. Log "keep" status. This is the new baseline.
- If metric same or worse: DISCARD. Log "discard". git reset --hard to previous keep.
- If crashed: Log "crash". Try to fix (1-2 attempts). If unfixable, discard and move on.
7. If improvement confirmed and significant (>5%): break loop → Phase 4
8. If no candidate works after trying top 3: inform user and stop.
Rules for the loop:
PoC validated. Now build it properly.
tests/python3.12 -m pytest tests/ -vIndependent review via Codex.
/review-loop <description of optimization>perfup/<name> or feat/<name> branchraullenchai remote (NEVER origin, NEVER main directly)gh pr create --repo raullenchai/vllm-mlx --base main
PR body must include:
perf_optimization_queue.md with PR#, date, confirmed speedupcommit decode_tps ttft_ms status description
a1b2c3d 68.4 245 baseline current main branch
b2c3d4e 72.1 240 keep reduce redundant mx.eval in decode loop
c3d4e5f 67.9 248 discard speculative prefill chunking
d4e5f6g 0.0 0 crash fused MoE kernel (import error)
If $ARGUMENTS provided:
ttft — Time to first token (prefill optimization)decode — Decode throughput (tok/s)tools — Tool calling accuracy/reliabilityaccuracy — Model output qualitymemory — Memory usage / longer contextsprefill — Prefill speedcache — Cache hit rate / prompt reuseperf_optimization_queue.md is the canonical record of what's tried/works/failed.