Check your device
dsp-kitchen runs the same code on several runtimes. Being compiled in doesn’t mean a runtime works on your machine: it also needs a device and a driver.
dspk doctordspk 0.0.8 (linux / x86_64)Features: wgpu, cpu, cuda, hubRuntimes (compiled in, in preference order): wgpu usable wgpu<wgsl> (plane 32, ≤ 1024 units per cube) cuda usable cuda (plane 32, ≤ 1024 units per cube, 36 multiprocessors) cpu usable cpu (plane 1, ≤ 12 units per cube, 12 cores)Selected: wgpu (DSPK_RUNTIME or the first compiled in)A runtime that can’t work here says why instead of usable.
import dspk
dspk.runtime.available() # ['wgpu', 'cuda', 'cpu']: compiled in, GPUs firstdspk.runtime.current() # what calls use without runtime=Choose one
Section titled “Choose one”In order of precedence:
- A
runtime=argument on the call, or--runtimeon the command line. dspk.runtime.set("cuda")in Python.- The
DSPK_RUNTIMEenvironment variable. - The first one compiled in.
Next: a first filter.