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