Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
artek0chumak committed Apr 8, 2024
1 parent 9eb7928 commit db3087a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/petals/server/from_pretrained.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from petals.constants import DTYPE_MAP
from petals.models.mixtral import WrappedMixtralBlock
from petals.server.block_utils import resolve_block_dtype, get_model_block
from petals.server.block_utils import get_model_block, resolve_block_dtype
from petals.utils.auto_config import AutoDistributedConfig
from petals.utils.disk_cache import DEFAULT_CACHE_DIR, allow_cache_reads, allow_cache_writes, free_disk_space_for
from petals.utils.hf_auth import always_needs_auth
Expand Down
2 changes: 1 addition & 1 deletion src/petals/server/throughput.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from hivemind.utils.logging import get_logger
from transformers import PretrainedConfig

from petals.server.block_utils import resolve_block_dtype, get_model_block
from petals.server.block_utils import get_model_block, resolve_block_dtype
from petals.utils.convert_block import QuantType, convert_block
from petals.utils.disk_cache import DEFAULT_CACHE_DIR
from petals.utils.misc import DUMMY_KEY_PAST
Expand Down

0 comments on commit db3087a

Please sign in to comment.