$ python main.py
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
I'm using the CPU edition of pytorch (pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu), on Ubuntu Jammy.
Update
I found the --cpu command line flag, which is then able to launch the service. Something in the graphics variant detection logic was defaulting to CUDA, even though no CUDA capable graphics card is installed.
I'm using the CPU edition of pytorch (
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
), on Ubuntu Jammy.Update
I found the
--cpu
command line flag, which is then able to launch the service. Something in the graphics variant detection logic was defaulting to CUDA, even though no CUDA capable graphics card is installed.