Unverified Commit 03732dea authored by Jacky Lee's avatar Jacky Lee Committed by GitHub
Browse files

Enable multi-device for efficientnet (#29989)

feat: enable mult-idevice for efficientnet
parent 863e2562
...@@ -484,6 +484,7 @@ class EfficientNetPreTrainedModel(PreTrainedModel): ...@@ -484,6 +484,7 @@ class EfficientNetPreTrainedModel(PreTrainedModel):
config_class = EfficientNetConfig config_class = EfficientNetConfig
base_model_prefix = "efficientnet" base_model_prefix = "efficientnet"
main_input_name = "pixel_values" main_input_name = "pixel_values"
_no_split_modules = []
def _init_weights(self, module): def _init_weights(self, module):
"""Initialize the weights""" """Initialize the weights"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment