Instructions to use compilade/quant-tests with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use compilade/quant-tests with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf compilade/quant-tests:F16 # Run inference directly in the terminal: llama cli -hf compilade/quant-tests:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf compilade/quant-tests:F16 # Run inference directly in the terminal: llama cli -hf compilade/quant-tests:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf compilade/quant-tests:F16 # Run inference directly in the terminal: ./llama-cli -hf compilade/quant-tests:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf compilade/quant-tests:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf compilade/quant-tests:F16
Use Docker
docker model run hf.co/compilade/quant-tests:F16
- LM Studio
- Jan
- Ollama
How to use compilade/quant-tests with Ollama:
ollama run hf.co/compilade/quant-tests:F16
- Unsloth Desktop
- Docker Model Runner
How to use compilade/quant-tests with Docker Model Runner:
docker model run hf.co/compilade/quant-tests:F16
- Lemonade
How to use compilade/quant-tests with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull compilade/quant-tests:F16
Run and chat with the model
lemonade run user.quant-tests-F16
List all available models
lemonade list
- Atomic Chat
Log the results at the end too
Browse files- bench-TriLMs.py +4 -1
bench-TriLMs.py
CHANGED
|
@@ -208,5 +208,8 @@ if __name__ == "__main__":
|
|
| 208 |
"mulmat_perf": mulmat_perf,
|
| 209 |
"results": results,
|
| 210 |
}
|
|
|
|
|
|
|
| 211 |
with open(args.out, "w") as f:
|
| 212 |
-
json.dump(
|
|
|
|
|
|
| 208 |
"mulmat_perf": mulmat_perf,
|
| 209 |
"results": results,
|
| 210 |
}
|
| 211 |
+
logger.info("Writing output to: %s", args.out)
|
| 212 |
+
logger.debug("Final results: %s", json.dumps(final_result, indent=4))
|
| 213 |
with open(args.out, "w") as f:
|
| 214 |
+
json.dump(final_result, f, indent=4)
|
| 215 |
+
f.flush()
|