mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
Record more GPU information
This cleans up the logging for GPU discovery a bit, and can serve as a foundation to report GPU information in a future UX.
This commit is contained in:
@@ -1065,7 +1065,8 @@ func Serve(ln net.Listener) error {
|
||||
|
||||
// At startup we retrieve GPU information so we can get log messages before loading a model
|
||||
// This will log warnings to the log in case we have problems with detected GPUs
|
||||
_ = gpu.GetGPUInfo()
|
||||
gpus := gpu.GetGPUInfo()
|
||||
gpus.LogDetails()
|
||||
|
||||
return srvr.Serve(ln)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user