diff --git a/frontend/guard_tracker.py b/frontend/guard_tracker.py index ebe1fdc7663e..773d569407ae 100644 --- a/frontend/guard_tracker.py +++ b/frontend/guard_tracker.py @@ -1747,7 +1747,9 @@ def set_if_inplace_return() -> None: "flatten_parameters", "numel", "children", "named_parameters", "_weights_have_changed", "check_forward_args", "permute_hidden", "_check_input_dim", - "parameters", "_has_torch_function_unary"): + "parameters", "_has_torch_function_unary", "_is_tracing", + "is_tracing", "is_scripting", "get_autocast_gpu_dtype", + "is_autocast_enabled", "ndimension"): return if hasattr(func, "__module__" ) and func.__module__ == 'torch.autograd.profiler':