Jeffrey Morgan c4cf8ad559
llm: avoid loading model if system memory is too small (#5637)
* llm: avoid loading model if system memory is too small

* update log

* Instrument swap free space

On linux and windows, expose how much swap space is available
so we can take that into consideration when scheduling models

* use `systemSwapFreeMemory` in check

---------

Co-authored-by: Daniel Hiltgen <daniel@ollama.com>
2024-07-11 16:42:57 -07:00
..
2024-07-10 11:01:22 -07:00
2024-06-20 09:30:59 -07:00
2024-06-14 14:55:50 -07:00
2024-06-04 11:13:30 -07:00
2024-06-19 08:39:07 -07:00
2024-06-19 09:00:51 +08:00
2024-06-14 14:55:50 -07:00
2024-05-24 11:18:27 +08:00
2024-06-04 11:13:30 -07:00