Skip to content
This repository was archived by the owner on Sep 30, 2026. It is now read-only.

Remove dead event profiler: runtime, CUPTI backends, build wiring (#1494) - #1494

Closed
scotts wants to merge 2 commits into
pytorch:mainfrom
scotts:export-D113541903
Closed

scotts wants to merge 2 commits into
pytorch:mainfrom
scotts:export-D113541903

Conversation

@scotts

@scotts scotts commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Removes the CUPTI event profiler. This includes the counter-sampling profiler: EventProfiler / EventProfilerController plus the legacy CUPTI Event/Metric API wrappers. It has been dead code since it was disabled in D69285243 (Feb 2025).
It is built on NVIDIA's CUPTI Event and Metric APIs, which are unsupported on Turing and later GPUs and dropped in CUDA 13.0.

We do want to support getting this kind of profiling data in the future, but we will not build on this old code to do so. It's cleaner to remove it.

First of a small stack. Follow-ups strip the event-only Config surface and the ConfigLoader / EventProfiler config kind.

Differential Revision: D113541903

@meta-cla meta-cla Bot added the cla signed label Jul 24, 2026
@meta-codesync

meta-codesync Bot commented Jul 24, 2026

Copy link
Copy Markdown

@scotts has exported this pull request. If you are a Meta employee, you can view the originating Diff in D113541903.

@meta-codesync meta-codesync Bot changed the title Remove dead event profiler: runtime, CUPTI backends, build wiring Remove dead event profiler: runtime, CUPTI backends, build wiring (#1494) Jul 24, 2026
@scotts
scotts force-pushed the export-D113541903 branch from 4f83bed to 81fa459 Compare July 24, 2026 16:11
scotts added 2 commits July 24, 2026 11:05
Summary:

In anticipation of Kineto going GitHub-first, we're making the build more PyTorch-like. Something that PyTorch does to reduce churn when GitHub PRs are imported is to define internal build files using source definitions from the same bzl files that CMake uses. Here, we refactor the bzl file so that there are "atoms" that BUCK can use directly.

Reviewed By: ryanzhang22

Differential Revision: D113455552
…torch#1494)

Summary:

Removes the CUPTI event profiler. This includes the counter-sampling profiler: `EventProfiler` / `EventProfilerController` plus the legacy CUPTI Event/Metric API wrappers. It has been dead code since it was disabled in D69285243 (Feb 2025).
It is built on NVIDIA's CUPTI Event and Metric APIs, which are unsupported on Turing and later GPUs and dropped in CUDA 13.0.

We do want to support getting this kind of profiling data in the future, but we will not build on this old code to do so. It's cleaner to remove it.

First of a small stack. Follow-ups strip the event-only `Config` surface and the `ConfigLoader` / `EventProfiler` config kind.

Differential Revision: D113541903
@scotts
scotts force-pushed the export-D113541903 branch from 81fa459 to d5e592f Compare July 24, 2026 18:05
scotts added a commit to scotts/kineto that referenced this pull request Jul 24, 2026
…torch#1494)

Summary:

Removes the CUPTI event profiler. This includes the counter-sampling profiler: `EventProfiler` / `EventProfilerController` plus the legacy CUPTI Event/Metric API wrappers. It has been dead code since it was disabled in D69285243 (Feb 2025).
It is built on NVIDIA's CUPTI Event and Metric APIs, which are unsupported on Turing and later GPUs and dropped in CUDA 13.0.

We do want to support getting this kind of profiling data in the future, but we will not build on this old code to do so. It's cleaner to remove it.

First of a small stack. Follow-ups strip the event-only `Config` surface and the `ConfigLoader` / `EventProfiler` config kind.

Reviewed By: ryanzhang22

Differential Revision: D113541903
@meta-codesync meta-codesync Bot closed this in 36c2e05 Jul 25, 2026
@meta-codesync meta-codesync Bot added the Merged label Jul 25, 2026
@meta-codesync

meta-codesync Bot commented Jul 25, 2026

Copy link
Copy Markdown

This pull request has been merged in 36c2e05.

pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Jul 30, 2026
Includes the following commits:

- Clean up dtypes for metadata fields (pytorch/kineto#1499) 6f446fe
- [xpupti] Fix Windows build support for xpupti tests and multi-config generators. (pytorch/kineto#1394) 9e826ca
- Test ConfigLoader on-demand daemon poll ingress (pytorch/kineto#1504) 7674d28
- Remove comment about documentation (pytorch/kineto#1503) eeb3db9
- Remove HTA from README (pytorch/kineto#1502) 46b1c63
- Catch config-update exceptions so the poll thread can't crash the process (pytorch/kineto#1498) be334e1
- Drop EventProfiler config kind from ConfigLoader (pytorch/kineto#1496) e7c97a6
- Remove event-only config surface from Config (pytorch/kineto#1495) a3a0566
- Remove dead event profiler: runtime, CUPTI backends, build wiring (pytorch/kineto#1494) 36c2e05
- Decompose libkineto_defs.bzl source lists into atoms (pytorch/kineto#1493) 328fa51
- Add XPU synchronization events to XPUPTI profiler (pytorch/kineto#1395) 8285e5b
- Re-enable CI linting and lint all C++ (pytorch/kineto#1489) 2c41c01
- Test ConfigLoader handler fan-out (pytorch/kineto#1487) cccc5d1
- Update C++ lint tooling (pytorch/kineto#1488) 57e59e6
Pull Request resolved: #191526
Approved by: https://github.com/scotts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant