forked from mrq/bitsandbytes-rocm
refactoring
This commit is contained in:
parent
d358999e9e
commit
4dd475ced4
|
@ -1,6 +1,5 @@
|
|||
import operator
|
||||
import torch
|
||||
import bitsandbytes as bnb
|
||||
import bitsandbytes.functional as F
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
|
|
@ -221,9 +221,9 @@ class Linear8bitLt(nn.Linear):
|
|||
output_features,
|
||||
bias=True,
|
||||
has_fp16_weights=True,
|
||||
memory_efficient_backward=False,
|
||||
threshold=0.0,
|
||||
index=None,
|
||||
memory_efficient_backward=False
|
||||
):
|
||||
super(Linear8bitLt, self).__init__(
|
||||
input_features, output_features, bias
|
||||
|
|
Loading…
Reference in New Issue
Block a user