ext_server_windows.go 463 B

123456789101112131415
  1. package llm
  2. import (
  3. "fmt"
  4. "github.com/jmorganca/ollama/api"
  5. )
  6. func newDefaultExtServer(model string, adapters, projectors []string, numLayers int64, opts api.Options) (extServer, error) {
  7. // On windows we always load the llama.cpp libraries dynamically to avoid startup DLL dependencies
  8. // This ensures we can update the PATH at runtime to get everything loaded
  9. // Should not happen
  10. return nil, fmt.Errorf("no default impl on windows - all dynamic")
  11. }