Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce test matrix #4177

Open
njzjz opened this issue Oct 1, 2024 · 1 comment · Fixed by #4244
Open

Reduce test matrix #4177

njzjz opened this issue Oct 1, 2024 · 1 comment · Fixed by #4244

Comments

@njzjz
Copy link
Member

njzjz commented Oct 1, 2024

Currently, we have 1024 variations for DPA-1 and 512 variations for DPA-2, which takes a lot of CI time, especially when we add more supported backends.

@parameterized(
(4,), # tebd_dim
("concat", "strip"), # tebd_input_mode
(True,), # resnet_dt
(True, False), # type_one_side
(20,), # attn
(0, 2), # attn_layer
(True, False), # attn_dotr
([], [[0, 1]]), # excluded_types
(0.0,), # env_protection
(True, False), # set_davg_zero
(1.0,), # scaling_factor
(True, False), # normalize
(None, 1.0), # temperature
(1e-5,), # ln_eps
(True, False), # smooth_type_embedding
(True,), # concat_output_tebd
("float64",), # precision
(True, False), # use_econf_tebd
(False, True), # use_tebd_bias
)

@parameterized(
("concat", "strip"), # repinit_tebd_input_mode
(True,), # repinit_set_davg_zero
(False,), # repinit_type_one_side
(True, False), # repinit_use_three_body
(True, False), # repformer_direct_dist
(True,), # repformer_update_g1_has_conv
(True,), # repformer_update_g1_has_drrd
(True,), # repformer_update_g1_has_grrg
(True,), # repformer_update_g1_has_attn
(True,), # repformer_update_g2_has_g1g1
(True,), # repformer_update_g2_has_attn
(False,), # repformer_update_h2
(True,), # repformer_attn2_has_gate
("res_avg", "res_residual"), # repformer_update_style
("norm", "const"), # repformer_update_residual_init
(True,), # repformer_set_davg_zero
(True,), # repformer_trainable_ln
(1e-5,), # repformer_ln_eps
(True,), # repformer_use_sqrt_nnei
(True,), # repformer_g1_out_conv
(True,), # repformer_g1_out_mlp
(True, False), # smooth
([], [[0, 1]]), # exclude_types
("float64",), # precision
(True, False), # add_tebd_to_repinit_out
(True, False), # use_econf_tebd
(False,), # use_tebd_bias
)

cc @wanghan-iapcm @iProzd

@njzjz njzjz linked a pull request Oct 23, 2024 that will close this issue
@njzjz njzjz closed this as completed Oct 23, 2024
@njzjz
Copy link
Member Author

njzjz commented Nov 8, 2024

I reopen this issue as DPA-2 also takes lots of time to test consistent.

@njzjz njzjz reopened this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant