File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ def __init__(
338
338
input_size ,
339
339
output_size_per_partition ,
340
340
0 ,
341
- init_method ,
341
+ init_method = condition_init_method ( config , init_method ) ,
342
342
stride = 1 ,
343
343
return_master_weight = False ,
344
344
rank = rank ,
@@ -427,7 +427,7 @@ def __init__(
427
427
input_size ,
428
428
output_size_per_partition ,
429
429
0 ,
430
- init_method ,
430
+ init_method = condition_init_method ( config , init_method ) ,
431
431
stride = 1 ,
432
432
return_master_weight = False ,
433
433
rank = rank ,
@@ -501,7 +501,7 @@ def __init__(
501
501
input_size ,
502
502
input_size_per_partition ,
503
503
1 ,
504
- init_method ,
504
+ init_method = condition_init_method ( config , init_method ) ,
505
505
stride = 1 ,
506
506
return_master_weight = False ,
507
507
params_dtype = config .params_dtype ,
You can’t perform that action at this time.
0 commit comments