Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Internvl-int8 sft bug #932

Merged
merged 28 commits into from
May 14, 2024
Merged

fix Internvl-int8 sft bug #932

merged 28 commits into from
May 14, 2024

Conversation

hjh0119
Copy link
Collaborator

@hjh0119 hjh0119 commented May 14, 2024

PR type

  • Bug Fix
  • New Feature
  • Document Updates
  • More Models or Datasets Support

PR information

fix bug described in OpenGVLab/InternVL#129

bitsandbytes/autograd/_functions.py", line 479, in backward
    .mul_(state.SCB.unsqueeze(1).mul(1.0 / 127.0))
RuntimeError: The size of tensor a (92576) must match the size of tensor b (92553) at non-singleton dimension 0

@hjh0119 hjh0119 merged commit cef448b into modelscope:main May 14, 2024
1 of 2 checks passed
@hjh0119 hjh0119 deleted the internvl branch May 14, 2024 12:15
tastelikefeet added a commit to tastelikefeet/swift that referenced this pull request May 15, 2024
…_url

* commit '84826bdda4cbd58f51a3c84ad55787cb1c723f4f':
  update doc (modelscope#934)
  fix Internvl-int8 sft bug (modelscope#932)
tastelikefeet added a commit to tastelikefeet/swift that referenced this pull request May 16, 2024
* commit '6e5b58a8af8e1fb92b1498d5c45cfbea11da1b36':
  fix Internvl-int8 device map (modelscope#937)
  support ms-agent-roleplay dataset (modelscope#936)
  FIx eval url (modelscope#941)
  update doc (modelscope#934)
  fix Internvl-int8 sft bug (modelscope#932)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants