Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
gsarti committed Jul 23, 2024
1 parent 38a3097 commit d90e064
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inseq/data/attribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import torch

from ..utils import (
convert_to_safetensor,
convert_from_safetensor,
convert_to_safetensor,
drop_padding,
get_sequences_from_batched_steps,
json_advanced_dump,
Expand Down
2 changes: 1 addition & 1 deletion inseq/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
from .torch_utils import (
aggregate_contiguous,
check_device,
convert_to_safetensor,
convert_from_safetensor,
convert_to_safetensor,
euclidean_distance,
filter_logits,
find_block_stack,
Expand Down
2 changes: 0 additions & 2 deletions inseq/utils/torch_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import json
import logging
import struct
from collections.abc import Sequence
from functools import wraps
from inspect import signature
Expand Down

0 comments on commit d90e064

Please sign in to comment.