Skip to content

feat: add prebuilt CUDA and Vulkan static libraries#7

Merged
hsinatfootprintai merged 1 commit intomainfrom
feat--support-cuda-vulkan
Mar 9, 2026
Merged

feat: add prebuilt CUDA and Vulkan static libraries#7
hsinatfootprintai merged 1 commit intomainfrom
feat--support-cuda-vulkan

Conversation

@hsinatfootprintai
Copy link
Contributor

Add prebuilt .a files for linux-amd64-cuda and linux-amd64-vulkan alongside the existing CPU libraries. Update embed.go to include the new prebuilt directories so go mod vendor picks them up.

Fix Dockerfile.libs multi-stage build:

  • Use nvidia/cuda:12.8.0-devel-ubuntu24.04 for CUDA builder
  • Use ubuntu:24.04 for Vulkan builder (bookworm Vulkan 1.3.239 is too old, needs 1.3.261+ for VK_EXT_layer_settings)
  • Add glslc package for Vulkan SPIR-V compilation
  • Add ca-certificates for HTTPS downloads in Ubuntu minimal images
  • Use per-backend build-test base images instead of conditional installs

Add prebuilt .a files for linux-amd64-cuda and linux-amd64-vulkan
alongside the existing CPU libraries. Update embed.go to include the
new prebuilt directories so go mod vendor picks them up.

Fix Dockerfile.libs multi-stage build:
- Use nvidia/cuda:12.8.0-devel-ubuntu24.04 for CUDA builder
- Use ubuntu:24.04 for Vulkan builder (bookworm Vulkan 1.3.239 is too
  old, needs 1.3.261+ for VK_EXT_layer_settings)
- Add glslc package for Vulkan SPIR-V compilation
- Add ca-certificates for HTTPS downloads in Ubuntu minimal images
- Use per-backend build-test base images instead of conditional installs
@hsinatfootprintai hsinatfootprintai merged commit f02cd3e into main Mar 9, 2026
4 checks passed
@hsinatfootprintai hsinatfootprintai deleted the feat--support-cuda-vulkan branch March 9, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants