Update dependency torch to v2.14.0 - #35
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/torch-2.x
branch
from
March 23, 2026 22:08
79bb96d to
8a80e22
Compare
renovate
Bot
force-pushed
the
renovate/torch-2.x
branch
from
May 13, 2026 14:54
8a80e22 to
6f9c396
Compare
renovate
Bot
force-pushed
the
renovate/torch-2.x
branch
from
June 18, 2026 00:49
6f9c396 to
6c384de
Compare
renovate
Bot
force-pushed
the
renovate/torch-2.x
branch
from
July 8, 2026 20:46
6c384de to
3b53041
Compare
renovate
Bot
force-pushed
the
renovate/torch-2.x
branch
from
September 3, 2026 01:15
3b53041 to
e5bd77a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.9.1→==2.14.0Release Notes
pytorch/pytorch (torch)
v2.14.0: PyTorch 2.14.0 ReleaseCompare Source
PyTorch 2.14.0 Release Notes
Highlights
torch.switchgeneralizestorch.condto multi-way branching, andtorch.while_loopcan now be captured in a CUDA graph@dynamic_spec, shared acrosstorch.compile,torch.exportandmake_fxtorch.compilesupport for complex-valued tensors: Opt-in support decomposes supported complex operations into real and imaginary computations, enabling compiler backends to optimize more complex-number workloads.nccl2backend for PyTorch Distributed, ported from torchcomms, implementing the full collective contract with nonblocking communicators and eager communicator splittingc10dconcept, with in-place process-group reconfiguration, one-sided RMA windows, and a Flight Recorder that works for any backend rather than only NCCLeigh, QR and Cholesky, alongside a five-part reduction rewrite and a further MPSGraph to Metal kernel migrationsm_107)For more details about these highlighted features, you can look at the release blogpost. Below are the full release notes for this release.
Backwards Incompatible Changes
torch.nn
torch.nn.LinearCrossEntropyOptionsno longer acceptsacc_policy="balanced"; use"compact"instead (#188283)The
"balanced"policy was removed because"compact"provides the same weight-gradient accumulation precision with lower memory use on CUDA, already uses the equivalent scratch layout for mixed-precision inputs on other devices, and was never selected by"auto". Constructing the options withacc_policy="balanced"now raisesValueError: invalid acc_policy: 'balanced'; expected one of 'auto', 'accurate', 'compact'.Before:
After:
Autograd
Clamp and min/max boundary subgradients now follow the selected dispatcher schema's input space (#191142)
This affects gradients exactly at nondifferentiable bounds or ties. A scalar clamp bound is a fixed parameter, so the input gradient at equality changes from
1to the minimum-norm subgradient0. A Tensor bound is part of the differentiable input space, soclamp,clamp_min, andclamp_maxnow split the gradient evenly between the input and bound at an ordinary tie instead of assigning it entirely to the input.fminandfmaxuse the same even tie split, and forward-mode AD for the min/max family is aligned with these rules. Code that intentionally depends on the old tie-breaking behavior can express it explicitly withtorch.where, such astorch.where(value >= bound, value, bound).Version 2.13:
Version 2.14:
Distributed
Custom Python process groups that implement
new_group()must now accept abackendkeyword argument (#188489)This applies when the default process group supplies its own
new_group()method andtorch.distributed.new_group()delegates subgroup creation to it. PyTorch now forwards the resolved backend so custom implementations can construct the requested subgroup correctly. Existing implementations without this parameter will raiseTypeError: ... got an unexpected keyword argument 'backend'. Accept and use the argument, or accept and ignore it when the implementation has only one backend.Before:
After:
NCCL symmetric-memory pools no longer automatically upgrade segments allocated after
register_mem_pool(..., symm=True)to symmetric windows (#192112)Registering those late segments from the CUDA allocator callback could invoke a collective NCCL operation on only some ranks while holding the allocator lock, causing an unrecoverable hang. Late segments now remain ordinary registered NCCL buffers. Applications that need newly allocated segments to use symmetric-window algorithms must collectively deregister and register the pool again after those allocations are created.
Before:
After:
Nonmember ranks now receive
GroupMember.NON_GROUP_MEMBERinstead ofNonefrom experimentaltorch.distributed.split_group()(#190725)When the calling rank is absent from every requested split,
split_group()now returns the same nonmember sentinel asnew_group(). Code that identifies nonmembers withis Nonemust compare againsttorch.distributed.GroupMember.NON_GROUP_MEMBERinstead.Before:
After:
Linear Algebra Frontend
Remove the deprecated
torch.cholesky()andTensor.cholesky()APIs (#186817)Calls now raise a
RuntimeErrordirecting users totorch.linalg.cholesky(). The replacement returns a lower-triangular factor; callers that previously requestedupper=Trueshould take the conjugate transpose with.mH.Version 2.13:
Version 2.14:
Remove the deprecated
torch.qr()andTensor.qr()APIs (#186815)Calls now raise a
RuntimeErrordirecting users totorch.linalg.qr(). Replace the Booleansomeargument withmode="reduced"ormode="complete".Version 2.13:
Version 2.14:
Profiler
The deprecated
use_cudaargument has been removed fromtorch.profiler.profileandtorch.autograd.profiler.profile(#192543)Passing
use_cudato either profiler now raisesTypeError: profile.__init__() got an unexpected keyword argument 'use_cuda'. Select CUDA explicitly throughactivitieswhen usingtorch.profiler.profile, or useuse_device="cuda"withtorch.autograd.profiler.profile.Version 2.13:
Version 2.14:
Dynamo
The
tvmbackend now uses TVM's relax frontend exclusively; the relay path has been removed (#190766, #189639)Relay was removed in TVM 0.20, so the backend now requires a TVM providing
tvm.relax.frontend.torch. Two things are gone with it: the relay-onlyscheduler/trialsoptions, replaced by a TVM pipeline passed asoptions={"pipeline": ...}; and thetvm_meta_schedule/tvm_auto_schedulerbackend entry points, which no longer exist intorch._dynamo.backends.tvm. With an older TVM installed,torch.compile(..., backend="tvm")now raisesImportError: Please install apache-tvm to use the tvm backend.Version 2.13:
Version 2.14:
C++ Frontend
Remove the deprecated zero-argument C++ overloads
c10::Scalar::isIntegral()andc10::isIntegralType(ScalarType)(#187115)Code that calls either overload without specifying whether Boolean values count as integral will no longer compile. Pass
includeBoolexplicitly; usefalseto preserve the removed overloads' behavior.Version 2.13:
Version 2.14:
Release Engineering
setup.pyis now a deprecation shim; build PyTorch through pip orpython -m build(#180248)setup.pyis now a thin shim.installanddevelopstill forward to pip, butbuild,bdist_wheel,clean,sdistand the rest print the replacementcommand instead of falling through to setuptools. Builds that already go through
a PEP 517 frontend are unaffected, since pip and
python -m buildnever ransetup.py. The shim prints the schedule:install/developkeep forwardingthrough 2.15, every command stops working in 2.16, and
setup.pyis removedin 2.18.
Version 2.13:
Version 2.14:
MPS
The C++ MPS macOS-version helper and its enum members have been renamed (#188645)
Downstream C++ code that includes
<ATen/mps/MPSDevice.h>must replace the exportedat::mps::is_macos_13_or_newer()function withat::mps::is_macos_at_least(). The associatedMacOSVersionmembers also drop theVERandPLUSportions of their names. No compatibility aliases are provided, so code using the old names will no longer compile.Version 2.13:
Version 2.14:
Complex Frontend
Complex type promotion for
bfloat16now uses the newtorch.bcomplex32shell dtype instead oftorch.complex64(#186928)torch.bcomplex32stores real and imaginary components asbfloat16. Operations that combine abfloat16tensor with a complex scalar or otherwise request its corresponding complex type can therefore producebcomplex32instead ofcomplex64. Becausebcomplex32is a shell dtype with limited operator support, an operation that previously ran incomplex64may now raise a not-implemented error. Explicitly cast tocomplex64when the previous precision or operator coverage is required.Version 2.13:
Version 2.14:
Deprecations
Autograd
Selective activation checkpointing will change to honor surrounding
saved_tensors_hooksby default; use the newrespect_saved_tensors_hooksargument to choose the behavior explicitly (#190581)The current default,
None, preserves the legacy behavior in which tensors retained by selective activation checkpointing bypass user hooks, but now emits aFutureWarningwhen hooks are active. PassTrueto opt into the future behavior orFalseto preserve the legacy behavior without a warning. This option requiresuse_reentrant=False.Before:
After:
Distributed
Use
torch.compiler.config.compile_on_one_rankinstead oftorch.distributed.config.compile_on_one_rank(#187869)The distributed spelling remains as a forwarding alias but now emits a
FutureWarning. The preferred environment variable is alsoTORCH_COMPILE_ON_ONE_RANK; the olderTORCH_DISTRIBUTED_COMPILE_ON_ONE_RANKremains supported for compatibility.Before:
After:
Profiler
The experimental
profiler_metricsandprofiler_measure_per_kerneloptions no longer enable CUPTI range profiling and now emit aFutureWarningwhen set to a non-default value (#187204)Kineto no longer supports this range-profiler path on PyTorch's supported CUDA versions. The arguments remain accepted temporarily for compatibility, but they are ignored and have no direct replacement.
Before:
After:
The
with_modulesprofiler option is deprecated and now emits aFutureWarning(#192808)with_modules=Trueonly collected module hierarchy for TorchScript models and did nothing in eager mode. For eager models, usewith_stack=Trueto recordnn.Moduleevents.Before:
After:
Dynamo
torch._dynamo.config.enable_faithful_generator_behavioris deprecated and is now a no-op (#189894)Faithful (lazy) generator tracing has been the default and is the only supported behavior, so the dead eager-exhaustion path was removed. The config is kept as a deprecated setting that always behaves as
True, so setting it does not error but no longer changes anything.Version 2.13:
Version 2.14:
CUDA
Deprecate
CUDAGraph.register_generator_state(); CUDA graphs now register generator state lazily on first RNG use during capture (#176753)The method is now a no-op and emits a deprecation warning. Remove explicit registration calls; the graph automatically retains the required state when the generator is used during capture.
Before:
After:
Deprecate
GreenContext.set_context()andGreenContext.pop_context(); use custom streams to activate a green context instead (#188419)These methods now emit a
FutureWarning. Create a stream from the green context and use it withtorch.cuda.stream()instead. Synchronization with streams outside the green context remains the caller's responsibility and should use CUDA events when needed.Before:
After:
JIT
TorchScript APIs now emit visible
FutureWarnings instead of normally hiddenDeprecationWarnings (#189914)Calls such as
torch.jit.script,torch.jit.trace,torch.jit.save, andtorch.jit.loadnow visibly direct users towardtorch.compileortorch.export. Imports oftorch.utils.mkldnn,torch.fx.experimental.optimization, andtorch.distributed.optimalso avoid eagerly compiling TorchScript when those modules are merely imported.Before:
After:
New Features
Python Frontend
torch.accelerator.initial_seed(),torch.accelerator.get_rng_state(), andtorch.accelerator.get_rng_state_all()for backend-agnostic accelerator RNG inspection (#186597)Tensor.__dlpack__(read_only=True)andtorch.utils.dlpack.ReadOnlyTensorWrapper, including copy-on-write-preserving exchange with compatible consumers (#188554)torch.Generator.philox_state()so Python-authored kernels can reserve Philox counter ranges that remain correct across CUDA Graph capture and replay (#191019)Autograd
torch.utils.checkpoint.checkpoint()can now be called without a function to create an eager-mode decorator with checkpoint configuration separated from the wrapped function's arguments (#189411)The curried form is initially supported in eager mode; existing direct calls remain the compatible form under
torch.compile.Add
torch.autograd.graph.node_creation_hook, a thread-local context manager whose callback receives every fully populated autograd graph node created within its scope. The callback can inspect nodes, store metadata, or register backward pre-hooks and post-hooks, including for nodes created during higher-order differentiation and checkpoint recomputation (#189284)Add
ctx.set_output_grad_dtype(*dtypes)for customtorch.autograd.Functionimplementations. Called once fromforwardorsetup_context, it declares the gradient dtype expected for each output independently of the output's storage dtype; a concrete dtype converts incoming gradients, whileNoneleaves their dtype unchanged (#189634)Add second-order gradient support for
torch.cdistandtorch.nn.functional.pdist, so grad-grad computations no longer fail because_cdist_backwardor_pdist_backwardlacks a derivative (#188901)Distributed
DebugMode.save_logs()andDebugMode.load_logs()so distributed execution logs can be compared across separate processes or model configurations (#185010)torch.distributed.set_timeout()API; the private_set_pg_timeout()alias remains available with a deprecation warning (#187387)torch.distributed.tensor.logspacefor constructing distributed logarithmically spaced tensors (#186398)torch.distributed.get_backend_impl()andProcessGroup.get_backend()accessors for custom backend development (#187494)torch.distributed.tensor.linspacefor constructing distributed linearly spaced tensors (#187933)nccl2backend (#189359, #189360)nccl-lazybackend, which creates per-peer NCCL point-to-point communicators on demand (#189362)CheckpointableTensorprotocol so distributed checkpointing can save and loadtorch.Tensorobjects exposingglobal_shape,global_offsets,local_offsets, andlocal_sizesmetadata (#189492)nccl-legacybackend and theTORCH_DIST_USE_NCCL2=1opt-in for selecting the experimental replacement behind thencclname (#191272)ProcessGroupNCCL.Options.config.comm_nameto assign readable communicator names for NCCL logs and profiler tools (#191001)torchrun --log-line-prefix-templateand a${hostname}template variable for identifying the host that emitted each worker log line (#191265)arg_mbs,kwarg_mbs, andtarget_mbs(#188500)torchrunthrough--print-completionand theshtabpackage (#191289)Symmetric Memory
Linear Algebra Frontend
torch.linalg.polar()for computingA = U @ Hfor matrices with at least as many rows as columns, using a portable SVD implementation and cuSOLVER QDWH acceleration for eligible CUDA inputs (#185837)torch.linalg.matrix_sqrthfor computing the principal square root of symmetric or Hermitian positive-definite matrices, with support for batched inputs, autograd,vmap, andtorch.compile(#187987)torch.cuda.tunable.set_cublaslt_requested_algo_count()andPYTORCH_TUNABLEOP_CUBLASLT_REQUESTED_ALGO_COUNT(#186270)Profiler
Memory snapshots can now include CPU pinned-memory allocations by passing
record_pinned_host_memory=Truetotorch.cuda.memory._record_memory_history()(#182407)Pinned-memory allocator state and history are available in the snapshot's
host_segmentsandhost_tracesfields. Passrecord_cuda=Falseto record only pinned host memory; the web memory visualizer does not yet display host-memory data.Profiler events now expose Kineto metadata as typed values through
FunctionEvent.metadatawhenexpose_kineto_event_metadata=Trueis enabled (#191756)The new dictionary avoids reparsing JSON strings and automatically includes metadata fields supported by the active profiler backend.
Dynamo
torch.compiler.nonstrict_traceas a public API (#187737)switchhigher-order op, which selects between N branches by index and mirrorsjax.lax.switch. It is available asfrom torch._higher_order_ops.switch import switchand lowers totorch.ops.higher_order.switch; autograd is not yet supported (#182902, #188374, #189028)ShapesSpec/ParamsSpec, now accepted by strict and non-stricttorch.export.export,make_fx(tracing_mode="fake"), andtorch.compilethrough a shareddynamic_shapes=keyword (#185982, #186751, #187602, #187010)scan,map, andswitchhigher-order ops when gradients are disabled; Inductor lowering for these mutations is not yet supported (#186474, #187568, #188903)torch.cuda.use_mem_poolinside a compiled region, so allocations in the context - including fallback and extern kernels - are routed to the pool (#185057)logging.Loggermethods that are explicitly registered intorch._dynamo.config.reorderable_logging_functions, so supported positional-argument logging calls run after the compiled region instead of causing graph breaks (#190840)Inductor
torch.addmm, including fused bias and supported pointwise epilogues (#189774)torch._inductor.config.reorder_for_locality_in_trainingsetting for applying locality-based graph reordering to training graphs (#186643)torch._inductor.config.triton.cudagraph_trees_generation_cloning = "user_visible", preserving live user-visible outputs across generations (#188078)bfloat16support totorch.fftoperations andtorch.stfton CUDA and addfloat16/bfloat16support on XPU. Native CUDAbfloat16cuFFT execution requires SM80 or newer and power-of-two transform sizes; unsupported CUDA and XPU cases promote tofloat32. CPU FFT continues to reject these low-precision dtypes (#180766)autotuning_inputslog artifact, enabled withTORCH_LOGS=autotuning_inputs, to report Triton autotuning input shapes, dtypes, strides, and scalar values (#184399)switchcontrol-flow operator on CPU and GPU, including dynamic shapes, multiple outputs, and AOTInductor; CUDA graphs remain unsupported for graphs containingswitch(#188976)torch.compiler.precompilefor dimensions marked withtorch._dynamo.decorators.mark_unbacked, allowing one artifact to serve multiple runtime sizes without guarding on the marked dimension (#189165)torch.compiler.cudagraph_mark_warmup_incomplete()so code can request another CUDA Graph Trees warmup iteration (#191386)Ahead-Of-Time Inductor (AOTI)
Add
AOTInductorModelContainerCreateWithExternalConstants, allowing callers to construct an AOTInductor model container from caller-owned weight tensors for zero-copy sharing such as CUDA IPC (#188643)The new C API skips loading constants from the package and leaves ownership with the caller. Existing model-container creation and constant-loading paths are unchanged unless external constants are explicitly provided.
Support explicit user-defined streams in the AOTInductor C++ wrapper. A compiled region that selects a stream with
torch.cuda.stream(...)now emits stream-guard code so its kernels run on the requested stream, instead of always running on the default stream (#182971)Export
torch.fx.experimental.dynamic_spec.dynamic_specdecorator for attaching a dynamic-shape specification to a function ornn.Module.forward.torch.compile,torch.export.export, andmake_fxautomatically use the attached specification; passing a conflicting call-site specification raises an error (#187639)Composability
lengthargument to the prototypetorch._higher_order_ops.scan, allowing a scan to run for a fixed number of steps whenxs=None, matching the correspondingjax.lax.scanusage pattern (#188349)torch.nn.functional.scaled_dot_product_attention, including native grouped key/value heads, implicit multi-query attention broadcasting, and backward support undervmap(#191085)C++ Frontend
torch::stable::tensor_from_pyobjectandtorch::stable::tensor_to_pyobjectfor converting between Pythontorch.Tensorobjects andtorch::stable::Tensor(#183323)c10/util/complex_utils.hhelpers and theATen/NumericUtils.h_isinfand_isnanimplementations into the header-only ABI (#192552, #192557)torch::stable::permuteand the dtype overload oftorch::stable::view(#192083)torch::stable::Tensoroverloads forbitwise_and,bitwise_or,bitwise_left_shift,bitwise_right_shift,index_select,floor_divide, andis_pinned(#191973, #192097)torch::stable::Tensor::has_storage()(#189877)Release Engineering
Expand Python 3.15 and free-threaded (no-GIL) Python 3.15t binary coverage to Windows and macOS, completing support across the PyTorch release matrix (#189722, #190360, #190361, #186033)
PyTorch 2.14 publishes Python 3.15 and 3.15t wheels for Linux on x86-64 and aarch64, Windows x86-64, and macOS on Apple silicon, covering the applicable CPU, CUDA, ROCm, and XPU builds.
torchvision0.29.0 publishes matching Python 3.15 and 3.15t wheels for the same supported platform and accelerator combinations. This is binary and eager-runtime support;torch.compileremains unsupported on Python 3.15 in this release.CUDA
Add a cuBLASLt backend for grouped GEMM on Hopper and Blackwell GPUs with CUDA 13.3 or newer (#177037, #190372)
The backend supports
float16andbfloat16, works withtorch.compileand CUDA Graphs, and is selected by default for eligiblefloat16workloads. Settorch.backends.cuda.matmul.prefer_cublaslt_grouped_gemm = Trueto opt into it forbfloat16. Matrices and leading dimensions must be 16-byte aligned, so some shapes may require padding and slicing.Add
torch.cuda.memory._annotate_tensor()for attaching metadata to a live CUDA tensor allocation after it is created (#190575)Each annotation is recorded as a timestamped memory-history event, multiple annotations accumulate without replacing allocation-time metadata, and memory snapshot tools display the annotations alongside the affected allocation. Memory history must be enabled with
torch.cuda.memory._record_memory_history()for annotations to be observable. Only the native CUDA caching allocator supports annotations.Add the public
torch.cuda.graph_annotationsmodule (#189417)Annotate backward kernels in
mark_kernelsvianode_creation_hook(#191563)Allow multiple memory pools in a single
CUDAGraph(#187929)Add CUDA graph support for
torch.while_loop(#186055)Add destroy callbacks and object retention to
torch.cuda.CUDAGraph(#190582)Add replay start/end hooks to
torch.cuda.CUDAGraph(#190602)Add global CUDA graph capture-start/end and replay-start/end hooks, plus
torch.cuda.CUDAGraph.register_capture_start_hook()(#192162)cuDNN
(d_qk, d_v) = (256, 256)(#185553)MPS
torch.nn.functional.ctc_loss(#187716, #188187)torch.linalg.matrix_exp, including complex inputs, on macOS 15 or newer (#188954)float32andcomplex64MPS implementations oftorch.linalg.svd,svdvals,eigh,eigvalsh, andlstsq, while retaining CPU fallbacks for small matrices and matrices that exceed threadgroup memory (#185954)ROCm
gfx1250; CK SDPA/GEMM, FP8 grouped GEMM, and int4 matrix multiplication remain unsupported (#187548, #188597, #188612)XPU
torch._scaled_mmandtorch._scaled_mm_v2on XPU (#181726, #181727, #187315)torch.xpu.list_gpu_processesto query per-process GPU memory usage on XPU (#185192)Improvements
Python Frontend
torch.quantileandtorch.nanquantileto processfloat32andfloat64inputs larger than2**24elements on devices withfloat64support by computing ranks infloat64(#187574)torch.nn
torch.nn.functional.linear_cross_entropyto handle probability targets forreduction="mean"andreduction="sum"when the target dtype matches the input and the target does not require gradients (#187053)torch.nn.Sequentialindexing so integer keys resolve toModuleand slices resolve toSequential(#187758)memory_formatoverload totorch.nn.Module.to()so static type checkers accept calls such asmodule.to(memory_format=torch.channels_last)(#185117)Optimizer
"spectral_unclamped"scaling option to theadjust_lr_fnparameter oftorch.optim.Muon(#187402)maximizeparameter totorch.optim.LBFGS(#187309)torch.optim.LBFGS.step()a no-op for an empty parameter group (#191666)Distributed
DTensorsharding strategies for matrix, attention, sorting, scanning, softmax, and related operations (#186667, #179068)ProcessGroupimplementations to usebatch_isend_irecvand the coalescing manager (#186964)TCPStorecheck fails (#187191)DTensorsingle-dimension strategies for tensor operations (#186754)ShardedTensordevice transfers work with accelerator backends beyond CUDA (#185266, #187939)nccl2backend (#189361)split_groupsupport, completeWorksemantics, nonblocking communicators, and uneven list collectives to the experimentalnccl2backend (#190943, #191517, #191528, #191542)nccl-lazypair communicators in error reporting, suspend/resume operations, and memory statistics, and expand its shared backend coverage (#191553, #191556)nccl2backend (#192108)nccl2profiler traces (#192114, #192115)DTensorsharding forConv1d,Conv2d, andConv3dforward and backward (#192147)commNamefield while preserving user-specified communicator names (#192487)DTensorredistribution from final-dimension sharding toPartial("sum")(#191828)Distributed (c10d)
simple_overlapscheduler pass by default for compiled distributed workloads, moving collective starts earlier and waits later without reordering collectives or increasing peak memory (#184235, #184240)Linear Algebra Frontend
torch.linalg.polaron CPU, CUDA, and MPS (#189732)torch.linalg.eigon ROCm 7.14 or newer through hipSOLVER's genericXgeevAPI, and update generated linear-algebra tests to recognize hipSOLVER implementations that do not require MAGMA (#188720)torch.backends.cuda.preferred_blas_library("ck")to select the CK GEMM backend on ROCmgfx90adevices by separating GEMM support from CK attention support (#187267)torch.linalg.eig,torch.linalg.ldl_solve,torch.linalg.solve, andtorch.linalg.solve_triangularthrough hipSOLVER and hipBLAS paths (#185557)Profiler
OVERHEADactivities, making collection costs visible on a dedicated track in exported traces (#187835)FX
split_const_subgraphs()callers to supply anis_impure_nodecallback so destination-passing operations and other side-effecting nodes are preserved during dead-code elimination (#190716)get_source_partitions()return input nodes, output nodes, and parameters in deterministic graph order (#188965)Dynamo
torch.compiler.nested_compile_regionreuse to source-backed objects, symbolic shapes, dataclasses, and namedtuples (#192003, #191806, #191817)staticmethod, built-in leaf modules, cross-devicetensor.dataswaps, raw unbackedSymIntinputs, zero-length scans, and methods reached throughsuper()(#190673, #185722, #185980, #187273, #188348, #183850)out=tensors, sourcelessDistributedDataParallel,dist.reduce_scatter,SDPAParams, andtorch.linalg.polar(#185277, #185089, #187210, #190429, #190839, #188537)torch._checkmessages (#190324, #188576)min/max, integer bases and formatting,range/slice coercion, object and container subclasses, mutable string splits, rich comparisons, item mutation, andcallable()(#191401, #191402, #191408, #187129, #186976, #189021, #187588, #185999, #188306, #191406, #190259, #186971)itertools, dict/set views, and range iterators (#188080, #189022, #186937, #187080, #186240, #188081, #188221, #189575)deque, dict, set, dict-view,__dict__, and list initialization fidelity (#187128, #188220, #191403, #189052, #191405, #186759, #186760, #186669, #186761, #186763, #188908, #187586, #187587, #187583, #187584)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.