Skip to content

Commit e04036e

Browse files
Remove deprecated num_experts in test.
1 parent 7e6d81d commit e04036e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/test_modelling/test_tabular_modelling/test_omics_modelling.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ def _get_multi_task_output_configs(
554554
"linear",
555555
"shared_mlp_residual",
556556
] = "mlp_residual",
557-
shared_mlp_residual_experts: int = 0,
558557
) -> Sequence[dict]:
559558
output_configs = [
560559
{
@@ -585,10 +584,6 @@ def _get_multi_task_output_configs(
585584
output_configs[1]["model_config"] = {
586585
"model_type": "shared_mlp_residual",
587586
}
588-
if shared_mlp_residual_experts > 0:
589-
output_configs[1]["model_config"]["model_init_config"] = {
590-
"num_experts": shared_mlp_residual_experts,
591-
}
592587

593588
return output_configs
594589

@@ -829,7 +824,6 @@ def _should_compile():
829824
"output_configs": _get_multi_task_output_configs(
830825
uncertainty_mt_loss=False,
831826
output_type="shared_mlp_residual",
832-
shared_mlp_residual_experts=2,
833827
),
834828
},
835829
},

0 commit comments

Comments
 (0)