infosave commited on
Commit
50fce84
·
verified ·
1 Parent(s): bd1aa2e

0.5.61 declines the software rasteriser itself

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -40,13 +40,13 @@ BIN = Path("bin/cortiq")
40
  WORK = Path(tempfile.gettempdir()) / "animate"
41
  WORK.mkdir(parents=True, exist_ok=True)
42
 
43
- # Mesa ships a SOFTWARE Vulkan driver (lavapipe/llvmpipe) in most
44
- # container images, and wgpu will happily enumerate it as an adapter. The
45
- # engine then reports "GPU path: on" and runs every shader through an LLVM
46
- # rasteriser on the same two cores it was already using strictly worse
47
- # than its native CPU kernels, for the same silicon plus an emulation
48
- # layer. There is no GPU here, so say so up front.
49
- os.environ["CMF_GPU"] = "0"
50
 
51
  _model: str | None = None
52
 
 
40
  WORK = Path(tempfile.gettempdir()) / "animate"
41
  WORK.mkdir(parents=True, exist_ok=True)
42
 
43
+ # No CMF_GPU here on purpose. Mesa ships a SOFTWARE Vulkan driver
44
+ # (lavapipe/llvmpipe) in most container images, and until 0.5.61 wgpu
45
+ # would enumerate it, the engine would report "GPU path: on", and every
46
+ # shader would run through an LLVM rasteriser on the same cores the
47
+ # native kernels were already using. 0.5.61 declines a DeviceType::Cpu
48
+ # adapter and keeps the CPU path, so this Space now exercises that
49
+ # decision on a real container rather than pinning it with an env var.
50
 
51
  _model: str | None = None
52