aidatatools / ollama-benchmark

LLM Benchmark for Throughput via Ollama (Local LLMs)
https://llm.aidatatools.com/
MIT License
64 stars 13 forks source link

Add WSL category for report #12

Open nuffin opened 3 weeks ago

nuffin commented 3 weeks ago

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).

nuffin commented 3 weeks ago

I confirmed, the ending of release string is -Microsoft for WSL 1.