Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions python/paddle/incubate/fp8/deep_gemm/jit/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
import subprocess
import uuid

import paddle

from ..utils import get_cuda_home
from . import interleave_ffma
from .runtime import Runtime, RuntimeCache
Expand Down Expand Up @@ -158,7 +156,6 @@ def build(name: str, arg_defs: tuple, code: str) -> Runtime:
if os.getenv("DG_JIT_DEBUG", None):
print(f"Using cached JIT runtime {name} during build")
return runtime_cache[path]
paddle.base.core.nvprof_nvtx_pop()
# Write the code
os.makedirs(path, exist_ok=True)
args_path = f"{path}/kernel.args"
Expand Down
2 changes: 0 additions & 2 deletions python/paddle/incubate/fp8/deep_gemm/jit_kernels/gemm.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ def gemm_fp8_fp8_bf16_nt(
# NOTES: `get_tma_aligned_lhs_scales` may launch a kernel if not processed by previous kernels
lhs_scales = get_col_major_tma_aligned_tensor(lhs_scales)
assert rhs_scales.is_contiguous()
paddle.base.core.nvprof_nvtx_pop()

# Do nothing if `m` is zero
if m == 0:
Expand All @@ -275,4 +274,3 @@ def gemm_fp8_fp8_bf16_nt(

# Run the kernel.
runtime(*args)
paddle.base.core.nvprof_nvtx_pop()