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