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.
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