Skip to content

ModuleNotFoundError: No module named 'sae_lens.training.session_loader' #58

Description

@amrzv

Hi.
When running demo.ipynb notebook
the

ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-12-43ab3eb54e84>](https://localhost:8080/#) in <cell line: 1>()
----> 1 from sae_lens.training.session_loader import LMSparseAutoencoderSessionloader
      2 from sae_lens.training.activations_store import ActivationsStore
      3 from tqdm import tqdm
      4 
      5 # Get gpt2 model

ModuleNotFoundError: No module named 'sae_lens.training.session_loader'

raised.
Also

ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-16-203c95955679>](https://localhost:8080/#) in <cell line: 29>()
     27 from sae_vis.data_storing_fns import SaeVisData
     28 from sae_vis.data_config_classes import SaeVisConfig
---> 29 from sae_lens.training.sparse_autoencoder import SparseAutoencoder
     30 # from sae_lens.training.training_sae import TrainingSAE as SparseAutoencoder
     31 

ModuleNotFoundError: No module named 'sae_lens.training.sparse_autoencoder'

Is it because of the missing dependency sae-lens?

P.S: installing pip install sae-lens doesn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions