~/talk

From Go to the GPU, Integrating with CUDA

Talkat GopherCon UK 2026 · 2026-08-12..08-13· [machine-learning, go]
name:Sam Burns
links:none on file
slides:none on file

Builds a Wordle-playing neural net using Go for orchestration and CUDA for heavy lifting, generating 52,726 synthetic games from a 239-word solution space and ~4,739-word action space. Training runs use the Go MLX library with XLA/CUDA, a 146,596-parameter FP32 model (~4 MB on GPU) and achieves 98/100 on a sealed 100-word test set. Inference runs via handwritten CUDA kernels called from Go through Sego/cgo, one block per action with 128 threads, profiled with Nsight profiler and integrated into an HTTP service.

AI-written summary · about

  1. 0:00Go and CUDA integration
  2. 1:31Wordle game problem
  3. 12:15Training data with Go concurrency
  4. 15:31Neural network with Go MLX
  5. 31:53Model performance and overfitting
  6. 40:17Go CUDA inference engine
  7. 53:16Live demo and results
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.