Skip to content

Instantly share code, notes, and snippets.

@adrienbrault
adrienbrault / llama2-mac-gpu.sh
Last active April 22, 2024 08:47
Run Llama-2-13B-chat locally on your M1/M2 Mac with GPU inference. Uses 10GB RAM. UPDATE: see https://twitter.com/simonw/status/1691495807319674880?s=20
# Clone llama.cpp
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
# Build it
make clean
LLAMA_METAL=1 make
# Download model
export MODEL=llama-2-13b-chat.ggmlv3.q4_0.bin
@hrfm
hrfm / Cinder_0.8.x_to_0.9.0.md
Last active November 5, 2015 15:34
Cinder が 0.8.x から 0.9 になったので、自前のライブラリを対応させるために奮闘しつつ書いてるメモ

自作ライブラリを Cinder 0.8 から 0.9 にした時にやったこと

まだまだ途中なので追記していく予定

Vec, Matrix, Quatf の表記変更

それぞれの表記が変わりました

0.8.x 0.9.x
@mattdesl
mattdesl / modules.md
Last active August 16, 2022 10:14
my favourite modules.
for hiro
//--------------------------------------------------------------
void testApp::draw(){
ofSetColor(255,0,127);
ofBeginShape();