@NolmerPortion Use zram! I have 64 GB RAM and set zram to 32 GB. Task manager reports 64 GB entirely filled, yet I can open many applications, tabs, build large projects with no OOMs or lag. They can get compressed and pushed to zram which leaves plenty of extra room.
@ajratner@SnorkelAI@preferencemodel A good engineer can put all the effort into one task and polish it till it's perfect. But for benchmarks and RL you need many tasks, and it's not feasible to put so much effort into all of them for one person. Finding many good engineers to print out tasks is hard too.
This one is from Jeremy Howard fastai course. Ive not tested how much this one actually helps. But Ive been always using it with gc.collect() and torch.cuda.empty_cache() and one of those three or a combination sometimes helps by a lot, Idk which one
gc.collect();torch.cuda.empty_cache()
If low in VRAM, call before each epoch, and before and after test epochs. This reduces OOMs + when VRAM is near full, for reason still unknown to me test epochs become like 5x slower, and this often fixes it
Here is another one I use too
```
# h/t Piotr Czapla
if hasattr(sys, 'last_traceback'):
traceback.clear_frames(sys.last_traceback)
delattr(sys, 'last_traceback')
if hasattr(sys, 'last_type'): delattr(sys, 'last_type')
if hasattr(sys, 'last_value'): delattr(sys, 'last_value')
```
Introducing Benchmark Reviews: our new initiative to audit AI benchmarks. We are launching with 15 benchmarks: 4 Verified, 9 Flawed, and 2 with not enough information for a review.
@qifang804 When new harness comes out, existing models usually handle it fine, because they are trained on a variety of harnesses, some (or all) of them might not be public and might only exist for training to increase variety. Adding more harnesses to RL is less effort than more envs
@mitsuhiko I suspect the RL envs they trained it on were mass-vibe coded and some of them had broken edit tools that would cause weird bugs. So it learned to always use bash
I think a lot of misalignment is caused by broken RL envs. Making a fair scoring function is VERY tricky and prone to bugs, probably even more so if they mass-produce RL envs with LLMs. A model that cheats by inspecting scoring func gets higher reward so cheating gets reinforced
Prediction - in ~5 years some people will be using AIs equipped with computer use to play video games instead of kb + mouse. Not just to test the AI, but on a constant basis.
They will play but offload most planning, cognitive tasks and maybe even motor skills to the model
@zhanpeng_zhou noice, also in hutchinson if you use outer product instead of squaring, it will estimate the full hessian, so in both cases diagonal estimate is really just taking the diagonal of the full estimate
POGO https://t.co/6vZ9EN4Fl5 can be used as a decomposition free covariance eigenbasis tracker that outperforms subspace iteration and almost matches eigendecomposition. It is now the default solver for SOAP in torchalgos! https://t.co/Pjny6LzF20
@YouJiacheng here is another one, you can also use https://t.co/6vZ9EN4Fl5 to track the eigenbasis with no decompositions, with learning rate of 1 on it working a bit better than power iteration on SOAP
also I didn't even test other image models. I tested the only one with free online inference. I'm sure some might be completely insane at OCR which would be pretty useful, handwriting OCR is unsolved especially non english
Image models like Ideogram 4 (one I tested) are solid at messy handwriting OCR
ask it to rewrite the text in a better font, and then pass it to your favourite OCR engine like chandra
And there is probably huge fine tuning potential to get even better results
Ideogram handles the entire OCR basically by writing down all letters in a font that chandra can easily extract. But chandra doesn't do any real recognition here, only converting clear font to actual text