openchat icon indicating copy to clipboard operation
openchat copied to clipboard

Server cannot run with 3080 Ti

Open fanglioc opened this issue 1 year ago • 4 comments

While trying to deploy the server with: python -m ochat.serving.openai_api_server --model openchat/openchat_3.5,

I got the following error:

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 224.00 MiB. GPU 0 has a total capacty of 11.74 GiB of which 140.00 MiB is free. Including non-PyTorch memory, this process has 11.38 GiB memory in use. Of the allocated memory 10.94 GiB is allocated by PyTorch, and 9.49 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Do i need to somehow specify the quantization?

Thanks!

fanglioc avatar Dec 01 '23 17:12 fanglioc

Same thing here with a 4060 and 8GB VRAM

mfortini avatar Dec 04 '23 07:12 mfortini

Same here with GTX 1060 6 GB / ubuntu 22.04

sffranke avatar Dec 15 '23 15:12 sffranke

Same with Tesla T4 16 GB / ubuntu 22.04 Any updates from anyone?

Altenrion avatar Mar 09 '24 14:03 Altenrion

@imoneoi given online demo has been broken for a while, any chance this problem could get some attention, so people could run the server locally instead?

Hi-Angel avatar Apr 26 '24 16:04 Hi-Angel