How to deploy larger model inference on multiple machine with multiple GPU？
I want use llama2-70b-hf for infrence， the total model about 133GB， Now I have 4 machines， each have 4 GPU cards， each GPU card has 16GB memory，and 4 machines are connected by IB，the question is how to deploy these model？
2023-12-19T19:03:55Z
You need a LLM engineer for this.You wont be able to load 70b especially if all 4 machines are separate…I would try some libraries such asGitHub - InternLM/lmdeploy: LMDeploy is a toolkit for compressing, deploying, and serving LLMs.which is the fastest one I saw, orGitHub - lm-sys/FastChat: An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.which may be easier to deploy as for separate machines at once. You spin up a worker on every machine.or with torchserve make sure your quantize the modelsI would suggest llama-13b or llama-7b quantized to 8-bit. Keep in mind that you need about 2gb of VRAM for every parallel request