News for hackers. Stuff that matters.
Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by aunty_helen on Tuesday March 28, 2023 @09:08PM (#35350634)
We're a long long long way off that. So check back in two months.

Jokes aside, the limiting factor will be either a technique to pack all of the code into smaller tokens like semantic search (someone else will be able to comment on this as that's the limit of my understanding) or GPU memory for input tokens.

Buying a "high end GPU" isn't buying a 4090 or even two, it's 250k on a DGX unit and putting it in a datacentre. You will probably be able to find a service that would sign a confidentiality agreement and provide you with this service for less than 250k.

Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by 2bitencryption on Tuesday March 28, 2023 @09:19PM (#35350745)
It's $0.590/hr to rent an A6000 48GB gpu on jarvislabs.ai, which you can do right now, and run the 30b (or 65b with some hard work) model and get incredible results. No confidentiality agreement required :)
Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by Casteil on Tuesday March 28, 2023 @09:55PM (#35351100)
Do you know how their "spot pricing" works, exactly? "lets you use spare GPUs" doesn't tell us much. Is it granular to how long the duration the model is actively processing your prompt? ..or do you get dinged for an hour immediately and again on the hour?
Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by barking_biscuit on Tuesday March 28, 2023 @09:19PM (#35350747)
>Buying a "high end GPU" isn't buying a 4090 or even two, it's 250k on a DGX unit and putting it in a datacentre. You will probably be able to find a service that would sign a confidentiality agreement and provide you with this service for less than 250k.

I haven't started to play with LLMs locally in anger yet, but I was under the impression that you could use a 4090 in combination with FlexGen to achieve this rather than having to buy special hardware?

Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by tetete on Tuesday March 28, 2023 @10:38PM (#35351564)
With 8 bit training you can do ~13B pram LLM on 3090/4090. https://huggingface.co/blog/trl-peft

But it is pretty cheap to rent something at vast.ai or whatever to get 40GB for a final run.

Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by nullsense on Wednesday March 29, 2023 @06:12AM (#35354998)
Awesome. Between crypto hype in 2017 and AI hype in 2023 I've acquired a collection of 2x 1080ti, an RTX 3060 and an RTX 4090. All together it's a total of 58GB of VRAM. Is there a way I can pool it all across a distributed cluster of 2 machines for doing anything? I'm assuming it would bottleneck on both network speeds and the slowest GPUs if it's possible at all...
Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by all2 on Thursday March 30, 2023 @08:13PM (#35380633)
Could you package all that compute into a "virtual" graphics card?
Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by alchemist1e9 on Tuesday March 28, 2023 @09:16PM (#35350708)
Are you sure?

This is for inference, not training, and I’d do it on blocks of code with less than 4096 tokens. That’s what I have to do with gpt 3.5 turbo via api.

I can do what I want with the API and it is around 1-2 cents per batch of code I run through it, typically 400 lines of average code is around 4k tokens.

Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by aunty_helen on Tuesday March 28, 2023 @09:51PM (#35351050)
If you can get it within 4k of tokens then your vram needs will be much less. As the other two have pointed out, there's workarounds to this.

If you're trying to get codebase level introspection you might need to wait a bit for some of these techs to mature.

Exciting space and yea, learning heaps myself day by day.

Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by alchemist1e9 on Tuesday March 28, 2023 @10:09PM (#35351257)
The approach I was going to take is generating english code descriptions/summaries in related chunks of under 4k tokens then those can be combined and also summarized.

In my opinion the code descriptions gpt 3.5 turbo has been spitting out for me are good quality and concise. I’d argue they are probably better than what many of the developers themselves would write, especially when english isn’t native for the developer.

Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by pmoriarty on Wednesday March 29, 2023 @03:08AM (#35353687)
"Buying a "high end GPU" isn't buying a 4090 or even two, it's 250k on a DGX unit and putting it in a datacentre. You will probably be able to find a service that would sign a confidentiality agreement and provide you with this service for less than 250k."

Does anyone have a projection based on historical GPU cost reductions as to how long we have to wait until a DGX unit costs as little as a 4090 does today?

Re:Gpt4all: A chatbot trained on ~800k GPT-3.5-Turbo Generat... by phh on Wednesday March 29, 2023 @07:04AM (#35355403)
The issue is largely around available RAM capacity, and sadly RAM price have barely decreased in the last 5-10 years