Will Constable
4f34cd6d1e
Replace all CHECK_ and DCHECK_ with TORCH_* macros ( #82032 )
...
Avoid exposing defines that conflict with google logging, since this blocks external usage of libtorch in certain cases.
All the 'interesting' changes should be in these two files, and the rest should just be mechanical changes via sed.
c10/util/logging_is_not_google_glog.h
c10/util/logging_is_google_glog.h
Fixes https://github.com/pytorch/pytorch/issues/81415
cc @miladm @malfet
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82032
Approved by: https://github.com/soumith , https://github.com/miladm
2022-07-26 01:20:44 +00:00
Shashank Chaudhry
06d1be2447
[NOOP][clangformat][codemod] Enable CLANGFORMAT for caffe2/caffe2/* ( #67624 )
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/67624
Test Plan: Visual inspection. Sandcastle.
Reviewed By: malfet
Differential Revision: D31986628
fbshipit-source-id: c872bded7325997a2945dbf5d4d052628dcb3659
2021-11-02 22:14:04 -07:00
Yangqing Jia
38f3d1fc40
move flags to c10 ( #12144 )
...
Summary:
still influx.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12144
Reviewed By: smessmer
Differential Revision: D10140176
Pulled By: Yangqing
fbshipit-source-id: 1a313abed022039333e3925d19f8b3ef2d95306c
2018-10-04 02:09:56 -07:00
Orion Reblitz-Richardson
1d5780d42c
Remove Apache headers from source.
...
* LICENSE file contains details, so removing from individual source files.
2018-03-27 13:10:18 -07:00
Yangqing Jia
8286ce1e3a
Re-license to Apache
...
Summary: Closes https://github.com/caffe2/caffe2/pull/1260
Differential Revision: D5906739
Pulled By: Yangqing
fbshipit-source-id: e482ba9ba60b5337d9165f28f7ec68d4518a0902
2017-09-28 16:22:00 -07:00
Andrew Gallagher
9c58341809
codemod: use <> includes for gtest headers
...
Summary: These are system headers and so should be included via `<>`.
Reviewed By: yfeldblum
Differential Revision: D4783480
fbshipit-source-id: 979670b594859b45560cead34f615442dfcc9f8b
2017-03-28 00:50:54 -07:00
Alexander Sidorov
56f324d191
Added predictor bindings to python interface
...
Summary: from caffe2.python import workspace; p = workspace.Predictor(init_net, predict_net); outputs = p.run(inputs)
Reviewed By: Yangqing
Differential Revision: D4576793
fbshipit-source-id: b829bbcaf2e7c34dad85024177433207bd96a234
2017-03-15 11:17:54 -07:00
Yangqing Jia
375c0816b3
goodbye old brewery
2017-01-04 20:58:35 -08:00
Yangqing Jia
f09d2b2b35
changes to make c2 build.
2016-07-21 16:39:08 -07:00
Yangqing Jia
559053d3a8
chunky sync
2016-05-13 14:43:48 -07:00
Yangqing Jia
cf7ca23fc1
make caffe2.python build
2016-03-08 16:48:19 -08:00
Yangqing Jia
0747a4a7fd
move a bunch of things
2016-03-08 15:15:19 -08:00