Diff Coverage

Diff: origin/master...HEAD, staged and unstaged changes

Source File Diff Coverage (%) Missing Lines
hyper_parallel/components/modules/family.py 100%  
hyper_parallel/components/modules/linear.py 100%  
hyper_parallel/components/modules/low_precision_grouped_experts.py 98.4% 68
hyper_parallel/components/modules/low_precision_linear.py 100%  
hyper_parallel/components/quantization/modules/replacement.py 100%  
hyper_parallel/trainer/config/parallelism.py 100%  
hyper_parallel/trainer/config/replacement.py 100%  
hyper_parallel/trainer/config/resolver.py 100%  
hyper_parallel/components/modules/low_precision_grouped_experts.py
64
65
66
67
68
69
70
71
72
            raise NotImplementedError(f"{prefix} requires TP=CP=EP=PP=1")
        super().__init__(module=module, module_fqn=module_fqn, context=context)
        if (not self.has_gate or self.add_bias or self.use_2d_experts
                or not self.router_gating_in_fp32):
            raise ValueError(f"{prefix} requires 3D bias-free SwiGLU with routing scores after GMM2")
        self.grouped_linear = strategy
        _validate_tile_alignment(
            "fake_w4a8" if isinstance(strategy, FakeW4A8GroupedLinear) else strategy.FORMAT_NAME,
            context["low_precision"].block_size,