Skip to content

Commit

Permalink
remove dead torch_pb.h library (pytorch#97323)
Browse files Browse the repository at this point in the history
remove dead torch_pb.h library

Summary: This is only used in one place, ensure it still builds.

Test Plan: Rely on CI.

Reviewers: sahanp

Subscribers:

Tasks:

Tags:

---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/pytorch/pytorch/pull/97323).
* pytorch#97337
* pytorch#97336
* pytorch#97335
* pytorch#97334
* pytorch#97325
* pytorch#97324
* __->__ pytorch#97323
* pytorch#97322
Pull Request resolved: pytorch#97323
Approved by: https://github.com/malfet
  • Loading branch information
mikey dagitses authored and pytorchmergebot committed Mar 22, 2023
1 parent 89d116d commit 364d92f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions caffe2/proto/torch_pb.h

This file was deleted.

2 changes: 1 addition & 1 deletion torch/csrc/jit/serialization/import_legacy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <caffe2/core/common.h>
#include <caffe2/core/types.h>
#include <caffe2/proto/caffe2_pb.h>
#include <caffe2/proto/torch_pb.h>
#include <caffe2/proto/torch.pb.h>
#include <caffe2/serialize/inline_container.h>

#include <ATen/ATen.h>
Expand Down

0 comments on commit 364d92f

Please sign in to comment.