Skip to content

Add 4-bit quantization and QLoRA#487

Open
jeff52415 wants to merge 2 commits into
tloen:mainfrom
jeff52415:add-4-bit
Open

Add 4-bit quantization and QLoRA#487
jeff52415 wants to merge 2 commits into
tloen:mainfrom
jeff52415:add-4-bit

Conversation

@jeff52415

@jeff52415 jeff52415 commented May 30, 2023

Copy link
Copy Markdown

#486

  • Add 4-bit Quantization in Training/Inference Script.
  • Add QLoRA Optimizer.
  • Dependency Update: I've updated our dependencies to their latest stable versions to ensure optimal functionality and security. Please see the updated requirements.txt file for the specific changes.
  • Readme Update: The Readme file has been updated to reflect these changes, and to provide clearer instructions for users and contributors.

Please review the changes at your earliest convenience. Any feedback or suggestions are welcome.

Best Regards,
Jeff Yang

@tloen

tloen commented May 31, 2023

Copy link
Copy Markdown
Owner

Noting down here: while I'm not actively maintaining this repo, this is one of the PRs I'd like to get tested and merged in the next day or two.

@jeff52415

Copy link
Copy Markdown
Author

@tloen , if you require any assistance or support, please do not hesitate to inform me.

@shaonianyr

Copy link
Copy Markdown

@jeff52415 i wonder 4-bit train speed is the same as 8-bit or slower?

@jeff52415

jeff52415 commented Jun 7, 2023

Copy link
Copy Markdown
Author

@jeff52415 i wonder 4-bit train speed is the same as 8-bit or slower?

While I haven't conducted formal benchmarking to confirm this, my empirical evidence suggests a higher speed for 4-bit training.

@chand1012

Copy link
Copy Markdown

Is this going to get merged? I found it quite helpful!

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.

4 participants