Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/905
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit bf49f41 with merge base 53b6b78 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
torch.compile performance is important in this code path, thoughts on how does this PR impact performance when torch.compile is on? |
good question! I can benchmark on inductor output code and update again |
|
When float8 is used, we usually compile the model. Was the issue of three kernels initially observed from the un-compiled fsdp_pre_all_gather region in a compiled model? Besides the additional kernels for amax scaling factor, do we also see more kernels for cast_tp_fp8 part? Is it possible to add an option in fp8-all-gather to explicitly compile the casting parts? |
Add license header to files (pytorch#905) * need license header on every file * apparently the validator only reports the first violation it finds not all of them * typeo don't put the license on these files (pytorch#909) add license to source files (pytorch#910) this should be the final one (pytorch#911)
torch.linalg.vector_normis fastertorch.max(torch.abs)are slower because of 3 kernels and launching overheadgenerated profiler traces with following code