fvdb-core 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. fvdb_core-0.2.1/.clang-format +139 -0
  2. fvdb_core-0.2.1/.clangd +72 -0
  3. fvdb_core-0.2.1/.devcontainer/cu128/Dockerfile.dev +19 -0
  4. fvdb_core-0.2.1/.devcontainer/cu128/devcontainer.json +67 -0
  5. fvdb_core-0.2.1/.devcontainer/cu128/docker-compose.yml +19 -0
  6. fvdb_core-0.2.1/.devcontainer/cu129/Dockerfile.dev +19 -0
  7. fvdb_core-0.2.1/.devcontainer/cu129/devcontainer.json +67 -0
  8. fvdb_core-0.2.1/.devcontainer/cu129/docker-compose.yml +19 -0
  9. fvdb_core-0.2.1/.devcontainer/default/Dockerfile.dev +35 -0
  10. fvdb_core-0.2.1/.devcontainer/default/devcontainer.json +67 -0
  11. fvdb_core-0.2.1/.devcontainer/default/docker-compose.yml +19 -0
  12. fvdb_core-0.2.1/.dockerignore +70 -0
  13. fvdb_core-0.2.1/.github/workflows/codestyle.yml +85 -0
  14. fvdb_core-0.2.1/.github/workflows/cu128-nightly.yml +307 -0
  15. fvdb_core-0.2.1/.github/workflows/cu128.yml +525 -0
  16. fvdb_core-0.2.1/.github/workflows/cu129-nightly.yml +305 -0
  17. fvdb_core-0.2.1/.github/workflows/cu129.yml +511 -0
  18. fvdb_core-0.2.1/.github/workflows/nightly.yml +260 -0
  19. fvdb_core-0.2.1/.github/workflows/tests.yml +423 -0
  20. fvdb_core-0.2.1/.gitignore +64 -0
  21. fvdb_core-0.2.1/.gitlab-ci.yml +30 -0
  22. fvdb_core-0.2.1/.vscode/c_cpp_properties.json +51 -0
  23. fvdb_core-0.2.1/.vscode/extensions.json +26 -0
  24. fvdb_core-0.2.1/.vscode/settings.json +88 -0
  25. fvdb_core-0.2.1/CMakeLists.txt +103 -0
  26. fvdb_core-0.2.1/CODEOWNERS +6 -0
  27. fvdb_core-0.2.1/CODE_OF_CONDUCT.md +1 -0
  28. fvdb_core-0.2.1/CONTRIBUTING.md +89 -0
  29. fvdb_core-0.2.1/Dockerfile +22 -0
  30. fvdb_core-0.2.1/LICENSE +176 -0
  31. fvdb_core-0.2.1/MAINTAINERS.md +19 -0
  32. fvdb_core-0.2.1/PKG-INFO +5 -0
  33. fvdb_core-0.2.1/README.md +285 -0
  34. fvdb_core-0.2.1/build.sh +283 -0
  35. fvdb_core-0.2.1/docker-compose.yml +35 -0
  36. fvdb_core-0.2.1/docs/api/grid.rst +5 -0
  37. fvdb_core-0.2.1/docs/api/grid_batch.rst +5 -0
  38. fvdb_core-0.2.1/docs/api/jagged_tensor.rst +5 -0
  39. fvdb_core-0.2.1/docs/api/nn.rst +58 -0
  40. fvdb_core-0.2.1/docs/api/utils.rst +4 -0
  41. fvdb_core-0.2.1/docs/conf.py +91 -0
  42. fvdb_core-0.2.1/docs/imgs/fig/Minibatch.png +0 -0
  43. fvdb_core-0.2.1/docs/imgs/fig/Minibatch2.png +0 -0
  44. fvdb_core-0.2.1/docs/imgs/fig/build_coarse_subdivide.png +0 -0
  45. fvdb_core-0.2.1/docs/imgs/fig/build_dual.png +0 -0
  46. fvdb_core-0.2.1/docs/imgs/fig/build_from_coordinates.png +0 -0
  47. fvdb_core-0.2.1/docs/imgs/fig/build_from_dense.png +0 -0
  48. fvdb_core-0.2.1/docs/imgs/fig/build_from_mesh.png +0 -0
  49. fvdb_core-0.2.1/docs/imgs/fig/build_from_points.png +0 -0
  50. fvdb_core-0.2.1/docs/imgs/fig/build_from_points_nn.png +0 -0
  51. fvdb_core-0.2.1/docs/imgs/fig/clip.png +0 -0
  52. fvdb_core-0.2.1/docs/imgs/fig/coords_in_grid.png +0 -0
  53. fvdb_core-0.2.1/docs/imgs/fig/cubes_inside_grid.png +0 -0
  54. fvdb_core-0.2.1/docs/imgs/fig/cubes_intersect_grid.png +0 -0
  55. fvdb_core-0.2.1/docs/imgs/fig/gridbatch.png +0 -0
  56. fvdb_core-0.2.1/docs/imgs/fig/gridbatch_conv.png +0 -0
  57. fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor.png +0 -0
  58. fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor1.png +0 -0
  59. fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor2.png +0 -0
  60. fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor3.png +0 -0
  61. fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor4.png +0 -0
  62. fvdb_core-0.2.1/docs/imgs/fig/max_avg_pool.png +0 -0
  63. fvdb_core-0.2.1/docs/imgs/fig/mg_mask.png +0 -0
  64. fvdb_core-0.2.1/docs/imgs/fig/mg_origin.png +0 -0
  65. fvdb_core-0.2.1/docs/imgs/fig/mg_pts_after.png +0 -0
  66. fvdb_core-0.2.1/docs/imgs/fig/mg_pts_before.png +0 -0
  67. fvdb_core-0.2.1/docs/imgs/fig/mutable_grid.png +0 -0
  68. fvdb_core-0.2.1/docs/imgs/fig/neighbor_indexes.png +0 -0
  69. fvdb_core-0.2.1/docs/imgs/fig/pts_in_grid.png +0 -0
  70. fvdb_core-0.2.1/docs/imgs/fig/sampling_1.png +0 -0
  71. fvdb_core-0.2.1/docs/imgs/fig/sampling_2.png +0 -0
  72. fvdb_core-0.2.1/docs/imgs/fig/screenshot_000000.png.trim.png +0 -0
  73. fvdb_core-0.2.1/docs/imgs/fig/screenshot_000004.png.trim.png +0 -0
  74. fvdb_core-0.2.1/docs/imgs/fig/screenshot_000006.png.trim.png +0 -0
  75. fvdb_core-0.2.1/docs/imgs/fig/simple_conv.png +0 -0
  76. fvdb_core-0.2.1/docs/imgs/fig/stride_conv.png +0 -0
  77. fvdb_core-0.2.1/docs/imgs/fig/struct_mask.png +0 -0
  78. fvdb_core-0.2.1/docs/imgs/fig/struct_optim.png +0 -0
  79. fvdb_core-0.2.1/docs/imgs/fig/subdiv_mask.png +0 -0
  80. fvdb_core-0.2.1/docs/imgs/fig/subdiv_pool_correct.png +0 -0
  81. fvdb_core-0.2.1/docs/imgs/fig/subdiv_pool_incorrect.png +0 -0
  82. fvdb_core-0.2.1/docs/imgs/fig/subdivide.png +0 -0
  83. fvdb_core-0.2.1/docs/imgs/fig/transposed_stride_conv.png +0 -0
  84. fvdb_core-0.2.1/docs/imgs/fvdb_teaser.png +0 -0
  85. fvdb_core-0.2.1/docs/imgs/grid_ops/grid_creation.png +0 -0
  86. fvdb_core-0.2.1/docs/imgs/grid_ops/raymarch_implicit_field.png +0 -0
  87. fvdb_core-0.2.1/docs/imgs/grid_ops/stencil_dilate.png +0 -0
  88. fvdb_core-0.2.1/docs/imgs/grid_ops/stencil_shrink.png +0 -0
  89. fvdb_core-0.2.1/docs/imgs/grid_ops/voxels_along_rays.png +0 -0
  90. fvdb_core-0.2.1/docs/imgs/readme/av_screenshot.png +0 -0
  91. fvdb_core-0.2.1/docs/imgs/readme/fitsdf.png +0 -0
  92. fvdb_core-0.2.1/docs/imgs/readme/rayseg.png +0 -0
  93. fvdb_core-0.2.1/docs/imgs/readme/rayvox.png +0 -0
  94. fvdb_core-0.2.1/docs/imgs/readme/splat.png +0 -0
  95. fvdb_core-0.2.1/docs/imgs/readme/trilerp.png +0 -0
  96. fvdb_core-0.2.1/docs/index.rst +56 -0
  97. fvdb_core-0.2.1/docs/markdown/clangd.md +60 -0
  98. fvdb_core-0.2.1/docs/markdown/docker_readme.md +103 -0
  99. fvdb_core-0.2.1/docs/tutorials/basic_concepts.md +87 -0
  100. fvdb_core-0.2.1/docs/tutorials/basic_grid_ops.md +725 -0
  101. fvdb_core-0.2.1/docs/tutorials/building_grids.md +165 -0
  102. fvdb_core-0.2.1/docs/tutorials/io.md +150 -0
  103. fvdb_core-0.2.1/docs/tutorials/ray_tracing.md +151 -0
  104. fvdb_core-0.2.1/docs/tutorials/single_grid.md +86 -0
  105. fvdb_core-0.2.1/docs/tutorials/volume_rendering.md +641 -0
  106. fvdb_core-0.2.1/docs/tutorials/wip/basic_convolution.md +141 -0
  107. fvdb_core-0.2.1/docs/tutorials/wip/simple_unet.md +272 -0
  108. fvdb_core-0.2.1/env/blosc.patch +23 -0
  109. fvdb_core-0.2.1/env/build_environment.yml +43 -0
  110. fvdb_core-0.2.1/env/build_requirements.txt +6 -0
  111. fvdb_core-0.2.1/env/cutlass.patch +24 -0
  112. fvdb_core-0.2.1/env/dev_environment.yml +80 -0
  113. fvdb_core-0.2.1/env/learn_environment.yml +44 -0
  114. fvdb_core-0.2.1/env/release_base_environment.yml +26 -0
  115. fvdb_core-0.2.1/env/test_environment.yml +51 -0
  116. fvdb_core-0.2.1/env/test_requirements.txt +19 -0
  117. fvdb_core-0.2.1/env/tinyply.patch +10 -0
  118. fvdb_core-0.2.1/examples/dilating_grids.py +69 -0
  119. fvdb_core-0.2.1/examples/grid_building.py +150 -0
  120. fvdb_core-0.2.1/examples/grid_subdivide_coarsen.py +57 -0
  121. fvdb_core-0.2.1/examples/overfit_sdf.py +115 -0
  122. fvdb_core-0.2.1/examples/ray_segment_marching.py +102 -0
  123. fvdb_core-0.2.1/examples/ray_voxel_marching.py +99 -0
  124. fvdb_core-0.2.1/examples/sample_trilinear.py +66 -0
  125. fvdb_core-0.2.1/examples/splat_trilinear.py +53 -0
  126. fvdb_core-0.2.1/examples/subdivide.py +72 -0
  127. fvdb_core-0.2.1/examples/uniform_ray_marching.py +118 -0
  128. fvdb_core-0.2.1/examples/voxel_neighborhood.py +47 -0
  129. fvdb_core-0.2.1/examples/wip/compare_conv_speed.py +75 -0
  130. fvdb_core-0.2.1/examples/wip/structure_prediction_net.py +191 -0
  131. fvdb_core-0.2.1/fvdb/_Cpp.pyi +1307 -0
  132. fvdb_core-0.2.1/fvdb/__init__.py +138 -0
  133. fvdb_core-0.2.1/fvdb/__init__.pyi +66 -0
  134. fvdb_core-0.2.1/fvdb/convolution_plan.py +858 -0
  135. fvdb_core-0.2.1/fvdb/gaussian_splatting.py +2040 -0
  136. fvdb_core-0.2.1/fvdb/grid.py +1954 -0
  137. fvdb_core-0.2.1/fvdb/grid_batch.py +2175 -0
  138. fvdb_core-0.2.1/fvdb/nn/__init__.py +70 -0
  139. fvdb_core-0.2.1/fvdb/nn/modules.py +574 -0
  140. fvdb_core-0.2.1/fvdb/nn/simple_unet.py +646 -0
  141. fvdb_core-0.2.1/fvdb/optim/__init__.py +6 -0
  142. fvdb_core-0.2.1/fvdb/optim/gaussian_splat_optimizer.py +481 -0
  143. fvdb_core-0.2.1/fvdb/py.typed +1 -0
  144. fvdb_core-0.2.1/fvdb/types.py +1303 -0
  145. fvdb_core-0.2.1/fvdb/utils/__init__.py +3 -0
  146. fvdb_core-0.2.1/fvdb/utils/build_ext.py +59 -0
  147. fvdb_core-0.2.1/fvdb/utils/examples/__init__.py +299 -0
  148. fvdb_core-0.2.1/fvdb/utils/metrics/__init__.py +9 -0
  149. fvdb_core-0.2.1/fvdb/utils/metrics/psnr.py +50 -0
  150. fvdb_core-0.2.1/fvdb/utils/metrics/ssim.py +103 -0
  151. fvdb_core-0.2.1/fvdb/utils/tests/__init__.py +412 -0
  152. fvdb_core-0.2.1/fvdb/utils/tests/convolution_utils.py +42 -0
  153. fvdb_core-0.2.1/fvdb/utils/tests/grid_utils.py +131 -0
  154. fvdb_core-0.2.1/fvdb/utils/tests/gsplat_utils.py +150 -0
  155. fvdb_core-0.2.1/fvdb/utils/tests/timer.py +113 -0
  156. fvdb_core-0.2.1/fvdb/version.py.in +2 -0
  157. fvdb_core-0.2.1/fvdb/viz/__init__.py +13 -0
  158. fvdb_core-0.2.1/fvdb/viz/_camera_view.py +147 -0
  159. fvdb_core-0.2.1/fvdb/viz/_gaussian_splat_3d_view.py +136 -0
  160. fvdb_core-0.2.1/fvdb/viz/_utils.py +41 -0
  161. fvdb_core-0.2.1/fvdb/viz/_viewer.py +314 -0
  162. fvdb_core-0.2.1/logscale.diff +118 -0
  163. fvdb_core-0.2.1/notebooks/01_api_basics.ipynb +539 -0
  164. fvdb_core-0.2.1/notebooks/img/2dconv.png +0 -0
  165. fvdb_core-0.2.1/notebooks/img/DenseConv.gif +0 -0
  166. fvdb_core-0.2.1/notebooks/img/SparseConv.gif +0 -0
  167. fvdb_core-0.2.1/notebooks/img/blank_sparse_grids.png +0 -0
  168. fvdb_core-0.2.1/notebooks/img/first-3d-brain-reconstruction-strip.mp4 +0 -0
  169. fvdb_core-0.2.1/notebooks/img/grid_batch_diagram.svg +1 -0
  170. fvdb_core-0.2.1/notebooks/img/gridbatch.svg +1 -0
  171. fvdb_core-0.2.1/notebooks/img/gridbatch_concept.svg +1 -0
  172. fvdb_core-0.2.1/notebooks/img/image_index_grid_diagram.svg +1 -0
  173. fvdb_core-0.2.1/notebooks/img/imagestack.png +0 -0
  174. fvdb_core-0.2.1/notebooks/img/numbers.png +0 -0
  175. fvdb_core-0.2.1/notebooks/img/sparse_two.png +0 -0
  176. fvdb_core-0.2.1/notebooks/img/transposed_sparse_convolution_diagram.svg +1 -0
  177. fvdb_core-0.2.1/notebooks/img/two.png +0 -0
  178. fvdb_core-0.2.1/notebooks/img/vdbtensor.svg +1 -0
  179. fvdb_core-0.2.1/notebooks/wip/00_intro.ipynb +325 -0
  180. fvdb_core-0.2.1/notebooks/wip/02_nn.ipynb +357 -0
  181. fvdb_core-0.2.1/notebooks/wip/03_conv.ipynb +623 -0
  182. fvdb_core-0.2.1/pyproject.toml +25 -0
  183. fvdb_core-0.2.1/scripts/rename_wheels.py +21 -0
  184. fvdb_core-0.2.1/setup.py +38 -0
  185. fvdb_core-0.2.1/src/CMakeLists.txt +237 -0
  186. fvdb_core-0.2.1/src/benchmarks/CMakeLists.txt +53 -0
  187. fvdb_core-0.2.1/src/benchmarks/simple/simple.cpp +22 -0
  188. fvdb_core-0.2.1/src/cmake/configure_torch_pybind11.cmake +98 -0
  189. fvdb_core-0.2.1/src/cmake/download_test_data/CMakeLists.txt +14 -0
  190. fvdb_core-0.2.1/src/cmake/get_blosc.cmake +20 -0
  191. fvdb_core-0.2.1/src/cmake/get_cpm.cmake +38 -0
  192. fvdb_core-0.2.1/src/cmake/get_cudnn_frontend.cmake +12 -0
  193. fvdb_core-0.2.1/src/cmake/get_cutlass.cmake +19 -0
  194. fvdb_core-0.2.1/src/cmake/get_fvdb.cmake +23 -0
  195. fvdb_core-0.2.1/src/cmake/get_google_benchmark.cmake +10 -0
  196. fvdb_core-0.2.1/src/cmake/get_google_test.cmake +10 -0
  197. fvdb_core-0.2.1/src/cmake/get_nanovdb.cmake +17 -0
  198. fvdb_core-0.2.1/src/cmake/get_nanovdb_editor.cmake +221 -0
  199. fvdb_core-0.2.1/src/cmake/get_nvtx.cmake +26 -0
  200. fvdb_core-0.2.1/src/cmake/get_pybind11.cmake +104 -0
  201. fvdb_core-0.2.1/src/cmake/get_test_data.cmake +18 -0
  202. fvdb_core-0.2.1/src/cmake/get_tinyply.cmake +10 -0
  203. fvdb_core-0.2.1/src/cmake/get_torch.cmake +77 -0
  204. fvdb_core-0.2.1/src/fvdb/Config.cpp +35 -0
  205. fvdb_core-0.2.1/src/fvdb/Config.h +28 -0
  206. fvdb_core-0.2.1/src/fvdb/FVDB.cpp +259 -0
  207. fvdb_core-0.2.1/src/fvdb/FVDB.h +276 -0
  208. fvdb_core-0.2.1/src/fvdb/GaussianSplat3d.cpp +1286 -0
  209. fvdb_core-0.2.1/src/fvdb/GaussianSplat3d.h +1277 -0
  210. fvdb_core-0.2.1/src/fvdb/GridBatch.cpp +1197 -0
  211. fvdb_core-0.2.1/src/fvdb/GridBatch.h +892 -0
  212. fvdb_core-0.2.1/src/fvdb/JaggedTensor.cpp +1411 -0
  213. fvdb_core-0.2.1/src/fvdb/JaggedTensor.h +1255 -0
  214. fvdb_core-0.2.1/src/fvdb/SparseConvPackInfo.cpp +332 -0
  215. fvdb_core-0.2.1/src/fvdb/SparseConvPackInfo.h +270 -0
  216. fvdb_core-0.2.1/src/fvdb/Types.h +40 -0
  217. fvdb_core-0.2.1/src/fvdb/detail/GridBatchImpl.cu +1831 -0
  218. fvdb_core-0.2.1/src/fvdb/detail/GridBatchImpl.h +624 -0
  219. fvdb_core-0.2.1/src/fvdb/detail/TorchDeviceBuffer.cpp +225 -0
  220. fvdb_core-0.2.1/src/fvdb/detail/TorchDeviceBuffer.h +111 -0
  221. fvdb_core-0.2.1/src/fvdb/detail/TypesImpl.h +280 -0
  222. fvdb_core-0.2.1/src/fvdb/detail/VoxelCoordTransform.h +338 -0
  223. fvdb_core-0.2.1/src/fvdb/detail/autograd/Attention.cpp +42 -0
  224. fvdb_core-0.2.1/src/fvdb/detail/autograd/Attention.h +33 -0
  225. fvdb_core-0.2.1/src/fvdb/detail/autograd/AvgPoolGrid.cpp +66 -0
  226. fvdb_core-0.2.1/src/fvdb/detail/autograd/AvgPoolGrid.h +34 -0
  227. fvdb_core-0.2.1/src/fvdb/detail/autograd/EvaluateSphericalHarmonics.cpp +78 -0
  228. fvdb_core-0.2.1/src/fvdb/detail/autograd/EvaluateSphericalHarmonics.h +35 -0
  229. fvdb_core-0.2.1/src/fvdb/detail/autograd/GaussianRender.cpp +474 -0
  230. fvdb_core-0.2.1/src/fvdb/detail/autograd/GaussianRender.h +90 -0
  231. fvdb_core-0.2.1/src/fvdb/detail/autograd/Inject.cpp +134 -0
  232. fvdb_core-0.2.1/src/fvdb/detail/autograd/Inject.h +39 -0
  233. fvdb_core-0.2.1/src/fvdb/detail/autograd/JaggedReduce.cpp +135 -0
  234. fvdb_core-0.2.1/src/fvdb/detail/autograd/JaggedReduce.h +52 -0
  235. fvdb_core-0.2.1/src/fvdb/detail/autograd/MaxPoolGrid.cpp +67 -0
  236. fvdb_core-0.2.1/src/fvdb/detail/autograd/MaxPoolGrid.h +34 -0
  237. fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadFromDense.cpp +183 -0
  238. fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadFromDense.h +46 -0
  239. fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadIntoDense.cpp +228 -0
  240. fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadIntoDense.h +48 -0
  241. fvdb_core-0.2.1/src/fvdb/detail/autograd/SampleGrid.cpp +169 -0
  242. fvdb_core-0.2.1/src/fvdb/detail/autograd/SampleGrid.h +49 -0
  243. fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionHalo.cpp +90 -0
  244. fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionHalo.h +34 -0
  245. fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionImplicitGEMM.cpp +230 -0
  246. fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionImplicitGEMM.h +34 -0
  247. fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionKernelMap.cpp +195 -0
  248. fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionKernelMap.h +33 -0
  249. fvdb_core-0.2.1/src/fvdb/detail/autograd/SplatIntoGrid.cpp +128 -0
  250. fvdb_core-0.2.1/src/fvdb/detail/autograd/SplatIntoGrid.h +47 -0
  251. fvdb_core-0.2.1/src/fvdb/detail/autograd/TransformPoints.cpp +90 -0
  252. fvdb_core-0.2.1/src/fvdb/detail/autograd/TransformPoints.h +35 -0
  253. fvdb_core-0.2.1/src/fvdb/detail/autograd/UpsampleGrid.cpp +72 -0
  254. fvdb_core-0.2.1/src/fvdb/detail/autograd/UpsampleGrid.h +33 -0
  255. fvdb_core-0.2.1/src/fvdb/detail/autograd/VolumeRender.cpp +132 -0
  256. fvdb_core-0.2.1/src/fvdb/detail/autograd/VolumeRender.h +33 -0
  257. fvdb_core-0.2.1/src/fvdb/detail/io/GaussianPlyIO.cpp +441 -0
  258. fvdb_core-0.2.1/src/fvdb/detail/io/GaussianPlyIO.h +44 -0
  259. fvdb_core-0.2.1/src/fvdb/detail/io/LoadNanovdb.cpp +707 -0
  260. fvdb_core-0.2.1/src/fvdb/detail/io/LoadNanovdb.h +46 -0
  261. fvdb_core-0.2.1/src/fvdb/detail/io/SaveNanoVDB.cpp +556 -0
  262. fvdb_core-0.2.1/src/fvdb/detail/io/SaveNanoVDB.h +32 -0
  263. fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveGridGoords.cu +118 -0
  264. fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveGridGoords.h +23 -0
  265. fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveVoxelsInBoundsMask.cu +126 -0
  266. fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveVoxelsInBoundsMask.h +29 -0
  267. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildCoarseGridFromFine.cu +82 -0
  268. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildCoarseGridFromFine.h +28 -0
  269. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDenseGrid.cu +294 -0
  270. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDenseGrid.h +33 -0
  271. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDilatedGrid.cu +115 -0
  272. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDilatedGrid.h +31 -0
  273. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildFineGridFromCoarse.cu +429 -0
  274. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildFineGridFromCoarse.h +37 -0
  275. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridForConv.cu +259 -0
  276. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridForConv.h +28 -0
  277. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromIjk.cu +211 -0
  278. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromIjk.h +27 -0
  279. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromMesh.cu +122 -0
  280. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromMesh.h +33 -0
  281. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromNearestVoxelsToPoints.cu +109 -0
  282. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromNearestVoxelsToPoints.h +33 -0
  283. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromPoints.cu +183 -0
  284. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromPoints.h +31 -0
  285. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildMergedGrids.cu +114 -0
  286. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildMergedGrids.h +27 -0
  287. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPaddedGrid.cu +431 -0
  288. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPaddedGrid.h +27 -0
  289. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPrunedGrid.cu +140 -0
  290. fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPrunedGrid.h +28 -0
  291. fvdb_core-0.2.1/src/fvdb/detail/ops/CoarseIjkForFineGrid.cu +111 -0
  292. fvdb_core-0.2.1/src/fvdb/detail/ops/CoarseIjkForFineGrid.h +26 -0
  293. fvdb_core-0.2.1/src/fvdb/detail/ops/CoordsInGrid.cu +96 -0
  294. fvdb_core-0.2.1/src/fvdb/detail/ops/CoordsInGrid.h +23 -0
  295. fvdb_core-0.2.1/src/fvdb/detail/ops/CubesInGrid.cu +164 -0
  296. fvdb_core-0.2.1/src/fvdb/detail/ops/CubesInGrid.h +33 -0
  297. fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridAvgPool.cu +333 -0
  298. fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridAvgPool.h +36 -0
  299. fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridMaxPool.cu +387 -0
  300. fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridMaxPool.h +36 -0
  301. fvdb_core-0.2.1/src/fvdb/detail/ops/GridEdgeNetwork.cu +174 -0
  302. fvdb_core-0.2.1/src/fvdb/detail/ops/GridEdgeNetwork.h +26 -0
  303. fvdb_core-0.2.1/src/fvdb/detail/ops/IjkForMesh.cu +289 -0
  304. fvdb_core-0.2.1/src/fvdb/detail/ops/IjkForMesh.h +27 -0
  305. fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToIndex.cu +123 -0
  306. fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToIndex.h +24 -0
  307. fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToInvIndex.cu +105 -0
  308. fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToInvIndex.h +24 -0
  309. fvdb_core-0.2.1/src/fvdb/detail/ops/Inject.cu +412 -0
  310. fvdb_core-0.2.1/src/fvdb/detail/ops/Inject.h +26 -0
  311. fvdb_core-0.2.1/src/fvdb/detail/ops/IntegrateTSDF.cu +960 -0
  312. fvdb_core-0.2.1/src/fvdb/detail/ops/IntegrateTSDF.h +47 -0
  313. fvdb_core-0.2.1/src/fvdb/detail/ops/JCat0.cu +239 -0
  314. fvdb_core-0.2.1/src/fvdb/detail/ops/JCat0.h +23 -0
  315. fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForGrid.cu +30 -0
  316. fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForGrid.h +21 -0
  317. fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForJOffsets.cu +141 -0
  318. fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForJOffsets.h +20 -0
  319. fvdb_core-0.2.1/src/fvdb/detail/ops/JOffsetsFromJIdx.cu +153 -0
  320. fvdb_core-0.2.1/src/fvdb/detail/ops/JOffsetsFromJIdx.h +20 -0
  321. fvdb_core-0.2.1/src/fvdb/detail/ops/JaggedTensorIndex.cu +757 -0
  322. fvdb_core-0.2.1/src/fvdb/detail/ops/JaggedTensorIndex.h +29 -0
  323. fvdb_core-0.2.1/src/fvdb/detail/ops/MarchingCubes.cu +403 -0
  324. fvdb_core-0.2.1/src/fvdb/detail/ops/MarchingCubes.h +26 -0
  325. fvdb_core-0.2.1/src/fvdb/detail/ops/NearestIjkForPoints.cu +100 -0
  326. fvdb_core-0.2.1/src/fvdb/detail/ops/NearestIjkForPoints.h +27 -0
  327. fvdb_core-0.2.1/src/fvdb/detail/ops/PointsInGrid.cu +104 -0
  328. fvdb_core-0.2.1/src/fvdb/detail/ops/PointsInGrid.h +23 -0
  329. fvdb_core-0.2.1/src/fvdb/detail/ops/PopulateGridMetadata.cu +218 -0
  330. fvdb_core-0.2.1/src/fvdb/detail/ops/PopulateGridMetadata.h +32 -0
  331. fvdb_core-0.2.1/src/fvdb/detail/ops/RayImplicitIntersection.cu +206 -0
  332. fvdb_core-0.2.1/src/fvdb/detail/ops/RayImplicitIntersection.h +27 -0
  333. fvdb_core-0.2.1/src/fvdb/detail/ops/ReadFromDense.cu +323 -0
  334. fvdb_core-0.2.1/src/fvdb/detail/ops/ReadFromDense.h +31 -0
  335. fvdb_core-0.2.1/src/fvdb/detail/ops/ReadIntoDense.cu +327 -0
  336. fvdb_core-0.2.1/src/fvdb/detail/ops/ReadIntoDense.h +31 -0
  337. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezier.cu +120 -0
  338. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezier.h +27 -0
  339. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGrad.cu +150 -0
  340. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGrad.h +27 -0
  341. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGradBackward.cu +157 -0
  342. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGradBackward.h +27 -0
  343. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinear.cu +125 -0
  344. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinear.h +27 -0
  345. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGrad.cu +141 -0
  346. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGrad.h +27 -0
  347. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGradBackward.cu +180 -0
  348. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGradBackward.h +27 -0
  349. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleRaysUniform.cu +535 -0
  350. fvdb_core-0.2.1/src/fvdb/detail/ops/SampleRaysUniform.h +32 -0
  351. fvdb_core-0.2.1/src/fvdb/detail/ops/ScaledDotProductAttention.cu +222 -0
  352. fvdb_core-0.2.1/src/fvdb/detail/ops/ScaledDotProductAttention.h +26 -0
  353. fvdb_core-0.2.1/src/fvdb/detail/ops/SegmentsAlongRays.cu +312 -0
  354. fvdb_core-0.2.1/src/fvdb/detail/ops/SegmentsAlongRays.h +27 -0
  355. fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridBezier.cu +135 -0
  356. fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridBezier.h +25 -0
  357. fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridTrilinear.cu +144 -0
  358. fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridTrilinear.h +25 -0
  359. fvdb_core-0.2.1/src/fvdb/detail/ops/TransformPointToGrid.cu +348 -0
  360. fvdb_core-0.2.1/src/fvdb/detail/ops/TransformPointToGrid.h +40 -0
  361. fvdb_core-0.2.1/src/fvdb/detail/ops/UpsampleGridNearest.cu +348 -0
  362. fvdb_core-0.2.1/src/fvdb/detail/ops/UpsampleGridNearest.h +33 -0
  363. fvdb_core-0.2.1/src/fvdb/detail/ops/VolumeRender.cu +520 -0
  364. fvdb_core-0.2.1/src/fvdb/detail/ops/VolumeRender.h +48 -0
  365. fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelNeighborhood.cu +128 -0
  366. fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelNeighborhood.h +28 -0
  367. fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelsAlongRays.cu +402 -0
  368. fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelsAlongRays.h +31 -0
  369. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/ConvPragmaMessage.h +13 -0
  370. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/MESparseConvolution.cu +957 -0
  371. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/MESparseConvolution.h +26 -0
  372. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionCutlass.cu +774 -0
  373. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionCutlass.h +24 -0
  374. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHalo.cu +614 -0
  375. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHalo.h +25 -0
  376. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHaloGrad.cu +307 -0
  377. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHaloGrad.h +24 -0
  378. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMM.cu +3842 -0
  379. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMM.h +26 -0
  380. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGrad.cu +4117 -0
  381. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGrad.h +25 -0
  382. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGradSorted.cu +4600 -0
  383. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGradSorted.h +27 -0
  384. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMSorted.cu +4657 -0
  385. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMSorted.h +28 -0
  386. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionKernelMap.cu +619 -0
  387. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionKernelMap.h +36 -0
  388. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionLggs.cu +308 -0
  389. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionLggs.h +25 -0
  390. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/BrickHaloBuffer.cu +217 -0
  391. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/BrickHaloBuffer.h +24 -0
  392. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/ConvolutionKernelMap.cu +158 -0
  393. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/ConvolutionKernelMap.h +27 -0
  394. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/IGEMMBitOperations.cu +186 -0
  395. fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/IGEMMBitOperations.h +31 -0
  396. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/FusedSSIM.cu +729 -0
  397. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/FusedSSIM.h +69 -0
  398. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/Gaussian2D.cuh +41 -0
  399. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianCameraProjections.cuh +229 -0
  400. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianComputeNanInfMask.cu +142 -0
  401. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianComputeNanInfMask.h +45 -0
  402. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianMacros.cuh +16 -0
  403. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionBackward.cu +485 -0
  404. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionBackward.h +83 -0
  405. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionForward.cu +358 -0
  406. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionForward.h +70 -0
  407. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedBackward.cu +423 -0
  408. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedBackward.h +74 -0
  409. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedForward.cu +304 -0
  410. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedForward.h +69 -0
  411. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterize.cuh +378 -0
  412. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeBackward.cu +1423 -0
  413. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeBackward.h +159 -0
  414. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeForward.cu +652 -0
  415. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeForward.h +106 -0
  416. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeNumContributingGaussians.cu +478 -0
  417. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeNumContributingGaussians.h +49 -0
  418. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeTopContributingGaussianIds.cu +597 -0
  419. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeTopContributingGaussianIds.h +50 -0
  420. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRenderSettings.h +40 -0
  421. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsBackward.cu +491 -0
  422. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsBackward.h +53 -0
  423. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsForward.cu +306 -0
  424. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsForward.h +46 -0
  425. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSplatSparse.cu +356 -0
  426. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSplatSparse.h +52 -0
  427. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianTileIntersection.cu +650 -0
  428. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianTileIntersection.h +45 -0
  429. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianUtils.cuh +467 -0
  430. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianVectorTypes.cuh +128 -0
  431. fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianWarpUtils.cuh +112 -0
  432. fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedReduce.cu +265 -0
  433. fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedReduce.h +40 -0
  434. fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedSort.cu +157 -0
  435. fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedSort.h +21 -0
  436. fvdb_core-0.2.1/src/fvdb/detail/utils/AccessorHelpers.cuh +106 -0
  437. fvdb_core-0.2.1/src/fvdb/detail/utils/BezierInterpolationIterator.h +109 -0
  438. fvdb_core-0.2.1/src/fvdb/detail/utils/BezierInterpolationWithGradIterator.h +126 -0
  439. fvdb_core-0.2.1/src/fvdb/detail/utils/ForEachCPU.h +225 -0
  440. fvdb_core-0.2.1/src/fvdb/detail/utils/MarchingCubesData.h +320 -0
  441. fvdb_core-0.2.1/src/fvdb/detail/utils/Nvtx.h +117 -0
  442. fvdb_core-0.2.1/src/fvdb/detail/utils/TrilinearInterpolationIterator.h +131 -0
  443. fvdb_core-0.2.1/src/fvdb/detail/utils/TrilinearInterpolationWithGradIterator.h +137 -0
  444. fvdb_core-0.2.1/src/fvdb/detail/utils/Utils.h +358 -0
  445. fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/Atomics.cuh +362 -0
  446. fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/ForEachCUDA.cu +42 -0
  447. fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/ForEachCUDA.cuh +589 -0
  448. fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/ForEachPrivateUse1.cuh +226 -0
  449. fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/GridDim.h +38 -0
  450. fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/RAIIRawDeviceBuffer.h +69 -0
  451. fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/Utils.cuh +22 -0
  452. fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/ActiveVoxelIterator.h +211 -0
  453. fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/CreateEmptyGridHandle.h +37 -0
  454. fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/HDDAIterators.h +240 -0
  455. fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/Printing.h +22 -0
  456. fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/TorchNanoConversions.h +134 -0
  457. fvdb_core-0.2.1/src/fvdb/detail/viewer/CameraView.h +106 -0
  458. fvdb_core-0.2.1/src/fvdb/detail/viewer/GaussianSplat3dView.cpp +24 -0
  459. fvdb_core-0.2.1/src/fvdb/detail/viewer/GaussianSplat3dView.h +111 -0
  460. fvdb_core-0.2.1/src/fvdb/detail/viewer/Viewer.cpp +342 -0
  461. fvdb_core-0.2.1/src/fvdb/detail/viewer/Viewer.h +82 -0
  462. fvdb_core-0.2.1/src/python/Bindings.cpp +474 -0
  463. fvdb_core-0.2.1/src/python/FusedSSIMBinding.cpp +17 -0
  464. fvdb_core-0.2.1/src/python/GaussianSplatBinding.cpp +342 -0
  465. fvdb_core-0.2.1/src/python/GridBatchBinding.cpp +895 -0
  466. fvdb_core-0.2.1/src/python/JaggedTensorBinding.cpp +353 -0
  467. fvdb_core-0.2.1/src/python/TypeCasters.h +163 -0
  468. fvdb_core-0.2.1/src/python/ViewerBinding.cpp +171 -0
  469. fvdb_core-0.2.1/src/scripts/run_clang_format.sh +26 -0
  470. fvdb_core-0.2.1/src/tests/CMakeLists.txt +151 -0
  471. fvdb_core-0.2.1/src/tests/ExampleTest.cpp +13 -0
  472. fvdb_core-0.2.1/src/tests/GaussianComputeNanInfMaskTest.cpp +147 -0
  473. fvdb_core-0.2.1/src/tests/GaussianComputeSparseInfoTest.cpp +345 -0
  474. fvdb_core-0.2.1/src/tests/GaussianProjectionBackwardTest.cpp +489 -0
  475. fvdb_core-0.2.1/src/tests/GaussianProjectionForwardTest.cpp +222 -0
  476. fvdb_core-0.2.1/src/tests/GaussianRasterizeBackwardTest.cpp +1057 -0
  477. fvdb_core-0.2.1/src/tests/GaussianRasterizeForwardTest.cpp +657 -0
  478. fvdb_core-0.2.1/src/tests/GaussianRasterizeTopContributorsTest.cpp +301 -0
  479. fvdb_core-0.2.1/src/tests/GaussianSphericalHarmonicsBackwardTest.cpp +518 -0
  480. fvdb_core-0.2.1/src/tests/GaussianSphericalHarmonicsForwardTest.cpp +265 -0
  481. fvdb_core-0.2.1/src/tests/GaussianTileIntersectionTest.cpp +654 -0
  482. fvdb_core-0.2.1/src/tests/JaggedTensorTest.cpp +923 -0
  483. fvdb_core-0.2.1/src/tests/PackedJaggedAccessorTest.cu +330 -0
  484. fvdb_core-0.2.1/src/tests/README.md +23 -0
  485. fvdb_core-0.2.1/src/tests/ViewerTest.cpp +97 -0
  486. fvdb_core-0.2.1/src/tests/scripts/generate_gaussian_splat_dataset.py +287 -0
  487. fvdb_core-0.2.1/src/tests/scripts/generate_top_gaussian_contributor_dataset.py +182 -0
  488. fvdb_core-0.2.1/src/tests/scripts/load_and_print_tensors.py +295 -0
  489. fvdb_core-0.2.1/src/tests/scripts/write_rasterize_forward_test_data.py +104 -0
  490. fvdb_core-0.2.1/src/tests/utils/ImageUtils.cpp +133 -0
  491. fvdb_core-0.2.1/src/tests/utils/ImageUtils.h +22 -0
  492. fvdb_core-0.2.1/src/tests/utils/Tensor.cpp +164 -0
  493. fvdb_core-0.2.1/src/tests/utils/Tensor.h +106 -0
  494. fvdb_core-0.2.1/src/tests/utils/TestUtilities.h +41 -0
  495. fvdb_core-0.2.1/src/tests/utils/TileBitMask.h +121 -0
  496. fvdb_core-0.2.1/tests/unit/__init__.py +7 -0
  497. fvdb_core-0.2.1/tests/unit/test_accessors.py +55 -0
  498. fvdb_core-0.2.1/tests/unit/test_basic_ops.py +1778 -0
  499. fvdb_core-0.2.1/tests/unit/test_basic_ops_single.py +1478 -0
  500. fvdb_core-0.2.1/tests/unit/test_batching.py +646 -0
  501. fvdb_core-0.2.1/tests/unit/test_dense_interface.py +909 -0
  502. fvdb_core-0.2.1/tests/unit/test_dual.py +97 -0
  503. fvdb_core-0.2.1/tests/unit/test_empty_grids.py +361 -0
  504. fvdb_core-0.2.1/tests/unit/test_gsplat.py +2137 -0
  505. fvdb_core-0.2.1/tests/unit/test_inject.py +764 -0
  506. fvdb_core-0.2.1/tests/unit/test_io.py +332 -0
  507. fvdb_core-0.2.1/tests/unit/test_jagged_tensor.py +2559 -0
  508. fvdb_core-0.2.1/tests/unit/test_metrics.py +101 -0
  509. fvdb_core-0.2.1/tests/unit/test_ray_marching.py +699 -0
  510. fvdb_core-0.2.1/tests/unit/test_sample.py +886 -0
  511. fvdb_core-0.2.1/tests/unit/test_types.py +843 -0
  512. fvdb_core-0.2.1/tests/unit/test_utils.py +191 -0
  513. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/README.md +56 -0
  514. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/comparative_benchmark.py +193 -0
  515. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/conftest.py +62 -0
  516. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/configs.py +128 -0
  517. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/dataset.py +84 -0
  518. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/model/minkunet.py +184 -0
  519. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/model/updown.py +39 -0
  520. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/model/xcube.py +160 -0
  521. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/utils.py +106 -0
  522. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/wrapper.py +265 -0
  523. fvdb_core-0.2.1/tests/wip/benchmark/benchmark/test_conv.py +47 -0
  524. fvdb_core-0.2.1/tests/wip/unit/test_conv.py +751 -0
  525. fvdb_core-0.2.1/tests/wip/unit/test_convolution_plan.py +305 -0
  526. fvdb_core-0.2.1/tests/wip/unit/test_nn.py +472 -0
@@ -0,0 +1,139 @@
1
+ ---
2
+ Language: Cpp
3
+ Standard: c++20
4
+
5
+ # Indentation
6
+ TabWidth: 4
7
+ IndentWidth: 4
8
+ UseTab: Never
9
+ IndentPPDirectives: None
10
+ IndentWrappedFunctionNames: false
11
+ NamespaceIndentation: None
12
+
13
+ # Empty lines
14
+ KeepEmptyLinesAtTheStartOfBlocks: false
15
+ MaxEmptyLinesToKeep: 1
16
+
17
+ # Line length
18
+ ColumnLimit: 100
19
+
20
+ # Line endings
21
+ DeriveLineEnding: false
22
+ LineEnding: LF
23
+
24
+ # Breaking and Penalties
25
+ BreakBeforeBinaryOperators: None
26
+ BreakBeforeBraces: Attach
27
+ BreakBeforeTernaryOperators: true
28
+ BreakConstructorInitializersBeforeComma: false
29
+ BreakInheritanceList: BeforeColon
30
+ BreakStringLiterals: false
31
+
32
+ PenaltyBreakAssignment: 2
33
+ PenaltyBreakBeforeFirstCallParameter: 19
34
+ PenaltyBreakComment: 300
35
+ PenaltyBreakFirstLessLess: 120
36
+ PenaltyBreakString: 1000
37
+ PenaltyExcessCharacter: 1000000
38
+ PenaltyReturnTypeOnItsOwnLine: 60
39
+
40
+ # Spacing and padding
41
+ SpaceAfterCStyleCast: false
42
+ SpaceAfterTemplateKeyword: true
43
+ SpaceAfterLogicalNot: false
44
+ SpaceAfterControlStatementKeyword: true
45
+ SpaceBeforeAssignmentOperators: true
46
+ SpaceBeforeParens: ControlStatements
47
+ SpaceBeforeRangeBasedForLoopColon: false
48
+ SpaceInEmptyParentheses: false
49
+ SpacesInAngles: false
50
+ SpacesInContainerLiterals: false
51
+ SpacesInCStyleCastParentheses: false
52
+ SpacesInParentheses: false
53
+ SpacesBeforeTrailingComments: 1
54
+ SpaceBeforeCpp11BracedList: false
55
+ SpaceBeforeCtorInitializerColon: true
56
+ SpaceBeforeInheritanceColon: true
57
+ SpaceBeforeSquareBrackets: false
58
+ SpacesInSquareBrackets: false
59
+ SpaceBeforeCaseColon: false
60
+
61
+ # Brace placement
62
+ BraceWrapping:
63
+ AfterClass: false
64
+ AfterControlStatement: false
65
+ AfterEnum: false
66
+ AfterFunction: false
67
+ AfterNamespace: false
68
+ AfterStruct: false
69
+ AfterUnion: false
70
+ BeforeCatch: false
71
+ BeforeElse: false
72
+ IndentBraces: false
73
+ SplitEmptyFunction: false
74
+ SplitEmptyRecord: false
75
+ SplitEmptyNamespace: false
76
+ Cpp11BracedListStyle: true
77
+
78
+ # Function definitions
79
+ # BreakAfterReturnType: AllDefinitions
80
+ AlwaysBreakAfterDefinitionReturnType: All
81
+
82
+ AttributeMacros:
83
+ - __host__
84
+ - __device__
85
+ - __hostdev__
86
+ - __global__
87
+ - __forceinline__
88
+ - __shared__
89
+ - __launch_bounds__
90
+
91
+ # Alignment
92
+ AlignConsecutiveAssignments: true
93
+ AlignConsecutiveBitFields: true
94
+ AlignConsecutiveDeclarations: false
95
+ AlignConsecutiveMacros: true
96
+ AlignEscapedNewlines: Left
97
+ AlignOperands: true
98
+ AlignTrailingComments:
99
+ Kind: Always
100
+ OverEmptyLines: 2
101
+
102
+ # Single line allowances
103
+ BinPackParameters: false
104
+ BinPackArguments: false
105
+ AllowAllArgumentsOnNextLine: true
106
+ AllowAllConstructorInitializersOnNextLine: true
107
+ AllowAllParametersOfDeclarationOnNextLine: true
108
+ AllowShortBlocksOnASingleLine: true
109
+ AllowShortCaseLabelsOnASingleLine: true
110
+ AllowShortEnumsOnASingleLine: true
111
+ AllowShortFunctionsOnASingleLine: Inline
112
+ AllowShortIfStatementsOnASingleLine: false
113
+ AllowShortLambdasOnASingleLine: true
114
+ AllowShortLoopsOnASingleLine: false
115
+
116
+ # Sorting
117
+ IncludeBlocks: Regroup
118
+ IncludeIsMainRegex: "$"
119
+ IncludeCategories:
120
+ - Regex: '^"' # quoted includes
121
+ Priority: 1
122
+ - Regex: '^<fvdb/' # fvdb includes
123
+ Priority: 2
124
+ - Regex: '^<nanovdb/' # nanovdb includes
125
+ Priority: 3
126
+ - Regex: '^<(torch|c10|THC|ATen)/' # torch includes
127
+ Priority: 4
128
+ - Regex: '^<(thrust|cub|cuda)/' # CCCL includes
129
+ Priority: 5
130
+ - Regex: '^<(cooperative_groups|cuco|cuda.h|cuda_|device_types|math_constants|nvtx3|cute)' # CUDA includes
131
+ Priority: 6
132
+ - Regex: '^<.*\..*' # other system includes (e.g. with a '.')
133
+ Priority: 7
134
+ - Regex: '^<[^.]+' # STL includes (no '.')
135
+ Priority: 8
136
+ IncludeIsMainSourceRegex: "$"
137
+ SortIncludes: true
138
+ SortUsingDeclarations: true
139
+
@@ -0,0 +1,72 @@
1
+ # https://clangd.llvm.org/config
2
+
3
+ # Apply a config conditionally to all C files
4
+ If:
5
+ PathMatch: .*\.(c|h)$
6
+
7
+ ---
8
+
9
+ # Apply a config conditionally to all C++ files
10
+ If:
11
+ PathMatch: .*\.(c|h)pp
12
+
13
+ ---
14
+
15
+ # Apply a config conditionally to all CUDA files
16
+ If:
17
+ PathMatch: .*\.cuh?
18
+ CompileFlags:
19
+ Add:
20
+ - "-x"
21
+ - "cuda"
22
+ # No error on unknown CUDA versions
23
+ - "-Wno-unknown-cuda-version"
24
+ # Allow variadic CUDA functions
25
+ - "-Xclang=-fcuda-allow-variadic-functions"
26
+ Diagnostics:
27
+ Suppress:
28
+ - "variadic_device_fn"
29
+ - "attributes_not_allowed"
30
+ - "unknown_cuda_version"
31
+ - "unknown_type_name"
32
+ - "implicit_return_from_non_void_function"
33
+ - "no_template_args_on_forwarding_function"
34
+
35
+ ---
36
+
37
+ # Tweak the clangd parse settings for all files
38
+ CompileFlags:
39
+ Add:
40
+ # report all errors
41
+ - "-ferror-limit=0"
42
+ - "-fmacro-backtrace-limit=0"
43
+ - "-ftemplate-backtrace-limit=0"
44
+ # Skip the CUDA version check
45
+ - "--no-cuda-version-check"
46
+ Remove:
47
+ # remove gcc's -fcoroutines
48
+ - -fcoroutines
49
+ # remove nvc++ flags unknown to clang
50
+ - "-gpu=*"
51
+ - "-stdpar*"
52
+ # remove nvcc flags unknown to clang
53
+ - "-arch*"
54
+ - "-gencode*"
55
+ - "--generate-code*"
56
+ - "-ccbin*"
57
+ - "-t=*"
58
+ - "--threads*"
59
+ - "-Xptxas*"
60
+ - "-Xcudafe*"
61
+ - "-Xfatbin*"
62
+ - "-Xcompiler*"
63
+ - "--diag-suppress*"
64
+ - "--diag_suppress*"
65
+ - "--compiler-options*"
66
+ - "--extended-lambda"
67
+ - "--expt-extended-lambda"
68
+ - "--expt-relaxed-constexpr"
69
+ - "-forward-unknown-to-host-compiler"
70
+ - "-Werror=cross-execution-space-call"
71
+ - "-Werror=all-warnings"
72
+ - "-G"
@@ -0,0 +1,19 @@
1
+ FROM nvidia/cuda:12.8.1-cudnn-devel-ubuntu22.04
2
+
3
+ # Set environment variables to prevent interactive prompts during installation.
4
+ ENV DEBIAN_FRONTEND=noninteractive
5
+
6
+ # Install Python
7
+ RUN apt-get update && \
8
+ apt-get install -y python3-pip python3-dev python-is-python3 ca-certificates gpg curl wget git sudo && \
9
+ rm -rf /var/lib/apt/lists/* && \
10
+ python -m pip install --upgrade pip
11
+
12
+ # Install CMake
13
+ RUN mkdir ~/temp && \
14
+ cd ~/temp && \
15
+ wget -nv https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-linux-x86_64.sh && \
16
+ mkdir /opt/cmake && \
17
+ sh cmake-4.0.3-linux-x86_64.sh --prefix=/usr/local --skip-license && \
18
+ cmake --version
19
+
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "FVDB Development Environment",
3
+
4
+ // Ensure SSH agent is running before starting
5
+ "initializeCommand": "test -z \"$SSH_AUTH_SOCK\" && eval \"$(ssh-agent -s)\" || true",
6
+
7
+ "dockerComposeFile": [
8
+ "docker-compose.yml"
9
+ ],
10
+ "service": "fvdb-dev",
11
+ "workspaceFolder": "/openvdb/fvdb",
12
+
13
+ "remoteUser": "coder",
14
+
15
+ "features": {
16
+ "ghcr.io/devcontainers/features/common-utils:2": {
17
+ "username": "coder",
18
+ "uid": "1001",
19
+ "gid": "1001",
20
+ "installSudo": true,
21
+ "upgradePackages": true
22
+ }
23
+ },
24
+
25
+ // Single source of truth for creating the dev environment.
26
+ // We use 'bash -i -c' to ensure the shell is interactive, which properly
27
+ // sources the .bashrc and activates conda before running the command.
28
+ "postCreateCommand": "pip install --no-cache-dir -r /openvdb/fvdb/env/build_requirements.txt",
29
+
30
+ // This runs after you connect, good for user-specific setup like SSH.
31
+ "postAttachCommand": "rm -rf ~/.ssh && ln -sfn /tmp/.ssh-localhost ~/.ssh",
32
+
33
+ // Mount SSH keys directory
34
+ "mounts": [
35
+ "source=${localEnv:HOME}/.ssh,target=/tmp/.ssh-localhost,type=bind,readonly"
36
+ ],
37
+
38
+ // Extensions to install inside the container's VS Code server
39
+ "customizations": {
40
+ "vscode": {
41
+ "extensions": [
42
+ "llvm-vs-code-extensions.vscode-clangd",
43
+ "ms-azuretools.vscode-docker",
44
+ "ms-python.black-formatter",
45
+ "ms-python.debugpy",
46
+ "ms-python.isort",
47
+ "ms-python.python",
48
+ "ms-python.python",
49
+ "ms-python.vscode-pylance",
50
+ "ms-toolsai.tensorboard",
51
+ "ms-vscode.cmake-tools",
52
+ "ms-vscode.cpptools-extension-pack",
53
+ "ms-vscode.cpptools",
54
+ "rodolphebarbanneau.python-docstring-highlighter",
55
+ "Seaube.clangformat",
56
+ ],
57
+ "settings": {
58
+ "python.defaultInterpreterPath": "/opt/conda/envs/fvdb/bin/python",
59
+ "remote.SSH.enableAgentForwarding": true,
60
+ "remote.containers.sshAgentSocketMount": true
61
+ }
62
+ }
63
+ },
64
+
65
+ "shutdownAction": "stopCompose"
66
+ }
67
+
@@ -0,0 +1,19 @@
1
+ services:
2
+ fvdb-dev:
3
+ build:
4
+ context: ../../../
5
+ dockerfile: fvdb/.devcontainer/cu128/Dockerfile.dev
6
+
7
+ command: sleep infinity
8
+ volumes:
9
+ - ../../../:/openvdb
10
+
11
+ environment:
12
+ - NVIDIA_VISIBLE_DEVICES=all
13
+ deploy:
14
+ resources:
15
+ reservations:
16
+ devices:
17
+ - driver: nvidia
18
+ count: all
19
+ capabilities: [gpu]
@@ -0,0 +1,19 @@
1
+ FROM nvidia/cuda:12.9.1-cudnn-devel-ubuntu22.04
2
+
3
+ # Set environment variables to prevent interactive prompts during installation.
4
+ ENV DEBIAN_FRONTEND=noninteractive
5
+
6
+ # Install Python
7
+ RUN apt-get update && \
8
+ apt-get install -y python3-pip python3-dev python-is-python3 ca-certificates gpg curl wget git sudo && \
9
+ rm -rf /var/lib/apt/lists/* && \
10
+ python -m pip install --upgrade pip
11
+
12
+ # Install CMake
13
+ RUN mkdir ~/temp && \
14
+ cd ~/temp && \
15
+ wget -nv https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-linux-x86_64.sh && \
16
+ mkdir /opt/cmake && \
17
+ sh cmake-4.0.3-linux-x86_64.sh --prefix=/usr/local --skip-license && \
18
+ cmake --version
19
+
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "FVDB Development Environment",
3
+
4
+ // Ensure SSH agent is running before starting
5
+ "initializeCommand": "test -z \"$SSH_AUTH_SOCK\" && eval \"$(ssh-agent -s)\" || true",
6
+
7
+ "dockerComposeFile": [
8
+ "docker-compose.yml"
9
+ ],
10
+ "service": "fvdb-dev",
11
+ "workspaceFolder": "/openvdb/fvdb",
12
+
13
+ "remoteUser": "coder",
14
+
15
+ "features": {
16
+ "ghcr.io/devcontainers/features/common-utils:2": {
17
+ "username": "coder",
18
+ "uid": "1001",
19
+ "gid": "1001",
20
+ "installSudo": true,
21
+ "upgradePackages": true
22
+ }
23
+ },
24
+
25
+ // Single source of truth for creating the dev environment.
26
+ // We use 'bash -i -c' to ensure the shell is interactive, which properly
27
+ // sources the .bashrc and activates conda before running the command.
28
+ "postCreateCommand": "pip install --no-cache-dir -r /openvdb/fvdb/env/build_requirements.txt",
29
+
30
+ // This runs after you connect, good for user-specific setup like SSH.
31
+ "postAttachCommand": "rm -rf ~/.ssh && ln -sfn /tmp/.ssh-localhost ~/.ssh",
32
+
33
+ // Mount SSH keys directory
34
+ "mounts": [
35
+ "source=${localEnv:HOME}/.ssh,target=/tmp/.ssh-localhost,type=bind,readonly"
36
+ ],
37
+
38
+ // Extensions to install inside the container's VS Code server
39
+ "customizations": {
40
+ "vscode": {
41
+ "extensions": [
42
+ "llvm-vs-code-extensions.vscode-clangd",
43
+ "ms-azuretools.vscode-docker",
44
+ "ms-python.black-formatter",
45
+ "ms-python.debugpy",
46
+ "ms-python.isort",
47
+ "ms-python.python",
48
+ "ms-python.python",
49
+ "ms-python.vscode-pylance",
50
+ "ms-toolsai.tensorboard",
51
+ "ms-vscode.cmake-tools",
52
+ "ms-vscode.cpptools-extension-pack",
53
+ "ms-vscode.cpptools",
54
+ "rodolphebarbanneau.python-docstring-highlighter",
55
+ "Seaube.clangformat",
56
+ ],
57
+ "settings": {
58
+ "python.defaultInterpreterPath": "/opt/conda/envs/fvdb/bin/python",
59
+ "remote.SSH.enableAgentForwarding": true,
60
+ "remote.containers.sshAgentSocketMount": true
61
+ }
62
+ }
63
+ },
64
+
65
+ "shutdownAction": "stopCompose"
66
+ }
67
+
@@ -0,0 +1,19 @@
1
+ services:
2
+ fvdb-dev:
3
+ build:
4
+ context: ../../../
5
+ dockerfile: fvdb/.devcontainer/cu129/Dockerfile.dev
6
+
7
+ command: sleep infinity
8
+ volumes:
9
+ - ../../../:/openvdb
10
+
11
+ environment:
12
+ - NVIDIA_VISIBLE_DEVICES=all
13
+ deploy:
14
+ resources:
15
+ reservations:
16
+ devices:
17
+ - driver: nvidia
18
+ count: all
19
+ capabilities: [gpu]
@@ -0,0 +1,35 @@
1
+ # Start from the official NVIDIA CUDA development image.
2
+ # This matches fvdb's requirement for CUDA 12.0 and provides a full Ubuntu 22.04 OS.
3
+ FROM nvidia/cuda:12.0.1-devel-ubuntu22.04
4
+
5
+ # Set environment variables to prevent interactive prompts during installation.
6
+ ENV DEBIAN_FRONTEND=noninteractive
7
+
8
+ # Install basic system dependencies and developer tools.
9
+ # sudo is critical for the devcontainer common-utils feature to work.
10
+ RUN apt-get update && apt-get install -y \
11
+ curl \
12
+ wget \
13
+ git \
14
+ sudo \
15
+ && rm -rf /var/lib/apt/lists/*
16
+
17
+ # Delete the non-root user created by the base image.
18
+ RUN if grep ubuntu:x:1000:1000 /etc/passwd >/dev/null; then userdel -f -r ubuntu; fi
19
+
20
+ # Download and install Miniforge (Conda).
21
+ # This installs Conda into a standard location.
22
+ RUN wget \
23
+ "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \
24
+ -O /tmp/miniforge.sh && \
25
+ bash /tmp/miniforge.sh -b -p /opt/conda && \
26
+ rm /tmp/miniforge.sh
27
+
28
+ # Add Conda to the system's PATH for all users and initialize it.
29
+ # This ensures that 'conda' is available in shells
30
+ ENV PATH="/opt/conda/bin:${PATH}"
31
+ #RUN conda init bash
32
+
33
+ # IMPORTANT: We do NOT add a USER, CMD, or ENTRYPOINT here.
34
+ # User creation will be handled by the 'common-utils' feature.
35
+ # The container lifecycle (CMD/ENTRYPOINT) will be handled by Docker Compose.
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "FVDB Development Environment",
3
+
4
+ // Ensure SSH agent is running before starting
5
+ "initializeCommand": "test -z \"$SSH_AUTH_SOCK\" && eval \"$(ssh-agent -s)\" || true",
6
+
7
+ "dockerComposeFile": [
8
+ "docker-compose.yml"
9
+ ],
10
+ "service": "fvdb-dev",
11
+ "workspaceFolder": "/openvdb/fvdb",
12
+
13
+ "remoteUser": "coder",
14
+
15
+ "features": {
16
+ "ghcr.io/devcontainers/features/common-utils:2": {
17
+ "username": "coder",
18
+ "uid": "1001",
19
+ "gid": "1001",
20
+ "installSudo": true,
21
+ "upgradePackages": true
22
+ }
23
+ },
24
+
25
+ // Single source of truth for creating the dev environment.
26
+ // We use 'bash -i -c' to ensure the shell is interactive, which properly
27
+ // sources the .bashrc and activates conda before running the command.
28
+ "postCreateCommand": "bash -i -c 'conda init bash && conda env create -f /openvdb/fvdb/env/dev_environment.yml && conda clean -afy && echo \"conda activate fvdb\" >> ~/.bashrc'",
29
+
30
+ // This runs after you connect, good for user-specific setup like SSH.
31
+ "postAttachCommand": "rm -rf ~/.ssh && ln -sfn /tmp/.ssh-localhost ~/.ssh",
32
+
33
+ // Mount SSH keys directory
34
+ "mounts": [
35
+ "source=${localEnv:HOME}/.ssh,target=/tmp/.ssh-localhost,type=bind,readonly"
36
+ ],
37
+
38
+ // Extensions to install inside the container's VS Code server
39
+ "customizations": {
40
+ "vscode": {
41
+ "extensions": [
42
+ "llvm-vs-code-extensions.vscode-clangd",
43
+ "ms-azuretools.vscode-docker",
44
+ "ms-python.black-formatter",
45
+ "ms-python.debugpy",
46
+ "ms-python.isort",
47
+ "ms-python.python",
48
+ "ms-python.python",
49
+ "ms-python.vscode-pylance",
50
+ "ms-toolsai.tensorboard",
51
+ "ms-vscode.cmake-tools",
52
+ "ms-vscode.cpptools-extension-pack",
53
+ "ms-vscode.cpptools",
54
+ "rodolphebarbanneau.python-docstring-highlighter",
55
+ "Seaube.clangformat",
56
+ ],
57
+ "settings": {
58
+ "python.defaultInterpreterPath": "/opt/conda/envs/fvdb/bin/python",
59
+ "remote.SSH.enableAgentForwarding": true,
60
+ "remote.containers.sshAgentSocketMount": true
61
+ }
62
+ }
63
+ },
64
+
65
+ "shutdownAction": "stopCompose"
66
+ }
67
+
@@ -0,0 +1,19 @@
1
+ services:
2
+ fvdb-dev:
3
+ build:
4
+ context: ../../../
5
+ dockerfile: fvdb/.devcontainer/default/Dockerfile.dev
6
+
7
+ command: sleep infinity
8
+ volumes:
9
+ - ../../../:/openvdb
10
+
11
+ environment:
12
+ - NVIDIA_VISIBLE_DEVICES=all
13
+ deploy:
14
+ resources:
15
+ reservations:
16
+ devices:
17
+ - driver: nvidia
18
+ count: all
19
+ capabilities: [gpu]
@@ -0,0 +1,70 @@
1
+ # Ignore everything that should not be sent to the Docker build context
2
+ # Keeps builds fast and prevents host artifacts from leaking into the image
3
+
4
+ # Python
5
+ __pycache__/
6
+ *.py[cod]
7
+ *.pyo
8
+ *.pyd
9
+ *.so
10
+ .pytest_cache/
11
+ .mypy_cache/
12
+ .ruff_cache/
13
+ .pytest_cache/
14
+ .hypothesis/
15
+ .coverage
16
+ coverage.xml
17
+ .nox/
18
+ .tox/
19
+
20
+ # Virtual envs
21
+ venv/
22
+ .venv/
23
+ ENV/
24
+
25
+ # Jupyter
26
+ .ipynb_checkpoints/
27
+
28
+ # Build systems: scikit-build, CMake, wheels, sdist
29
+ build/
30
+ dist/
31
+ *.egg-info/
32
+ *.egg
33
+ *.whl
34
+ *.tar.gz
35
+ compile_commands.json
36
+
37
+ # CMake & caches
38
+ CMakeFiles/
39
+ CMakeCache.txt
40
+ cmake-build*/
41
+ _skbuild/
42
+
43
+ # Editors/OS
44
+ .DS_Store
45
+ *.swp
46
+ *.swo
47
+ .idea/
48
+ .vscode/
49
+
50
+ # Logs
51
+ *.log
52
+
53
+ # Docker (do not ignore Dockerfile or compose; needed for build)
54
+ # .dockerignore itself is harmless to include; leave it
55
+
56
+ # Git (context excludes .git by default via CLI, but keep explicit)
57
+ .git/
58
+ .gitignore
59
+
60
+ # Data and artifacts
61
+ **/.cache/
62
+ cache/
63
+ tmp/
64
+ temp/
65
+ *.tmp
66
+
67
+ # Project specifics
68
+ notebooks/.local/
69
+ docs/_build/
70
+