LLM Laba tested
Collection
tested models by llm laba β’ 19 items β’ Updated β’ 1
LLM
mkdir mnn && cd mnn
# Get the code
git clone https://github.com/alibaba/MNN.git
cd MNN
# Reset repo to a specific commit
git reset --hard b1d06d68b3366183d157f0703d7b8a8b61ae55b3
# Apply patch for CUDA 13.0
git apply ../my_changes.patch
mkdir build && cd build
# Configure the project
cmake .. \
-DMNN_CUDA=ON \
-DMNN_BUILD_LLM=ON \
-DMNN_SUPPORT_TRANSFORMER_FUSE=ON \
-DCMAKE_BUILD_TYPE=Release
# Build libraries and executable binaries
cmake --build . --config Release -j$(nproc)
make -j$(nproc)./MNN/build/llm_bench -m /path/to/qwen/config.json -a cuda -c 2 -p 512 -n 128 -kv true -rep 3sudo apt install -y dkms linux-headers-$(uname -r) applesmc-t2 apple-bce lm-sensorssudo apt install nvidia-driver-570