commit | af82dc816aa5ff17366c9c978a14c826b4393bc6 | [log] [tgz] |
---|---|---|
author | Nikita Shulga <2453524+malfet@users.noreply.github.com> | Mon Aug 26 20:13:21 2024 +0000 |
committer | PyTorch MergeBot <pytorchmergebot@users.noreply.github.com> | Mon Aug 26 20:13:21 2024 +0000 |
tree | a53f43d7bb5b91e5372beafea3902c29d9b1c9eb | |
parent | 2588b5e51ae598d3f363abe49e8bafb00e1a5161 [diff] |
Fix lint failures (#134488) Introduced by https://github.com/pytorch/pytorch/pull/131000 Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/134488 Approved by: https://github.com/Skylion007, https://github.com/msaroufim, https://github.com/albanD, https://github.com/atalman
diff --git a/torch/_inductor/codecache.py b/torch/_inductor/codecache.py index 66ab210..5374826 100644 --- a/torch/_inductor/codecache.py +++ b/torch/_inductor/codecache.py
@@ -1905,6 +1905,7 @@ if use_mmap_weights: import resource + page_size_ = resource.getpagesize() page_size = max(16384, page_size_)