Skip to content

Commit

Permalink
fix: load probe class with weights_only = False
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkarvonen committed Feb 14, 2025
1 parent 18dc457 commit f05bf40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sae_bench/evals/absorption/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def load_probe(
probe = torch.load(
Path(probes_dir) / f"{model_name}" / f"layer_{layer}" / "probe.pth",
map_location=device,
weights_only=False,
).to(dtype=dtype)
return probe

Expand Down

0 comments on commit f05bf40

Please sign in to comment.