News for hackers. Stuff that matters.
Re:GPT-4 Details Leaked by Vecr on Tuesday July 11, 2023 @02:41AM (#36677216)
You can run that model (Wizard-30) on a computer with 64 gigabytes of RAM (or smaller, I don't know how tight you can cut it). You obviously want fast RAM and a good CPU, but you don't need a GPU.
Re:GPT-4 Details Leaked by ed_mercer on Tuesday July 11, 2023 @03:08AM (#36677437)
AFAIK you can get away with a swapfile, no need for large amounts of RAM.
Re:GPT-4 Details Leaked by dacryn on Tuesday July 11, 2023 @04:05AM (#36677855)
wont that nearly kill your ssd if you do it for extended periods of time?
Re:GPT-4 Details Leaked by ZiiS on Tuesday July 11, 2023 @04:26AM (#36677997)
Most of the ram is for storing the model once it is loaded it is read only so will not harm an SSD.
Re:GPT-4 Details Leaked by Incipient on Tuesday July 11, 2023 @05:05AM (#36678271)
It only reads from memory,not swap directly. If it needs to read something from swap, it'll write out something from memory to swap, then read the swap into memory. Reading 1gb of swap, will essentially write 1gb to the ssd too. (rough numbers)

Correct me if I misunderstand swap?

Re:GPT-4 Details Leaked by mihaic on Tuesday July 11, 2023 @06:00AM (#36678686)
If the underlying data hasn't changed, the page isn't written to disk. CPUs do keep track of writes that mark a memory page as "dirty".
Re:GPT-4 Details Leaked by simcop2387 on Tuesday July 11, 2023 @10:34AM (#36681547)
That's basically right. I'm not sure if Linux or windows will keep track of the pages it read out of swap to know if they're still there and valid, but there's a better way for this that I think at least ggml supports where it stores a copy of the model unpacked and ready on disk as a cache for doing the work rather than relying on the OS virtual memory to handle it. This should be faster than the OS VMM (though probably not by much) but since it'll know which pieces it needs to leave on disk and where they are it should be much safer as far as writes go since it will know enough to not write multiple times like that.
Re:GPT-4 Details Leaked by lossolo on Tuesday July 11, 2023 @12:06PM (#36682995)
You can also travel on a bike from NY to LA.
Re:GPT-4 Details Leaked by nobody9999 on Tuesday July 11, 2023 @01:38PM (#36684453)
>You can also travel on a bike from NY to LA.

You can. In fact, my brother did so a bunch of years ago. He found it to be a wonderful experience that made his life better.

He's also flown on a commercial airplane from NY to LA (as have I, as well as millions of others) and while it got him to Los Angeles, it didn't provide the levels of sensory input, personal interactions and experience that riding his bicycle did.

That's not to say everyone should ride bicycles across the US every time they need/want to make such a trip, but doing so at least once can be a more positive experience than sitting next to some strangers for five hours.

The satisfaction of doing so, or the experiences in interacting with people and the landscape during such a trip aren't quantifiable, but reducing the value of doing so (if I'm missing your point here, my apologies) to the time required to make such a trip is reductive in the extreme IMHO.

Edit: Clarified my prose.

Re:GPT-4 Details Leaked by Llamamoe on Wednesday July 12, 2023 @11:01AM (#36695578)
Love this comment so much. Your brother sounds cool :)
Re:GPT-4 Details Leaked by logicchains on Tuesday July 11, 2023 @01:52PM (#36684646)
Just imagine if Boeing lobbied the government to pass a law banning you biking from NY to LA.
Re:GPT-4 Details Leaked by snowycat on Tuesday July 11, 2023 @02:01PM (#36684786)
I am running 30b llama models (4 bit quantized using llama.cpp) on 32 gb of ram and no GPU. I get around 2 tokens/second.