← 返回事件
持续讨论AI发版

viable/strict/1792497064: [inductor] Preserve dtype views in the FX wrapper (#201469) (#201469)

图:PyTorch Releases

发生了什么

Summary: Preserve the logical dtype of ReinterpretView aliases in wrapper_fxir.py . When a reinterpretation changes dtype, emit aten.view.dtype after its shape/stride view and use the view dtype for temporary WorkspaceArg s. This keeps FP8 and other equal-width dtype views from inheriting their backing buffer's dtype during FX code generation. Add test_reinterpret_dtype_view regression coverage for dtype, raw bytes,…

摘要按规则整理自下方来源原文

为什么在扩散

来源