burn
burn copied to clipboard
Apple silicon, no Metal available
Describe the bug While compiling the CNN training example on MacOS 13.5 (Ventura) the following error appears at burn-candle-0.11.1/src/backend.rs:53:13:
DeviceLocation::Metal => panic!("Metal unsupported")
To Reproduce
I also tried to set env::set_var("AUTO_GRAPHICS_BACKEND", "opengl") but it still appears.
Expected behavior
Switch from accelerator API Metal to OpenGL.
Desktop (please complete the following information):
- OS: MacOS 13.5 (Ventura)
- Version 13.5