Uploaded using `kernel-builder`.
Browse filesFiles changed (18)
- benchmarks/benchmark.py+9-2
- benchmarks/benchmark_bias.py+42-11
- build/torch212-cxx11-cu130-x86_64-linux/__init__.py+93-2
- build/torch212-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch212-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
- build/torch212-cxx11-cu130-x86_64-linux/_ops.py+3-3
- build/torch212-cxx11-cu130-x86_64-linux/metadata.json+5-5
- build/torch212-cxx11-cu132-x86_64-linux/__init__.py+93-2
- build/torch212-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch212-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
- build/torch212-cxx11-cu132-x86_64-linux/_ops.py+3-3
- build/torch212-cxx11-cu132-x86_64-linux/metadata.json+5-5
- build/torch213-cxx11-cu130-x86_64-linux/__init__.py+93-2
- build/torch213-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch213-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
- build/torch213-cxx11-cu130-x86_64-linux/_ops.py+3-3
- build/torch213-cxx11-cu130-x86_64-linux/metadata.json+5-5
- build/torch213-cxx11-cu132-x86_64-linux/__init__.py+93-2
- build/torch213-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch213-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
- build/torch213-cxx11-cu132-x86_64-linux/_ops.py+3-3
- build/torch213-cxx11-cu132-x86_64-linux/metadata.json+5-5
148 unmodified lines14915015115215315415515615715815916016188 unmodified lines250251252253254255256148 unmodified linesstr(cutlass_include.parent / "tools" / "util" / "include"),]else:cuda_sources = [str(PACKAGE / "csrc" / "fp8_gemv_m1_sm120.cu"),str(PACKAGE / "csrc" / "fp8_smallM_handtuned_sm120.cu"),str(PACKAGE / "csrc" / "fp8_smallM_handtuned_ldmatrix_sm120.cu"),]source_define = "-DFLASHRT_FP8_GEMM_SOURCE_SM120_ONLY"extra_includes = []load(name=namespace,sources=[str(PACKAGE / "torch-ext" / "torch_binding.cpp"), *cuda_sources],88 unmodified linesif n % 128 == 0:return "ld_fp8_gemm_64x128x128_w4"return "ld_fp8_gemm_64x64x128_w4"raise RuntimeError("unsupported M")def make_inputs(m: int, k: int, n: int, seed: int):148 unmodified lines14915015115215315415515615715815916016116216316416516616716888 unmodified lines257258259260261262263148 unmodified linesstr(cutlass_include.parent / "tools" / "util" / "include"),]else:if not (cutlass_include / "cutlass" / "cutlass.h").is_file():raise RuntimeError("set CUTLASS_INCLUDE for the SM120 source benchmark")cuda_sources = [str(PACKAGE / "csrc" / "fp8_gemv_m1_sm120.cu"),str(PACKAGE / "csrc" / "fp8_smallM_handtuned_sm120.cu"),str(PACKAGE / "csrc" / "fp8_smallM_handtuned_ldmatrix_sm120.cu"),str(PACKAGE / "csrc" / "cutlass_sm120_block128_fp8_gemm.cu"),str(PACKAGE / "csrc" / "cublaslt_fp8_bias_sm110.cu"),]source_define = "-DFLASHRT_FP8_GEMM_SOURCE_SM120_ONLY"extra_includes = [str(cutlass_include),str(cutlass_include.parent / "tools" / "util" / "include"),]load(name=namespace,sources=[str(PACKAGE / "torch-ext" / "torch_binding.cpp"), *cuda_sources],88 unmodified linesif n % 128 == 0:return "ld_fp8_gemm_64x128x128_w4"return "ld_fp8_gemm_64x64x128_w4"return "cublaslt_fp8_large_m"def make_inputs(m: int, k: int, n: int, seed: int):
1234560 unmodified lines666768697071727374757677787980818283848586878889909192939459 unmodified lines154155156157158159160161#!/usr/bin/env python3"""Benchmark SM110 BF16-output FP8 GEMM epilogues."""from __future__ import annotations60 unmodified linesdef load_source_ops() -> SourceOps:from torch.utils.cpp_extension import loadcutlass = Path(os.environ["CUTLASS_INCLUDE"])os.environ.setdefault("TORCH_CUDA_ARCH_LIST", "11.0a")namespace = "fp8_gemm_bias_source_bench"load(name=namespace,sources=[str(PACKAGE / "torch-ext" / "torch_binding.cpp"),str(PACKAGE / "csrc" / "cutlass_sm110_fp8_gemm.cu"),str(PACKAGE / "csrc" / "cublaslt_fp8_bias_sm110.cu"),],extra_include_paths=[str(PACKAGE / "csrc"),str(REGISTRATION_INCLUDE),str(cutlass),str(cutlass.parent / "tools" / "util" / "include"),],extra_cflags=["-O3", "-DNDEBUG", "-DCUDA_KERNEL","-DFLASHRT_FP8_GEMM_SOURCE_SM110_ONLY",],extra_cuda_cflags=["-O3", "-DNDEBUG", "--expt-relaxed-constexpr", "--use_fast_math","-DCUDA_KERNEL", "-DFLASHRT_FP8_GEMM_SOURCE_SM110_ONLY",],verbose=False,)59 unmodified linesparser.add_argument("--iterations", type=int, default=64)parser.add_argument("--json-out", default=None)args = parser.parse_args()if torch.cuda.get_device_capability() != (11, 0):raise SystemExit("SM110 is required")ops = load_source_ops() if args.backend == "source" else load_installed_ops(args.artifact)native = load_native()native_stream = int(torch.cuda.current_stream().cuda_stream)1234560 unmodified lines6667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312459 unmodified lines184185186187188189190191192#!/usr/bin/env python3"""Benchmark SM110/SM120 BF16-output FP8 GEMM epilogues."""from __future__ import annotations60 unmodified linesdef load_source_ops() -> SourceOps:from torch.utils.cpp_extension import loadcapability = torch.cuda.get_device_capability()if capability == (11, 0):cutlass = Path(os.environ["CUTLASS_INCLUDE"])os.environ.setdefault("TORCH_CUDA_ARCH_LIST", "11.0a")cuda_sources = [str(PACKAGE / "csrc" / "cutlass_sm110_fp8_gemm.cu"),str(PACKAGE / "csrc" / "cublaslt_fp8_bias_sm110.cu"),]source_define = "-DFLASHRT_FP8_GEMM_SOURCE_SM110_ONLY"extra_includes = [str(cutlass),str(cutlass.parent / "tools" / "util" / "include"),]elif capability[0] >= 12:cutlass = Path(os.environ["CUTLASS_INCLUDE"])os.environ.setdefault("TORCH_CUDA_ARCH_LIST", "12.0a")cuda_sources = [str(PACKAGE / "csrc" / "fp8_gemv_m1_sm120.cu"),str(PACKAGE / "csrc" / "fp8_smallM_handtuned_sm120.cu"),str(PACKAGE / "csrc" / "fp8_smallM_handtuned_ldmatrix_sm120.cu"),str(PACKAGE / "csrc" / "cutlass_sm120_block128_fp8_gemm.cu"),str(PACKAGE / "csrc" / "cublaslt_fp8_bias_sm110.cu"),]source_define = "-DFLASHRT_FP8_GEMM_SOURCE_SM120_ONLY"extra_includes = [str(cutlass),str(cutlass.parent / "tools" / "util" / "include"),]else:raise RuntimeError(f"SM110 or SM120 is required, got {capability}")namespace = "fp8_gemm_bias_source_bench"load(name=namespace,sources=[str(PACKAGE / "torch-ext" / "torch_binding.cpp"),*cuda_sources,],extra_include_paths=[str(PACKAGE / "csrc"),str(REGISTRATION_INCLUDE),*extra_includes,],extra_cflags=["-O3", "-DNDEBUG", "-DCUDA_KERNEL",source_define,],extra_cuda_cflags=["-O3", "-DNDEBUG", "--expt-relaxed-constexpr", "--use_fast_math","-U__CUDA_NO_HALF_OPERATORS__","-U__CUDA_NO_HALF_CONVERSIONS__","-U__CUDA_NO_BFLOAT16_CONVERSIONS__","-U__CUDA_NO_HALF2_OPERATORS__","-DCUDA_KERNEL", source_define,],verbose=False,)59 unmodified linesparser.add_argument("--iterations", type=int, default=64)parser.add_argument("--json-out", default=None)args = parser.parse_args()capability = torch.cuda.get_device_capability()if capability != (11, 0) and capability[0] < 12:raise SystemExit(f"SM110 or SM120 is required, got {capability}")ops = load_source_ops() if args.backend == "source" else load_installed_ops(args.artifact)native = load_native()native_stream = int(torch.cuda.current_stream().cuda_stream)
36 unmodified lines37383940414252 unmodified lines95969798991001011023 unmodified lines1061071081091101114 unmodified lines1161171181191201219 unmodified lines13113213313413513660 unmodified lines19719819920020120245 unmodified lines24824925025125225336 unmodified linesreturn None@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 32 != 0:raise RuntimeError("k must be divisible by 32")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",36 unmodified lines3738394041424344454647484950515253545556575859606162636465666768697052 unmodified lines1231241251261271281291303 unmodified lines1341351361371381391401411421431441454 unmodified lines1501511521531541551561579 unmodified lines16716816917017117217317460 unmodified lines23523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929045 unmodified lines33633733833934034134234334436 unmodified linesreturn Nonedef _check_bias_linear_shapes(input, weight, bias, out) -> None:if input.dim() != 2 or weight.dim() != 2:raise RuntimeError("input and weight must be rank-2 tensors")if input.shape[1] != weight.shape[1]:raise RuntimeError("input and weight K dimensions must match")if bias.shape != (weight.shape[0],):raise RuntimeError("bias must have shape (weight.shape[0],)")if out.shape != (input.shape[0], weight.shape[0]):raise RuntimeError("out must have shape (input.shape[0], weight.shape[0])")@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_bf16"))def _fp8_linear_bias_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_residual_bf16"))def _fp8_linear_bias_residual_bf16_fake(input, weight, bias, alpha: float, residual) -> None:_check_bias_linear_shapes(input, weight, bias, residual)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_gelu_bf16"))def _fp8_linear_bias_gelu_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 16 != 0:raise RuntimeError("k must be divisible by 16")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if m >= 512 and k == 2048 and 2048 <= n <= 2560:return "sm110_sq_bf16"if m >= 512 and n >= 16 * k:return "sm110_t1_bf16"if m >= 512 and k >= 4 * n:return "sm110_wide_bf16"if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_linear_bias_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and BF16 output."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_bf16(input, weight, bias, float(alpha), out)return outdef fp8_linear_bias_residual_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,residual: torch.Tensor,alpha: float = 1.0,) -> torch.Tensor:"""SM110 fused ``residual += alpha * input @ weight.T + bias``."""ops.fp8_linear_bias_residual_bf16(input, weight, bias, float(alpha), residual)return residualdef fp8_linear_bias_gelu_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and GELU epilogue."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_gelu_bf16(input, weight, bias, float(alpha), out)return outdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_linear_bias_bf16","fp8_linear_bias_residual_bf16","fp8_linear_bias_gelu_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",
123version https://git-lfs.github.com/spec/v1oid sha256:d8c90f60cb56efb79b25a6db2abe5f58336c7327902a0bcddfb7e4d3bde41dbbsize 5390512123version https://git-lfs.github.com/spec/v1oid sha256:3341b44bcf4bcbc602b01c1e0f409d63b8a3b4b0ef97ff5a9bccbc1b97bd74dasize 5665360
123456789import torchfrom . import _fp8_gemm_cuda_bf15968ops = torch.ops._fp8_gemm_cuda_bf15968def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_bf15968::{op_name}"123456789import torchfrom . import _fp8_gemm_cuda_8fba1d7ops = torch.ops._fp8_gemm_cuda_8fba1d7def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_8fba1d7::{op_name}"
1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_bf15968","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "hKsdFER2ZmYz36/zz9LYE7ddsK/R1dprHJFx+9yBzks=","_fp8_gemm_cuda_bf15968.abi3.so": "2MkPYMtW77ebJabbKr5fWDNscyeQKgvN37fk073kHbs=","_ops.py": "wDFSPD8vh2K2qjj/9mdUYv6LrXuGz6MQCb2B/e8nqWs="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "bf15968fd9c281a7ca107e7696300fe091f588a2","dirty": false}}1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_8fba1d7","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "HsFfsGY7AK/6Fziv4r2VQ+R2kDjS6hxKKgWqlA+zrKY=","_fp8_gemm_cuda_8fba1d7.abi3.so": "M0G0S89Ly8YCsBweD0CdY7ijtLDvl/9am8y8G5e9dNo=","_ops.py": "ptfSaRMzscUfi27OPI9uPdaK9uAgUUrImeBJSSDv3kY="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "8fba1d7f2e4e627b1a2c3c8018f01c0ca4f430ee","dirty": false}}
36 unmodified lines37383940414252 unmodified lines95969798991001011023 unmodified lines1061071081091101114 unmodified lines1161171181191201219 unmodified lines13113213313413513660 unmodified lines19719819920020120245 unmodified lines24824925025125225336 unmodified linesreturn None@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 32 != 0:raise RuntimeError("k must be divisible by 32")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",36 unmodified lines3738394041424344454647484950515253545556575859606162636465666768697052 unmodified lines1231241251261271281291303 unmodified lines1341351361371381391401411421431441454 unmodified lines1501511521531541551561579 unmodified lines16716816917017117217317460 unmodified lines23523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929045 unmodified lines33633733833934034134234334436 unmodified linesreturn Nonedef _check_bias_linear_shapes(input, weight, bias, out) -> None:if input.dim() != 2 or weight.dim() != 2:raise RuntimeError("input and weight must be rank-2 tensors")if input.shape[1] != weight.shape[1]:raise RuntimeError("input and weight K dimensions must match")if bias.shape != (weight.shape[0],):raise RuntimeError("bias must have shape (weight.shape[0],)")if out.shape != (input.shape[0], weight.shape[0]):raise RuntimeError("out must have shape (input.shape[0], weight.shape[0])")@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_bf16"))def _fp8_linear_bias_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_residual_bf16"))def _fp8_linear_bias_residual_bf16_fake(input, weight, bias, alpha: float, residual) -> None:_check_bias_linear_shapes(input, weight, bias, residual)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_gelu_bf16"))def _fp8_linear_bias_gelu_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 16 != 0:raise RuntimeError("k must be divisible by 16")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if m >= 512 and k == 2048 and 2048 <= n <= 2560:return "sm110_sq_bf16"if m >= 512 and n >= 16 * k:return "sm110_t1_bf16"if m >= 512 and k >= 4 * n:return "sm110_wide_bf16"if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_linear_bias_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and BF16 output."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_bf16(input, weight, bias, float(alpha), out)return outdef fp8_linear_bias_residual_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,residual: torch.Tensor,alpha: float = 1.0,) -> torch.Tensor:"""SM110 fused ``residual += alpha * input @ weight.T + bias``."""ops.fp8_linear_bias_residual_bf16(input, weight, bias, float(alpha), residual)return residualdef fp8_linear_bias_gelu_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and GELU epilogue."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_gelu_bf16(input, weight, bias, float(alpha), out)return outdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_linear_bias_bf16","fp8_linear_bias_residual_bf16","fp8_linear_bias_gelu_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",
123version https://git-lfs.github.com/spec/v1oid sha256:9b025dcd2da72fc44d87e0bb8a68168e56e2972bca5417631ff1f534615c31aesize 5431528123version https://git-lfs.github.com/spec/v1oid sha256:43cd1fb5e965a5db8be675915160e2b192781789bd808c61ca1521c22598c874size 5710472
123456789import torchfrom . import _fp8_gemm_cuda_bf15968ops = torch.ops._fp8_gemm_cuda_bf15968def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_bf15968::{op_name}"123456789import torchfrom . import _fp8_gemm_cuda_8fba1d7ops = torch.ops._fp8_gemm_cuda_8fba1d7def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_8fba1d7::{op_name}"
1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_bf15968","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "hKsdFER2ZmYz36/zz9LYE7ddsK/R1dprHJFx+9yBzks=","_fp8_gemm_cuda_bf15968.abi3.so": "mwJdzS2nL8RNh+C7imgWjlbilyvKVBdjH/H1NGFcMa4=","_ops.py": "wDFSPD8vh2K2qjj/9mdUYv6LrXuGz6MQCb2B/e8nqWs="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "bf15968fd9c281a7ca107e7696300fe091f588a2","dirty": false}}1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_8fba1d7","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "HsFfsGY7AK/6Fziv4r2VQ+R2kDjS6hxKKgWqlA+zrKY=","_fp8_gemm_cuda_8fba1d7.abi3.so": "Q80ftellpduL5nWRUWDisZJ4F4m9gIxhyhUhwiWYyHQ=","_ops.py": "ptfSaRMzscUfi27OPI9uPdaK9uAgUUrImeBJSSDv3kY="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "8fba1d7f2e4e627b1a2c3c8018f01c0ca4f430ee","dirty": false}}
36 unmodified lines37383940414252 unmodified lines95969798991001011023 unmodified lines1061071081091101114 unmodified lines1161171181191201219 unmodified lines13113213313413513660 unmodified lines19719819920020120245 unmodified lines24824925025125225336 unmodified linesreturn None@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 32 != 0:raise RuntimeError("k must be divisible by 32")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",36 unmodified lines3738394041424344454647484950515253545556575859606162636465666768697052 unmodified lines1231241251261271281291303 unmodified lines1341351361371381391401411421431441454 unmodified lines1501511521531541551561579 unmodified lines16716816917017117217317460 unmodified lines23523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929045 unmodified lines33633733833934034134234334436 unmodified linesreturn Nonedef _check_bias_linear_shapes(input, weight, bias, out) -> None:if input.dim() != 2 or weight.dim() != 2:raise RuntimeError("input and weight must be rank-2 tensors")if input.shape[1] != weight.shape[1]:raise RuntimeError("input and weight K dimensions must match")if bias.shape != (weight.shape[0],):raise RuntimeError("bias must have shape (weight.shape[0],)")if out.shape != (input.shape[0], weight.shape[0]):raise RuntimeError("out must have shape (input.shape[0], weight.shape[0])")@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_bf16"))def _fp8_linear_bias_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_residual_bf16"))def _fp8_linear_bias_residual_bf16_fake(input, weight, bias, alpha: float, residual) -> None:_check_bias_linear_shapes(input, weight, bias, residual)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_gelu_bf16"))def _fp8_linear_bias_gelu_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 16 != 0:raise RuntimeError("k must be divisible by 16")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if m >= 512 and k == 2048 and 2048 <= n <= 2560:return "sm110_sq_bf16"if m >= 512 and n >= 16 * k:return "sm110_t1_bf16"if m >= 512 and k >= 4 * n:return "sm110_wide_bf16"if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_linear_bias_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and BF16 output."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_bf16(input, weight, bias, float(alpha), out)return outdef fp8_linear_bias_residual_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,residual: torch.Tensor,alpha: float = 1.0,) -> torch.Tensor:"""SM110 fused ``residual += alpha * input @ weight.T + bias``."""ops.fp8_linear_bias_residual_bf16(input, weight, bias, float(alpha), residual)return residualdef fp8_linear_bias_gelu_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and GELU epilogue."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_gelu_bf16(input, weight, bias, float(alpha), out)return outdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_linear_bias_bf16","fp8_linear_bias_residual_bf16","fp8_linear_bias_gelu_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",
123version https://git-lfs.github.com/spec/v1oid sha256:90adef3d22bb98b7dc1b2b48d860f0fa2fe682125acb31b1c554f889e0f171cesize 5390352123version https://git-lfs.github.com/spec/v1oid sha256:6f3a290722fe4499c9566447d662776127bee8fb4885e92c72771d1c49f52364size 5665200
123456789import torchfrom . import _fp8_gemm_cuda_bf15968ops = torch.ops._fp8_gemm_cuda_bf15968def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_bf15968::{op_name}"123456789import torchfrom . import _fp8_gemm_cuda_8fba1d7ops = torch.ops._fp8_gemm_cuda_8fba1d7def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_8fba1d7::{op_name}"
1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_bf15968","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "hKsdFER2ZmYz36/zz9LYE7ddsK/R1dprHJFx+9yBzks=","_fp8_gemm_cuda_bf15968.abi3.so": "kK3vPSK7mLfcGytI2GDw+i/mghJayzGxxVT4ieDxcc4=","_ops.py": "wDFSPD8vh2K2qjj/9mdUYv6LrXuGz6MQCb2B/e8nqWs="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "bf15968fd9c281a7ca107e7696300fe091f588a2","dirty": false}}1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_8fba1d7","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "HsFfsGY7AK/6Fziv4r2VQ+R2kDjS6hxKKgWqlA+zrKY=","_fp8_gemm_cuda_8fba1d7.abi3.so": "bzopByL+RJnJVmRH1mJ3YSe+6PtIhekscncdHEn1I2Q=","_ops.py": "ptfSaRMzscUfi27OPI9uPdaK9uAgUUrImeBJSSDv3kY="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "8fba1d7f2e4e627b1a2c3c8018f01c0ca4f430ee","dirty": false}}
36 unmodified lines37383940414252 unmodified lines95969798991001011023 unmodified lines1061071081091101114 unmodified lines1161171181191201219 unmodified lines13113213313413513660 unmodified lines19719819920020120245 unmodified lines24824925025125225336 unmodified linesreturn None@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 32 != 0:raise RuntimeError("k must be divisible by 32")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",36 unmodified lines3738394041424344454647484950515253545556575859606162636465666768697052 unmodified lines1231241251261271281291303 unmodified lines1341351361371381391401411421431441454 unmodified lines1501511521531541551561579 unmodified lines16716816917017117217317460 unmodified lines23523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929045 unmodified lines33633733833934034134234334436 unmodified linesreturn Nonedef _check_bias_linear_shapes(input, weight, bias, out) -> None:if input.dim() != 2 or weight.dim() != 2:raise RuntimeError("input and weight must be rank-2 tensors")if input.shape[1] != weight.shape[1]:raise RuntimeError("input and weight K dimensions must match")if bias.shape != (weight.shape[0],):raise RuntimeError("bias must have shape (weight.shape[0],)")if out.shape != (input.shape[0], weight.shape[0]):raise RuntimeError("out must have shape (input.shape[0], weight.shape[0])")@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_bf16"))def _fp8_linear_bias_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_residual_bf16"))def _fp8_linear_bias_residual_bf16_fake(input, weight, bias, alpha: float, residual) -> None:_check_bias_linear_shapes(input, weight, bias, residual)@torch.library.register_fake(add_op_namespace_prefix("fp8_linear_bias_gelu_bf16"))def _fp8_linear_bias_gelu_bf16_fake(input, weight, bias, alpha: float, out) -> None:_check_bias_linear_shapes(input, weight, bias, out)@torch.library.register_fake(add_op_namespace_prefix("fp8_blockwise_linear_bf16"))def _fp8_blockwise_linear_bf16_fake(input: torch.Tensor,52 unmodified linesvariant = int(variant)if m <= 0 or n <= 0 or k <= 0:raise RuntimeError("m, n, and k must be positive")if k % 16 != 0:raise RuntimeError("k must be divisible by 16")capability = torch.cuda.get_device_capability() if torch.cuda.is_available() else Noneif capability == (11, 0):forced = {1: "sm110_sq_bf16", 2: "sm110_t1_bf16", 3: "sm110_wide_bf16"}3 unmodified linesraise RuntimeError("SM110 requires n and k divisible by 16")if variant:return forced[variant]if m >= 512 and k == 2048 and 2048 <= n <= 2560:return "sm110_sq_bf16"if m >= 512 and n >= 16 * k:return "sm110_t1_bf16"if m >= 512 and k >= 4 * n:return "sm110_wide_bf16"if n >= 8 * k:return "sm110_wide_bf16"if m >= 128 and k >= 4 * n:4 unmodified linesreturn "sm110_wide_bf16"return "sm110_t1_bf16"if m == 1:if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if variant == 4:return "gemv_fp8_m1_w4"if variant == 8:9 unmodified linesreturn "gemv_fp8_m1_w16"if variant != 0:raise RuntimeError("small-M dispatcher currently supports variant=0 only")if k % 32:raise RuntimeError("SM120 requires k divisible by 32")if m <= 16:if k % 256 == 0:return "ld_fp8_gemm_16x128x256_w4" if n % 128 == 0 else "ld_fp8_gemm_16x64x256_w4"60 unmodified linesreturn residualdef fp8_linear_bias_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and BF16 output."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_bf16(input, weight, bias, float(alpha), out)return outdef fp8_linear_bias_residual_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,residual: torch.Tensor,alpha: float = 1.0,) -> torch.Tensor:"""SM110 fused ``residual += alpha * input @ weight.T + bias``."""ops.fp8_linear_bias_residual_bf16(input, weight, bias, float(alpha), residual)return residualdef fp8_linear_bias_gelu_bf16(input: torch.Tensor,weight: torch.Tensor,bias: torch.Tensor,alpha: float = 1.0,out: torch.Tensor | None = None,) -> torch.Tensor:"""SM110 FP8 linear with fused BF16 bias and GELU epilogue."""if out is None:out = torch.empty((input.shape[0], weight.shape[0]),device=input.device,dtype=torch.bfloat16,)ops.fp8_linear_bias_gelu_bf16(input, weight, bias, float(alpha), out)return outdef fp8_blockwise_linear_bf16(input: torch.Tensor,weight: torch.Tensor,45 unmodified lines__all__ = ["fp8_linear_bf16","fp8_linear_residual_bf16","fp8_linear_bias_bf16","fp8_linear_bias_residual_bf16","fp8_linear_bias_gelu_bf16","fp8_blockwise_linear_bf16","fp8_blockwise_swiglu_quantize_fp8","select_fp8_linear_tile",
123version https://git-lfs.github.com/spec/v1oid sha256:e5395ce05668ccf4bec5f12109f073fb6ce743810f486ea98d67de77574a17b7size 5431368123version https://git-lfs.github.com/spec/v1oid sha256:357edcc14c6ab989908a21219b641179346b797eb5ea9d3b302aef7b3bee3988size 5710312
123456789import torchfrom . import _fp8_gemm_cuda_bf15968ops = torch.ops._fp8_gemm_cuda_bf15968def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_bf15968::{op_name}"123456789import torchfrom . import _fp8_gemm_cuda_8fba1d7ops = torch.ops._fp8_gemm_cuda_8fba1d7def add_op_namespace_prefix(op_name: str):"""Prefix op by namespace."""return f"_fp8_gemm_cuda_8fba1d7::{op_name}"
1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_bf15968","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "hKsdFER2ZmYz36/zz9LYE7ddsK/R1dprHJFx+9yBzks=","_fp8_gemm_cuda_bf15968.abi3.so": "5Tlc4FZozPS+xfEhCfBz+2znQ4EPSG6pjWfed1dKF7c=","_ops.py": "wDFSPD8vh2K2qjj/9mdUYv6LrXuGz6MQCb2B/e8nqWs="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "bf15968fd9c281a7ca107e7696300fe091f588a2","dirty": false}}1234568 unmodified lines1516171819202122233 unmodified lines27282930313233{"name": "fp8-gemm","id": "_fp8_gemm_cuda_8fba1d7","version": 1,"license": "Apache-2.0","python-depends": [],8 unmodified lines"digest": {"algorithm": "sha256","files": {"__init__.py": "HsFfsGY7AK/6Fziv4r2VQ+R2kDjS6hxKKgWqlA+zrKY=","_fp8_gemm_cuda_8fba1d7.abi3.so": "NX7cwUxquYmQiiEhm2QReTRreX616p07MCrvezvuOYg=","_ops.py": "ptfSaRMzscUfi27OPI9uPdaK9uAgUUrImeBJSSDv3kY="}},"provenance": {3 unmodified lines"dirty": false},"kernel": {"sha": "8fba1d7f2e4e627b1a2c3c8018f01c0ca4f430ee","dirty": false}}
benchmarks/benchmark.py+9-2
benchmarks/benchmark_bias.py+42-11
build/torch212-cxx11-cu130-x86_64-linux/__init__.py+93-2
build/torch212-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch212-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
build/torch212-cxx11-cu130-x86_64-linux/_ops.py+3-3
build/torch212-cxx11-cu130-x86_64-linux/metadata.json+5-5
build/torch212-cxx11-cu132-x86_64-linux/__init__.py+93-2
build/torch212-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch212-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
build/torch212-cxx11-cu132-x86_64-linux/_ops.py+3-3
build/torch212-cxx11-cu132-x86_64-linux/metadata.json+5-5
build/torch213-cxx11-cu130-x86_64-linux/__init__.py+93-2
build/torch213-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch213-cxx11-cu130-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
build/torch213-cxx11-cu130-x86_64-linux/_ops.py+3-3
build/torch213-cxx11-cu130-x86_64-linux/metadata.json+5-5
build/torch213-cxx11-cu132-x86_64-linux/__init__.py+93-2
build/torch213-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_bf15968.abi3.so → build/torch213-cxx11-cu132-x86_64-linux/_fp8_gemm_cuda_8fba1d7.abi3.soRenamed+2-2
build/torch213-cxx11-cu132-x86_64-linux/_ops.py+3-3
build/torch213-cxx11-cu132-x86_64-linux/metadata.json+5-5