Logo vun Remote Gpu Trainer

Remote Gpu Trainer

Communautéit
Hanyuyuan6
remote-gpu-trainer

AutoDL/vast.ai/RunPod/Lambda/Paperspace远程GPU启动、调试、监控、续训、并行、停止及卡住/OOM/NaN/全零指标排查;可验证状态/selection-best checkpoint/拉回结果。释放实例销毁机器及数据盘,不等同关机。长期镜像/恢复→mirror-research-artifacts。

Iwwersiicht

EditeurHanyuyuan6
Repositoryremote-gpu-trainer
Skill-Nummremote-gpu-trainer
Stären
42
Forks
6
Matgeliwwert Fichieren
65
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 65 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Hanyuyuan6 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Remote Gpu Trainer an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Hanyuyuan6/remote-gpu-trainer/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Hanyuyuan6/remote-gpu-trainer.git \
  .claude/skills/remote-gpu-trainer
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Remote Gpu Trainer an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Remote Gpu Trainer automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Remote Gpu Trainer net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Remote GPU Trainer

Mission

Move one experiment through RUN → VERIFY → DELIVER with the least control work that safely advances the user's outcome. This is the compute/control layer and owns one compute attempt. When the task spans several runs, nodes, independent side-effect lanes, or paper-wide closeout, route scheduling and state projection to research-artifact-hygiene (closeout ledger); do not duplicate a second controller here. Companion skills named anywhere in this skill (research-artifact-hygiene, mirror-research-artifacts, superpowers:*, huggingface-skills:*) are optional separate installs: without one, do the equivalent step with your own tools.

Start with the outcome, not a package

Before tools, write a compact internal decision:

  1. desired result and current verified state;
  2. exact next executable action;
  3. consequence level below;
  4. stop condition and where the result will live.

Do not preload incident catalogues, every platform profile, or a whole project SSoT. Pick one profile and one phase reference. Keep large evidence out of model context: verify identity/schema, parse task-relevant fields, and retain paths/hashes as an evidence index.

Consequence-based assurance

Classify the next consequence, not the noun used in a handoff:

LevelExamplesRequired assurance
L0 observeread-only probe, log/metadata parse, offline plan, same-scope pre-execution repairno new gate or receipt; preserve host identity and observational behavior
L1 reversible localfresh local staging, deterministic test, non-overwriting config generationone relevant check and ordinary rollback
L2 remote/costly non-destructivelaunch to a fresh path, pull, mirror, shutdown that preserves diskone action-specific preflight, one compact receipt, one independent postcheck
L3 irreversible/scientific authorityrelease/terminate that destroys storage, deletion, overwrite, new paid scope, protocol change, metric or paper promotioncurrent explicit scoped authority plus an independent consequence check

One consequence gets one assurance chain. Reuse accepted immutable evidence; never nest generic approval packages or make a reviewer re-approve read-only diagnosis. Execution permission is not task authority, but an already authorized bounded outcome carries through non-overwriting diagnosis, tests, parsing, hashes, and same-scope repair. Re-ask only when cost, irreversibility, protocol, publication, or target scope actually changes.

A research-protocol gate may only fail closed when passing it would make a reported number wrong. Before writing or honouring one, name the claim it protects. Split leakage, checkpoint/config mismatch, metric-definition drift, selection-on-test: fail closed. Missing paperwork, an absent manifest, an unavailable validator, a receipt that cannot be regenerated on this machine: warn, record the gap in the artifact, and PROCEED. A red gate that cannot make any number wrong is costing GPU hours and calendar days to protect a filing cabinet. When a gate blocks and the substantive evidence is already in hand by another route, say so in one line and continue on that route — do not idle a paid node waiting for a human to adjudicate paperwork. Data, secret and spend guards stay closed.

For a routine probe, launch, pull, or shutdown, use the maintained primitive. After one failed package and one successor, stop version churn: repair the primitive, use a minimal operator-visible command, or report one blocker. A protocol-preserving scientific source successor is not a renamed control package: keep frozen bytes immutable, bind one minimal successor to a fresh run identity, and test the changed behavior through the real consumer.

Action economics, authority retirement, capacity semantics, and exact-chain regression live in references/run-remote/control-economy.md; load it only for remote mutation, custody, storage recovery, or teardown.

RUN

Local machine

  • Never train, infer, or install deep-learning packages in conda base on a persistent machine. Enumerate, select the project environment, confirm sys.executable, then run (references/run-local/env-hygiene.md).
  • Route launch, multi-GPU, and local OOM to the matching file under references/run-local/.

Rented or shared machine

  1. Heavy compute (training, torchrun, inference) runs on the node, never on the operator's machine; if a local guard blocks it, go remote. Big files may transit this machine (step 9) but never stay on it. Before a paper experiment's real run, do the 30-minute pre-flight in references/verifying/preflight-review.md.
  2. Read exactly one profiles/<platform>.md; it owns paths, proxy, billing, stop and destruction semantics, and the instance-naming rule (rename every box <project>-<purpose>-<date> on creation).
  3. Read references/run-remote/principles.md, then the current phase in references/run-remote/lifecycle_checklist.md.
  4. Bind source/config/data identities and batch all source changes into one launch. Rehearse the exact command on CPU through every lifecycle point (stage switch, a save via the real probe, validation, test, export); assert finite losses (non-negative only where the objective is) and the reference parameter count. On one real batch, scripts/preflight_audit.py must pass: each normalization layer's input spread ≥ 10× its eps, raw inputs finite and of order 0.1–1, no scale set by an offset or one coefficient (references/verifying/methodology.md §6).
  5. Execute producer → serializer → actual parser/runner → target shell/OS. Mocks may suppress external side effects, never real parsing, paths, quoting, ancestry, time, or exit propagation.
  6. Launch detached into a fresh active/<run-id> and checkpoint to durable storage with idempotent resume. The node runs itself (probe → gate → dead-man → run → power-off) before any local step that can wait on a human: an unanswered prompt idles a paid GPU overnight. Then time ~50 steps (preflight_audit.py speed) and fix a data wait above 20 % (references/training/throughput-profiling.md T1–T8) or hours × price over budget before the long run.
  7. Close only validated work into export/<run-id>; quarantine failures. Never mirror mutable active/.
  8. Prove every fail-closed input EXISTS before renting, not after booting. Enumerate what the runner refuses to start without (per-checkpoint resolved config, dataset bundle provenance, prepared manifest) and locate each on the mirror, locally, and on the node. A smoke test proves the box runs, not that the run has inputs.
  9. Independent runs get their own box, in parallel — a serial queue on one machine is a choice. One writer per GPU still holds: parallel means more machines, never two writers on one. Say which runs are independent first.
  10. Route big transfers by measured speed: time a small probe on the node↔HF leg and on this machine's leg, take the faster; a hop here is staging only — upload, read back, delete, note it in the receipt.

Storage pressure is an active recovery problem, not a permanent blocker. Treat percentage as warning and required bytes + margin on the resolved device as the action threshold. Stop new writers, protect active/unknown/checkpoint/result/paper-bearing paths, reclaim only proven-regenerable task-local scratch under an exact allowlist, mirror valuable portable artifacts when appropriate, then remeasure. If the floor still fails, report the exact shortfall, expansion target, restart requirement, and do not silently shrink the science.

Monitor without burning model turns

The remote job must finish without an active chat. Put correctness on the box: detached process, checkpoint, bounded self-completion chain, and explicit artifact/marker. A UI spinner is not a watcher, and a session-bound background process is not restart-durable merely because the host still lists it as running.

  • Keep exactly one watcher for one live run. It exits on a material event or a bounded timeout.
  • Prefer on-box self-completion and an OS- or product-owned durable watcher whose restart behavior is verified.
  • Wake the model only for a material delta, terminal state, blocker, new authority, or agreed sparse cadence.
  • After restart, compaction, or transport loss, re-probe process/session/artifact truth before trusting UI state.
  • Silence or a log string is not current liveness, and liveness is not health: a status line names the metric, the reference run's same-epoch value and the data's age; costs, durations and timestamps are computed, not recalled.

Read references/run-remote/monitoring_patterns.md (durability, one watcher, polling, recovery) before creating a monitor.

Pull, shutdown, and release are different consequences

Before destructive teardown, require exact roster/bytes/SHA-256 and an actual restore/readback from the canonical remote into an independent temporary consumer location. On that consumer, safely load the checkpoint and recompute every reported metric from the full prediction population. The consumer may be another remote node; a resident Mac .pth and local PULL_VERIFIED.json are not universal requirements. Keep a thin logical record with URI, SHA-256, bytes, provider, mutability, verification date, and the bound consumer evidence. Current explicit authority still determines the provider action.

  • Dead-man timer at boot where shutdown keeps disks (AutoDL 关机): set DEADMAN_SECONDS (planned runtime × 1.5
    • pull window) for scripts/run_one.sh.template; after pull and hash checks, shut down and read back the stop.
  • Shutdown may stop compute while preserving provider disks; it does not imply release.
  • Release/terminate/destroy may delete storage or continue billing differently; verify current provider facts from its profile and obtain current L3 authority.
  • A request to make data safe enough that later release would be harmless is a custody quality bar, not release permission. If the user says "shut down, do not release," finish custody, run one idle/no-writer preflight, shut down once, verify offline, and preserve disks.
  • A stale delegated never release is a provisional guard, not policy. Once its risk closes and a newer direct user decision authorizes the exact instance consequence, retire it instead of repairing an obsolete package.

Keep evidence deletion, cache cleanup, overwrite, shutdown, and provider release as separate decisions.

VERIFY

A green run is not a trustworthy result. Before reporting a metric or ablation delta:

  • state seed and determinism settings;
  • isolate one variable for regression/causal attribution; for method comparisons allow method-specific tuning under the same search budget, and use a small factorial design for suspected interactions;
  • state metric direction (PSNR/SSIM/mAP ↑; LPIPS/NMSE/loss ↓);
  • classify the observation as bug, effect, or noise;
  • probe leakage, fairness, variance, and saved-artifact re-derivation.

The full scientific method is references/verifying/methodology.md; symptom-specific routes are representation-collapse.md and smoke-hidden-failures.md. A matching hash proves identity, a safe load proves checkpoint structure, and a fresh evaluator proves the metric — none substitutes for another. Audit and disclose integrity limits with the conclusion; do not silently relabel controls as paper evidence.

DELIVER

Remote delivery ends at a validated closed export or a validated thin logical run that points to canonical remote checkpoint/results. The canonical capsule layout is references/run-remote/artifact-layout.md; long-term project organization belongs to research-artifact-hygiene, durable/local/cloud replicas to mirror-research-artifacts, paper synthesis to the relevant paper/figure skill, with references/delivering/legacy-publication-guidance.md and scripts/reconcile.py for synthesis rules and cross-document drift. Keep software and hardware evidence separate. This skill never invents ground truth or GT-derived metrics; no-GT hardware retains finite-forward rows and applicable prediction/overlay visuals with metrics declared not applicable.

Lead the user-facing result with usable artifacts and verified status, then residuals and a compact evidence index. Receipts, failed attempts, and internal control versions stay under the trust area, not in the product structure.

Resource router

  • local execution: references/run-local/; per-platform facts: profiles/
  • remote lifecycle, transport, storage, monitoring, layout: references/run-remote/
  • OOM, hangs, NaN, throughput, convergence, data pipeline, checkpoint resume: references/training/
  • scientific result verification: references/verifying/; runnable templates and checkers (wrappers, monitors, transfer, acceptance, reconciliation, preflight): scripts/

Load only the resource named by the current route. A generalizable, reproduced root cause may be proposed via references/self-improvement.md; project facts belong in project memory/SSoT, not this global entrypoint.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

a weider 5 Fichieren.

Heefeg gestallte Froen

Wat mécht de KI-Skill Remote Gpu Trainer?

AutoDL/vast.ai/RunPod/Lambda/Paperspace远程GPU启动、调试、监控、续训、并行、停止及卡住/OOM/NaN/全零指标排查;可验证状态/selection-best checkpoint/拉回结果。释放实例销毁机器及数据盘,不等同关机。长期镜像/恢复→mirror-research-artifacts。

Firwat Remote Gpu Trainer op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Remote Gpu Trainer besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Remote Gpu Trainer an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Hanyuyuan6/remote-gpu-trainer/tree/main an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Remote Gpu Trainer benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Remote Gpu Trainer benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Remote Gpu Trainer domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Remote Gpu Trainer gratis?

Jo. De Skill gëtt vum Hanyuyuan6 ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇