Skip to content

Commit

Permalink
Don't rely on pwd for setting up .cache (#205)
Browse files Browse the repository at this point in the history
Fix #204
  • Loading branch information
JasonGross authored Mar 20, 2024
1 parent f005cc1 commit 8dc963a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparse_autoencoder/train/sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def run_training_pipeline(
source_data: The source data.
run_name: The name of the run.
"""
checkpoint_path = Path("../../.checkpoints")
checkpoint_path = Path(__file__).parent.parent.parent / ".checkpoints"
checkpoint_path.mkdir(exist_ok=True)

random_seed = hyperparameters["random_seed"]
Expand Down

0 comments on commit 8dc963a

Please sign in to comment.