Support for Sparse MoE models like Camelidae and Sparsetral
#5,365 创建于 2024年2月6日
仓库指标
- Star
- (110,169 star)
- PR 合并指标
- (平均合并 6天 8小时) (30 天内合并 389 个 PR)
描述
A new technique for broadening the capabilities of LLMs without massively increasing resource requirements has recently emerged. Instead of shuffling tokens in between expert models like a standard MoE, it shuffles them between expert LoRAs. This gives much of the benefit of a MoE, but with very low memory and compute requirements above what is needed by the base model. Please consider adding support for inferencing and quantizing these sparse MoEs, as they are a very promising branch of LLMs that can be not only inferenced but fully trained on attainable consumer hardware.
Camelidae on HF: https://huggingface.co/hywu
Sparsetral on HF:https://huggingface.co/serpdotai/sparsetral-16x7B-v2