ollama-benchmark
ollama-benchmark copied to clipboard
Add WSL category for report
I suggest to add "WSL" (Windows Subsystem for Linux) category also (or just a tag in Linux category for easy implementation). to detect whether a Linux distribution is in WSL, just check whether the output of uname -r
command or platform.uname().release
ends with -WSL2
:
5.15.146.1-microsoft-standard-WSL2
But I'm not sure the ending for WSL1, maybe -Microsoft
(found from this file). Linux running on bare metal or in WSL use different of cuda
library, and are not same environemnt (container running in Linux use Linux edition cuda
).