pytorch/test
pritam 9e52b50e34 Additional ops for ShardedTensor, ReplicatedTensor and PartialTensor.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76477

Adding the following ops:

1) softmax for ShardedTensor
2) getitem and unsqueeze for ReplicatedTensor
3) transpose and cat for PartialTensor

Differential Revision: [D35979510](https://our.internmc.facebook.com/intern/diff/D35979510/)

Approved by: https://github.com/fduwjj, https://github.com/wanchaol
2022-05-06 16:28:04 +00:00
..
ao/sparsity [ao][sparsity] comsability for sparsity and QAT convert 2022-04-11 16:32:08 +00:00
autograd Fix autograd.functional tests to not fail with logging tensor 2022-04-20 20:32:40 +00:00
benchmark_utils Add CPU slow test job (#73748) 2022-03-23 21:17:27 +00:00
bottleneck_test
cpp [LT] Add a trie data structure for caching IR nodes 2022-05-04 23:48:03 +00:00
cpp_api_parity
cpp_extensions [Reland] Add BUILD_LAZY_CUDA_LINALG option (#73447) 2022-03-01 21:33:07 +00:00
custom_backend [ROCM] Enable custom tests on rocm 2022-04-26 14:22:14 +00:00
custom_operator [ROCM] Enable custom tests on rocm 2022-04-26 14:22:14 +00:00
distributed Additional ops for ShardedTensor, ReplicatedTensor and PartialTensor. 2022-05-06 16:28:04 +00:00
distributions Improve numerical stability of torch.distributions.wishart.Wishart (#72993) 2022-03-15 18:30:08 +00:00
error_messages
expect Fix ONNX ATen fallback for non-caffe2 engines 2022-04-14 23:18:45 +00:00
forward_backward_compatibility functional.max_unpool: OpInfo tests + simpler backward + forward ad + fwad over backward ad 2022-05-05 10:13:51 +00:00
fx
jit stft: remove non-center overload and python functional wrapper 2022-05-03 14:30:35 +00:00
jit_hooks [ROCM] Enable custom tests on rocm 2022-04-26 14:22:14 +00:00
lazy Dynamo+LTC: handle inplace ops (#75359) 2022-04-08 03:14:28 +00:00
mobile Deprecate torch.lu 2022-05-05 19:17:11 +00:00
onnx [ONNX] Format ONNX python with black 2022-05-05 00:19:22 +00:00
package Revert D35423079: [pkg] add generic ZipFile Reader/Writer 2022-04-07 13:33:47 +00:00
quantization ns for fx: skip shadowing ops if copy subgraph is not implemented (#76663) 2022-05-05 13:19:53 +00:00
scripts
test_img
typing Add typing for torch.return_type 2022-03-29 02:17:21 +00:00
allowlist_for_publicAPI.json Add linalg.vander 2022-05-06 08:44:14 +00:00
create_dummy_torchscript_model.py Add test for FC/BC for torchscript file. 2022-04-13 23:23:13 +00:00
delete.py
HowToWriteTestsUsingFileCheck.md
linear.py
load_torchscript_model.py Add test for FC/BC for torchscript file. 2022-04-13 23:23:13 +00:00
run_test.py Additional ops for ShardedTensor, ReplicatedTensor and PartialTensor. 2022-05-06 16:28:04 +00:00
simulate_nccl_errors.py
test_ao_sparsity.py [ao][sparsity] make sparsity and PTQ compose (#74845) 2022-04-05 03:35:41 +00:00
test_autocast.py
test_autograd.py Bugfix scatter_reduce backward formulas 2022-05-05 20:22:39 +00:00
test_binary_ufuncs.py Fixes prim type promotion and updates type promotion testing 2022-05-04 17:58:10 +00:00
test_bundled_images.py
test_bundled_inputs.py
test_complex.py [testing] Update dispatch macros (#74977) 2022-03-30 14:13:21 -07:00
test_cpp_api_parity.py
test_cpp_extensions_aot.py
test_cpp_extensions_jit.py Remove breakpad dependency 2022-05-03 20:21:55 +00:00
test_cuda.py Add high level control of fp32 matmul precision; disable TF32 for matmuls by default 2022-05-04 20:40:13 +00:00
test_cuda_primary_ctx.py
test_dataloader.py Update Dataloader with default parameter device (#65402) 2022-04-21 01:33:53 +00:00
test_datapipe.py Revert [DataPipe] Update mux data pipe 2022-04-28 00:06:30 +00:00
test_decomp.py Added logit/reciprocal decomps, fixed var for complex, moved type promotion logic to standardize on primtorch's 2022-05-04 21:29:52 +00:00
test_deploy.py
test_determination.py
test_dispatch.py Towards supporting quantized structured kernels (#74560) 2022-04-05 04:31:48 +00:00
test_expanded_weights.py expanded weights: instance norm faster rule 2022-04-19 19:40:09 +00:00
test_foreach.py [testing] Update dispatch macros (#74977) 2022-03-30 14:13:21 -07:00
test_function_schema.py
test_functional_autograd_benchmark.py
test_functional_optim.py
test_functionalization.py Revert "functionalization: add support for zero_()" 2022-04-26 19:27:27 +00:00
test_futures.py
test_fx.py Back out "record_function: update to use custom_class API" (#76253) 2022-04-26 17:49:57 -04:00
test_fx_experimental.py Added proxy tensor 2022-05-03 22:46:30 +00:00
test_hub.py torch.hub security improvement: add new trust_repo parameter 2022-04-05 09:29:25 +00:00
test_import_stats.py
test_indexing.py Fix deterministic indexing with non-contiguous tensor 2022-04-22 18:46:50 +00:00
test_jit.py Deprecate torch.lu 2022-05-05 19:17:11 +00:00
test_jit_autocast.py [JIT][Autocast] Don't cast softmax on CPU 2022-05-02 22:47:52 +00:00
test_jit_cuda_fuser.py Revert "Add atan2 isfinite isinf isnan isneginf isposinf isreal to nvfuser and its frontend" 2022-05-03 19:53:28 +00:00
test_jit_disabled.py
test_jit_fuser.py
test_jit_fuser_legacy.py
test_jit_fuser_te.py [JIT] Add Context Manager to force strict fusion 2022-04-25 16:08:57 +00:00
test_jit_legacy.py
test_jit_llga_fuser.py [Reland take-2] Add JIT graph fuser for oneDNN Graph API (v0.5) 2022-05-05 16:57:03 +00:00
test_jit_profiling.py
test_jit_simple.py
test_jit_string.py
test_kernel_launch_checks.py
test_license.py
test_linalg.py Deprecate torch.lu 2022-05-05 19:17:11 +00:00
test_logging.py [Codemod][Codemod deprecated unittest asserts] fbcode//caffe2/test (#71708) 2022-03-15 19:28:52 +00:00
test_masked.py Use scatter_reduce to support masked reductions on sparse COO tensors (sum, prod, amin, amax) 2022-05-06 15:40:22 +00:00
test_metal.py
test_mkldnn.py enable BFloat16 mkldnn_convolution on both contiguous and channels last memory format (#55864) 2022-05-02 22:23:10 +00:00
test_mobile_optimizer.py
test_model_dump.py
test_module_init.py fx quant: add quantized Softmax workflow integration (#75106) 2022-04-20 21:54:26 +00:00
test_modules.py
test_monitor.py
test_multiprocessing.py [ROCm] Skipping few multiprocess test 2022-04-27 17:56:36 +00:00
test_multiprocessing_spawn.py
test_namedtensor.py
test_namedtuple_return_api.py Add linalg.lu 2022-05-05 09:17:05 +00:00
test_native_functions.py
test_native_mha.py [PyTorch] Add native fast path for transformer encoder inference (#76333) 2022-04-26 12:58:03 -04:00
test_nestedtensor.py Adding output_size to to_padded_tensor (#76640) 2022-05-03 18:22:51 +00:00
test_nn.py Load state dict post hook 2022-05-05 19:27:05 +00:00
test_nnapi.py
test_numba_integration.py
test_numpy_interop.py torch.tensor: add tests for list of numpy arrays case 2022-04-04 01:02:31 +00:00
test_openmp.py
test_ops.py Adds amax and amin references 2022-05-05 15:53:09 +00:00
test_ops_gradients.py Various OpInfo architecture improvements 2022-04-18 21:55:32 +00:00
test_ops_jit.py Various OpInfo architecture improvements 2022-04-18 21:55:32 +00:00
test_optim.py Fix CosineAnnealingLR on restart 2022-04-20 13:35:01 +00:00
test_overrides.py Cannibalize noarch CI job into crossref CI job 2022-04-20 11:56:25 +00:00
test_package.py
test_per_overload_api.py Update __torch_dispatch__ to return op overload instead of the opoverload packet function (#72673) 2022-03-07 22:38:42 +00:00
test_prims.py Adds python ref consistency test, elementwise unary reference inputs, and formats test files 2022-05-01 22:42:46 +00:00
test_profiler.py [Profiler] Expose profilerType in Python 2022-04-16 21:08:18 +00:00
test_pruning_op.py
test_public_bindings.py Add "mps" device to PyTorch framework. 2022-04-27 19:21:57 +00:00
test_python_dispatch.py Allow creating new libraries and defining new operators from Python 2022-05-05 03:33:08 +00:00
test_pytree.py Register torch.return_types.* as pytree nodes 2022-04-19 13:46:20 +00:00
test_quantization.py [quant][fx] Add RNN reference module (#73386) 2022-03-02 10:30:37 +00:00
test_reductions.py Various OpInfo architecture improvements 2022-04-18 21:55:32 +00:00
test_scatter_gather_ops.py Bugfix NAN and Inf handling for scatter_reduce (amin and amax) 2022-05-06 15:39:57 +00:00
test_segment_reductions.py
test_serialization.py Make sure requires_grad is propagated for all backend 2022-04-25 19:31:24 +00:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py [testing] Update dispatch macros (#74977) 2022-03-30 14:13:21 -07:00
test_show_pickle.py
test_sort_and_select.py Port sort to structured kernels. 2022-04-21 01:48:46 +00:00
test_sparse.py Use scatter_reduce to support masked reductions on sparse COO tensors (sum, prod, amin, amax) 2022-05-06 15:40:22 +00:00
test_sparse_csr.py Sparse CSR: Fix sampled_addmm for noncontiguous inputs and fix block sparse triangular solve 2022-05-05 09:00:48 +00:00
test_spectral_ops.py [ROCM] remove rocfft workaround 2022-05-04 19:43:46 +00:00
test_stateless.py Removed direct doc formatting 2022-05-02 14:14:33 +00:00
test_static_runtime.py
test_subclass.py Support for tensor subclasses as parameters 2022-04-27 19:28:55 +00:00
test_tensor_creation_ops.py Adds python ref consistency test, elementwise unary reference inputs, and formats test files 2022-05-01 22:42:46 +00:00
test_tensorboard.py Cannibalize noarch CI job into crossref CI job 2022-04-20 11:56:25 +00:00
test_tensorexpr.py [NNC] call super().setUp() & tearDown() in test_tensorexpr.py (#74504) 2022-03-22 20:17:21 +00:00
test_tensorexpr_pybind.py [NNC] Lowering function generates the output buffer with the specified stride (#76529) 2022-05-04 20:04:22 +00:00
test_testing.py add rocm ciflow/slow workflow 2022-04-22 17:41:28 +00:00
test_throughput_benchmark.py
test_torch.py Support torch.Tensor.to for CSR 2022-05-05 21:59:50 +00:00
test_type_hints.py
test_type_info.py
test_type_promotion.py Revert "Make addcmul and addcdiv support different dtypes" 2022-05-04 10:47:21 +00:00
test_typing.py
test_unary_ufuncs.py Adds python ref consistency test, elementwise unary reference inputs, and formats test files 2022-05-01 22:42:46 +00:00
test_utils.py Fix issue with _checkpoint_without_reentrant 2022-05-05 17:37:31 +00:00
test_view_ops.py Adds python ref consistency test, elementwise unary reference inputs, and formats test files 2022-05-01 22:42:46 +00:00
test_vmap.py
test_vulkan.py
test_xnnpack_integration.py