Skip to content

Commit

Permalink
Update test_unused_params.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iProzd committed May 10, 2024
1 parent f337203 commit 183b109
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions source/tests/pt/model/test_unused_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ def test_unused(self):
# skip the case g2 is not envolved
continue
model = copy.deepcopy(model_dpa2)
model["descriptor"]["repformer_nlayers"] = 2
model["descriptor"]["repformer"]["nlayers"] = 2
# model["descriptor"]["combine_grrg"] = cmbg2
model["descriptor"]["repformer_update_g1_has_conv"] = conv
model["descriptor"]["repformer_update_g1_has_drrd"] = drrd
model["descriptor"]["repformer_update_g1_has_grrg"] = grrg
model["descriptor"]["repformer_update_g1_has_attn"] = attn1
model["descriptor"]["repformer_update_g2_has_g1g1"] = g1g1
model["descriptor"]["repformer_update_g2_has_attn"] = attn2
model["descriptor"]["repformer_update_h2"] = h2
model["descriptor"]["repformer"]["update_g1_has_conv"] = conv
model["descriptor"]["repformer"]["update_g1_has_drrd"] = drrd
model["descriptor"]["repformer"]["update_g1_has_grrg"] = grrg
model["descriptor"]["repformer"]["update_g1_has_attn"] = attn1
model["descriptor"]["repformer"]["update_g2_has_g1g1"] = g1g1
model["descriptor"]["repformer"]["update_g2_has_attn"] = attn2
model["descriptor"]["repformer"]["update_h2"] = h2
model["fitting_net"]["neuron"] = [12, 12, 12]
self._test_unused(model)

Expand Down

0 comments on commit 183b109

Please sign in to comment.