6 ms·
I've never run one of these models locally, but their README has some pretty easy to follow instructions, so I tried it out... > RuntimeError: Found no NVIDIA
by eminence32 3y ago
I've never run one of these models locally, but their README has some pretty easy to follow instructions, so I tried it out...
> RuntimeError: Found no NVIDIA driver on your system.
It's true that I don't have an NVIDIA GPU in this system. But I have 64GB of memory and 32 cpu cores. Are these useless for running these types of large language models? I don't need blazing fast speed, I just need a few tokens a second to test-drive the model.
- polygamous_bat 3y agoYou gotta wait until GGML and the likes repackage the model; early releases are almost always targeted at ML folks with dedicated GPUs.
- londons_explore 3y agoI think it's really lame that ML, which is just math really, hasn't got some system-agnostic language to define what math needs to be done, and then it can run easily on CPU/GPU/TPU/whatever... A whole industry being locked into NVidia seems bad all round.
- esafak 3y agoIt's not Nvidia's fault that the competition (AMD) does not provide the right software. There is an open alternative to CUDA called OpenCL.
- londons_explore 3y agoNvidia has wrapped their cuda language in patents and licensing so tightly that there is no way AMD could release anything cuda-compatible.
- kkielhofner 3y agoYes but AMD could release a ROCm that actually works and then put actually meaningful resources into some of the countless untold projects out there that have been successfully building on CUDA for 15 years. There was a recent announcement that after six years AMD finally sees the $$$ and will be starting to (finally) put some real effort into ROCm[0]. That announcement was two days ago and they claim they started on this last year. My occasional experience with ROCm doesn't show much progress or promise. I'm all for viable Nvidia competition in the space but AMD has really, really, really dropped the ball on GPGPU with their hardware up to this point. [0] - https://www.eetimes.com/rocm-is-amds-no-1-priority-exec-says/ https://www.eetimes.com/rocm-is-amds-no-1-priority-exec-says...
- tormeh 3y agoAs sad as it is, this is true. AMD has never spent lots of money on software, while Nvidia always has, which was fine for traditional graphics, but with ML this really doesn't cut it. AMD could have ported Pytorch to OpenCL or Vulkan or WebGPU, but they just... can't be bothered???
- miloignis 3y agohttps://onnx.ai/ https://onnx.ai/ sounds close to what you're thinking of, it's an open interchange format.
- kardianos 3y agoUse llama.cpp to run models locally.
- turnsout 3y agoCan llama.cpp run this yet? That would be surprising
- loudmax 3y agoIt would be very surprising. Mistral AI's github page has more information on their sliding window attention method to achieve this performance: https://github.com/mistralai/mistral-src https://github.com/mistralai/mistral-src If Mistral 7b lives up to the claims, I expect these techniques will make their way into llama.cpp. But I would be surprised if the required updates were quick or easy.
- daakus 3y agoIt can! TheBloke is to thank for the incredibly quick turnaround. https://github.com/ggerganov/llama.cpp/pull/3362 https://github.com/ggerganov/llama.cpp/pull/3362 https://huggingface.co/TheBloke/Mistral-7B-v0.1-GGUF/tree/main https://huggingface.co/TheBloke/Mistral-7B-v0.1-GGUF/tree/ma...
- lhl 3y agoUse the code/model included here: https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1 https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1 Change the initial device line from "cuda" to "cpu" and it'll run. (Edit: just a note, use the main/head version of transformers which has merged Mistral support. Also saw TheBloke uploaded a GGUF and just confirmed that latest llama.cpp works w/ it.)
- avereveard 3y agoit's not entirely their fault, they rely on xformers, and that library is gpu only. other models will happily run on cpu only mode, depending on your environment there are super easy ways to get started, and 32 core should be ok for a llama2 13b and bearable with some patient for running 33b models. for reference I'm willingly running 13b llama2 on cpu only mode so I can leave the gpu to diffusers, and it's just enough to be generating at a comfortable reading speed.
- _ea1k 3y agoollama runs it pretty well on CPUs like that.