main.ftl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. cluster-not-found = Cluster "{ $name }" not found
  2. nccl-config-missing = NCCL config not found
  3. cluster-auto-fail = No suitable cluster found
  4. cluster-selected = ✅ Auto-selected cluster: { $name } ({ $nodes } { $nodes ->
  5. [one] node
  6. *[other] nodes
  7. })
  8. container-log-header = 📜 Latest container logs:
  9. cluster-stopping = 🛑 Stopping cluster '{ $name }'...
  10. cluster-all-stopped = ✅ All containers stopped.
  11. cluster-section = === Cluster: { $name } ===
  12. doctor-header = 🩺 Doctor: { $name } ({ $engine }) [backend: { $backend }]
  13. doctor-node-section = --- { $name } ---
  14. doctor-all-passed = ✅ All checks passed!
  15. doctor-checks-failed = ⚠ Some checks failed. Run with --repair to auto-fix.
  16. doctor-repairing = 🔧 Repairing image...
  17. doctor-repaired = ✅ Repaired image: { $tag }
  18. doctor-dry-build = (dry-run) Would build { $tag } on { $node }
  19. logs-follow-head = 📜 Following logs for '{ $name }' (head node)...
  20. logs-section = --- { $name } ---
  21. health-cluster-header = === { $name } === { $nodes } { $nodes ->
  22. [one] node
  23. *[other] nodes
  24. }
  25. health-switch-off = 🚫 switch off
  26. health-interface-down = 🌐 interface down
  27. health-all-online = ✅ all online
  28. health-partial-online = ({ $online } online, { $offline } offline)
  29. health-node-online-cluster-down = ◍ { $name } ({ $ip }){ $net } — online (cluster offline)
  30. health-free-count = — { $free } free
  31. health-cluster-down = ⏻ cluster offline
  32. health-soft-off = ⚙ { $list } off (non-blocking)
  33. health-net-status = [net: { $details }]
  34. health-no-containers = (no containers)
  35. health-no-containers-inline = , no containers
  36. exec-header = ⚡ exec: { $cmd } ({ $nodes } { $nodes ->
  37. [one] node
  38. *[other] nodes
  39. })
  40. exec-section = --- { $name } ---
  41. exec-failed = ✗ { $name } :: { $cmd } :: { $error }
  42. exec-completed-errors = exec completed with errors (some nodes reported failures)
  43. power-off-dryrun = dry-run: skipping actual shutdown + HA call
  44. power-off-mikrotik-skip = { $entity } is a RouterOS API device ({ $address }) — HA skipped
  45. power-off-mikrotik-would = would: RouterOS /system/shutdown { $name } ({ $address })
  46. power-off-mikrotik-failed = { $name }: RouterOS shutdown failed ({ $error })
  47. power-on-mikrotik-manual = { $name }: RouterOS device — no remote power-on; power it on manually
  48. power-on-mikrotik-manual-would = would: power on { $name } manually (RouterOS has no remote on)
  49. power-off-mikrotik-relay = { $name }: relay { $relay } switched off (power cut)
  50. power-off-mikrotik-relay-would = would: turn off relay { $relay } (cuts power to { $name })
  51. power-off-mikrotik-relay-failed = { $name }: could not switch off relay { $relay } ({ $error }) — verify the outlet is de-energized
  52. power-on-mikrotik-relay-would = would: turn on relay { $relay} (powers on { $name})
  53. power-off-would = would: { $action } { $target }
  54. power-off-shutdown-failed = ✗ { $name } :: { $cmd } :: { $error }
  55. power-off-waiting = ⏳ waiting { $secs }s for nodes to settle
  56. power-off-no-ha = no [home_assistant] config; OS shutdown was performed above
  57. power-off-ssh-failures = some nodes reported SSH failures during shutdown
  58. power-off-extras-skipped = subset power off ({ $nodes }): keeping cluster-level extras on ({ $extras }) — they are shared by the nodes that stay up
  59. power-off-extras-held = keeping { $entity } on — still in use by an active run on cluster(s): { $clusters }
  60. power-on-dryrun = dry-run: skipping actual HA call
  61. power-on-would-on = would: HA turn_on { $entity }
  62. power-on-would-skip = would skip: { $name } (no entity)
  63. power-on-head = 💡 power on: { $nodes } node(s)
  64. ha-invalid-entity = { $name }: invalid entity '{ $entity }': { $error }
  65. ha-call-failed = HA { $service } { $entity }: { $error }
  66. ha-skip-no-entity = ⚠ { $name }: no `entity` configured, skipping HA
  67. ha-extra-failed = HA { $service } { $extra } ({ $label }): { $error }
  68. power-switch-would-off = would: HA turn_off { $entity }
  69. power-switch-would-off-extra = would: HA turn_off { $extra } (from extras)
  70. power-switch-would-on = would: HA turn_on { $entity }
  71. power-switch-would-on-extra = would: HA turn_on { $extra } (to extras)
  72. power-switch-shutdown-failed = ✗ { $name } shutdown: { $error }
  73. power-switch-waiting = ⏳ waiting { $secs }s for shutdown
  74. power-switch-no-ha = no [home_assistant] config; OS shutdown was performed
  75. power-off-entity-would = would: HA turn_off { $entity }
  76. pre-serve-skip = ⏭ Skipping pre-serve hooks (--skip-before-serve)
  77. pre-serve-failed = pre-serve: node { $name } failed: { $error }
  78. pre-serve-run = { $node } ({ $tag }) :: { $cmd }
  79. pre-serve-ignored = ⚠ { $cmd } ignored: { $error }
  80. host-key-header = Discovered host keys:
  81. host-key-line = { $name } ({ $ip }) -> host_key = { $key }
  82. host-key-error = { $name } ({ $ip }) -> error: { $error }
  83. host-key-no-match = (no nodes matched)
  84. recipe-starting = 🚀 Starting recipe: { $name } ({ $engine }) [backend: { $backend }]
  85. cold-applied = ❄ --cold: applied the recipe's cold_args over its args
  86. cold-no-block = ❄ --cold: recipe '{ $name }' has no cold_args; serving with normal args
  87. cluster-switch-off-detected = ⚠️ Cluster switch appears to be off
  88. cluster-switch-powered-on = ✅ Cluster switch powered on
  89. cluster-waiting-for-nodes = ⏳ Waiting for nodes to become available...
  90. cluster-nodes-available = ✅ All nodes are now available
  91. cluster-nodes-not-available-timeout = ❌ Timeout waiting for nodes to become available
  92. logs-header = 📜 Logs for cluster '{ $name }' ({ $count } nodes)
  93. engine-started = ✅ { $engine } started on { $name } (rank { $rank })
  94. engine-start-failed = Failed to start { $engine } on { $name } (rank { $rank }): { $error }
  95. cluster-started = 🎉 Cluster started! API → http://{ $ip }:{ $port }
  96. exec-both-specified = Specify either --cluster or --recipe, not both
  97. exec-missing = Must specify either --cluster or --recipe
  98. exec-node-not-found = Node '{ $name }' not found in cluster '{ $cluster }'
  99. exec-cluster-empty = Cluster '{ $name }' has no nodes
  100. exec-cannot-use-alias = Cannot use --alias together with a trailing command
  101. exec-must-specify = Must specify either --alias <name> or a command after `--`
  102. exec-unknown-alias-empty = Unknown alias @{ $name } (no aliases configured)
  103. exec-unknown-alias-list = Unknown alias @{ $name }; known aliases: { $aliases }
  104. mods-uploading = 📤 Uploading mods to { $node }...
  105. mods-uploaded = ✅ Mods uploaded to { $node }
  106. mods-entrypoint-required = Recipe '{ $name }' has mods but no entrypoint; entrypoint is required when mods are present
  107. after-stop-failed = after_stop: node { $name } failed: { $error }
  108. after-stop-run = { $node } ({ $tag }) :: { $cmd }
  109. after-stop-ignored = ⚠ { $cmd } ignored: { $error }
  110. solo-node-selected = 🎯 Solo: selected node { $name } in cluster { $cluster }
  111. # --- Strings that previously bypassed the i18n system (hardcoded) ---
  112. boot-wait = ⏳ Waiting { $secs }s for nodes to boot...
  113. doctor-found-repaired = 🩺 Found repaired image: { $tag }
  114. tmux-waiting-head = ⏳ Waiting for head node to be ready...
  115. tmux-head-ready = ✅ Head node ready. Starting worker nodes...
  116. tmux-head-api-ready = Head node API ready (attempt { $attempt })
  117. tmux-session-started = ✅ Session started on { $name }
  118. tmux-stopped = ✅ Stopped '{ $sess }' on { $name }
  119. tmux-all-stopped = ✅ All tmux sessions stopped.
  120. tmux-all-ok = ✅ ALL OK
  121. tmux-issues = ⚠️ { $issues }
  122. tmux-cluster-healthy = ✅ Cluster is healthy!
  123. tmux-node-section = --- { $name } ({ $sess }) ---
  124. tmux-node-no-output = --- { $name } — no output ---
  125. tmux-session-created = ✅ tmux session created on { $name }
  126. tmux-no-pty = (russh does not support interactive PTY. Use the following command directly:)
  127. sync-digest-match = '{ $name }' OK (digest matches)
  128. sync-syncing = { $name } ({ $ip }): syncing...
  129. sync-synced = { $name } OK
  130. sync-fabric-fallback = { $name }: 200G fabric hop failed ({ $err }) — falling back to 10G mgmt; fix node-to-node ssh over the fabric NICs (authorized_keys / host keys for the 200.x addresses)
  131. health-node-offline = ✗ { $name } ({ $ip }) — offline
  132. health-node-idle = ○ { $name } ({ $ip }){ $net }
  133. health-node-online = ● { $name } ({ $ip }){ $net }
  134. health-container-count = , { $count } { $count ->
  135. [one] container
  136. *[other] containers
  137. }
  138. power-off-head = 🛑 power off: { $nodes } node(s) — sudo shutdown now
  139. power-switch-head = 🔌 switch: { $from } → { $to } ({ $nodes } node(s) + { $entities } entity(ies) to disable)
  140. power-switch-powering-on = 💡 switch: powering on { $nodes } node(s) + { $entities } entity(ies) to { $to }
  141. health-task-join = task join: { $error }
  142. health-no-recipes = No sm121 containers running.
  143. health-running-recipes = Running recipes:
  144. health-recipe-line = { $recipe } — { $nodes } { $nodes ->
  145. [one] node
  146. *[other] nodes
  147. }: { $list }
  148. tmux-ray-backend = 🐍 Ray backend detected — starting head node first...
  149. tmux-mp-backend = 🔗 MP backend detected — starting all nodes in parallel...
  150. tmux-following-logs = 📜 Following logs from '{ $sess }' on { $name }...
  151. tmux-deploy-ignored-opts = ⚠️ tmux deploy: ignoring Docker-only CLI opts: { $opts }
  152. tmux-mods-unsupported = Recipe '{ $name }' uses [mods], which is Docker-only. tmux deployment does not support mods.
  153. tmux-composed-model-unsupported = Recipe '{ $name }' uses [composed_model], which is Docker-only. tmux deployment does not support composed model directories.
  154. tmux-health-section = Tmux:
  155. tmux-health-entry-running = { $recipe } — { $node }: running (API: { $api })
  156. tmux-health-entry-degraded = { $recipe } — { $node }: degraded (session exists, process dead)
  157. tmux-health-all-stopped = { $count ->
  158. [one] { $count } tmux recipe configured, all stopped
  159. *[other] { $count } tmux recipes configured, all stopped
  160. }
  161. tmux-api-ok = 200
  162. tmux-api-down = down
  163. venv-preparing = 🔧 Preparing venv: { $venv }
  164. venv-exists = ✓ venv already exists on { $name }
  165. venv-creating = venv not found on { $name } — creating...
  166. venv-created = ✓ venv created successfully on { $name }
  167. venv-not-created = venv was not created successfully on { $name } — setup commands ran but activate script is missing
  168. composed-dir-dry-run = [dry-run] would build composed model dir '{ $host }' on '{ $node }' (mount: { $mount }, { $sources } { $sources ->
  169. [one] source
  170. *[other] sources
  171. }, { $files } { $files ->
  172. [one] file
  173. *[other] files
  174. }, { $local } { $local ->
  175. [one] local file
  176. *[other] local files
  177. })
  178. composed-dir-built = Built composed model dir '{ $host }' on '{ $node }' ({ $sources } { $sources ->
  179. [one] source
  180. *[other] sources
  181. }, { $files } { $files ->
  182. [one] file
  183. *[other] files
  184. }, { $local } { $local ->
  185. [one] local file
  186. *[other] local files
  187. })
  188. # health render module (plain/md/html)
  189. health-nodes-count = { $nodes } { $nodes ->
  190. [one] node
  191. *[other] nodes
  192. }
  193. health-col-node = Node
  194. health-col-address = Address
  195. health-col-status = Status
  196. health-col-containers = Containers
  197. health-col-container = Container
  198. health-col-image = Image
  199. health-col-recipe = Recipe
  200. health-col-cluster = Cluster
  201. health-col-nodes = Nodes
  202. health-status-online = ● online
  203. health-status-offline = ✗ offline
  204. health-container-line = { $name } { $status } { $image }
  205. # sm121 report
  206. report-title = Tested recipes ({ $count })
  207. report-serving = Interactive recipe report: { $url } (live updates; Ctrl-C to stop)
  208. report-col-model = Model
  209. report-col-quant = Quant
  210. report-col-recipe = Recipe
  211. report-col-prov = Provenance
  212. report-col-engine = Engine
  213. report-col-nodes = Nodes×TP
  214. report-col-reports = Reports
  215. report-col-last = Last bench
  216. report-col-points = Points
  217. report-col-score = Score /100
  218. report-col-tps1 = Tok/s c1
  219. report-col-tps2 = Tok/s c2
  220. stop-not-verified = Containers not verified stopped on: { $nodes }
  221. report-col-up = Up
  222. report-col-launches = Launches
  223. dry-run-would-push = [dry-run] would push { $ref } (and refresh { $latest }) after the build
  224. push-mapping-failed = cannot map [registry].base { $base } to a push ref for { $image }
  225. pushing-image = Pushing image to { $ref } (tmux: { $session })...
  226. push-timeout = Push of { $ref } on { $node } timed out after { $elapsed } — inspect tmux session { $session } / log { $log } on the node.
  227. push-failed = Push of { $ref } on { $node } failed after { $elapsed }.\n{ $log }\nHint: if the log says unauthorized/denied — run `docker login { $host }` on { $node } (the launcher stores no registry credentials).
  228. pushed-image = Pushed { $ref } and refreshed { $latest } ({ $elapsed })
  229. push-running = Push running for { $elapsed }...
  230. push-already-published = { $ref } already published ({ $label}): unchanged image digest — skipping, use --force to re-publish
  231. power-on-on = { $name }: turned on
  232. power-on-cycled = { $name }: plug was on, node down — power cycled
  233. power-on-was-on = { $name }: plug already on (node up?) — left as is
  234. power-on-skip = { $name }: no HA entity — skipped
  235. power-on-failed = { $name }: HA call failed: { $error }
  236. power-on-cycling = ⟳ { $name }: plug reads on but the node is down — cycling { $entity }
  237. power-on-off-wait-timeout = { $name }: plug did not report off within 10 s (relay may have stuck)
  238. # --- recipe repos (src/recipe_repos.rs) ---
  239. git-failed = git { $cmd } failed: { $err }
  240. recipe-repo-archived-skip = recipe repo archived — skipping: { $url }
  241. recipe-repo-synced = recipe repo synced: { $url } → { $dir }
  242. recipe-repo-watch = repos watch: { $n } repo(s) synced, next re-sync in { $interval } min (Ctrl-C to stop)
  243. recipe-repo-unreachable = recipe repo '{ $url }' unreachable — skipping ({ $err }); continuing with the reachable repos
  244. repos-registry-corrupt = repos registry '{ $path }' is corrupt ({ $err }) — moving it to '{ $bak }' and starting fresh
  245. repos-registry-backup-failed = could not back up corrupt registry { $path }
  246. repos-none-configured = no [[recipe_repos]] configured
  247. repos-col-repo = repo
  248. repos-col-state = state
  249. repos-col-last = last sync
  250. repos-col-count = recipes
  251. repos-state-archived = archived
  252. repos-state-synced = synced
  253. repos-state-not-cloned = not cloned
  254. repos-sync-dry-reclone = [dry-run] would re-clone recipe repo { $url } → { $dir }
  255. repos-sync-dry-sync = [dry-run] would clone/pull recipe repo { $url } → { $dir }
  256. repos-none-synced = no recipe repos synced (all unreachable or archived)
  257. archive-config-dir-fail = cannot determine the global config dir (dirs::config_dir)
  258. archive-dry-archive = [dry-run] would archive '{ $url }' in { $path }
  259. archive-dry-unarchive = [dry-run] would unarchive '{ $url }' in { $path }
  260. archive-done = archived '{ $url }' in { $path }
  261. unarchive-done = unarchived '{ $url }' in { $path }
  262. # --- promote (src/promote.rs) ---
  263. promote-repo-not-configured = repo '{ $url }' is not a configured [[recipe_repos]] entry — add it to the config (the promote needs its token for the push)
  264. promote-checkout-missing = repo '{ $url }' is not synced — run `sm121 repos sync` (dry-run: no git I/O)
  265. promote-checkout-sync-fail = repo '{ $url }' is not synced — sync it first (sm121 repos sync)
  266. promote-detached-head = checkout { $path } is in detached HEAD — check out a branch first
  267. promote-same-repo = --from and --to must be different repos
  268. promote-recipe-not-in-source = recipe '{ $recipe }' not found in the source repo's checkout ({ $path }) — is the checkout current? (sm121 repos sync)
  269. promote-recipe-in-target = recipe '{ $recipe }' already exists in the target repo — refusing to overwrite (remove it there first)
  270. promote-cp-failed = cp failed: { $err }
  271. promote-cp-context = running cp
  272. promote-target-dir-context = target recipes/ dir
  273. promote-run-start = promoting '{ $recipe }' from { $from } to { $to } ({ $count } { $count ->
  274. [one] step
  275. *[other] steps
  276. })
  277. promote-source-checkout = source checkout: { $path }
  278. promote-target-checkout = target checkout: { $path }
  279. promote-step-line = [{ $side }] { $description }
  280. promote-done = promoted '{ $recipe }' — the target now has it; the next sync of both repos keeps the move
  281. promote-dry-head = [dry-run] promote '{ $recipe }' from { $from } to { $to }:
  282. promote-dry-suppressed = (suppressed: -d dry-run wins over --apply)
  283. promote-run-apply-hint = re-run with --apply to execute
  284. # --- registry image source (src/docker/registry_pull.rs) ---
  285. registry-needs-registry = --image-source registry requires a [registry] section in the config
  286. registry-ref-map-fail = cannot map image '{ $image }' to a registry ref under base '{ $base }' (the image name must be a bare <name>[:tag])
  287. registry-pull-context = registry pull on '{ $node }'
  288. registry-present = registry image '{ $image }' already present on '{ $node }' (checksum label matches)
  289. registry-pulled = pulled '{ $ref }' → '{ $image }' on '{ $node }' (checksum label verified)
  290. registry-dry-run = [dry-run] --image-source registry: pull { $ref } → tag '{ $image }' on { $count } { $count ->
  291. [one] node
  292. *[other] nodes
  293. } (checksum { $checksum }…)
  294. registry-tag-not-found = { $node }: tag '{ $ref }' not found in the registry — build + push it first (sm121 build --recipe { $recipe } --build-node <node>), or fall back to --image-source repo
  295. registry-tag-failed = { $node }: docker tag failed after the pull
  296. registry-label-mismatch = { $node }: the pulled image's sm121.checksum label is '{ $got }', expected '{ $checksum }' — the registry tag does not carry this build
  297. registry-output-unparseable = { $node }: unparseable pull output: { $out }
  298. registry-pull-failed = --image-source registry failed on: { $failed }
  299. # --- drop_caches hook (src/docker/mod.rs) ---
  300. drop-caches-start = Dropping page cache on all nodes...
  301. drop-caches-failed = drop_caches on { $node } failed: { $err }