技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
performance-and-analysis【数据与研究】Use SpikingJelly CUDA/CuPy/Triton backends, FlexSN, precision conversion, memory optimization, op counting, and energy/profiling workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about runtime backends, custom kernels, precision policy, memory optimization, profiling, operation counts, or energy-style analysis for SpikingJelly models.
torch, cupy, and triton neuron backend selection and smoke checks.cuda_kernel: CuPy-backed CUDA utilities, auto-CUDA code generation, spike-linear helpers, and experimental fused IF/LIF-linear kernels.triton_kernel: predefined multi-step Triton neurons, surrogate kernels, compression helpers, FlexSN, and torch-to-Triton tooling.precision: PrecisionConfig, prepare_model_for_precision, build_capability_report, validate_capability, and precision report saving.memopt: memory_optimization, gradient checkpointing, spike compression, profile/level selection, and MemOptSummary interpretation.op_counter: DispatchCounterMode, FunctionCounterMode, FLOP/MAC/AC/SynOp counters, memory-access counters, and compute-energy estimators.quantize.py and backend-related capability checks when they support the above workflows.step_mode, reset, neurons, layers, monitors, or surrogate-gradient concepts: route to core-snn.train_classify, distributed topology, or benchmark launch planning: route to training-and-scaleout.references/backend-performance.mdreferences/memory-precision-profiling.mdreferences/troubleshooting.mdscripts/backend_smoke.py: tiny LIFNode forward smoke for torch, cupy, and triton, with graceful skips for unavailable optional backends.scripts/memory_precision_smoke.py: safe CPU-oriented precision, capability-report, memory-optimization, and energy-counting probe.torch, torch.cuda.is_available(), cupy, triton, and any selected FP8 package.scripts/backend_smoke.py and compare against the torch backend before blaming model logic.prepare_model_for_precision(model, device, config) before constructing the optimizer because modules may be replaced.dummy_input when requesting level > 1 or when profiling needs real activation sizes; otherwise expect fallback to safer checkpoint-only behavior.DispatchCounterMode or use estimate_compute_energy; do not present normalized counts as exact hardware power measurements.The prepared inspection environment verified imports for spikingjelly.activation_based.precision, triton_kernel, memopt, op_counter, and cuda_kernel; CUDA was visible on an A100 host; cupy-cuda12x and triton==3.3.1 were installed; tiny torch/CuPy/Triton LIFNode forwards passed. Optional Transformer Engine FP8, TorchAO FP8 execution, Megatron Core LLM scale-out, and Lava runtime were not part of the verified minimum.