pytorch/torch
Richard Zou 6463f2b51c Rename name->qualname in torch.library.impl_abstract (#111380)
See title. Makes this consistent with torch.library.{define, impl, impl_device}, where we have named the same argument `qualname`. This is not BC-breaking because we have not released a version of PyTorch with impl_abstract in it yet.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/111380
Approved by: https://github.com/soulitzer
2023-10-23 23:02:36 +00:00
..
_awaits
_C [ProcessGroupNCCL] Avoid recording stream for synchronous ops (#111431) 2023-10-19 00:41:09 +00:00
_C_flatbuffer
_custom_op [custom op] Use canonical API to constrain unbacked values (#108372) 2023-10-10 05:14:28 +00:00
_decomp Revert "[core ATen IR] Add decompositions for max, min, var_mean (#110906)" 2023-10-11 11:41:21 +00:00
_dispatch
_dynamo [dynamo] support comparing LHS constant with tensor (#111492) 2023-10-23 19:05:14 +00:00
_export [Export] Don't serialize missing args with default value (#111715) 2023-10-23 21:09:15 +00:00
_functorch dynamo: graph break on resize_ (#111553) 2023-10-22 02:27:14 +00:00
_higher_order_ops [inductor] Implement clone removal for user defined triton kernel via reinplace_scatters (#111627) 2023-10-22 22:28:00 +00:00
_inductor [inductor][BE] split triton_meta and inductor_meta (#111397) 2023-10-23 21:38:21 +00:00
_lazy
_library Make torch.library.define consistent with the new APIs (#111307) 2023-10-16 22:32:23 +00:00
_logging Allow setting logger output format with TORCH_LOGS_FORMAT (#111770) 2023-10-23 18:42:27 +00:00
_numpy [BE]: Attach cause to some exceptions and enable RUFF TRY200 (#111496) 2023-10-19 21:56:36 +00:00
_prims Use torch._check for cat error checking (#111035) 2023-10-12 03:28:27 +00:00
_prims_common [dynamo] fix prim lowering validation logic for dynamic shape args (#111208) 2023-10-13 18:36:13 +00:00
_refs [BE]: Attach cause to some exceptions and enable RUFF TRY200 (#111496) 2023-10-19 21:56:36 +00:00
_subclasses Add compile support for NT unbind (#111531) 2023-10-23 21:16:20 +00:00
amp Unblock float16 dtype for xla autocasting (#109554) 2023-09-21 03:19:44 +00:00
ao Use \odot everywhere instead of mixing \odot and * for the Hadamard product (#111763) 2023-10-22 21:01:35 +00:00
autograd record_function: remove legacy internal operators (#72303) 2023-10-23 22:55:05 +00:00
backends typo: add space after cudnn error messages (#110806) 2023-10-08 20:58:40 +00:00
compiler
contrib
cpu Add current_device() to torch.cpu (#110987) 2023-10-11 05:13:10 +00:00
csrc record_function: remove legacy internal operators (#72303) 2023-10-23 22:55:05 +00:00
cuda bypass nvml for torch.cuda.device_count() if rocm (#110418) 2023-10-23 16:15:48 +00:00
distributed [2D][Documentation] Add some comments to _chunk_dtensor (#111775) 2023-10-23 20:43:03 +00:00
distributions
export [BE]: Attach cause to some exceptions and enable RUFF TRY200 (#111496) 2023-10-19 21:56:36 +00:00
fft
func
futures
fx record_function: remove legacy internal operators (#72303) 2023-10-23 22:55:05 +00:00
jit Remove deprecated fbgemm operators (#104535) 2023-10-22 06:10:09 +00:00
legacy
lib Revert "Move at::{Refcounted,}MapAllocator to c10 (#109881)" 2023-10-13 17:57:53 +00:00
linalg
masked Make is_sparse a property of MaskedTensor (#110725) 2023-10-09 22:35:38 +00:00
monitor
mps
multiprocessing Multiprocessing support for NT (#110292) 2023-10-10 21:58:19 +00:00
nested Add compile support for NT unbind (#111531) 2023-10-23 21:16:20 +00:00
nn Use \odot everywhere instead of mixing \odot and * for the Hadamard product (#111763) 2023-10-22 21:01:35 +00:00
onnx [BE]: Attach cause to some exceptions and enable RUFF TRY200 (#111496) 2023-10-19 21:56:36 +00:00
optim Make step() faster by passing in a tensor vs scalar 1 (#111084) 2023-10-20 01:34:08 +00:00
package Fix typo under torch directory (#110824) 2023-10-09 19:16:43 +00:00
profiler Reland [Profiler] Improve the docstring for export_memory_timeline (#110983) 2023-10-11 16:42:05 +00:00
quantization Add CUTLASS-based support for mixed dtypes matrix multiplication (#110981) 2023-10-11 21:47:52 +00:00
signal
sparse Add scatter_mm and bsr_scatter_mm operations. (#110396) 2023-10-23 19:45:30 +00:00
special
testing record_function: remove legacy internal operators (#72303) 2023-10-23 22:55:05 +00:00
utils [documentation] adding desc for adaptive_autorange (#111612) 2023-10-20 22:38:39 +00:00
__config__.py
__future__.py
__init__.py Add support for sym_ite (#111440) 2023-10-23 16:17:43 +00:00
_appdirs.py
_classes.py
_compile.py
_custom_ops.py [test][docs] Fix doctest warnings for syntax errors (#110517) 2023-10-05 00:00:06 +00:00
_deploy.py
_guards.py [easy][dynamo] Cleanup guard builder selection (#111723) 2023-10-21 10:48:32 +00:00
_jit_internal.py Fix typo under torch directory (#110824) 2023-10-09 19:16:43 +00:00
_linalg_utils.py
_lobpcg.py
_lowrank.py
_meta_registrations.py [MetaTensor] fix inplace copy for meta tensor (#111705) 2023-10-21 06:02:37 +00:00
_namedtensor_internals.py
_ops.py Fix typo under torch directory (#110824) 2023-10-09 19:16:43 +00:00
_python_dispatcher.py
_sources.py
_storage_docs.py
_streambase.py [dynamo][stream]support device-agnostic stream in dynamo and capture stream/event method in fx graph (#108312) 2023-10-22 13:22:58 +00:00
_tensor_docs.py Rename torch._C._TensorBase to TensorBase (#109940) 2023-09-25 19:10:22 +00:00
_tensor_str.py
_tensor.py Pickle support for NT (#110219) 2023-09-29 15:30:06 +00:00
_torch_docs.py [CODEMOD][caffe2] replace numpy.bool with bool (#111432) 2023-10-18 18:56:40 +00:00
_utils_internal.py [TORCH_LIBRARY] Add impl_abstract_pystub (#109529) 2023-09-22 04:55:36 +00:00
_utils.py Fix typo under torch directory (#110824) 2023-10-09 19:16:43 +00:00
_VF.py
_vmap_internals.py
_weights_only_unpickler.py
abi-check.cpp
CMakeLists.txt [2/N] Enable Wunused-result, Wunused-variable and Wmissing-braces in torch targets (#110836) 2023-10-11 23:49:15 +00:00
custom_class_detail.h
custom_class.h [RELAND] Remove some unnecessary <iostream> includes from headers (#108150) 2023-09-20 21:55:15 +00:00
extension.h
functional.py raise instead of skip in test/test_meta.py (#110939) 2023-10-17 10:17:43 +00:00
hub.py
library.h [Reland2] Remove calls of c10::either (#110487) 2023-10-06 00:25:15 +00:00
library.py Rename name->qualname in torch.library.impl_abstract (#111380) 2023-10-23 23:02:36 +00:00
overrides.py Add support for sym_ite (#111440) 2023-10-23 16:17:43 +00:00
py.typed
quasirandom.py
random.py use torch.xpu.manual_seed_all in torch.seed (#110376) 2023-10-03 13:41:55 +00:00
README.txt
return_types.py
script.h
serialization.py fix get device index if has _utils._get_device_index in privateuse1 (#108123) 2023-10-07 06:18:59 +00:00
storage.py Fix type promotion of float8_e5m2 and float8_e4m3fn (#110279) 2023-10-05 01:28:48 +00:00
torch_version.py
types.py Allow specifiying inputs as GradientEdge in autograd APIs (#110867) 2023-10-12 04:08:44 +00:00
version.py.tpl

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.