4 ms·
In terms of pickled files, we may ask them to release the models in safetensors. That would be a big improvement. There's not much we can do about dependencies
by jxy 3y ago
In terms of pickled files, we may ask them to release the models in safetensors. That would be a big improvement.
There's not much we can do about dependencies on pytorch or other python libraries. Perhaps people can make more independent implementations. The redundancy in implementations would help.
- substation13 3y agoI'm surprised that some of the cutting edge AI work is not being done in pure Rust. Why even have a binding layer?
- ElFitz 3y agoPython seems to have won over the Data / ML world. So I’d wager they use what they and their intended audience know.
- tough 3y agoSomeone implemented llama on Go recently, https://github.com/gotzmann/llama.go https://github.com/gotzmann/llama.go Wouldn't discard a rust implementation of some LLM architecture at some point
- MacsHeadroom 3y agohttps://github.com/rustformers/llama-rs https://github.com/rustformers/llama-rs
- sdenton4 3y agoThe pickles drive me crazy. Tensorflow saved models are a great way to solve the problem... Save the computation graph and weights, and drop all the crusty code dependencies. I think ONNX models are similar. I expect there should be a Jax equivalent at some point, as Jax is basically perfectly designed for this (everything is expressed in lax operations, which allows changing implementations for cpu/gpu/tpu freely... So just save the list of lax ops).