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
lambda: f"{variableify(param)} not found in param set: {(variableify(p) forpinself.original_params)}",
272
+
lambda: (
273
+
f"{variableify(param)} not found in param set: {(variableify(p) forpinself.original_params)}"
274
+
),
269
275
)
270
276
ifparamnotinself.param_to_bucket:
271
277
# This path is highly likely to be backward reduce-scatter bucketing:
@@ -458,7 +464,9 @@ def __init__(
458
464
hasattr(compile_data.fn, "process_group_for_ddp")
459
465
andhasattr(compile_data.fn, "bucketing_strategy")
460
466
andhasattr(compile_data.fn, "sharding_strategy"),
461
-
lambda: f"Given module does not seem to have all the attributes of `process_group_for_ddp`, `bucketing_strategy`, and `sharding_strategy`, {hasattr(compile_data.fn, 'bucketing_strategy')=}, {hasattr(compile_data.fn, 'sharding_strategy')=}",
467
+
lambda: (
468
+
f"Given module does not seem to have all the attributes of `process_group_for_ddp`, `bucketing_strategy`, and `sharding_strategy`, {hasattr(compile_data.fn, 'bucketing_strategy')=}, {hasattr(compile_data.fn, 'sharding_strategy')=}"
0 commit comments