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

Remove unnecessary peft config updating #3642

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Remove unnecessary peft config updating #3642

merged 2 commits into from
Sep 22, 2023

Conversation

Infernaught
Copy link
Contributor

@Infernaught Infernaught commented Sep 19, 2023

Get rid of parameter loading loop for Peft config because it was unnecessary

I'm just removing an unnecessary piece of logic from my previous PR that allowed for loading pretrained adapter weights. I had previously loaded a bunch of parameters into the peft config from our defaults, but after reviewing my code, I realized that I had already eliminated the logic that required this loading in the first place. All I need is the name of the HF repo, so I just eliminated the loading loop.

@github-actions
Copy link

github-actions bot commented Sep 19, 2023

Unit Test Results

  6 files  ±0    6 suites  ±0   43m 35s ⏱️ + 1m 9s
31 tests ±0  26 ✔️ ±0    5 💤 ±0  0 ±0 
82 runs  ±0  66 ✔️ ±0  16 💤 ±0  0 ±0 

Results for commit dfd1572. ± Comparison against base commit ee92f7d.

♻️ This comment has been updated with latest results.

@Infernaught Infernaught merged commit ef2c14a into master Sep 22, 2023
@Infernaught Infernaught deleted the paw_clean4 branch September 22, 2023 20:25
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.

2 participants