Skip to content

Commit 483fe1c

Browse files
author
Ubuntu
committed
small tweaks
1 parent a4a8338 commit 483fe1c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/pruna/algorithms/zipar/utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
from __future__ import annotations
1615

1716
import copy
@@ -20,11 +19,15 @@
2019
import numpy as np
2120
import torch
2221
from transformers.generation.configuration_utils import GenerationMode
23-
from transformers.generation.logits_process import ClassifierFreeGuidanceLogitsProcessor, LogitsProcessorList
22+
from transformers.generation.logits_process import (
23+
ClassifierFreeGuidanceLogitsProcessor,
24+
LogitsProcessorList,
25+
)
2426
from transformers.generation.utils import GenerateDecoderOnlyOutput
2527

2628
from pruna.logging.logger import pruna_logger
2729

30+
2831
class ZipARGenerationGrid:
2932
"""
3033
Configuration and state tracking for ZipAR fast decoding.

0 commit comments

Comments
 (0)