Or use a more battle-harded abstraction like Hugging Face transformers and get both a) minimal LOC in the end-application and b) portability.
Like LangChain, they were at the right place at the right time. That doesn’t make them good.
It's certainly an order of magnitude easier to use something like transformers or diffusers than the original implementations provided by the original model trainers, and has a few good optimizations out of the box.
That's different from LangChain which is complex for the sake of being complex.
I can't speak to the efficacy of it at large scale, though.
Do you have recommendations for a different framework for training? Accelerate seems fantastic for scaling up once I need to
Inference is where it falls short really, and solutions like vLLM are much much faster.