Skip to content

Commit

Permalink
Enable multi-device for efficientnet (#29989)
Browse files Browse the repository at this point in the history
feat: enable mult-idevice for efficientnet
  • Loading branch information
jla524 authored and Ita Zaporozhets committed May 14, 2024
1 parent 8d4d74b commit 2fcb56a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ class EfficientNetPreTrainedModel(PreTrainedModel):
config_class = EfficientNetConfig
base_model_prefix = "efficientnet"
main_input_name = "pixel_values"
_no_split_modules = []

def _init_weights(self, module):
"""Initialize the weights"""
Expand Down

0 comments on commit 2fcb56a

Please sign in to comment.