pytorch/caffe2/python
Nikita Shulga 5976f0bdfe Set min supported Python version to 3.8 (#93155)
Also, grep for `if sys.version_info .cond. (3, 8)` and replaces them with appropriate action.

This is a last in a series of PRs that moved CI/CD away from testing PyTorch behavior against Python-3.7.

Fixes https://github.com/pytorch/pytorch/issues/80513

Pull Request resolved: https://github.com/pytorch/pytorch/pull/93155
Approved by: https://github.com/huydhn
2023-01-29 18:28:46 +00:00
..
benchmarks
docs [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
examples
fakelowp
helpers
ideep
layers [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
mint [typing] suppress errors in fbcode/caffe2 - batch 2 2021-07-21 17:56:26 -07:00
mkl
modeling
models [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
onnx Fix typos under caffe2 directory (#87840) 2022-10-28 04:53:36 +00:00
operator_test [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
predictor [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
rnn
serialized_test [typing] suppress errors in fbcode/caffe2 - batch 2 2021-08-10 10:26:52 -07:00
test
trt Fix exception causes all over the codebase (#90271) 2022-12-07 04:29:00 +00:00
__init__.py Set min supported Python version to 3.8 (#93155) 2023-01-29 18:28:46 +00:00
_import_c_extension.py
_import_c_extension.pyi [caffe2] fix type annotations for workspace.SwitchWorkspace() (#77464) 2022-05-20 19:22:06 +00:00
allcompare_test.py Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
attention.py
benchmark_generator.py Fix ONNX ATen fallback for non-caffe2 engines 2022-04-14 23:18:45 +00:00
binarysize.py
brew_test.py
brew.py
build.py
cached_reader.py
caffe_translator_test.py
caffe_translator.py Fix exception causes all over the codebase (#90271) 2022-12-07 04:29:00 +00:00
checkpoint_test.py
checkpoint.py Fix some typos. 2022-04-11 21:55:59 +00:00
clean_workspace_test.py extract out the clean workspace test to its own file (#88682) 2022-11-09 13:48:57 +00:00
CMakeLists.txt Move workspace related functions to separate file (#87651) 2022-10-29 04:52:01 +00:00
cnn.py
context_test.py
context.py
context.pyi
control_ops_grad_test.py
control_ops_grad.py
control_ops_util.py
control_test.py
control.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
convert_test.py
convert.py
convnet_benchmarks_test.py
convnet_benchmarks.py
core_gradients_test.py Fix some typos. 2022-04-11 21:55:59 +00:00
core_test.py Fix asserts in tests (#72864) 2022-02-16 18:35:16 +00:00
core.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
crf_predict.py
crf_viterbi_test.py
crf.py
data_parallel_model_test.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
data_parallel_model.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
data_workers_test.py
data_workers.py
dataio_test.py
dataio.py Fix non-existing parameters in docstrings (#90505) 2022-12-09 21:43:09 +00:00
dataset.py
db_file_reader.py
db_test.py
device_checker.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
dlpack.h Revert "Add DLPack support for XPU backend by mapping to kDLOneAPI in DLPack (#82867)" 2022-08-07 20:38:29 +00:00
dyndep.py
embedding_generation_benchmark.py
experiment_util.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
extension_loader.py
fakefp16_transform_lib.py
filler_test.py
functional_test.py
functional.py
fused_8bit_rowwise_conversion_ops_test.py
gradient_check_test.py
gradient_checker.py
gru_cell.py Fix some typos. 2022-04-11 21:55:59 +00:00
hip_test_util.py
hsm_util.py
hypothesis_test_util.py
hypothesis_test.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
ideep_test_util.py
layer_model_helper.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
layer_model_instantiator.py
layer_parameter_sharing_test.py
layer_test_util.py
layers_test.py [itemwise-dropout][1/x][low-level module] Implement Itemwise Sparse Feature Dropout in Dper3 (#59322) 2021-06-04 19:59:17 -07:00
lazy_dyndep_test.py Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
lazy_dyndep.py
lazy.py
lengths_reducer_fused_8bit_rowwise_ops_test.py
lengths_reducer_rowwise_8bit_ops_test.py
lstm_benchmark.py
memonger_test.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
memonger.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
mkl_test_util.py
model_device_test.py
model_helper_test.py
model_helper.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
modifier_context.py
mpi_python.cc
muji_test.py
muji.py
net_builder_test.py
net_builder.py
net_drawer.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
net_printer_test.py
net_printer.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
nomnigraph_test.py
nomnigraph_transformations_test.py
nomnigraph_transformations.py
nomnigraph.py
normalizer_context.py
normalizer_test.py
normalizer.py
numa_benchmark.py
numa_test.py
observer_test.py
operator_fp_exceptions_test.py
optimizer_context.py
optimizer_test_util.py
optimizer_test.py [LRD] Allowing using dedicated iteration counter for learning rate (#85195) 2022-09-27 00:56:57 +00:00
optimizer.py [3/N] Update ema_teacher_arch in the backward call (#92080) 2023-01-20 02:29:42 +00:00
parallel_workers_test.py
parallel_workers.py
parallelize_bmuf_distributed_test.py
pipeline_test.py
pipeline.py
predictor_constants.py
pybind_state_dlpack.cc Bump dlpack.h to latest version (#65047) 2022-01-21 16:55:14 +00:00
pybind_state_dlpack.h Bump dlpack.h to latest version (#65047) 2022-01-21 16:55:14 +00:00
pybind_state_gpu.cc [NOOP][clangformat][codemod] Enable CLANGFORMAT for caffe2/caffe2/* (#67624) 2021-11-02 22:14:04 -07:00
pybind_state_hip.cc [NOOP][clangformat][codemod] Enable CLANGFORMAT for caffe2/caffe2/* (#67624) 2021-11-02 22:14:04 -07:00
pybind_state_ideep.cc Update fbcode symlinks for mkl-dnn ideep 2.5.2 2022-03-04 06:40:08 +00:00
pybind_state_int8.cc Disable avoid-non-const-global-variables lint check (#62008) 2021-07-22 18:04:40 -07:00
pybind_state_nomni.cc [NOOP][clangformat][codemod] Enable CLANGFORMAT for caffe2/caffe2/* (#67624) 2021-11-02 22:14:04 -07:00
pybind_state_registry.cc Disable avoid-non-const-global-variables lint check (#62008) 2021-07-22 18:04:40 -07:00
pybind_state_registry.h
pybind_state.cc [caffe2] Fix pybind11 native python link error (#92325) 2023-01-26 02:33:17 +00:00
pybind_state.h [caffe2] Fix pybind11 native python link error (#92325) 2023-01-26 02:33:17 +00:00
pybind_workspace.cc [caffe2] Fix pybind11 native python link error (#92325) 2023-01-26 02:33:17 +00:00
pybind_workspace.h [caffe2] Fix pybind11 native python link error (#92325) 2023-01-26 02:33:17 +00:00
python_op_test.py
queue_util.py
record_queue.py
recurrent.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
regularizer_context.py
regularizer_test.py
regularizer.py
rnn_cell.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
schema_test.py
schema.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
scope_test.py
scope.py
session_test.py
session.py
sparse_to_dense_mask_test.py
sparse_to_dense_test.py
task_test.py
task.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
test_util.py
text_file_reader.py
timeout_guard.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
toy_regression_test.py
transformations_test.py disabled flaky c2 test (#91640) 2023-01-03 21:26:21 +00:00
transformations.py
tt_core_test.py
tt_core.py
utils_test.py
utils.py [BE] Get rid of future (#92596) 2023-01-19 08:46:50 +00:00
visualize.py
workspace_test.py extract out the clean workspace test to its own file (#88682) 2022-11-09 13:48:57 +00:00
workspace.py