tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

PyTorch tutorials.

Results 299 tutorials issues
Sort by recently updated
recently updated
newest added

## Description Migrate `advanced_source/cpp_custom_ops.rst` to libtorch stable ABI/API. Accompanying change to [`extension-cpp`](https://github.com/pytorch/extension-cpp/pull/126) ## Checklist - [ ] The issue that is being fixed is referred in the description (see above...

cla signed
module: custom-operators
2.10

This PR is a tutorial for a variable length attention API

cla signed
2.10

A tutorial for DebugMode cc @pianpwk

cla signed
2.10

cla signed
skip-link-check
2.10

Context: https://github.com/pytorch/pytorch/issues/112398#issuecomment-3745637813 Supersedes #3724

cla signed

update the tutorial with windows support cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @ZailiWang @leslie-fang-intel @Xia-Weiwen @sekahler2 @CaoE @zhuhaozhe @Valentine233

cla signed
intel
2.10

### Add Link intermediate_source/transformer_building_blocks.py unstable_source/nestedtensor.py https://github.com/pytorch/pytorch/issues/171814 ### Describe the bug intermediate_source/transformer_building_blocks.py We need to depracate the usage of NestedTensors in all tutorials and replace with varlen attention. We put a...

bug
Tensors
core

Add layout=torch.jagged parameter to nested_tensor call to suppress the prototype API warning and use the recommended jagged layout. ## Checklist - [ ] Only one issue is addressed in this...

cla signed

## Summary - Add new section demonstrating `flex_attention` from PyTorch 2.5 - Include `score_mod` examples: relative position bias and ALiBi - Show `block_mask` for sparse attention patterns (causal masking) -...

cla signed