unslothai/unsloth

[Bug] Llama-3.1-8B Not Supported in Unsloth 2024.09.post2

Open

#2,503 建立於 2025年5月9日

在 GitHub 查看
 (7 留言) (1 反應) (0 負責人)Python (5,658 fork)batch import
help wanted

倉庫指標

Star
 (64,271 star)
PR 合併指標
 (平均合併 3天 15小時) (30 天內合併 525 個 PR)

描述

When attempting to load meta-llama/Llama-3.1-8B with Unsloth version 2024.09.post2, I receive a NotImplementedError stating that the model is not supported and suggesting an upgrade to the latest Unsloth version. However, upgrading Unsloth is not feasible in my environment due to strict transformers version constraints..

Is there a known workaround for this issue, or an official compatibility matrix for Unsloth and transformers versions? Since my training runs inside a managed SageMaker Docker container, I am unable to patch the package source code directly (as suggested in #1726).

Any advice for resolving this without upgrading Unsloth or transformers would be greatly appreciated. Thank you!

貢獻者指南