Diff Coverage

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

Source File Diff Coverage (%) Missing Lines
hyper_parallel/core/dtensor/device_mesh.py 100%  
hyper_parallel/core/dtensor/layout.py 100%  
hyper_parallel/core/dtensor/tensor_redistribution.py 100%  
hyper_parallel/core/optimizer/optimizer.py 0.0% 327
hyper_parallel/core/tensor_parallel/api.py 100%  
hyper_parallel/core/optimizer/optimizer.py
323
324
325
326
327
328
329
330
331

        # Cache Hit Check
        if cache_key in self._split_sub_pg_cache:
            sub_pg_map = self._split_sub_pg_cache[cache_key]
            for _, sub_pg in sub_pg_map.items():
                if sub_pg is not None:
                    try:
                        dist.get_rank(group=sub_pg)
                        return sub_pg