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
9060b980
Commit
9060b980
authored
Sep 21, 2023
by
Casper Hansen
Browse files
Remove imports
parent
37db5759
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
awq/modules/fused/model.py
awq/modules/fused/model.py
+2
-2
No files found.
awq/modules/fused/model.py
View file @
9060b980
import
torch
import
torch.nn
as
nn
from
awq.modules.fused.block
import
MPTBlock
,
FalconDecoderLayer
,
GptBigCodeBlock
from
transformers.modeling_outputs
import
BaseModelOutputWithPast
,
BaseModelOutputWithPastAndCrossAttentions
from
awq.modules.fused.block
import
MPTBlock
,
FalconDecoderLayer
from
transformers.modeling_outputs
import
BaseModelOutputWithPast
class
MPTModel
(
nn
.
Module
):
def
__init__
(
self
,
vocab_size
,
blocks
,
wte
,
norm_f
):
...
...
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