nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
8.87k stars 1.18k forks source link

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

Open JuliusQv opened 1 week ago

JuliusQv commented 1 week ago

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?

wangyida commented 1 week ago

Also asking, seems to be introduced in version 1.0.0