diff --git a/README.ko.md b/README.ko.md new file mode 100644 index 0000000..2306ff4 --- /dev/null +++ b/README.ko.md @@ -0,0 +1,240 @@ +
+ +--- + +**rm-core**는 [ai-rm](https://github.com/ai-computing/ai-rm)의 계약 패키지입니다. 가속기(L1), 메모리 계층과 KV +전송(L2), 워크로드와 배치(L3–L4), 공통 메트릭 스키마로 구성요소 사이의 약속을 정의하므로 구성요소끼리 서로 +import하지 않습니다. 타입, 인터페이스, 참조 구현, 적합성(conformance) 검사만 담고 있으며 표준 라이브러리만 쓰고 +(Python 3.9+) 런타임 의존성이 없습니다. 규범 명세는 [PROTOCOL.md](PROTOCOL.md)(v0.1, 영문)이고, 현재 릴리스는 +0.1.1입니다. + +## ✨ 주요 특징 + +|
+계층별 타입 계약 + Accelerator / AcceleratorProvider(L1), MemoryTier / KVLayout /
+KVTransport(L2), Workload / Placement(L3–L4). 검증에 실패하면
+ContractError를 냅니다.
+ |
+
+이름으로 선택 +구성요소는 어댑터를 Python entry point로 등록하고, 런타임은 rm_core.registry.load(group, name)로
+불러옵니다. 구현을 바꾸는 일은 코드가 아니라 설정 변경입니다.
+ |
+
+적합성 검사 + python -m rm_core.conformance가 등록된 모든 구현에 계약 검사를 돌리고 PASS, SKIP(하드웨어 없음),
+FAIL로 보고합니다.
+ |
+
|
+하나의 메트릭 언어 + rm_core.metrics.METRICS가 이름, 단위, 태그(TTFT, TPOT, tok/s, 전력, MFU, KV 전송 …)를 고정합니다.
+Prometheus 시계열 이름은 airm_<name>입니다.
+ |
+
+Kubernetes 표현 + AcceleratorProfile CRD(airm.ai-computing.io/v1alpha1)와 노드 레이블.
+rm_core.k8s가 만들고 다시 읽습니다.
+ |
+
+참조 구현 + sim, loopback, greedy는 하드웨어 없이 동작합니다. 기대 동작을 정의하고, 실제
+어댑터를 작성할 때 본뜰 형태가 됩니다.
+ |
+
rm_core.metrics.METRICS)+ English · 한국어 +
+ + + ++ Quick start · + ai-rm integration · + Architecture · + Protocol · + Roadmap +
+ +|
+Typed contracts per layer + Accelerator / AcceleratorProvider (L1), MemoryTier / KVLayout /
+KVTransport (L2), Workload / Placement (L3–L4), with validation that raises
+ContractError.
+ |
+
+Selected by name +Components register adapters as Python entry points and runtimes load them with + rm_core.registry.load(group, name), so switching an implementation is a configuration change.
+ |
+
+Checked by conformance + python -m rm_core.conformance runs the contract checks for every registered implementation and reports
+PASS, SKIP (no hardware) or FAIL.
+ |
+
|
+One metric language + rm_core.metrics.METRICS fixes names, units and tags (TTFT, TPOT, tok/s, power, MFU, KV transfer …);
+Prometheus series are named airm_<name>.
+ |
+
+Kubernetes representation +The AcceleratorProfile CRD (airm.ai-computing.io/v1alpha1) and node labels, built and read
+back by rm_core.k8s.
+ |
+
+Reference implementations + sim, loopback and greedy need no hardware. They define the expected behavior
+and are the shape to copy when writing a real adapter.
+ |
+
rm_core.metrics.METRICS)