Skip to content

Commit f0b7481

Browse files
committed
Use Llama MLP shape for MXFP8 profiling
1 parent dcec2d1 commit f0b7481

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

transformer_nuggets/cute/mxfp8_tma.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,9 @@ def quantize_mxfp8_tensor(value: torch.Tensor) -> tuple[torch.Tensor, torch.Tens
740740

741741
@app.command()
742742
def profile_mxfp8_tma(
743-
n: int = 4096,
744-
k: int = 8192,
745-
block_n: int = 4,
743+
n: int = 14336,
744+
k: int = 4096,
745+
block_n: int = 8,
746746
num_stages: int = 2,
747747
num_compute_warps: Annotated[
748748
int | None,
@@ -753,7 +753,7 @@ def profile_mxfp8_tma(
753753
warmups: int = 1,
754754
device: str = "cuda",
755755
) -> None:
756-
"""Generate a Perfetto trace for one warm MXFP8 TMA GEMV launch."""
756+
"""Profile a Llama 3.1 8B-sized MLP gate/up projection by default."""
757757
torch_device = torch.device(device)
758758
if torch_device.type != "cuda" or not torch.cuda.is_available():
759759
raise typer.BadParameter("device must name an available CUDA device")

0 commit comments

Comments
 (0)