Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
52574026
Unverified
Commit
52574026
authored
Aug 30, 2023
by
Aman Gupta Karmani
Committed by
GitHub
Aug 30, 2023
Browse files
minor typo fix in PeftAdapterMixin docs (#25829)
fix minor documentation typo
parent
1bf2f36d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/integrations/peft.py
src/transformers/integrations/peft.py
+1
-1
No files found.
src/transformers/integrations/peft.py
View file @
52574026
...
@@ -346,7 +346,7 @@ class PeftAdapterMixin:
...
@@ -346,7 +346,7 @@ class PeftAdapterMixin:
offload_index
:
Optional
[
int
]
=
None
,
offload_index
:
Optional
[
int
]
=
None
,
)
->
None
:
)
->
None
:
"""
"""
Option
n
al re-dispatch the model and attach new hooks to the model in case the model has been loaded with
Optional re-dispatch the model and attach new hooks to the model in case the model has been loaded with
accelerate (i.e. with `device_map=xxx`)
accelerate (i.e. with `device_map=xxx`)
Args:
Args:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment