Skip to content

Commit

Permalink
adding topk to hidden pre test
Browse files Browse the repository at this point in the history
  • Loading branch information
chanind committed Nov 12, 2024
1 parent 2185e52 commit 85524bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/training/test_training_sae.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_TrainingSAE_forward_includes_topk_loss_is_nonzero_if_dead_neurons_prese
assert train_step_output.losses["auxiliary_reconstruction_loss"] > 0.0


@pytest.mark.parametrize("architecture", ["standard", "gated", "jumprelu"])
@pytest.mark.parametrize("architecture", ["standard", "gated", "jumprelu", "topk"])
def test_TrainingSAE_encode_returns_same_value_as_encode_with_hidden_pre(
architecture: str,
):
Expand Down

0 comments on commit 85524bc

Please sign in to comment.