Skip to content

Parameterized CUDA Graph Launch 2 - #160351

Closed
galv wants to merge 7 commits into
pytorch:mainfrom
galv:dgalvez/cudagraph-with-arguments-3
Closed

galv wants to merge 7 commits into
pytorch:mainfrom
galv:dgalvez/cudagraph-with-arguments-3

Conversation

@galv

@galv galv commented Aug 11, 2025 •

Copy link
Copy Markdown
Collaborator

This is an alternative to cuda graph trees where, instead of copying input values into the static addresses used at stream capture time, we instead simply replace the pointers used by the cuda graph just before calling cudaGraphLaunch().

This is a follow up to #152622

That PR got off to a false start, where I used DWARF debug information to identify the pointers in a cuda graph. This is not going to work anytime soon in production code because we cannot reliably emit dwarf debug symbols for optimized CUDA code.

The current PR uses a much simpler approach to identify the 8-byte aligned 8-byte values that are in fact cuda pointers. First, we know all of the possible input pointers to a cuda kernel because we run on fx graphs, which progamatically have access to all of their inputs and outputs. We can find the start and end of each storage backing these inputs outputs via creating a separate memory pool and calling torch.cuda.memory.memory_snapshot on this memory pool. An 8 byte-aligned 8 byte value is possibly a pointer if it, when interpreted as a uint64_t, sits between the start and end of one of these storages. We do stream capture twice. Importantly, we keep the memory pools from the first stream capture alive during the second stream capture. This ensures that no allocation used by the second stream capture will overlap with an allocation used by the stream capture. If the same offset into a parameter is detected as possibly a pointer in both captured graphs, then we declare it to truly be a pointer. Note that there is one flaw in this reasoning: IF the 8 byte value happens to contain padding bytes (which have an undefined value and unfortunately not settable to a specific deterministic value), and the padding bytes are set just right, it is possible that we could incorrectly detect a given 8 byte value as a pointer. This is a very rare situation that I don't think has ever happened, and may basically never ever happen in practice. Maybe we can avoid it by carefully the memory addresses we allocate. But I would prefer to create an optional elf attribute that provides a run-length-encoding of the padding in each argument. That would eliminate the concern.

Benefits

Parameterized cuda graph launch removes the need to capture each cuda graph to its own memory pool if you want to prevent device memory usage from going out of control. This means that each cuda graph can be rerun on its own without concern for maintaining the invariant that the launch order of a sequence of cuda graphs is equal to the replay order.

We can trivially support input mutations this way.

You no longer have to worry about output tensors being overwritten by other cudagraph replays, since each cuda graph replay will write to a new output tensor, rather than the static output tensor captured at runtime.

Correctness

Currently, I am running the following tests in torchbench:

#!/bin/bash

set -euo pipefail

workdir=trees_vs_params48_release_with_debug_info_dropout_is_all_0_fixed_foreach_copy

# export TORCH_LOGS_FORMAT="%(message)s" 
# export TORCH_LOGS=graph_code,graph_breaks,aot_joint_graph,output_code

if [ -z "${HUGGING_FACE_HUB_TOKEN}" ]; then
  echo "Error: HUGGING_FACE_HUB_TOKEN is not set." >&2
  exit 1
fi

for metric in "accuracy" "performance"; do
    for method in "training" "inference"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            time python run_benchmark.py dynamo --speedup-parameterized-cudagraphs-basic --output-directory $workdir/${dataset}/${method}/${metric} --${metric} --${method} --${dataset} 2>&1 | tee $workdir/${dataset}_params_${method}_${metric}.log
        done
    done
done

for metric in "performance" "accuracy"; do
    for method in "training" "inference"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            time python run_benchmark.py dynamo --inductor --output-directory $workdir/${dataset}/${method}/${metric} --${method} --${metric} --${dataset} 2>&1 | tee $workdir/${dataset}_trees_${method}_${metric}.log
        done
    done
done

The "--accuracy" tests demonstrate that parameterized graph launch works for all tests where cudagraph trees work, so there are no functional/correctness regressions from using parameterized cudagraph launch instead of cudagraph trees.

inductor (cudagraph trees):
huggingface, training: 93.48%
torchbench, training: 67.90%
huggingface, inference: 95.65%
torchbench, inference: 73.27%
parameterized graph launch (me):
huggingface, training: 93.48%
torchbench, training: 67.90%
huggingface, inference: 95.65%
torchbench, inference: 73.27%

Performance

Unfortunately, performance is worse than cudagraph trees right now. The geomean speedup of parameterized cuda graph launch over cudagraph trees (both using the torch.compile inductor backend) on the above benchmark is around 0.95 (I don't remember exactly). This is caused by one reason: I no longer mark inputs as "static". Instead, all inputs are considered to be dynamic, even parameters. Iterating over all of these dynamic inputs to add them to the arguments of the cudagraph before calling cudaGraphLaunch() takes a long amount of time and cannot be hidden. I suppose I don't need to do that. I originally made that change because the "tangents" (i.e., the saved activations of the forward pass) were considered "static" inputs to the backward pass. This is incorrect for parameterized graph launch, where the actual output addresses at replay() time are always new, fresh allocations, rather than whatever the output addresses were at capture time. It is likely that marking parameters as static inputs will be good enough. But I haven't done this yet, partially because I'm not super familiar with how dynamo and inductor decide when particular tensors are "static".

The performance problem is right here: https://github.com/pytorch/pytorch/pull/160351/files#diff-cbda127114b86d36ed63c8b1fabf31722834aba8a857653d88780a1291c5f6b3R481-R506

CC @leijurv, whom I cannot mark as a reviewer for some reason.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben

galv added 7 commits August 8, 2025 11:18
python-side cuda graphs without copies

Fix up getting type information data.

I need to fix the case in is_equal() where a struct has two arrays following each
other back to back.

is_equal() now works correctly.

Dynamic graph replay now works with output tensors.

Successfully detect pointers using type information, not just 8-byte
aligned guessing.

Working partially in torchbench.

Need to add support for multiple different input shapes to the same
function (like cudagraph trees does).

Need to make output allocation faster.

Add initial support for custom memory pool for graph capture.

More work on keeping cuda graph allocations virtual-only (sort of) before manual instantiation.

Refactor to cudagraph_digraphs file. All of the huggingface benchmarks now run correctly.

Add support for outputs that are nested within input tensors.

Replace memcpy and memset nodes with kernels.

Replace memset and memcpy nodes with kernels.

junk before rebase

3D Unet is failing due to incorrectly updating a nonpointer value in an elementwise kernel.

Fix hf_Reformer.

The problem was that torch.Tensor.nbytes does not count the number of
bytes backing the Tensor. It backs the "virtual" count of bytes
accessed tye the tensor's view. This can be larger than expected when
using non-contiguous strides (like for broadcasting).

Catch accidental accesses to initial virtual memory with inalid memory access error.

Fix for parameterized graph launch not updating gradients properly.

Also fixes hf_BigBird and hf_Bart.

Unfortunately, not all training runs are completing correctly, though.

Use two cuda graphs to make one graph parameterized

Fix alignment and invalid memory access errors.

Problem was that I assumed that the two graphs would never have
overlapping allocations. I was not guaranteeing this since the
static_inputs of the first graph would be deleted before the
static_outputs of the seocnd graph were created.

Correctly set the RNG seeds.

Fixed a bunch of accuracy errors in training. Dropout was wrong.

finishing touches for misalignment

Add support for allocating multiple tensors at once
Caused a large performance regression for cudagraph trees.
Move new_inputs_only_tensors creation to after replay_dynamic().

It doesn't need to run beforehand.
@galv
galv requested review from eqy and syed-ahmed as code owners August 11, 2025 20:03
@pytorch-bot

pytorch-bot Bot commented Aug 11, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/160351

Note: Links to docs will display an error until the docs builds have been completed.

❌ 9 New Failures

As of commit bbf7efe with merge base a3ec6d6 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Comment thread torch/_inductor/utils.py
]
)
if torch.are_deterministic_algorithms_enabled():
# TODO(galv): Remove these forbidden ops in a separate PR that

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @ngimel your change in #156744 removed an accidental host synchronization: https://github.com/pytorch/pytorch/pull/156744/files#diff-c4e35e76279419d9edda979a995412ee494fad3a97d3fb59486a1f0e326d48beL2212

Therefore, this function which filters out ops that do host synchronization is out of date. Notably, several GNN training and inference workloads in torchbench that did not work with cudagraphs before your change now work with your change.

I have been procrastinating on making a PR for this for a while because, while I would like to actually add appropriate unit tests that the ops in these sets are in fact unsafe for stream capture to a graph, it is a bit hard to do that, since we don't necessarily know suitable arguments to these ops given just their name. You can see chatgpt codex try here: https://chatgpt.com/s/cd_689a4eaa1724819194eec637b9dcf378 But to be clear those tests don't all work because some of the inputs (particularly for the indexing ops) are incorrect.

@jerryzh168 jerryzh168 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Aug 13, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions Bot added the Stale label Oct 12, 2025
@github-actions github-actions Bot closed this Nov 11, 2025
galv added a commit to galv/pytorch that referenced this pull request Jan 8, 2026
… die.

I make sure that the PrivatePool associated with a pool id created by
torch.cuda.MemPool owns a shared_ptr to the custom allocator, not a
raw pointer.

Before this change, when using torch.cuda.MemPool, if your custom
allocator dies before all blocks (or, from the user's perspective,
tensors) die, then when those blocks are freed, you will get a
segfault or UB when calling the custom allocator's raw_delete() function on
those blocks here: https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/c10/cuda/CUDACachingAllocator.cpp#L3500C32-L3500C55

I encountered this issue while working on
pytorch#160351. There, I would create
a custom allocator owned by a cuda graph instance. However, there is
no way to ensure that tensors created at stream capture time are all
dead by the time that the cuda graph dies. This is a general problem;
it's very normal for a tensor to outlive the context in which it was
created, so right now users are burdened with keeping their custom
allocator alive manually as long as any tensors allocated with it are
stilll live.

This problem was never encountered before because it just so happened
that the main custom allocator in use, the nccl one, uses a `static
shared_ptr` to hold it globally: https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp#L5826-L5829

This means that the NCCL custom allocator will never die until the
process itself dies, which is safely after all tensors will have been
cleaned up already.

The infrastructure to make sure that the python bindings use
std::share_ptr Holders for CUDAPluggableAllocator and CUDAAllocator
has been around for a
[while](https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/torch/csrc/cuda/Module.cpp#L1207-L1225),
so this change fortunately does not break any existing users.
pytorchmergebot pushed a commit that referenced this pull request Jan 9, 2026
… die. (#171962)

I make sure that the PrivatePool associated with a pool id created by torch.cuda.MemPool owns a shared_ptr to the custom allocator, not a raw pointer.

Before this change, when using torch.cuda.MemPool, if your custom allocator dies before all segments (or, from the user's perspective, tensors) die, then when those segments are freed, you will get a segfault or UB when calling the custom allocator's raw_delete() function on those blocks here: https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/c10/cuda/CUDACachingAllocator.cpp#L3500C32-L3500C55

I encountered this issue while working on #160351. There, I would create a custom allocator owned by a cuda graph instance. However, there is no way to ensure that tensors created at stream capture time are all dead by the time that the cuda graph dies. This is a general problem; it's very normal for a tensor to outlive the context in which it was created, so right now users are burdened with keeping their custom allocator alive manually as long as any tensors allocated with it are stilll live.

This problem was never encountered before because it just so happened that the main custom allocator in use, the nccl one, uses a `static shared_ptr` to hold it globally: https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp#L5826-L5829

This means that the NCCL custom allocator will never die until the process itself dies, which is safely after all tensors will have been cleaned up already.

The infrastructure to make sure that the python bindings use std::share_ptr Holders for CUDAPluggableAllocator and CUDAAllocator has been around for a [while](https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/torch/csrc/cuda/Module.cpp#L1207-L1225), so this change fortunately does not break any existing users.

Pull Request resolved: #171962
Approved by: https://github.com/eqy
hinriksnaer pushed a commit to hinriksnaer/pytorch that referenced this pull request Jan 12, 2026
… die. (pytorch#171962)

I make sure that the PrivatePool associated with a pool id created by torch.cuda.MemPool owns a shared_ptr to the custom allocator, not a raw pointer.

Before this change, when using torch.cuda.MemPool, if your custom allocator dies before all segments (or, from the user's perspective, tensors) die, then when those segments are freed, you will get a segfault or UB when calling the custom allocator's raw_delete() function on those blocks here: https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/c10/cuda/CUDACachingAllocator.cpp#L3500C32-L3500C55

I encountered this issue while working on pytorch#160351. There, I would create a custom allocator owned by a cuda graph instance. However, there is no way to ensure that tensors created at stream capture time are all dead by the time that the cuda graph dies. This is a general problem; it's very normal for a tensor to outlive the context in which it was created, so right now users are burdened with keeping their custom allocator alive manually as long as any tensors allocated with it are stilll live.

This problem was never encountered before because it just so happened that the main custom allocator in use, the nccl one, uses a `static shared_ptr` to hold it globally: https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp#L5826-L5829

This means that the NCCL custom allocator will never die until the process itself dies, which is safely after all tensors will have been cleaned up already.

The infrastructure to make sure that the python bindings use std::share_ptr Holders for CUDAPluggableAllocator and CUDAAllocator has been around for a [while](https://github.com/pytorch/pytorch/blob/a588def33fbacbe917c304da0403b90eae17e110/torch/csrc/cuda/Module.cpp#L1207-L1225), so this change fortunately does not break any existing users.

Pull Request resolved: pytorch#171962
Approved by: https://github.com/eqy
galv added a commit that referenced this pull request May 22, 2026
This time, it is written purely in python, thanks to
cuda-bindings. The previous C++ implementation was just too intrusive,
since it made so many changes to CUDAGraph.cpp. I was not happy with
that.

This achieves the following results on training and inference tests
from the huggingface and torchbench benchmarks in a local version of
torchbench:

  | accuracy | count | percent |
  |---|---:|---:|
  | pass | 191 | 73.46% |
  | eager_fail_to_run | 49 | 18.85% |
  | pass_due_to_skip | 11 | 4.23% |
  | model_fail_to_load | 4 | 1.54% |
  | fail_to_run | 2 | 0.77% |
  | eager_two_runs_differ | 1 | 0.38% |
  | fail_accuracy | 1 | 0.38% |
  | timeout | 1 | 0.38% |

The eager_fail_to_run, fail_accuracy, fail_to_run, and
model_fail_to_load failures were all due to unrelated errors.

Therefore, it appears that every test case I tested runs successfully
with this mode of execution. Here is the relevant way that I ran
torchbench, though it is missing the relevant source code changes:

```

set -euo pipefail

workdir=trees_vs_params4

for metric in "accuracy" "performance"; do
    for method in "inference" "training"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            python run_benchmark.py dynamo --speedup-parameterized-cudagraphs-basic --output-directory $workdir/${dataset}/${method}/${metric} --${metric} --${method} --${dataset} 2>&1 | tee $workdir/${dataset}_params_${method}_${metric}.log
        done
    done
done

for metric in "accuracy" "performance"; do
    for method in "inference" "training"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            python run_benchmark.py dynamo --inductor --output-directory $workdir/${dataset}/${method}/${metric} --${method} --${metric} --${dataset} 2>&1 | tee $workdir/${dataset}_trees_${method}_${metric}.log
        done
    done
done
```

There are some missing pieces:

1. I need to do an analysis to check 0 whether the peak memory usage
goes down. when using parameterized cuda graph launch instead of cuda
graph trees. If this is not the case, then parameterized cuda graph
launch will not be very useful in practice.

2. Today, I am replacing memcpy and memset nodes with cuda
kernels. This is actually a bad thing because it means we cannot use
the copy engine to perform these operations. I have a fix for this,b
ut I have not merged and tested it yet.

3. I am not handling a special case where pointer parameters are
writen to host memory and then copies to device memory. I also have
code for this as well, but have not pushed it yet.

This code was originally written mostly in C++ at
#160351; it was translated to
python with the help of gpt 5.5.
galv added a commit that referenced this pull request Jun 12, 2026
This time, it is written purely in python, thanks to
cuda-bindings. The previous C++ implementation was just too intrusive,
since it made so many changes to CUDAGraph.cpp. I was not happy with
that.

This achieves the following results on training and inference tests
from the huggingface and torchbench benchmarks in a local version of
torchbench:

  | accuracy | count | percent |
  |---|---:|---:|
  | pass | 191 | 73.46% |
  | eager_fail_to_run | 49 | 18.85% |
  | pass_due_to_skip | 11 | 4.23% |
  | model_fail_to_load | 4 | 1.54% |
  | fail_to_run | 2 | 0.77% |
  | eager_two_runs_differ | 1 | 0.38% |
  | fail_accuracy | 1 | 0.38% |
  | timeout | 1 | 0.38% |

The eager_fail_to_run, fail_accuracy, fail_to_run, and
model_fail_to_load failures were all due to unrelated errors.

Therefore, it appears that every test case I tested runs successfully
with this mode of execution. Here is the relevant way that I ran
torchbench, though it is missing the relevant source code changes:

```

set -euo pipefail

workdir=trees_vs_params4

for metric in "accuracy" "performance"; do
    for method in "inference" "training"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            python run_benchmark.py dynamo --speedup-parameterized-cudagraphs-basic --output-directory $workdir/${dataset}/${method}/${metric} --${metric} --${method} --${dataset} 2>&1 | tee $workdir/${dataset}_params_${method}_${metric}.log
        done
    done
done

for metric in "accuracy" "performance"; do
    for method in "inference" "training"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            python run_benchmark.py dynamo --inductor --output-directory $workdir/${dataset}/${method}/${metric} --${method} --${metric} --${dataset} 2>&1 | tee $workdir/${dataset}_trees_${method}_${metric}.log
        done
    done
done
```

There are some missing pieces:

1. I need to do an analysis to check 0 whether the peak memory usage
goes down. when using parameterized cuda graph launch instead of cuda
graph trees. If this is not the case, then parameterized cuda graph
launch will not be very useful in practice.

2. Today, I am replacing memcpy and memset nodes with cuda
kernels. This is actually a bad thing because it means we cannot use
the copy engine to perform these operations. I have a fix for this,b
ut I have not merged and tested it yet.

3. I am not handling a special case where pointer parameters are
writen to host memory and then copies to device memory. I also have
code for this as well, but have not pushed it yet.

This code was originally written mostly in C++ at
#160351; it was translated to
python with the help of gpt 5.5.
galv added a commit that referenced this pull request Jun 25, 2026
This time, it is written purely in python, thanks to
cuda-bindings. The previous C++ implementation was just too intrusive,
since it made so many changes to CUDAGraph.cpp. I was not happy with
that.

This achieves the following results on training and inference tests
from the huggingface and torchbench benchmarks in a local version of
torchbench:

  | accuracy | count | percent |
  |---|---:|---:|
  | pass | 191 | 73.46% |
  | eager_fail_to_run | 49 | 18.85% |
  | pass_due_to_skip | 11 | 4.23% |
  | model_fail_to_load | 4 | 1.54% |
  | fail_to_run | 2 | 0.77% |
  | eager_two_runs_differ | 1 | 0.38% |
  | fail_accuracy | 1 | 0.38% |
  | timeout | 1 | 0.38% |

The eager_fail_to_run, fail_accuracy, fail_to_run, and
model_fail_to_load failures were all due to unrelated errors.

Therefore, it appears that every test case I tested runs successfully
with this mode of execution. Here is the relevant way that I ran
torchbench, though it is missing the relevant source code changes:

```

set -euo pipefail

workdir=trees_vs_params4

for metric in "accuracy" "performance"; do
    for method in "inference" "training"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            python run_benchmark.py dynamo --speedup-parameterized-cudagraphs-basic --output-directory $workdir/${dataset}/${method}/${metric} --${metric} --${method} --${dataset} 2>&1 | tee $workdir/${dataset}_params_${method}_${metric}.log
        done
    done
done

for metric in "accuracy" "performance"; do
    for method in "inference" "training"; do
        for dataset in "huggingface" "torchbench"; do
            mkdir -p $workdir/${dataset}/${method}/${metric}
            python run_benchmark.py dynamo --inductor --output-directory $workdir/${dataset}/${method}/${metric} --${method} --${metric} --${dataset} 2>&1 | tee $workdir/${dataset}_trees_${method}_${metric}.log
        done
    done
done
```

There are some missing pieces:

1. I need to do an analysis to check 0 whether the peak memory usage
goes down. when using parameterized cuda graph launch instead of cuda
graph trees. If this is not the case, then parameterized cuda graph
launch will not be very useful in practice.

2. Today, I am replacing memcpy and memset nodes with cuda
kernels. This is actually a bad thing because it means we cannot use
the copy engine to perform these operations. I have a fix for this,b
ut I have not merged and tested it yet.

3. I am not handling a special case where pointer parameters are
writen to host memory and then copies to device memory. I also have
code for this as well, but have not pushed it yet.

This code was originally written mostly in C++ at
#160351; it was translated to
python with the help of gpt 5.5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor module: inductor open source Stale triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants