Skip to content

[BUG]: The LLama model trained in Lora mode is unable to perform normal reasoning #3533

Closed as not planned

Description

@tianbuwei

🐛 Describe the bug

In this path 'ColossalAI/applications/Chat/examples/train_sft.sh', LLama-7B model is trained with Lora training method, but there is a problem in the reasoning process, is it because Lora parameters are not loaded? May I ask how to solve it?
Snipaste_2023-04-12_14-03-34
Snipaste_2023-04-12_14-03-55

Environment

Python 3.9.16
torch 1.12.1
torchaudio 0.12.1
torchvision 0.13.1
transformers 4.28.0.dev0

Activity

  1. binmakeswell commented on Apr 17, 2023

    @binmakeswell
    Member

    Hi @tianbuwei Thanks for the feedback, we are fixing LoRA bug. #3439

  2. JazyJiang commented on Oct 22, 2026

    @JazyJiang
    Collaborator

    Hi, thanks for reporting this, and sorry it went unanswered for so long. We're going through older issues and closing the ones that no longer apply to the current codebase. It was reported against PyTorch 1.12.1, which current ColossalAI no longer supports (PyTorch 2.x is required). We're marking it as stale and will close it in 14 days. If you still see this problem with the latest ColossalAI on PyTorch 2.x, please comment here (or open a new issue) with your environment and a minimal reproduction, and we'll take a look.

  3. JazyJiang commented on Nov 5, 2026

    @JazyJiang
    Collaborator

    Closing this issue since there has been no response in the 14 days after it was marked as stale. If you still run into this problem with the latest ColossalAI on PyTorch 2.x, please open a new issue using the bug report template, with your environment and a minimal reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions