Skip to content

Commit

Permalink
fix suffix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jbloom-md committed Mar 25, 2024
1 parent 35fdeec commit 209ba13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sae_training/train_sae_on_language_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def train_sae_group_on_language_model(
if not isinstance(all_layers, list):
all_layers = [all_layers]

wandb_suffix = _wandb_log_suffix(sae_group.cfg, sae_group.cfg)
train_contexts = [
_build_train_context(sae, total_training_steps) for sae in sae_group
]
Expand All @@ -111,6 +110,7 @@ def train_sae_group_on_language_model(
sparse_autoencoder,
ctx,
) in zip(sae_group, train_contexts):
wandb_suffix = _wandb_log_suffix(sae_group.cfg, sparse_autoencoder.cfg)
step_output = _train_step(
sparse_autoencoder=sparse_autoencoder,
layer_acts=layer_acts,
Expand Down

0 comments on commit 209ba13

Please sign in to comment.