HackerTrans
トップ新着トレンドコメント過去質問紹介求人

flaneur2020

no profile record

投稿

Transaction Internals: RocksDB

flaneur2020.github.io
1 ポイント·投稿者 flaneur2020·2 年前·0 コメント

コメント

flaneur2020
·2 年前·議論
i also had a similar 'hello world' experience some time ago with [0] :). i manually used some SIMD instructions, and it seems the performance could align with llama.cpp. it appears that the key to performance is:

1. using SIMD on quantized matrix multiplication 2. using a busy loop instead of condition variables when splitting work among threads.

(however, i haven't had more free time to continue working on inferencing quantized models on GPU (with Vulkan), and it hasn't been updated for a long time since then.)

[0] https://github.com/crabml/crabml