From 9c8b827ff65668c52c107fbaa298127c2adbc03d Mon Sep 17 00:00:00 2001 From: Emery Berger Date: Thu, 9 Jan 2025 16:01:36 -0600 Subject: [PATCH] Restore GPU profiling by default on Mac --- scalene/scalene_arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scalene/scalene_arguments.py b/scalene/scalene_arguments.py index 516c1b51c..ceccafa14 100644 --- a/scalene/scalene_arguments.py +++ b/scalene/scalene_arguments.py @@ -9,7 +9,7 @@ class ScaleneArguments(argparse.Namespace): def __init__(self, **kwargs: Any) -> None: self.cpu = True - self.gpu = platform.system() != "Darwin" + self.gpu = True self.memory = sys.platform != "win32" self.stacks = False # default - don't collect stack traces self.cpu_percent_threshold = 1