Skip to content

Linux Vulkan + Auto GPU Detection - #11

Merged
rifkybujana merged 4 commits into
mainfrom
agent
Oct 15, 2025
Merged

rifkybujana merged 4 commits into
mainfrom
agent

Conversation

@rifkybujana

Copy link
Copy Markdown
Contributor

Summary:

  • New Vulkan inference engine (libllama-vulkan.so)
  • Auto-detect GPU at startup; fallback to CPU if unavailable
  • Linux note: install Vulkan loader (libvulkan.so.1) + vendor ICD

Behavior:

  • engine=auto: try Vulkan → else CPU
  • engine=llama-vulkan: force GPU
  • engine=llama-cpu: force CPU

Linux requirements:

  • Debian/Ubuntu: apt-get install -y libvulkan1 vulkan-tools
  • NVIDIA: nvidia-vulkan-icd; AMD/Intel: mesa-vulkan-drivers

Testing:

  • GPU machine: engine=auto → Vulkan in logs
  • CPU-only: engine=auto → fallback to CPU with warning
  • Force modes: engine=llama-vulkan / engine=llama-cpu

Packaging:

  • Bundle libllama-vulkan.so
  • Clear logs indicating selected engine

@rifkybujana
rifkybujana merged commit ee3f41c into main Oct 15, 2025
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.

1 participant