onnxruntime
eea7db46 - Replace Mesa lavapipe with SwiftShader for WebGPU plugin EP test image

Commit
22 days ago
Replace Mesa lavapipe with SwiftShader for WebGPU plugin EP test image The AlmaLinux 8 based test image ships an old Mesa lavapipe that returns VK_ERROR_INCOMPATIBLE_DRIVER when Dawn requests a Vulkan 1.3 instance, causing the WebGPU plugin EP Python test to fail with 'Found no drivers!' on hosted CI agents. Build SwiftShader (Google's software Vulkan ICD, used by Dawn for headless CI) from source in a multi-stage Dockerfile and install it to /opt/swiftshader. Pin to the commit SHA referenced by Dawn's DEPS. Update the test stage to point VK_ICD_FILENAMES / VK_DRIVER_FILES at the SwiftShader ICD instead of lavapipe. Verified locally: vulkaninfo --summary reports SwiftShader Device (DRIVER_ID_GOOGLE_SWIFTSHADER) with Vulkan 1.3.
Author
Parents
Loading