Skip to content
Rreddit·
Archived topic · source no longer tracked

I got Gemma 4 running directly inside Godot using only GDScript and Vulkan compute shaders

AI summary

A developer successfully ran the Gemma 4 LLM directly within Godot 4.7 using only GDScript and Vulkan compute shaders. This experimental project loads the gemma-4-E2B-it-Q4_K_M.gguf model locally, with Vulkan handling calculations and GDScript managing other LLM functions and the UI. While 10x slower than llama.cpp with CUDA and limited to one model, it demonstrates the feasibility of running an LLM entirely within Godot without external dependencies.

Time & source

Times shown in UTC

Display time zone: UTC

Local time zone unavailable; showing UTC.

IngestedOffset at this time: UTC+0Jul 13, 2026, 11:00 UTC

Ingested
Jul 13, 2026, 11:00
Source type
Unclassified