Skip to content

Commit

Permalink
fix old test, may remove
Browse files Browse the repository at this point in the history
  • Loading branch information
jbloom-md committed Nov 30, 2023
1 parent 836298a commit b407aab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/acceptance/test_train_sae_toy_models.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import einops
import pytest
import torch
import einops
import wandb

import wandb
from sae_training.SAE import SAE
from sae_training.train_sae import train_sae
from sae_training.toy_models import Config as ToyConfig
from sae_training.toy_models import Model as ToyModel
from sae_training.train_sae import train_sae


@pytest.fixture
Expand Down Expand Up @@ -41,7 +41,7 @@ def test_train_sae_toy_models(model):

sae = SAE(toy_config)
# wandb.init(project="sae-training-test", config=toy_config)
sae = train_sae(sae, hidden.detach().squeeze(), use_wandb=False, l1_coeff=0.001, batch_size=32, n_epochs=10)
sae = train_sae(model, sae, hidden.detach().squeeze(), use_wandb=False, l1_coeff=0.001, batch_size=32, n_epochs=10)
# wandb.finish()


Expand Down

0 comments on commit b407aab

Please sign in to comment.