一键导入
gpu-experiment
Run GPU experiments on matpool.com A16 server. Pushes script to GPU, runs it, pulls results, creates experiment notes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run GPU experiments on matpool.com A16 server. Pushes script to GPU, runs it, pulls results, creates experiment notes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Validate GRPO training configs against 36 cross-framework bug avoidance rules (19 MUST DO + 17 MUST NOT). Covers 7 frameworks (DeepSpeed, Megatron, vLLM, verl, SGLang, rLLM, MindIE), 7 pattern classes, and MoE NaN avoidance.
Debug and diagnose GRPO training issues across verl, Megatron, DeepSpeed, and RTX 4090. Symptom-to-bug mapping, NaN debugging, Muon clipping avoidance, and CUDA stream safety analysis.
Navigate SGLang source code. Quick reference for subsystem locations, key classes, and data flow.
Navigate mechanistic interpretability concepts, tools, and SAE architectures. Quick reference for SAE variants, feature steering methods, circuit discovery, and trust calibration.
Navigate model merging strategies and theory. Quick reference for Task Arithmetic, DARE, TIES merging methods, alpha selection, and RTX 4090 validation results.
Navigate RDMA, InfiniBand, RoCE v2, AI cluster networking topology, and NCCL transport internals. Quick reference for Verbs API, QP/CQ/SRQ/MR, fat-tree/rail-aligned topology, DCQCN congestion control, GPUDirect RDMA, and cluster configuration.
| name | gpu-experiment |
| description | Run GPU experiments on matpool.com A16 server. Pushes script to GPU, runs it, pulls results, creates experiment notes. |
| triggers | ["run gpu experiment","gpu benchmark","gpu test","跑GPU实验","GPU benchmark","A16 benchmark"] |
Host: hz-t3.matpool.com
Port: 28959
User: root
SSH: SSHPASS='TUR]Nr3fyxM%7)iD' sshpass -e ssh -p 28959 -o StrictHostKeyChecking=no root@hz-t3.matpool.com
SCP: SSHPASS='TUR]Nr3fyxM%7)iD' sshpass -e scp -P 28959 <local> root@hz-t3.matpool.com:<remote>
Conda: source /root/miniconda3/bin/activate myconda
GPU: A16 15GB, CUDA 11.7, Driver 510.54, 10 SM
IMPORTANT: Always check GPU availability first with nvidia-smi. If unreachable, GPU is offline.
| Script | Description | Key Findings |
|---|---|---|
gpu_benchmark.py | GEMM + HBM bandwidth | 15.1 TFLOPS peak, ~170GB/s HBM |
gpu_micro_benchmark.py | Kernel launch, memory copy | 6.8us launch overhead |
gpu_kernel_tuning.py | LayerNorm, Softmax, GEMM fusion | LayerNorm 8.2x fusion speedup |
gpu_cuda_streams.py | Multi-stream overlap | A16: 0.75x (worse!) dual-stream |
gpu_cuda_graph_deep.py | CUDA Graph deep analysis | 8.13x speedup for 100 ops |
gpu_profiling_a16.py (renamed from gpu_profile_experiment) | A16 capabilities | A16 ≈ 1/10 A100 performance |
| Script | Description | Key Findings |
|---|---|---|
gpu_inference_sim.py | LLM inference simulation | 125M: 291 tok/s→13K@B=512 |
gpu_llm_inference.py | End-to-end LLM latency | Decode always memory-bound |
gpu_gqa_decode.py | GQA decode benchmark | Grouped KV 87.5% load reduction |
gpu_paged_attention.py | Paged vs naive attention | Python overhead 145-332% |
gpu_speculative_decode.py | Speculative decoding | Optimal K=3 at p=0.7 |
gpu_spec_decode_efficiency.py | Spec decode detailed | T=sharp→5.1x, draft cost must be <0.15x |
gpu_quant_inference.py | Quantized inference | FP16 4-5x over FP32 |
gpu_quant_accuracy.py | Quantization accuracy | KV INT8 cos_sim>0.9999 |
gpu_kv_offload.py | KV cache offloading | CPU offload +345-1384% latency |
gpu_lora_serving.py | LoRA serving benchmark | Merged 1.71x faster than on-the-fly |
gpu_scheduler_sim.py | Scheduler simulation | A16/2500 blocks: max 78 concurrent |
gpu_prefix_caching.py | Prefix caching benchmark | GRPO n=8 saves 68% compute |
gpu_prefix_cache_workload.py | Workload simulation | Multi-turn 16→80.4% hit rate |
gpu_model_distillation.py | Model distillation | 3.3x compress→4.0x latency reduce |
| Script | Description | Key Findings |
|---|---|---|
gpu_megatron_tp_bench.py | Megatron TP benchmark | TP=4: 95% efficiency |
gpu_moe_routing.py | MoE routing analysis | Compute/A2A≥678x on A16 |
gpu_moe_sim.py | MoE serving simulation | Active params = throughput bottleneck |
gpu_grad_reduce_step.py | Grad AllReduce + optimizer | Adam=75% memory, GA=16 saves 39% |
gpu_gradient_checkpoint.py | Gradient checkpointing | 40% memory save, 14% compute overhead |
gpu_mini_train.py | Mini training loop | AMP BF16 safest, FP16 w/o AMP diverges |
gpu_training_latency_model.py | Training latency model | Ridge point 86.5 ops/byte |
gpu_training_practice.py | Training practice | 16B/param for Adam training |
gpu_training_practice_v2.py | Training practice v2 | Full training loop |
| Script | Description | Key Findings |
|---|---|---|
gpu_comm_compute_overlap.py | Comm-compute overlap | A16 dual-stream SLOWER (0.75x) |
gpu_distributed_sim.py | Distributed training sim | AllReduce cost scales with model |
gpu_multigpu_sim.py | Multi-GPU simulation | NVLink comm <2% |
nvidia-smi via SSHscp the script to /root/conda activate myconda && python script.pynotebook/experiments/gpu-<name>.mdexport HF_HUB_OFFLINE=1 needed