Run this model with HF Jobs

Run QuixiAI/Kraken on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/QuixiAI/Kraken. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/QuixiAI/Kraken on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

So this is like Lora adapters, but for the GPU rich?

#1
by fieryTransition - opened

Does it need to maintain all the models in vram? Or does it dynamically swap layers in and out of ram/disk and into vram as needed? Thanks!

It loads them all into vram - but you can run them quantized - so you can go a long way with 7-8b models. We also recently released Kraken Lora - which routes to different lora adapters, further lowering the vram use.

oh nice, the kraken-lora sounds great for my use-case :-)
Was afraid that it required loading all of the models to be loaded, but having lora support means I can have one single fast model and one big model which is better at reasoning, and then use lora adapters on top of them instead of having multiple weights, while having an easy format like this to specify it. Also curious if Kraken could self-update its routing mechanism while loaded to optimize which expert it chooses, but that is something extra I expect to dig into myself, just airing some thoughts :-)
Thanks for your work!

Also curious if Kraken could self-update its routing mechanism while loaded to optimize which expert it chooses, but that is something extra I expect to dig into myself, just airing some thoughts :-) Not a bad idea - and it's possible. Training a .5b classifier model is compute efficient.

Sign up or log in to comment