Skip to content

Commit

Permalink
Use expandable segments to reduce memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkarvonen committed Nov 24, 2024
1 parent ff0beda commit 4f3967d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evals/core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ def multiple_evals(
verbose: bool = False,
dtype: str = "float32",
) -> List[Dict[str, Any]]:
device = "cuda" if torch.cuda.is_available() else "cpu"
device = general_utils.setup_environment()
assert len(filtered_saes) > 0, "No SAEs to evaluate"

eval_results = []
Expand Down

0 comments on commit 4f3967d

Please sign in to comment.