You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Partial state contains a `parallelism_config` which is not None, but you configured `parallelism_config` from the `accelerate launch` CLI. We don't know which to use, please remove one of those configuration methods."
raise ("You need to pass a device_type e.g cuda to build the device mesh")
205
+
else:
206
+
ifdevice_typeisnotNone:
207
+
ifself.device_mesh.device_type!=device_type:
208
+
raiseValueError(
209
+
f"The device_mesh is already created with device type {self.device_mesh.device_type}. However, you are trying to get a device mesh with device_type {device_type}. Please check if you correctly initialized your device_mesh"
0 commit comments