> I paid ~$800 to rent a 2x H100 SXM node from Lambda for ~95 hours, and ~$400 in OpenAI API fees to generate the Astra trajectory demonstrations. > a tiny 4B model went from not being able to understand the harness it was wrapped in, to achieving a 1.81x geometric mean speedup and a summed latency decrease of 44.7% across a workload of join-heavy SQL queries I can’t find it in the article (may have skimmed it too mu…
> ⇒ this may be useful for some workloads, but even then, can you afford to spend hours every now and then to update your 4B model to ensure it still picks a good query plan? I think this would be likely comparable to a scheduled backup, so I think it would be an acceptable maintenance window. However, deterministic algorithms would likely beat re-training (or re-fine-tuning) the model. For example, one could analyze…
Training a 4B model to produce 81% faster query plans than Postgres
31–40 of 124 posts
Re: Training a 4B model to produce 81% faster query plans than Postgres
#32LLM is kind of blunt weapon to use here. I am waiting rather for alphago style neural net heuristic.
Re: Training a 4B model to produce 81% faster query plans than Postgres
#33Re: Training a 4B model to produce 81% faster query plans than Postgres
#34Earlier quoted context omitted.
Having the moral high ground matters less than having a big warchest of money to spend on lawyers.
Does it matter if they companies doing are not in the jurisdiction or even if they are, maybe the can't prove it?
Re: Training a 4B model to produce 81% faster query plans than Postgres
#35Aren't optimizations suppose to be deterministic?
I'd like to contribute my amateur hour entry into this thread, although I did administer and develop mssql stuff for awhile. sure optimizations based on stats, but the stats are the wildcard, in my experience query plans can change suddenly. Queries are translated into plans according to statistics. However the transforms will be deterministic and should only change one valid plan to another. I could very easily see…
I believe you are wrong on that. Do you mean large language models can’t play chess?
Re: Training a 4B model to produce 81% faster query plans than Postgres
#36> Frontier intelligence is extremely powerful; the distillation I did off Astra trajectories is proof enough that large models are not going anywhere Wouldn't admitting this invite trouble due to accusations of distillation flying around between closed and open models.
Re: Training a 4B model to produce 81% faster query plans than Postgres
#37Funny enough I was thinking about something very similar to this based on the Jev model posted yesterday.
At least as I understand things.
How did you plan to use Jev for query optimization?
Re: Training a 4B model to produce 81% faster query plans than Postgres
#38Re: Training a 4B model to produce 81% faster query plans than Postgres
#39Earlier quoted context omitted.
I'd like to contribute my amateur hour entry into this thread, although I did administer and develop mssql stuff for awhile. sure optimizations based on stats, but the stats are the wildcard, in my experience query plans can change suddenly. Queries are translated into plans according to statistics. However the transforms will be deterministic and should only change one valid plan to another. I could very easily see…
> Obviously ai still can't play chess I believe you are wrong on that. Do you mean large language models can’t play chess?
edit: I think you could provide an AI with a service or skill that asks "is this move legal" but given all the overhead for llms or whatever to call a "legal move" service external to its process, well then you aren't really searching the tree very efficiently lol.
However if you just let a neural network score boards and the neural network is in the same process well then I think thats the working solution for using neural networks in chess. The net does not need to score all boards either, simple value based heuristics can obviously provide a preliminary list of good boards (moves) at a certain depth or ply and then select the move that produces the board that the neural net scores highest. I kinda sorta think thats whats done today but as usual I could be full of it lol
Re: Training a 4B model to produce 81% faster query plans than Postgres
#40> Frontier intelligence is extremely powerful; the distillation I did off Astra trajectories is proof enough that large models are not going anywhere Wouldn't admitting this invite trouble due to accusations of distillation flying around between closed and open models.
Frontier model trainers stole almost all the data they've trained on (the whole internet, all copyrighted). It's very hard for them to claim the moral high ground here. It's like stealing an apple from the British Colonial Empire.