Skip to main content
Run any Skill in Manus
with one click

cf-pytorch

Stars5
Forks1
UpdatedJune 25, 2026 at 12:51

在 common_func 项目中使用 PyTorch 写训练、推理、checkpoint、device/dtype 管理、tensor/numpy 转换、局部 torch 随机数、梯度控制、学习率工具或 NaN/Inf 诊断时触发。用于指导优先使用 pytorch_functions.py 中的 get_device、to_device、get_local_rng、to_tensor、save_checkpoint、load_checkpoint、no_grad_eval、concat_outputs、check_tensor_finite 等封装。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly