Spaces:
Paused
Paused
0.5.61 declines the software rasteriser itself
Browse files
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
|
| 44 |
-
# container images, and
|
| 45 |
-
# engine
|
| 46 |
-
#
|
| 47 |
-
#
|
| 48 |
-
#
|
| 49 |
-
|
| 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 |
|