Commit Graph

4 Commits

Author SHA1 Message Date
Oleg Bogdanov
30a6feda84 caffe2 | MSVS compatibility fixes (#16765)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16765

Code changes required to build caffe2 for windows with toolchain used by FB.

Reviewed By: orionr

Differential Revision: D13953258

fbshipit-source-id: 651823ec9d81ac70e32d4cce5bc2472434104733
2019-02-06 09:47:01 -08:00
Marat Dukhan
7d64c9df39 Remove C2GEMMContext (#13443)
Summary:
C2GEMMContext is a remnant of old times when Int8 ops used gemmlowp.
It is no longer needed: formerly gemmlowp-based ops use QNNPACK with pthreadpool interface, and other ops (Int8Add, Int8ChannelShuffle) use Caffe2 thread pool interface directly.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13443

Differential Revision: D12887773

Pulled By: Maratyszcza

fbshipit-source-id: bd2732e2c187b399c8a82efebdd244457720256b
2018-11-06 21:50:53 -08:00
Yiming Wu
470bfaa586 int8 sigmoid op (#13298)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13298

Int8 sigmoid ops, test provided. Only supports first axis now

Reviewed By: newstzpz

Differential Revision: D12837824

fbshipit-source-id: 2a9f1739813fe7b48f841ae15e0206768e57cd3e
2018-10-31 16:22:45 -07:00
Marat Dukhan
9cb4bce847 Open-source Caffe2 Int8 ops (#13065)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13065

- Open-source Caffe2 Int8 (quantized) operators

Reviewed By: Yangqing

Differential Revision: D10524381

fbshipit-source-id: 6daa153dc247572900c91e37262d033c368b382d
2018-10-25 12:43:00 -07:00