[PyTorch] Remove unnecessary include of c10/util/Exception.h in irange.h (#136202)

Manually audited and can't figure out why this would be needed.

Differential Revision: [D62879500](https://our.internmc.facebook.com/intern/diff/D62879500/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/136202
Approved by: https://github.com/malfet
This commit is contained in:
Scott Wolchok 2024-09-17 09:18:28 -07:00 committed by PyTorch MergeBot
parent 6a6f5b20c5
commit 605f2d802a
2 changed files with 1 additions and 1 deletions

View file

@ -1,5 +1,6 @@
#include <c10/core/impl/alloc_cpu.h>
#include <c10/mobile/CPUProfilingAllocator.h>
#include <c10/util/Exception.h>
#include <c10/util/irange.h>
#include <map>

View file

@ -2,7 +2,6 @@
#pragma once
#include <c10/util/Exception.h>
#include <c10/util/TypeSafeSignMath.h>
#include <algorithm>