|
| 1 | +# Agenda: |
| 2 | +1. What are the plans for existing block pointer programming model? (Context: Intel GPU backend relies heavily on it an will need time to fully move to tensor descriptor programming model) - Jianhui Li (Intel) |
| 3 | +2. Infrastructure for Triton performance tests - Sayce Falk (Google) |
| 4 | +3. What talks/tutorials/open discussions would you like to see at the 2025 Triton Developers' Summit? How can we help? Adnan Aziz (Meta) |
| 5 | + |
| 6 | +# Notes: |
| 7 | + |
| 8 | +## What are the plans for existing block pointer programming model? (Context: Intel GPU backend relies heavily on it an will need time to fully move to tensor descriptor programming model) |
| 9 | +Speakers: Jianhui Li (Intel), Keren Zhou (George Mason Univ) |
| 10 | + |
| 11 | +* Glad to see Triton moving toward generic tensor descriptor vs vendor-specific TMA. |
| 12 | +* Intel is still relying on older block pointer programming model. Will take some time to migrate to new tensor descriptor model |
| 13 | + |
| 14 | +### Questions |
| 15 | +* Q> What is timeline for deprecation of block pointer? |
| 16 | +* Q> Looked at code examples. Two flavors of tensor descriptor. We'd prefer keeping one: **CreateTensorDescriptorFromHost** Why are there two flavors? WHy not just keep the device side one? |
| 17 | +* A> You want to know why we have one device side and one host side. |
| 18 | +* Q> Ok to have tensor descriptors in global memory. We want tensor descriptors to reside on the device. |
| 19 | +* A> We have descriptor API on device because when you update the descriptor from the kernel and not from the device. |
| 20 | +* Q> Performance. Would like to limit choices to programmer. Don't need to enable other programming models. Makes it easier to support triton on other platforms. |
| 21 | +* A> Is it a problem if you only support device side descriptor and update? |
| 22 | +* Q> No. |
| 23 | +* A> Probably still need to keep 2 APIs. |
| 24 | +* Q> What do other vendors think? |
| 25 | +* A> Try the tutorial 0.9. Exercises differ tensor descriptor APIs demostrating different performance characteristics. |
| 26 | +* Q> OpenAI support both APIs? on the device and the off-site? |
| 27 | +* A> Yes |
| 28 | +* Q> Removing support for block pointers |
| 29 | +* A> Yes, I'm proposing removing block pointers from triton. Tensor descriptor support all use-cases covered by block pointers. |
| 30 | +* Q> I've got a GEMM kernel written with block pointers, rewrote using on-device tensor descriptors and it works. Tensor descriptor doesn't have the offset information on the load, we need to look at the load & tensor descriptor to materialize the block pointer. Works interprocedurally because we can reconstruct the block pointer in the same function. Intra procedurally, problematic, tensor descriptor is only in caller, not the callee (info not available to do reconstruction in callee) |
| 31 | +* A> Calling convention is a bit confusing if using non-inline functions. |
| 32 | +* Q> Concerning because we're using a lot of block pointers. |
| 33 | +* Q> We're also heavy users of block pointers and have wrappers on both APIs (creates either a block pointer or a tensor descriptor.) Block pointer is superset of tensor descriptor. Just carry load params in a tuple. Limitation though. Least significant stride must be 1. All other strides must be a multiple of 16. No performance sensitive stuff using this. We use block pointers for some small writes and these aren't supported by TMA. |
| 34 | +* A> Block pointers can't just be lowered to TMA. We want intermediate passes that translate it into something similar to block pointers. |
| 35 | +* Q> If CMA incompatible, would be lowered to TMA. |
| 36 | +* A> Talked to Peter, no time to work on this. |
| 37 | +* Q> We don't mind what API. What is the transition plan for block pointer API? Timeline? |
| 38 | +* A> No timeline yet. |
| 39 | +* Q> Need a grace period. |
| 40 | + |
| 41 | +## Infrastructure for Triton performance tests |
| 42 | +Speaker: Sayce Falk (Google), Cicie Wang (Meta), Jason Knight (Nvidia), Keren Zhou (George Mason University), Areg Melik-Adamyan (Intel) |
| 43 | + |
| 44 | +* Q> Any near term plans for setting up public benchmarks for Nvidia's newest hardware? Maybe through PyTorch or TorchBench. |
| 45 | +* A> Cicie Wang (Meta): Meta discussed with Nvidia about running TritonBench on B200. Nvidia suggested working with OpenAI (OpenAI has hardware). We now have hardware. Jason from Nvidia working on setting up CI. First steps: get TritonBench running on this hardware. |
| 46 | +* Q> Need devops/infra side to setup devrunners (complexity/security of setting up these machines is high). Possible to use existing GB200 triton runner in triton CI. |
| 47 | +* Q> You want to run torchbench? Is this on the triton main project? |
| 48 | +* A> Possibly using the facebookexperimental/triton repo. Maybe a second repo. Maybe the PyTorch repo? |
| 49 | +* A> Also looking at the AMD MI300x and AMD MI350x. |
| 50 | +* Q> Xu Zhao (Meta) is currently running triton bench. |
| 51 | +* A> Yes. But only for internal Meta consumption. Goal is to expose this externally. |
| 52 | +* Q> Maybe we can leverage Intel's backend? (to Jason Knight). |
| 53 | +* A> We currently have OpenAI's hosted triton CI, PyTorch's CI & performance. |
| 54 | +* Q> Intel has its on repo. Interested in contributing data to a shared dashboard. |
| 55 | +* A> Maybe talk to the PyTorch folks |
| 56 | +* A> DevOps support not up and running (months out) for B200. |
| 57 | +* Q> Where are the B200s hosted? |
| 58 | +* A> Pytorch foundation: all cloud instances funded by credits (Top N cloud providers). CI for Triton. |
| 59 | +* A> Blackwell is in house for Triton. We'd like have better sources (only one node per type for testing.) |
| 60 | +* Q> Jason do you have local hosted cloud? |
| 61 | +* A> Yea, but security is hard. |
| 62 | +* Q> Progress on PyTorch foundation to get DevOps (Meta needs to look into this). |
| 63 | +* Q> More interested in regression testing. Are you finding regressions? |
| 64 | +* A> Intel is usually not seeing regressions from OpenAI (because they only have a 1 week lag). |
| 65 | +* Q> Google XLA experience - could you set this up? |
| 66 | +* A> Yes, we could talk through personnel/resourcing but need to know what community goals are. |
| 67 | +* Q> Some performance tests, some regression tests to start. (Including Llama 4 and MoE operators). |
| 68 | +* Q> What kernels and operators should block releases? |
| 69 | +* Q> Intel would be interested in developing common benchmarking infrastructure. |
| 70 | +* Q> Intel would be interested regression testing infrastructure. |
| 71 | +* Q> Interested in collaborating on developing tests that don't just look at lit-like tests but how do changes in passes affect generated code. |
| 72 | +* Q> Anyone interested in this? |
| 73 | +* A> Maybe first step, identify how much generated code is affected by a pull request (give a signal to say something about the blast radius of a change). |
| 74 | +* Q> Intel had an intern looking at this. |
| 75 | +* Q> Intel<Alexander> - if you're interested reach out over slack. |
| 76 | + |
| 77 | +## What talks/tutorials/open discussions would you like to see at the 2025 Triton Developers' Summit? How can we help? |
| 78 | +Speaker: Adnan Aziz (Meta) |
| 79 | + |
| 80 | +* Phil, Elena Mithra & Adnan Aziz pulled together last year's Triton Developers' Summit. |
| 81 | +* Mlir tutorials, keynotes, closed-end backends, OSS projects, Intel triton efforts. |
| 82 | +* Heterogeneous hardware. |
| 83 | +* Over 500 people attended! |
| 84 | +* Microsoft running it in 2025. |
| 85 | +* Ideas: |
| 86 | + * Tutorials for users: writing triton code, kernel profilers |
| 87 | + * Panel of triton users: power users and new users. |
| 88 | + * Keren: academic/scientific domains. Physicists are using triton for simulations. Broader HPC. |
| 89 | + * Jason: EVO and mosaic talks (embracing sharing). Cutlass dsl, we should be learning form them. |
| 90 | + * Cicie: do we have proposal submission process? No. We had a compressed timeframe-10 weeks. Some proposals didn't make it due to time. |
| 91 | +* Please give us feedback. |
| 92 | +* We promised to give Microsoft feedback to the process. |
| 93 | +* Triton summit will try to colocate with PyTorch conference. Probably at the Mosconi Center in SF (but still needs to be verified from Microsoft). |
| 94 | +* What is Microsoft's timeline/plans? |
| 95 | + |
| 96 | +##### Minutes: |
| 97 | +Recording link [here](https://youtu.be/W16BrXc5BYE) |
0 commit comments