burn icon indicating copy to clipboard operation
burn copied to clipboard

Apple silicon, no Metal available

Open BDUG opened this issue 1 year ago • 0 comments

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

BDUG avatar Dec 23 '23 07:12 BDUG