Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbloom-md committed Apr 10, 2024
1 parent 1d70af8 commit 16935ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/training/test_session_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

from sae_lens.training.activations_store import ActivationsStore
from sae_lens.training.config import LanguageModelSAERunnerConfig
from sae_lens.training.sae_group import SparseAutoencoderDictionary

# from sae_lens.training.sae_group import SAETrainingGroup
from sae_lens.training.session_loader import LMSparseAutoencoderSessionloader
Expand Down Expand Up @@ -152,7 +153,7 @@ def test_load_pretrained_sae_from_huggingface():
path=folder_path
)
assert isinstance(model, HookedTransformer)
assert isinstance(sae, SparseAutoencoder)
assert isinstance(sae, SparseAutoencoderDictionary)
assert isinstance(activation_store, ActivationsStore)
assert sae.cfg.hook_point_layer == layer
assert sae.cfg.model_name == "gpt2-small"

0 comments on commit 16935ef

Please sign in to comment.