Update src/petals/models/mixtral/model.py

Co-authored-by: Max Ryabinin <mryabinin0@gmail.com>
This commit is contained in:
Artem Chumachenko 2024-03-29 10:32:11 +01:00 committed by GitHub
parent 866927d88c
commit 5fe8fa4a45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ logger = get_logger(__name__)
class DistributedMixtralModel(DefaultRevisionMixin, FromPretrainedMixin, PTuneMixin, MixtralModel):
"""MixtalModel, but all transformer layers are hosted by the swarm"""
"""MixtralModel, but all transformer layers are hosted by the swarm"""
_keys_to_ignore_on_load_missing = PTuneMixin._keys_to_ignore_on_load_missing
_keys_to_ignore_on_load_unexpected = [r"^model\.layers\."]