distributed-llama: terminate called after throwing an instance of 'ReadSocketException'
The nodes connect, but crash after roughly 3 seconds. Server:
sudo main simple-server --weights-float-type q40 --buffer-float-type q40 --nthreads 4 --model ~/dllama_meta-llama-3-8b_q40.bin --tokenizer ~/dllama-llama3-tokenizer.t --workers 192.168.2.212:9998 192.168.2.213:9998 192.168.2.214:9998 192.168.2.215:9998 192.168.2.216:9998 192.168.2.217:9998 192.168.2.218:9998
π‘ arch: llama2
π‘ dim: 4096
π‘ hiddenDim: 14336
π‘ nLayers: 32
π‘ nHeads: 32
π‘ nKvHeads: 8
π‘ vocabSize: 128256
π‘ seqLen: 2048
π‘ nSlices: 8
π‘ ropeTheta: 500000.0
π bosId: 128000
π eosId: 128001
For Each Worker:
sudo main worker --port 9998 --nthreads 4
Listening on 0.0.0.0:9998...
Client connected
terminate called after throwing an instance of 'ReadSocketException'
what(): std::exception
Aborted
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 35 (17 by maintainers)
Iβm trying to run LLAMA 3. The root node has 12GB RAM while the worker nodes have 8 or 4GB of RAM.
No just the sudo, nice is for lowering the processor affinity for the process so it runs at a lower priority. Ideally it wouldnβt need to run as sudo, right now itβs required though.