pytorch/torch
David Berard 908daa8ae5 [nvfuser] avoid out of bounds error (#89584)
Summary: update OOB check (https://github.com/csarofeen/pytorch/pull/2218) and skip tests that OOM on internal machines.

Test Plan:
```
buck2 test mode/dev-nosan //caffe2/torch/csrc/jit/codegen/cuda/test:nvfuser
```

Differential Revision: D41502369

Pull Request resolved: https://github.com/pytorch/pytorch/pull/89584
Approved by: https://github.com/jjsjann123
2022-11-29 02:03:59 +00:00
..
_C Add mypy checking for a few files in torch/_dynamo (#89731) 2022-11-28 13:14:06 +00:00
_C_flatbuffer
_decomp Rectify native_batch_norm schema by splitting it into two legit schemas (#88697) 2022-11-23 23:23:17 +00:00
_dispatch Add crossref debug mode for functionalization, catches stride errors (#89498) 2022-11-23 04:18:25 +00:00
_dynamo Special-case fsdp wrapped modules to be Unspecialized (#89330) 2022-11-29 01:24:03 +00:00
_functorch PyDispatcher integration with functorch (#88785) 2022-11-16 00:46:59 +00:00
_inductor [Inductor] Add an option to mark wrapper call in PyTorch profiler (#89674) 2022-11-29 00:58:46 +00:00
_lazy
_prims Use fx.replace_pattern for removing empty_like+fill in nvFuser+PrimTorch execution (#89132) 2022-11-24 09:37:10 +00:00
_prims_common [primTorch] Enable regex error testing for some refs (#87765) 2022-11-23 23:36:27 +00:00
_refs [primTorch] Enable regex error testing for some refs (#87765) 2022-11-23 23:36:27 +00:00
_subclasses TorchDynamo: weight prepack for onednn convolution external call (#88988) 2022-11-25 01:16:11 +00:00
amp
ao quantization: deprecate observer compute_dtype and replace with is_dynamic (#85431) 2022-11-24 07:07:34 +00:00
autograd Deprecate decorating classes with torch.no_grad and similar (#89522) 2022-11-23 16:51:42 +00:00
backends Add an env var to skip cudnn version compatibility check (#89184) 2022-11-17 20:10:52 +00:00
contrib
cpu
csrc [nvfuser] avoid out of bounds error (#89584) 2022-11-29 02:03:59 +00:00
cuda Refactor how AOTAutograd backends are defined (#89736) 2022-11-28 18:39:12 +00:00
distributed Special-case fsdp wrapped modules to be Unspecialized (#89330) 2022-11-29 01:24:03 +00:00
distributions Fix typos in messages under torch (#89049) 2022-11-17 04:18:14 +00:00
fft Fix typos used in documents under torch directory (#88300) 2022-11-02 09:38:13 +00:00
futures
fx [Dynamo] Fix several bugs & code refactor in RangeVariable (#89322) 2022-11-23 19:44:48 +00:00
jit Rectify native_batch_norm schema by splitting it into two legit schemas (#88697) 2022-11-23 23:23:17 +00:00
legacy
lib
linalg update docstring for torch.linalg.lstsq (#89383) 2022-11-25 21:31:53 +00:00
masked Revert "rename DisableTorchFunction to DisableTorchFunctionSubclass (#88218)" 2022-11-11 19:13:05 +00:00
monitor
multiprocessing Deprecate TypedStorage, its derived classes, and all of their public methods (#85303) 2022-11-08 18:11:01 +00:00
nested Fix inaccuracy in nt constructor documentation + broken rendering (#89152) 2022-11-16 22:32:46 +00:00
nn Let SyncBatchNorm fallback to BN if not using distributed training (#89706) 2022-11-27 05:55:24 +00:00
onnx Fix unconvertible_ops as per #89261 (#89299) 2022-11-21 20:40:04 +00:00
optim Mention discrepency between original impl and our impl of RAdam (#89575) 2022-11-24 17:11:42 +00:00
package Deprecate TypedStorage, its derived classes, and all of their public methods (#85303) 2022-11-08 18:11:01 +00:00
profiler [Profiler] Memory profiler part 11: Mark tensors created in the backward pass which don't correspond to parameters. (#88926) 2022-11-27 12:20:30 +00:00
quantization Revert "[ao] making _is_activation_post_process private (#87520)" 2022-11-21 16:48:26 +00:00
signal Implement old windows in Python (#87082) 2022-11-25 11:09:28 +00:00
sparse
special
testing Re-enabled 3 reductions tests on Windows (#89567) 2022-11-28 23:41:54 +00:00
utils Add Pluggable CUDA allocator backend (#86786) 2022-11-23 17:54:36 +00:00
__config__.py
__future__.py
__init__.py Fix XLASymNode.str() no str() attribute error (#89093) 2022-11-16 21:54:20 +00:00
_appdirs.py
_classes.py
_deploy.py Deprecate TypedStorage, its derived classes, and all of their public methods (#85303) 2022-11-08 18:11:01 +00:00
_jit_internal.py
_linalg_utils.py Remove cpu path from lobpcg's basis helper (#88984) 2022-11-14 17:49:30 +00:00
_lobpcg.py Fix typos used in documents under torch directory (#88300) 2022-11-02 09:38:13 +00:00
_lowrank.py
_meta_registrations.py Support unspecialized integers with dynamic shapes (#89639) 2022-11-24 22:46:42 +00:00
_namedtensor_internals.py
_ops.py Add crossref debug mode for functionalization, catches stride errors (#89498) 2022-11-23 04:18:25 +00:00
_python_dispatcher.py
_six.py
_sources.py
_storage_docs.py
_tensor_docs.py [primTorch] Improve narrow and narrow_copy: refs, tests, docs (#87045) 2022-11-12 15:03:50 +00:00
_tensor_str.py Disable Current Modes when printing Tensor (#88344) 2022-11-04 00:45:35 +00:00
_tensor.py Sparse CSC/BSR/BSC serialization and pickle support (#89553) 2022-11-23 20:56:48 +00:00
_torch_docs.py Implement old windows in Python (#87082) 2022-11-25 11:09:28 +00:00
_utils_internal.py
_utils.py Sparse CSC/BSR/BSC serialization and pickle support (#89553) 2022-11-23 20:56:48 +00:00
_VF.py
_vmap_internals.py
_weights_only_unpickler.py Sparse CSC/BSR/BSC serialization and pickle support (#89553) 2022-11-23 20:56:48 +00:00
abi-check.cpp
CMakeLists.txt
custom_class_detail.h
custom_class.h
extension.h
functional.py Reland Dispatch torch.norm to linalg.vector_norm and linalg.matrix_norm (#81761) (#84624) 2022-11-22 07:53:24 +00:00
hub.py
library.h Make Python op registration work with torchdeploy/multipy (#87162) 2022-11-03 12:56:44 +00:00
library.py Make Python op registration work with torchdeploy/multipy (#87162) 2022-11-03 12:56:44 +00:00
overrides.py Expose to python the backward AD view_func (#89586) 2022-11-24 03:39:58 +00:00
py.typed
quasirandom.py
random.py
README.txt
return_types.py
script.h
serialization.py Fix typos in messages under torch (#89049) 2022-11-17 04:18:14 +00:00
storage.py Deprecate TypedStorage, its derived classes, and all of their public methods (#85303) 2022-11-08 18:11:01 +00:00
torch_version.py
types.py

Note [TH abstraction violation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TH/THC provide some hpp headers, which are proper C++ headers rather than
C headers.  These headers serve double duty as *internal implementation
detail* headers, whose contents should largely not be used by external
clients.

Ideally, we would not install these headers at all; instead, you should
use public functions (in headers like `THTensor.h`, NOT `THTensor.hpp`)
to manipulate these structs.  However, there are a few places
in torch/csrc where we violate this abstraction.  They are marked with
a pointer to this note.  Each of those sites will have to be refactored
when we refactor the guts of THTensor and related structures.