Skip to content

Conversation

AnyCPU
Copy link

@AnyCPU AnyCPU commented Sep 16, 2025

This pr allows use of the model options in Go bindings: use_gpu and flash_attn.

So if you are lucky man and you work on macOS (Intel) then you could write following:

	model, err := whisper.New("../../models/ggml-base.bin", whisper.WithUseGPU(false))
	if err != nil {
		slog.Error("error initializing a whisper model", "error", err)
		return
	}

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