"docs/vscode:/vscode.git/clone" did not exist on "edd3fce2f7c854be626d3f54f2e0619cdd3366ca"
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):
config_class = EfficientNetConfig
base_model_prefix = "efficientnet"
main_input_name = "pixel_values"
_no_split_modules = []
def _init_weights(self, module):
"""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