HivePaaS
Docker Swarm 기반 오픈소스 자체 호스팅 PaaS, SSL·백업·자동 확장 지원
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기SymPy-backed dependency graph for GPU training systems, from device physics and kernels to clusters, thermals, and economics.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Where does the cost of training an AI model come from?
I'm Cuper. People usually explain AI training with "more GPUs, more data, more money." It's true, and it never told me anything, so I followed that sentence down until it hit something physical: what the money buys, what the GPUs are doing, and what decides how fast they can do it. This repository is the map I built on the way, a calculator that runs on it, and a small lab where I tried training across unreliable datacenters.
The easiest way in is the site, which tells the story with pictures you can play with and a quick explanation behind every technical word:
https://cuuper22.github.io/gpu_stack-/
The bill collapses into one short line. Training needs about 6 arithmetic operations per model parameter per token it reads. Divide that by how fast your GPUs really run and multiply by what an hour of GPU costs you. The chip's speed on paper, the share of that speed you actually get, and the size of the model move the cost by the same amount, because each appears in that line once. After those comes how long you keep the hardware before replacing it.
The share of speed you actually get is the one people underestimate. The spec sheet number is a ceiling. Meta reports about 40 percent for Llama 3, and that counts as good.
Electricity is a small slice, though not as small as I first wrote. For a 7 billion parameter model trained on 2 trillion tokens on 1,024 H100s, power and cooling come to about 7.4 percent of the cost. Earlier versions of this page said about 6 percent; an audit against 2026 prices, measured server power and a separate term for the building moved it (what changed and why). At the industrial electricity prices of different places, with the calculator's other defaults (5.5-year server life, PUE 1.2), the same run ranges from about 5 percent (New Mexico average) to about 16 percent (California average). The rest is expensive hardware gradually becoming old hardware.
How the chip is made doesn't change the bill. The map once went down to lithography, atoms and even quarks. All of it reaches the cost through one number, how fast the GPU is, and that number is already on the spec sheet. I removed the quarks and kept a short layer on how chips are printed.
The calculator is as good as a rule of thumb, and no better. Checked against 27 published training runs (Llama, Pythia, BLOOM, OLMo and others), it usually lands within about a fifth of the reported GPU time. So does "6 times parameters times tokens, divided by 40 percent of the GPU's top speed." Energy and money can't be checked fairly, because published figures for them are mostly hours multiplied by a rated power or a rental price.
Spreading a run across flaky datacenters costs something whichever way you do it. On a tiny model trained on my laptop GPU, with the sites and outages simulated, a controller I wrote lost to simply letting each site train alone and averaging their weights every 8 steps. That plain approach also beat keeping the sites in lockstep, which a rerun on fresh seeds traced to a known effect: averaging smooths the jitter of training at a fixed learning rate. Letting the surviving site keep going through an outage did a few percent less work and learned about 1 percent worse.
python -m pip install -e .
gpu-stack estimate --params 7e9 --tokens 2e12 --gpu H100-SXM --gpus 1024
7 billion parameters, 2 trillion tokens, 1,024 x H100-SXM
(MFU 40%, PUE 1.2, electricity $0.0851/kWh)
Training time 2.4 days
GPU-hours 58,958
Energy 67.8 MWh
Electricity cost $5,766
Hardware cost (amortized) $71,910
Total cost $77,675
Cost per million tokens $0.0388
Add --explain to see what each number is made of, down to the equation, and whether each input was something you entered, a cited hardware spec, or an assumption. The same from Python:
from gpu_stack.calculator import estimate, format_breakdown
result = estimate(params=7e9, tokens=2e12, gpu="H100-SXM", n_gpus=1024)
print(round(result.training_days, 1), round(result.total_cost))
print(format_breakdown(result))
python -m pytest -q runs the tests (a couple of minutes).
gpu_stack/
core/ the equation engine: variables with units, equations, a resolver
scopes/ the map itself: training, GPUs, memory, networking, cooling, cost, chips
presets/ hardware specs and example scenarios, with sources
calculator.py the calculator, built on the map
drivers.py which inputs move the cost the most
research/ the lab: a small simulator of training across datacenters with outages
docs/ the site (Story, Calculator, Lab)
experiments/ the lab's input scenarios
I built this with AI coding agents. They write quickly, and they grade their own work unreliably in both directions: some real results were marked as failures because the pass mark was impossible, and some accidents were written up as insights. Going back through every result from the raw files taught me more than building the map did, and it's why the conclusions above are smaller than the early drafts claimed. What's left to fix is in ROADMAP.md.
Registry stats:
systems 17
variables 1319
constants 18
equations 735
root_inputs 604
leaves 252
Coverage:
non_constant_variables 1301
with_sp_units 1301
with_references 1301
equations 735
equations_with_references 735
equations_with_unit_check 672
| Signal | Value |
|---|---|
| Systems | 17 |
| Variables | 1319 |
| Constants | 18 |
| Equations | 735 |
| Root inputs | 604 |
| Leaves | 252 |
| Cycles | 0 |
| Topological order length | 1319 |
| Hard audit failures | 0 |
Non-constant variables with sp_units | 1301 |
| Non-constant variables with references | 1301 |
| Equations with references | 735 |
| Equations with unit checks | 672 |
| Root-debt families | 146 |
| Package version | 0.27.0 |