From 352743680d99a6242b36f6100e9ccdb87d1147d4 Mon Sep 17 00:00:00 2001 From: Nicholas Ormrod Date: Wed, 19 Feb 2025 09:50:51 -0800 Subject: [PATCH] facebook-unused-include-check in fbcode/pytorch Summary: X-link: https://github.com/pytorch/vision/pull/8919 Remove headers flagged by facebook-unused-include-check over fbcode.pytorch. + format and autodeps This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle. You have been added as a reviewer by Sentinel or Butterfly. Autodiff project: uip Autodiff partition: fbcode.pytorch Autodiff bookmark: ad.uip.fbcode.pytorch Reviewed By: dtolnay Differential Revision: D69621180 --- torchtext/csrc/vocab.cpp | 1 - torchtext/csrc/vocab_factory.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/torchtext/csrc/vocab.cpp b/torchtext/csrc/vocab.cpp index 525397a8c4..28e17b0fe7 100644 --- a/torchtext/csrc/vocab.cpp +++ b/torchtext/csrc/vocab.cpp @@ -4,7 +4,6 @@ #include // @manual #include -#include #include namespace torchtext { diff --git a/torchtext/csrc/vocab_factory.cpp b/torchtext/csrc/vocab_factory.cpp index d9a6063f49..18015716a4 100644 --- a/torchtext/csrc/vocab_factory.cpp +++ b/torchtext/csrc/vocab_factory.cpp @@ -6,7 +6,6 @@ #include // @manual #include -#include #include namespace torchtext {