Enable Llama2 70B to run with hqt on single card (#50)#762
Closed
HolyFalafel wants to merge 63 commits into
Closed
Enable Llama2 70B to run with hqt on single card (#50)#762HolyFalafel wants to merge 63 commits into
HolyFalafel wants to merge 63 commits into
Conversation
Add disk_offload flag that controls device_map=auto. Setting this flag enbales weights offload to disk when cpu memory runs OOM. Add const serialization path flag that gets a path for where to serialize const sections, so if there is no space on device to save all const sections they will be offloaded to disk.
|
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. |
libinta
reviewed
Mar 6, 2024
Collaborator
libinta
left a comment
There was a problem hiding this comment.
@HolyFalafel can you provide a cmd in readme for run with hqt on single card?
libinta
reviewed
Mar 7, 2024
Collaborator
libinta
left a comment
There was a problem hiding this comment.
Please add how to run hqt on single card in README
regisss
reviewed
Mar 11, 2024
Collaborator
regisss
left a comment
There was a problem hiding this comment.
Agree with Libin, please provide an example.
Can you also rebase your branch on main and run the following please?
pip install -U ruff
make style
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Co-authored-by: Sayantan Sarkar <sasarkar@habana.ai> Co-authored-by: Libin Tang <litang@habana.ai> Co-authored-by: Jimin Ha <jha@habana.ai> Co-authored-by: Yeonsil Yoon <yyoon@habana.ai> Co-authored-by: Sayantan Sarkar <supersarkar@gmail.com>
This reverts commit ddb4c02.
Co-authored-by: Akihiro Takahashi <akihiro.takahashi@intel.com> Co-authored-by: Iman Gohari <s.m.iman.gohari@intel.com> Co-authored-by: Libin Tang <litang@habana.ai>
Co-authored-by: ZhaiFeiyue <80079571+ZhaiFeiyue@users.noreply.github.com> Co-authored-by: Yaser Afshar <ya.afshar@gmail.com> Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
…ace#704) Co-authored-by: regisss <15324346+regisss@users.noreply.github.com> Co-authored-by: edward.mascarenhas <emascare@gaudi-user-hf-1.amr.corp.intel.com>
…e#755) Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Fix Llama-70B-FSDP model loading issue (#63)
Expose Llama Fused OPs control from run_lora_clm.py (#23) * Expose Llama Fused OPs control from run_lora_clm.py * Update as per review comments Co-authored-by: Vivek Goel <vgoel@habana.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add disk_offload flag that controls device_map=auto. Setting this flag enbales weights offload to disk when cpu memory runs OOM.
Add const serialization path flag that gets a path for where to serialize const sections, so if there is no space on device to save all const sections they will be offloaded to disk.
What does this PR do?
Fixes # (issue)
Before submitting