refactoring

This commit is contained in:
dbaranchuk 2022-09-11 06:28:17 +03:00
parent d358999e9e
commit 4dd475ced4
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import operator
import torch
import bitsandbytes as bnb
import bitsandbytes.functional as F
from dataclasses import dataclass

View File

@ -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