You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: traincheck/collect_trace.py
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -350,7 +350,7 @@ def main():
350
350
parser.add_argument(
351
351
"--model-tracker-style",
352
352
type=str,
353
-
choices=["sampler", "proxy"],
353
+
choices=["sampler", "proxy", "subclass"],
354
354
default="proxy",
355
355
)
356
356
parser.add_argument(
@@ -371,6 +371,11 @@ def main():
371
371
action="store_true",
372
372
help="Disable automatic variable instrumentation, necessary when the default behavior of the instrumentor is not desired (e.g. cause segmentation fault)",
373
373
)
374
+
parser.add_argument(
375
+
"--use-torch-compile",
376
+
action="store_true",
377
+
help="Indicate wthether use torch.compile to speed the model, necessary to realize compatibility",
0 commit comments