home/categories/framework-internals/jfriisj-real-time-speech-translation-mvp-github-skills-cpu-mode-assertions-torch-skill-md
framework-internalsdevelopment

cpu-mode-assertions-torch

Assert CPU-only runtime inside a container using PyTorch (torch.cuda.is_available()==False) and optional env var checks. Use to prevent accidental GPU execution during CPU smoke tests.

jfriisj
maintainer
jfriisj
अपडेट किया गया 1/19/2026
स्टार
0
फोर्क
0
quick start

Installation and usage

Assert CPU-only runtime inside a container using PyTorch (torch.cuda.is_available()==False) and optional env var checks. Use to prevent accidental GPU execution during CPU smoke tests.

इंस्टॉलेशन
$ install --globalskills.sh
उपयोग

इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:

skills use cpu-mode-assertions-torch