Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackSamorez committed Feb 20, 2024
1 parent acfee0e commit ca95dc4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions inference_lib/src/aqlm/inference.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
""" Core mathematics for Additive Quantization (AQ): initialization, reconstruction and beam search"""
from typing import Optional

import aqlm
import torch
import torch.nn as nn

import aqlm
from aqlm.inference_kernels import get_backward_pass_kernel, get_forward_pass_kernel
from aqlm.utils import get_int_dtype

Expand Down
3 changes: 1 addition & 2 deletions inference_lib/src/aqlm/inference_kernels/dequantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

import torch
import torch.nn.functional as F
from torch import nn

from aqlm.utils import _dequantize_weight, unpack_int_data
from torch import nn


def dequantize_gemm(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import torch
import torch.nn as nn
import torch.nn.functional as F

from aqlm.utils import _dequantize_weight, unpack_int_data

_OPTIMIZE_FOR_TRAINING = False
Expand Down

0 comments on commit ca95dc4

Please sign in to comment.