CtrlK
BlogDocsLog inGet started
Tessl Logo

mixed-precision

Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.

63

Quality

73%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./researchclaw/skills/builtin/tooling/mixed-precision/SKILL.md
SKILL.md
Quality
Evals
Security

Mixed Precision Training Best Practice

Use torch.cuda.amp for automatic mixed precision:

  • Wrap forward pass in torch.cuda.amp.autocast()
  • Use GradScaler for loss scaling
  • BF16 preferred over FP16 on Ampere+ GPUs (RTX 3xxx, A100, RTX 4xxx)
  • Watch for NaN gradients — reduce learning rate if needed
  • Do NOT use amp with custom CUDA kernels unless tested
Repository
aiming-lab/AutoResearchClaw
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.