Fix: add abstract create_weights to CuTeDSLNvfp4LinearMethod
This commit is contained in:
@@ -131,5 +131,10 @@ class CuTeDSLNvfp4Method(LinearMethodBase):
|
||||
class CuTeDSLNvfp4LinearMethod(LinearMethodBase):
|
||||
"""Forward path: BF16 input → CuTeDSL NVFP4 GEMM → BF16 output."""
|
||||
|
||||
def create_weights(self, layer, input_size_per_partition,
|
||||
output_partition_sizes, input_size, output_size,
|
||||
params_dtype, **extra_weight_attrs):
|
||||
pass
|
||||
|
||||
def apply(self, layer, x: torch.Tensor, bias=None) -> torch.Tensor:
|
||||
return layer._cutedsl_runner(x)
|
||||
|
||||
Reference in New Issue
Block a user