Fix Aria checkpoint key conversion mapping - #47151
Conversation
Fixes Aria checkpoint loading by registering Aria with the existing Llava-style checkpoint conversion mapping. Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
|
@ydshieh @IlyasMoutawwakil please help review as well |
… `rhymes-ai/Aria` with 4-bit loading. The model can still consume more than 40 GiB because the largest MoE expert weights(AriaGroupedExpertsGemm) are not quantized by the bitsandbytes `nn.Linear` replacement path. Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
|
[For maintainers] Suggested jobs to run (before merge) run-slow: aria |
CI recapDashboard: View test results in Grafana |
zucchini-nlp
left a comment
There was a problem hiding this comment.
Wow, how did we even miss this. Thanks @sywangyi for fixing, aria is not used much so we didn't see any GH issues
I suppose Aria doesn't run on nightly since it is too big @ydshieh? Do you think we need a minified version with less layers, still deterministic logits but output is garbage. That is what we did with diffusion gemma
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
could you help merge it @zucchini-nlp ? |
|
oh yeah, let's merge, got lost in my GH |
* Fix Aria checkpoint key conversion mapping Fixes Aria checkpoint loading by registering Aria with the existing Llava-style checkpoint conversion mapping. Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * The previous threshold was too low for the current memory behavior of `rhymes-ai/Aria` with 4-bit loading. The model can still consume more than 40 GiB because the largest MoE expert weights(AriaGroupedExpertsGemm) are not quantized by the bitsandbytes `nn.Linear` replacement path. Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> --------- Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
* Fix Aria checkpoint key conversion mapping Fixes Aria checkpoint loading by registering Aria with the existing Llava-style checkpoint conversion mapping. Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * The previous threshold was too low for the current memory behavior of `rhymes-ai/Aria` with 4-bit loading. The model can still consume more than 40 GiB because the largest MoE expert weights(AriaGroupedExpertsGemm) are not quantized by the bitsandbytes `nn.Linear` replacement path. Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> --------- Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
Fixes Aria checkpoint loading by registering Aria with the existing Llava-style checkpoint conversion mapping.