/
usr
/
local
/
lib64
/
python3.6
/
site-packages
/
torch
/
include
/
caffe2
/
core
/
/usr/local/lib64/python3.6/site-packages/torch/include/caffe2/core
mkdir
upload
Name
Size
Mode
Actions
allocator.h
136
0644
edit
dl
rm
blob.h
4168
0644
edit
dl
rm
blob_serialization.h
10791
0644
edit
dl
rm
blob_serializer_base.h
3905
0644
edit
dl
rm
blob_stats.h
1127
0644
edit
dl
rm
common.h
4329
0644
edit
dl
rm
common_cudnn.h
9893
0644
edit
dl
rm
common_gpu.h
21414
0644
edit
dl
rm
common_omp.h
156
0644
edit
dl
rm
context.h
6174
0644
edit
dl
rm
context_base.h
4382
0644
edit
dl
rm
context_gpu.h
11014
0644
edit
dl
rm
cudnn_wrappers.h
6956
0644
edit
dl
rm
db.h
9352
0644
edit
dl
rm
distributions_stubs.h
2161
0644
edit
dl
rm
event.h
12420
0644
edit
dl
rm
event_cpu.h
1192
0644
edit
dl
rm
export_c10_op_to_caffe2.h
9487
0644
edit
dl
rm
export_caffe2_op_to_c10.h
11101
0644
edit
dl
rm
flags.h
74
0644
edit
dl
rm
graph.h
5258
0644
edit
dl
rm
init.h
6496
0644
edit
dl
rm
logging.h
75
0644
edit
dl
rm
macros.h
3426
0644
edit
dl
rm
memonger.h
817
0644
edit
dl
rm
module.h
2473
0644
edit
dl
rm
net.h
4634
0644
edit
dl
rm
net_async_base.h
7397
0644
edit
dl
rm
net_async_scheduling.h
993
0644
edit
dl
rm
net_async_task.h
833
0644
edit
dl
rm
net_async_task_future.h
1925
0644
edit
dl
rm
net_async_task_graph.h
2253
0644
edit
dl
rm
net_async_tracing.h
5093
0644
edit
dl
rm
net_dag_utils.h
2146
0644
edit
dl
rm
net_parallel.h
2144
0644
edit
dl
rm
net_simple.h
2606
0644
edit
dl
rm
net_simple_refcount.h
2097
0644
edit
dl
rm
numa.h
72
0644
edit
dl
rm
observer.h
3809
0644
edit
dl
rm
operator.h
58872
0644
edit
dl
rm
operator_gradient.h
10222
0644
edit
dl
rm
operator_schema.h
18477
0644
edit
dl
rm
plan_executor.h
219
0644
edit
dl
rm
prof_dag_counters.h
2751
0644
edit
dl
rm
qtensor.h
6615
0644
edit
dl
rm
qtensor_serialization.h
2624
0644
edit
dl
rm
scope_guard.h
4675
0644
edit
dl
rm
static_tracepoint.h
398
0644
edit
dl
rm
static_tracepoint_elfx86.h
5555
0644
edit
dl
rm
stats.h
10365
0644
edit
dl
rm
storage.h
733
0644
edit
dl
rm
tensor.h
18668
0644
edit
dl
rm
tensor_impl.h
351
0644
edit
dl
rm
tensor_int8.h
450
0644
edit
dl
rm
test_utils.h
6285
0644
edit
dl
rm
timer.h
1218
0644
edit
dl
rm
transform.h
5741
0644
edit
dl
rm
types.h
2248
0644
edit
dl
rm
workspace.h
11305
0644
edit
dl
rm
Edit:
/usr/local/lib64/python3.6/site-packages/torch/include/caffe2/core/macros.h
(3426B)
// Automatically generated header file for caffe2 macros. These // macros are used to build the Caffe2 binary, and if you are // building a dependent library, they will need to be set as well // for your program to link correctly. #pragma once // Caffe2 version. The plan is to increment the minor version every other week // as a track point for bugs, until we find a proper versioning cycle. #define CAFFE2_VERSION_MAJOR 1 #define CAFFE2_VERSION_MINOR 10 #define CAFFE2_VERSION_PATCH 2 static_assert( CAFFE2_VERSION_MINOR < 100, "Programming error: you set a minor version that is too big."); static_assert( CAFFE2_VERSION_PATCH < 100, "Programming error: you set a patch version that is too big."); #define CAFFE2_VERSION \ (CAFFE2_VERSION_MAJOR * 10000 + CAFFE2_VERSION_MINOR * 100 + \ CAFFE2_VERSION_PATCH) #define CAFFE2_BUILD_SHARED_LIBS /* #undef CAFFE2_FORCE_FALLBACK_CUDA_MPI */ /* #undef CAFFE2_HAS_MKL_DNN */ /* #undef CAFFE2_HAS_MKL_SGEMM_PACK */ #define CAFFE2_PERF_WITH_AVX #define CAFFE2_PERF_WITH_AVX2 #define CAFFE2_PERF_WITH_AVX512 /* #undef CAFFE2_THREADPOOL_MAIN_IMBALANCE */ /* #undef CAFFE2_THREADPOOL_STATS */ #define CAFFE2_USE_EXCEPTION_PTR /* #undef CAFFE2_USE_ACCELERATE */ #define CAFFE2_USE_CUDNN /* #undef CAFFE2_USE_EIGEN_FOR_BLAS */ /* #undef CAFFE2_USE_FBCODE */ /* #undef CAFFE2_USE_GOOGLE_GLOG */ /* #undef CAFFE2_USE_LITE_PROTO */ #define CAFFE2_USE_MKL #define CAFFE2_USE_MKLDNN /* #undef CAFFE2_USE_NVTX */ /* #undef CAFFE2_USE_TRT */ #ifndef EIGEN_MPL2_ONLY #define EIGEN_MPL2_ONLY #endif // Useful build settings that are recorded in the compiled binary #define CAFFE2_BUILD_STRINGS { \ {"TORCH_VERSION", "1.10.2"}, \ {"CXX_COMPILER", "/opt/rh/devtoolset-7/root/usr/bin/c++"}, \ {"CXX_FLAGS", " -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow"}, \ {"BUILD_TYPE", "Release"}, \ {"BLAS_INFO", "mkl"}, \ {"LAPACK_INFO", "mkl"}, \ {"USE_CUDA", "ON"}, \ {"CUDA_VERSION", "10.2"}, \ {"USE_CUDNN", "ON"}, \ {"CUDNN_VERSION", "7.6.5"}, \ {"USE_NCCL", "ON"}, \ {"USE_MPI", "OFF"}, \ {"USE_GFLAGS", "OFF"}, \ {"USE_GLOG", "OFF"}, \ {"USE_GLOO", ""}, \ {"USE_NNPACK", "ON"}, \ {"USE_OPENMP", "ON"}, \ {"FORCE_FALLBACK_CUDA_MPI", ""}, \ {"HAS_MKL_DNN", ""}, \ {"HAS_MKL_SGEMM_PACK", ""}, \ {"PERF_WITH_AVX", "1"}, \ {"PERF_WITH_AVX2", "1"}, \ {"PERF_WITH_AVX512", "1"}, \ {"USE_EXCEPTION_PTR", "1"}, \ {"USE_ACCELERATE", ""}, \ {"USE_EIGEN_FOR_BLAS", ""}, \ {"USE_LITE_PROTO", ""}, \ {"USE_MKL", "ON"}, \ {"USE_MKLDNN", "ON"}, \ {"USE_NVTX", ""}, \ {"USE_TRT", ""}, \ }
Save
cmd:
run