Skip to content

Commit f05bf40

Browse files
committed
fix: load probe class with weights_only = False
1 parent 18dc457 commit f05bf40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sae_bench/evals/absorption/common.py

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def load_probe(
7373
probe = torch.load(
7474
Path(probes_dir) / f"{model_name}" / f"layer_{layer}" / "probe.pth",
7575
map_location=device,
76+
weights_only=False,
7677
).to(dtype=dtype)
7778
return probe
7879

0 commit comments

Comments
 (0)