Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)48k · #5605

remote-gpu-trainer

Skill này làm gì

Tool này giúp bạn chạy các tác vụ dài dùng card đồ họa (GPU) trên máy tính thuê hoặc máy tính ở xa. Nó đảm bảo kết quả được lưu lại và bạn không lãng phí tiền, ngay cả khi kết nối bị đứt hoặc máy bị tắt.

Khi nào nên dùng

  • ✓Khi bạn huấn luyện các mô hình trí tuệ nhân tạo mất nhiều thời gian.
  • ✓Khi bạn dùng máy tính thuê để xử lý lượng lớn dữ liệu.
  • ✓Khi bạn cần theo dõi và sửa lỗi cho các tác vụ chạy trên máy chủ từ xa.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/remote-gpu-trainer/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/remote-gpu-trainer/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chạy việc huấn luyện mạng nơ-ron của tôi trên một máy chủ thuê và lưu kết quả trước khi máy bị tắt.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Tool quản lý tác vụ của bạn trên những máy tính mà bạn không sở hữu. Nó lưu tiến độ và kết quả vào nơi an toàn, đảm bảo bạn không mất gì nếu kết nối bị đứt hoặc dịch vụ bị gián đoạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

remote-gpu-trainer — Remote GPU Job Orchestration

Overview

Deploy and babysit long-running GPU jobs on rented boxes you don't own, across any platform, and get the result off the box before the meter or a preemption kills it. The core insight: you are a short-term tenant on someone else's machine — so the job is to detach the work, make the result outlive the instance, and stop the meter safely, not to provision a cluster.

This skill is platform-agnostic at the core, platform-specific at the edges: a fixed set of operating principles + a 6-phase lifecycle that hold everywhere, plus one profile per platform (profiles/<platform>.md) that owns every concrete path, proxy, billing verb, and spot semantic. Its defensible value is the union the big orchestrators skip: Chinese cgroup-isolated rentals + bare-SSH cheap boxes + the disk-budget / monitoring / teardown reality that is the job on metered hardware.

When to Use This Skill

Use whenever the user deploys, trains, monitors, or troubleshoots a long-running GPU job on a RENTED or remote instance they do not own — training, eval, ablation sweeps, batch inference, or large data processing — on AutoDL, RunPod, vast.ai, Lambda, Paperspace, Chinese platforms (恒源云/矩池云/Featurize/ 揽睿星舟), a bare SSH box, Slurm, or Kubernetes; single OR multi-instance. Triggers (multilingual): "远程 GPU 训练", "GPU 租赁", "GPU rental", "租卡", "spot 抢占", "spot preemption", "断点续训", "resumable training", "tmux 训练守护", "防 SSH 断线", "scp/rsync 上传", "多实例 ablation", "远程 GPU 监控", "省钱关机/销毁实例", "stop vs terminate billing", "checkpoint 磁盘满", "CUDA OOM/显存不足", "loss NaN/loss spike", "loss 不下降/不收敛", "overfit 单 batch", "FSDP/DeepSpeed 配置", "多卡训练 hang", "dataloader worker/数据增广 bug". NOT for purely local single-GPU training, in-instance multi-GPU DDP (use torchrun/accelerate), managed multi-cloud price-shopping (use SkyPilot's skill), or zero-ops serverless (use Modal).

When NOT to use — and what to use instead

Situation Use instead
Local single-GPU, or multi-GPU DDP inside one box torchrun / accelerate directly
Managed multi-cloud price-shopping + auto spot-recovery across Western clouds SkyPilot (has its own Agent Skill) — then come back here to make your code resume-correct so its recovery actually works
Open BYOC dev environments dstack
Zero-ops serverless inference Modal
"Is this metric / ablation delta real?" REQUIRED: verifying-dl-experiments (this skill owns running the job; that one owns whether the number is true)

This skill is for the blind spot those tools leave: AutoDL + Chinese platforms, bare SSH/Slurm/K8s rentals, and the operational gotchas (inode caps, mirror stalls, cgroup OOM, silent sync, spot grace windows, irreversible teardown) that survive whichever provisioner you use.

Operating principles (the WHY — 10 invariants)

These hold on every metered, isolated, rented GPU; only the paths/CLI change. One line each; the deep form with cross-platform nuance is in references/principles.md (read it before Phase 0).

  1. Minimize paid wall-clock. The meter runs the whole time — smoke locally on CPU before renting, launch detached, release the instant verification passes.
  2. Cheap checks before expensive compute. A 1–2 batch CPU smoke (logger off) kills import/config/shape/scale bugs for ~free. (Smoke content → verifying-dl-experiments.)
  3. Trust artifacts you loaded, not log lines that claim success. "synced/saved/done" lies under a silently-failed write; a watcher's own state is also a claim — reconcile it against the real process/artifact.
  4. Know what survives stop vs destroy. Per platform, identify exactly which mount survives a stop and which survives a terminate — the data you need often lives on the volatile one. (The single biggest portability trap.)
  5. Storage fails on the dimension you're not watching. Disk dies on inodes before bytes; the real hog hides in a symlinked cache; clean by value (keep tiny evidence, drop big scratch); monitor df -i, not just df -h.
  6. Never mutate inputs under a live run. A running job holds its scripts in memory by byte-offset; overwriting one mid-run re-executes blocks. Version filenames.

…

Câu hỏi thường gặp

GPU là gì?

GPU là viết tắt của Graphics Processing Unit, tức bộ xử lý đồ họa. Đây là loại bộ xử lý rất giỏi trong các tác vụ tính toán nặng, chẳng hạn như huấn luyện mô hình trí tuệ nhân tạo.

“Remote instance” nghĩa là gì?

Đó là một máy tính mà bạn truy cập qua Internet, thay vì dùng máy vật lý của chính mình. Các máy này thường có phần cứng mạnh, như GPU, và bạn có thể thuê.

Vì sao tôi cần lo về việc lưu kết quả?

Các tác vụ dài trên máy thuê có thể bị gián đoạn bất cứ lúc nào. Việc lưu tiến độ giúp bạn tiếp tục từ chỗ đã dừng mà không phải làm lại từ đầu.

Chi tiết

Mô tả gốc của tác giả

Deploy, monitor, and debug long GPU jobs on RENTED/remote instances (AutoDL, RunPod, vast.ai, Lambda, Slurm, K8s): teardown/billing safety, spot resilience, resumable checkpointing, OOM/NaN triage.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5605
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự