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 @@ -348,7 +348,7 @@ def __init__(
348
348
input_size ,
349
349
output_size_per_partition ,
350
350
0 ,
351
- init_method ,
351
+ init_method = condition_init_method ( config , init_method ) ,
352
352
stride = 1 ,
353
353
return_master_weight = False ,
354
354
rank = rank ,
@@ -441,7 +441,7 @@ def __init__(
441
441
input_size ,
442
442
output_size_per_partition ,
443
443
0 ,
444
- init_method ,
444
+ init_method = condition_init_method ( config , init_method ) ,
445
445
stride = 1 ,
446
446
return_master_weight = False ,
447
447
rank = rank ,
@@ -519,7 +519,7 @@ def __init__(
519
519
input_size ,
520
520
input_size_per_partition ,
521
521
1 ,
522
- init_method ,
522
+ init_method = condition_init_method ( config , init_method ) ,
523
523
stride = 1 ,
524
524
return_master_weight = False ,
525
525
params_dtype = config .params_dtype ,
You can’t perform that action at this time.
0 commit comments