Skip to main content

torch-compile

Optimizes PyTorch models using torch.compile and TorchInductor for enhanced training and inference performance.

Install this skill

or
81/100

Security score

The torch-compile skill was audited on Mar 4, 2026 and we found 5 security issues across 2 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

high line 205

Eval function call - arbitrary code execution

SourceSKILL.md
205model.eval()
low line 484

External URL reference

SourceSKILL.md
484- [torch.compile tutorial](https://pytorch.org/tutorials/intermediate/torch_compile_tutorial.html)
low line 485

External URL reference

SourceSKILL.md
485- [TorchDynamo deep dive](https://pytorch.org/docs/stable/torch.compiler_deepdive.html)
low line 486

External URL reference

SourceSKILL.md
486- [TorchInductor docs](https://pytorch.org/docs/stable/torch.compiler_inductor_profiling.html)
low line 487

External URL reference

SourceSKILL.md
487- [Troubleshooting guide](https://pytorch.org/docs/stable/torch.compiler_troubleshooting.html)
Scanned on Mar 4, 2026
View Security Dashboard