nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Error: namespace "cooperative_groups" has no member "labeled_partition", when build gsplat from source

Open JuliusQv opened this issue 1 year ago • 2 comments

I clone the newest gsplat code, and try to install it by: pip install -e .

But i meet the following error:

`gsplat/cuda/csrc/projection.cu(485): error: namespace "cooperative_groups" has no member "labeled_partition" auto warp_group_g = cg::labeled_partition(warp, gid); ^

gsplat/cuda/csrc/projection.cu(510): error: namespace "cooperative_groups" has no member "labeled_partition"
          auto warp_group_c = cg::labeled_partition(warp, cid);
                                  ^

gsplat/cuda/csrc/projection.cu(825): error: namespace "cooperative_groups" has no member "labeled_partition"
      auto warp_group_g = cg::labeled_partition(warp, gid);
                              ^

gsplat/cuda/csrc/projection.cu(869): error: namespace "cooperative_groups" has no member "labeled_partition"
          auto warp_group_c = cg::labeled_partition(warp, cid);
                                  ^

gsplat/cuda/csrc/projection.cu(1423): error: namespace "cooperative_groups" has no member "labeled_partition"
          auto warp_group_g = cg::labeled_partition(warp, gid);
                                  ^

gsplat/cuda/csrc/projection.cu(1469): error: namespace "cooperative_groups" has no member "labeled_partition"
          auto warp_group_c = cg::labeled_partition(warp, cid);

`

It seams the namespace cooperative_groups did not implement the function labeled_partition.

How can i solve this problem?

JuliusQv avatar Jun 17 '24 06:06 JuliusQv

Also asking, seems to be introduced in version 1.0.0

wangyida avatar Jun 19 '24 15:06 wangyida

This is because your CUDA_COMPUTE is too low. See this conversation: https://github.com/nerfstudio-project/gsplat/issues/226

jkulhanek avatar Jul 02 '24 16:07 jkulhanek