pytorch/caffe2/utils
Adam Simpkins aeb55225e0 [caffe2] add a basic implementation of run-time feature rollout checks (#59355)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59355

Add a `CheckKnob()` function for doing run-time checks of feature roll-out
knobs.  This provides an API for safely controlling the roll-out of new
functionality in the code.

Test Plan: Included some basic unit tests.

Reviewed By: voznesenskym

Differential Revision: D26536430

fbshipit-source-id: 2e53234c6d9ce624848fc8b2c76f6833f344f48b
2021-06-04 14:34:41 -07:00
..
hip
math Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
threadpool Run pthreadpool with _NoPThreadPoolGuard on the same thread (#58759) 2021-05-25 11:39:05 -07:00
bench_utils.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
bench_utils.h
cast.h
cast_test.cc Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
cblas.h
CMakeLists.txt
conversions.h
cpu_neon.h
cpuid.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
cpuid.h
cpuid_test.cc Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
eigen_utils.h
fatal_signal_asan_no_sig_test.cc Move caffe2 signal_handler to c10. (#56717) 2021-04-26 23:08:12 -07:00
filler.h Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
fixed_divisor.h
fixed_divisor_test.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
GpuBitonicSort.cuh
GpuDefs.cuh
GpuScanUtils.cuh
knob_patcher.cc [caffe2] add a basic implementation of run-time feature rollout checks (#59355) 2021-06-04 14:34:41 -07:00
knob_patcher.h [caffe2] add a basic implementation of run-time feature rollout checks (#59355) 2021-06-04 14:34:41 -07:00
knobs.cc [caffe2] add a basic implementation of run-time feature rollout checks (#59355) 2021-06-04 14:34:41 -07:00
knobs.h [caffe2] add a basic implementation of run-time feature rollout checks (#59355) 2021-06-04 14:34:41 -07:00
knobs_test.cc [caffe2] add a basic implementation of run-time feature rollout checks (#59355) 2021-06-04 14:34:41 -07:00
map_utils.h
math-detail.h
math.h
math_cpu.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
math_gpu.cu
math_gpu_test.cc
math_test.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
murmur_hash3.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
murmur_hash3.h
proto_convert.cc
proto_convert.h
proto_utils.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
proto_utils.h
proto_utils_test.cc Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
proto_wrap.cc
proto_wrap.h
signal_handler.cc Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
signal_handler.h Move caffe2 signal_handler to c10. (#56717) 2021-04-26 23:08:12 -07:00
simple_queue.h
simple_queue_test.cc [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
smart_tensor_printer.cc Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
smart_tensor_printer.h
smart_tensor_printer_test.cc
string_utils.cc Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
string_utils.h
zmq_helper.h