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
OpenDAS
AutoAWQ
Commits
562c0d52
"vscode:/vscode.git/clone" did not exist on "86a38aa3f09bd1a5f4b491c3d7d0cb377933d8d3"
Unverified
Commit
562c0d52
authored
Sep 06, 2023
by
Casper
Committed by
GitHub
Sep 06, 2023
Browse files
Remove simple dispatch
parent
f8273a0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
awq/models/base.py
awq/models/base.py
+0
-3
No files found.
awq/models/base.py
View file @
562c0d52
...
...
@@ -315,9 +315,6 @@ class BaseAWQForCausalLM(nn.Module):
if
fuse_layers
:
self
.
fuse_layers
(
model
)
from
awq.utils.utils
import
simple_dispatch_model
model
=
simple_dispatch_model
(
model
,
device_map
)
else
:
# If not quantized, must load with AutoModelForCausalLM
del
model
...
...
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