mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
The log monitor was calling Reset() before each model test, which cleared all GPU detection events that occurred during server startup. This caused the validation to fail with 'GPU acceleration not detected' even though GPU was being used successfully. Root cause: GPU detection logs are written during server startup (lines like 'offloaded 35/35 layers to GPU'), but monitor.Reset() was clearing these events before validation could check them. Solution: Comment out the monitor.Reset() call to preserve GPU detection events from server startup. These events are still relevant for validating that the model is using GPU acceleration.