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.
- fvdb_core-0.2.1/.clang-format +139 -0
- fvdb_core-0.2.1/.clangd +72 -0
- fvdb_core-0.2.1/.devcontainer/cu128/Dockerfile.dev +19 -0
- fvdb_core-0.2.1/.devcontainer/cu128/devcontainer.json +67 -0
- fvdb_core-0.2.1/.devcontainer/cu128/docker-compose.yml +19 -0
- fvdb_core-0.2.1/.devcontainer/cu129/Dockerfile.dev +19 -0
- fvdb_core-0.2.1/.devcontainer/cu129/devcontainer.json +67 -0
- fvdb_core-0.2.1/.devcontainer/cu129/docker-compose.yml +19 -0
- fvdb_core-0.2.1/.devcontainer/default/Dockerfile.dev +35 -0
- fvdb_core-0.2.1/.devcontainer/default/devcontainer.json +67 -0
- fvdb_core-0.2.1/.devcontainer/default/docker-compose.yml +19 -0
- fvdb_core-0.2.1/.dockerignore +70 -0
- fvdb_core-0.2.1/.github/workflows/codestyle.yml +85 -0
- fvdb_core-0.2.1/.github/workflows/cu128-nightly.yml +307 -0
- fvdb_core-0.2.1/.github/workflows/cu128.yml +525 -0
- fvdb_core-0.2.1/.github/workflows/cu129-nightly.yml +305 -0
- fvdb_core-0.2.1/.github/workflows/cu129.yml +511 -0
- fvdb_core-0.2.1/.github/workflows/nightly.yml +260 -0
- fvdb_core-0.2.1/.github/workflows/tests.yml +423 -0
- fvdb_core-0.2.1/.gitignore +64 -0
- fvdb_core-0.2.1/.gitlab-ci.yml +30 -0
- fvdb_core-0.2.1/.vscode/c_cpp_properties.json +51 -0
- fvdb_core-0.2.1/.vscode/extensions.json +26 -0
- fvdb_core-0.2.1/.vscode/settings.json +88 -0
- fvdb_core-0.2.1/CMakeLists.txt +103 -0
- fvdb_core-0.2.1/CODEOWNERS +6 -0
- fvdb_core-0.2.1/CODE_OF_CONDUCT.md +1 -0
- fvdb_core-0.2.1/CONTRIBUTING.md +89 -0
- fvdb_core-0.2.1/Dockerfile +22 -0
- fvdb_core-0.2.1/LICENSE +176 -0
- fvdb_core-0.2.1/MAINTAINERS.md +19 -0
- fvdb_core-0.2.1/PKG-INFO +5 -0
- fvdb_core-0.2.1/README.md +285 -0
- fvdb_core-0.2.1/build.sh +283 -0
- fvdb_core-0.2.1/docker-compose.yml +35 -0
- fvdb_core-0.2.1/docs/api/grid.rst +5 -0
- fvdb_core-0.2.1/docs/api/grid_batch.rst +5 -0
- fvdb_core-0.2.1/docs/api/jagged_tensor.rst +5 -0
- fvdb_core-0.2.1/docs/api/nn.rst +58 -0
- fvdb_core-0.2.1/docs/api/utils.rst +4 -0
- fvdb_core-0.2.1/docs/conf.py +91 -0
- fvdb_core-0.2.1/docs/imgs/fig/Minibatch.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/Minibatch2.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/build_coarse_subdivide.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/build_dual.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/build_from_coordinates.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/build_from_dense.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/build_from_mesh.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/build_from_points.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/build_from_points_nn.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/clip.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/coords_in_grid.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/cubes_inside_grid.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/cubes_intersect_grid.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/gridbatch.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/gridbatch_conv.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor1.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor2.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor3.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/jaggedtensor4.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/max_avg_pool.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/mg_mask.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/mg_origin.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/mg_pts_after.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/mg_pts_before.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/mutable_grid.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/neighbor_indexes.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/pts_in_grid.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/sampling_1.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/sampling_2.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/screenshot_000000.png.trim.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/screenshot_000004.png.trim.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/screenshot_000006.png.trim.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/simple_conv.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/stride_conv.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/struct_mask.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/struct_optim.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/subdiv_mask.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/subdiv_pool_correct.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/subdiv_pool_incorrect.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/subdivide.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fig/transposed_stride_conv.png +0 -0
- fvdb_core-0.2.1/docs/imgs/fvdb_teaser.png +0 -0
- fvdb_core-0.2.1/docs/imgs/grid_ops/grid_creation.png +0 -0
- fvdb_core-0.2.1/docs/imgs/grid_ops/raymarch_implicit_field.png +0 -0
- fvdb_core-0.2.1/docs/imgs/grid_ops/stencil_dilate.png +0 -0
- fvdb_core-0.2.1/docs/imgs/grid_ops/stencil_shrink.png +0 -0
- fvdb_core-0.2.1/docs/imgs/grid_ops/voxels_along_rays.png +0 -0
- fvdb_core-0.2.1/docs/imgs/readme/av_screenshot.png +0 -0
- fvdb_core-0.2.1/docs/imgs/readme/fitsdf.png +0 -0
- fvdb_core-0.2.1/docs/imgs/readme/rayseg.png +0 -0
- fvdb_core-0.2.1/docs/imgs/readme/rayvox.png +0 -0
- fvdb_core-0.2.1/docs/imgs/readme/splat.png +0 -0
- fvdb_core-0.2.1/docs/imgs/readme/trilerp.png +0 -0
- fvdb_core-0.2.1/docs/index.rst +56 -0
- fvdb_core-0.2.1/docs/markdown/clangd.md +60 -0
- fvdb_core-0.2.1/docs/markdown/docker_readme.md +103 -0
- fvdb_core-0.2.1/docs/tutorials/basic_concepts.md +87 -0
- fvdb_core-0.2.1/docs/tutorials/basic_grid_ops.md +725 -0
- fvdb_core-0.2.1/docs/tutorials/building_grids.md +165 -0
- fvdb_core-0.2.1/docs/tutorials/io.md +150 -0
- fvdb_core-0.2.1/docs/tutorials/ray_tracing.md +151 -0
- fvdb_core-0.2.1/docs/tutorials/single_grid.md +86 -0
- fvdb_core-0.2.1/docs/tutorials/volume_rendering.md +641 -0
- fvdb_core-0.2.1/docs/tutorials/wip/basic_convolution.md +141 -0
- fvdb_core-0.2.1/docs/tutorials/wip/simple_unet.md +272 -0
- fvdb_core-0.2.1/env/blosc.patch +23 -0
- fvdb_core-0.2.1/env/build_environment.yml +43 -0
- fvdb_core-0.2.1/env/build_requirements.txt +6 -0
- fvdb_core-0.2.1/env/cutlass.patch +24 -0
- fvdb_core-0.2.1/env/dev_environment.yml +80 -0
- fvdb_core-0.2.1/env/learn_environment.yml +44 -0
- fvdb_core-0.2.1/env/release_base_environment.yml +26 -0
- fvdb_core-0.2.1/env/test_environment.yml +51 -0
- fvdb_core-0.2.1/env/test_requirements.txt +19 -0
- fvdb_core-0.2.1/env/tinyply.patch +10 -0
- fvdb_core-0.2.1/examples/dilating_grids.py +69 -0
- fvdb_core-0.2.1/examples/grid_building.py +150 -0
- fvdb_core-0.2.1/examples/grid_subdivide_coarsen.py +57 -0
- fvdb_core-0.2.1/examples/overfit_sdf.py +115 -0
- fvdb_core-0.2.1/examples/ray_segment_marching.py +102 -0
- fvdb_core-0.2.1/examples/ray_voxel_marching.py +99 -0
- fvdb_core-0.2.1/examples/sample_trilinear.py +66 -0
- fvdb_core-0.2.1/examples/splat_trilinear.py +53 -0
- fvdb_core-0.2.1/examples/subdivide.py +72 -0
- fvdb_core-0.2.1/examples/uniform_ray_marching.py +118 -0
- fvdb_core-0.2.1/examples/voxel_neighborhood.py +47 -0
- fvdb_core-0.2.1/examples/wip/compare_conv_speed.py +75 -0
- fvdb_core-0.2.1/examples/wip/structure_prediction_net.py +191 -0
- fvdb_core-0.2.1/fvdb/_Cpp.pyi +1307 -0
- fvdb_core-0.2.1/fvdb/__init__.py +138 -0
- fvdb_core-0.2.1/fvdb/__init__.pyi +66 -0
- fvdb_core-0.2.1/fvdb/convolution_plan.py +858 -0
- fvdb_core-0.2.1/fvdb/gaussian_splatting.py +2040 -0
- fvdb_core-0.2.1/fvdb/grid.py +1954 -0
- fvdb_core-0.2.1/fvdb/grid_batch.py +2175 -0
- fvdb_core-0.2.1/fvdb/nn/__init__.py +70 -0
- fvdb_core-0.2.1/fvdb/nn/modules.py +574 -0
- fvdb_core-0.2.1/fvdb/nn/simple_unet.py +646 -0
- fvdb_core-0.2.1/fvdb/optim/__init__.py +6 -0
- fvdb_core-0.2.1/fvdb/optim/gaussian_splat_optimizer.py +481 -0
- fvdb_core-0.2.1/fvdb/py.typed +1 -0
- fvdb_core-0.2.1/fvdb/types.py +1303 -0
- fvdb_core-0.2.1/fvdb/utils/__init__.py +3 -0
- fvdb_core-0.2.1/fvdb/utils/build_ext.py +59 -0
- fvdb_core-0.2.1/fvdb/utils/examples/__init__.py +299 -0
- fvdb_core-0.2.1/fvdb/utils/metrics/__init__.py +9 -0
- fvdb_core-0.2.1/fvdb/utils/metrics/psnr.py +50 -0
- fvdb_core-0.2.1/fvdb/utils/metrics/ssim.py +103 -0
- fvdb_core-0.2.1/fvdb/utils/tests/__init__.py +412 -0
- fvdb_core-0.2.1/fvdb/utils/tests/convolution_utils.py +42 -0
- fvdb_core-0.2.1/fvdb/utils/tests/grid_utils.py +131 -0
- fvdb_core-0.2.1/fvdb/utils/tests/gsplat_utils.py +150 -0
- fvdb_core-0.2.1/fvdb/utils/tests/timer.py +113 -0
- fvdb_core-0.2.1/fvdb/version.py.in +2 -0
- fvdb_core-0.2.1/fvdb/viz/__init__.py +13 -0
- fvdb_core-0.2.1/fvdb/viz/_camera_view.py +147 -0
- fvdb_core-0.2.1/fvdb/viz/_gaussian_splat_3d_view.py +136 -0
- fvdb_core-0.2.1/fvdb/viz/_utils.py +41 -0
- fvdb_core-0.2.1/fvdb/viz/_viewer.py +314 -0
- fvdb_core-0.2.1/logscale.diff +118 -0
- fvdb_core-0.2.1/notebooks/01_api_basics.ipynb +539 -0
- fvdb_core-0.2.1/notebooks/img/2dconv.png +0 -0
- fvdb_core-0.2.1/notebooks/img/DenseConv.gif +0 -0
- fvdb_core-0.2.1/notebooks/img/SparseConv.gif +0 -0
- fvdb_core-0.2.1/notebooks/img/blank_sparse_grids.png +0 -0
- fvdb_core-0.2.1/notebooks/img/first-3d-brain-reconstruction-strip.mp4 +0 -0
- fvdb_core-0.2.1/notebooks/img/grid_batch_diagram.svg +1 -0
- fvdb_core-0.2.1/notebooks/img/gridbatch.svg +1 -0
- fvdb_core-0.2.1/notebooks/img/gridbatch_concept.svg +1 -0
- fvdb_core-0.2.1/notebooks/img/image_index_grid_diagram.svg +1 -0
- fvdb_core-0.2.1/notebooks/img/imagestack.png +0 -0
- fvdb_core-0.2.1/notebooks/img/numbers.png +0 -0
- fvdb_core-0.2.1/notebooks/img/sparse_two.png +0 -0
- fvdb_core-0.2.1/notebooks/img/transposed_sparse_convolution_diagram.svg +1 -0
- fvdb_core-0.2.1/notebooks/img/two.png +0 -0
- fvdb_core-0.2.1/notebooks/img/vdbtensor.svg +1 -0
- fvdb_core-0.2.1/notebooks/wip/00_intro.ipynb +325 -0
- fvdb_core-0.2.1/notebooks/wip/02_nn.ipynb +357 -0
- fvdb_core-0.2.1/notebooks/wip/03_conv.ipynb +623 -0
- fvdb_core-0.2.1/pyproject.toml +25 -0
- fvdb_core-0.2.1/scripts/rename_wheels.py +21 -0
- fvdb_core-0.2.1/setup.py +38 -0
- fvdb_core-0.2.1/src/CMakeLists.txt +237 -0
- fvdb_core-0.2.1/src/benchmarks/CMakeLists.txt +53 -0
- fvdb_core-0.2.1/src/benchmarks/simple/simple.cpp +22 -0
- fvdb_core-0.2.1/src/cmake/configure_torch_pybind11.cmake +98 -0
- fvdb_core-0.2.1/src/cmake/download_test_data/CMakeLists.txt +14 -0
- fvdb_core-0.2.1/src/cmake/get_blosc.cmake +20 -0
- fvdb_core-0.2.1/src/cmake/get_cpm.cmake +38 -0
- fvdb_core-0.2.1/src/cmake/get_cudnn_frontend.cmake +12 -0
- fvdb_core-0.2.1/src/cmake/get_cutlass.cmake +19 -0
- fvdb_core-0.2.1/src/cmake/get_fvdb.cmake +23 -0
- fvdb_core-0.2.1/src/cmake/get_google_benchmark.cmake +10 -0
- fvdb_core-0.2.1/src/cmake/get_google_test.cmake +10 -0
- fvdb_core-0.2.1/src/cmake/get_nanovdb.cmake +17 -0
- fvdb_core-0.2.1/src/cmake/get_nanovdb_editor.cmake +221 -0
- fvdb_core-0.2.1/src/cmake/get_nvtx.cmake +26 -0
- fvdb_core-0.2.1/src/cmake/get_pybind11.cmake +104 -0
- fvdb_core-0.2.1/src/cmake/get_test_data.cmake +18 -0
- fvdb_core-0.2.1/src/cmake/get_tinyply.cmake +10 -0
- fvdb_core-0.2.1/src/cmake/get_torch.cmake +77 -0
- fvdb_core-0.2.1/src/fvdb/Config.cpp +35 -0
- fvdb_core-0.2.1/src/fvdb/Config.h +28 -0
- fvdb_core-0.2.1/src/fvdb/FVDB.cpp +259 -0
- fvdb_core-0.2.1/src/fvdb/FVDB.h +276 -0
- fvdb_core-0.2.1/src/fvdb/GaussianSplat3d.cpp +1286 -0
- fvdb_core-0.2.1/src/fvdb/GaussianSplat3d.h +1277 -0
- fvdb_core-0.2.1/src/fvdb/GridBatch.cpp +1197 -0
- fvdb_core-0.2.1/src/fvdb/GridBatch.h +892 -0
- fvdb_core-0.2.1/src/fvdb/JaggedTensor.cpp +1411 -0
- fvdb_core-0.2.1/src/fvdb/JaggedTensor.h +1255 -0
- fvdb_core-0.2.1/src/fvdb/SparseConvPackInfo.cpp +332 -0
- fvdb_core-0.2.1/src/fvdb/SparseConvPackInfo.h +270 -0
- fvdb_core-0.2.1/src/fvdb/Types.h +40 -0
- fvdb_core-0.2.1/src/fvdb/detail/GridBatchImpl.cu +1831 -0
- fvdb_core-0.2.1/src/fvdb/detail/GridBatchImpl.h +624 -0
- fvdb_core-0.2.1/src/fvdb/detail/TorchDeviceBuffer.cpp +225 -0
- fvdb_core-0.2.1/src/fvdb/detail/TorchDeviceBuffer.h +111 -0
- fvdb_core-0.2.1/src/fvdb/detail/TypesImpl.h +280 -0
- fvdb_core-0.2.1/src/fvdb/detail/VoxelCoordTransform.h +338 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/Attention.cpp +42 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/Attention.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/AvgPoolGrid.cpp +66 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/AvgPoolGrid.h +34 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/EvaluateSphericalHarmonics.cpp +78 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/EvaluateSphericalHarmonics.h +35 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/GaussianRender.cpp +474 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/GaussianRender.h +90 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/Inject.cpp +134 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/Inject.h +39 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/JaggedReduce.cpp +135 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/JaggedReduce.h +52 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/MaxPoolGrid.cpp +67 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/MaxPoolGrid.h +34 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadFromDense.cpp +183 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadFromDense.h +46 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadIntoDense.cpp +228 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/ReadIntoDense.h +48 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SampleGrid.cpp +169 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SampleGrid.h +49 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionHalo.cpp +90 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionHalo.h +34 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionImplicitGEMM.cpp +230 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionImplicitGEMM.h +34 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionKernelMap.cpp +195 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SparseConvolutionKernelMap.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SplatIntoGrid.cpp +128 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/SplatIntoGrid.h +47 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/TransformPoints.cpp +90 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/TransformPoints.h +35 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/UpsampleGrid.cpp +72 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/UpsampleGrid.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/VolumeRender.cpp +132 -0
- fvdb_core-0.2.1/src/fvdb/detail/autograd/VolumeRender.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/io/GaussianPlyIO.cpp +441 -0
- fvdb_core-0.2.1/src/fvdb/detail/io/GaussianPlyIO.h +44 -0
- fvdb_core-0.2.1/src/fvdb/detail/io/LoadNanovdb.cpp +707 -0
- fvdb_core-0.2.1/src/fvdb/detail/io/LoadNanovdb.h +46 -0
- fvdb_core-0.2.1/src/fvdb/detail/io/SaveNanoVDB.cpp +556 -0
- fvdb_core-0.2.1/src/fvdb/detail/io/SaveNanoVDB.h +32 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveGridGoords.cu +118 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveGridGoords.h +23 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveVoxelsInBoundsMask.cu +126 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ActiveVoxelsInBoundsMask.h +29 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildCoarseGridFromFine.cu +82 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildCoarseGridFromFine.h +28 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDenseGrid.cu +294 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDenseGrid.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDilatedGrid.cu +115 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildDilatedGrid.h +31 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildFineGridFromCoarse.cu +429 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildFineGridFromCoarse.h +37 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridForConv.cu +259 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridForConv.h +28 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromIjk.cu +211 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromIjk.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromMesh.cu +122 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromMesh.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromNearestVoxelsToPoints.cu +109 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromNearestVoxelsToPoints.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromPoints.cu +183 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildGridFromPoints.h +31 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildMergedGrids.cu +114 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildMergedGrids.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPaddedGrid.cu +431 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPaddedGrid.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPrunedGrid.cu +140 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/BuildPrunedGrid.h +28 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/CoarseIjkForFineGrid.cu +111 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/CoarseIjkForFineGrid.h +26 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/CoordsInGrid.cu +96 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/CoordsInGrid.h +23 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/CubesInGrid.cu +164 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/CubesInGrid.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridAvgPool.cu +333 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridAvgPool.h +36 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridMaxPool.cu +387 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/DownsampleGridMaxPool.h +36 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/GridEdgeNetwork.cu +174 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/GridEdgeNetwork.h +26 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IjkForMesh.cu +289 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IjkForMesh.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToIndex.cu +123 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToIndex.h +24 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToInvIndex.cu +105 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IjkToInvIndex.h +24 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/Inject.cu +412 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/Inject.h +26 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IntegrateTSDF.cu +960 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/IntegrateTSDF.h +47 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JCat0.cu +239 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JCat0.h +23 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForGrid.cu +30 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForGrid.h +21 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForJOffsets.cu +141 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JIdxForJOffsets.h +20 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JOffsetsFromJIdx.cu +153 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JOffsetsFromJIdx.h +20 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JaggedTensorIndex.cu +757 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/JaggedTensorIndex.h +29 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/MarchingCubes.cu +403 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/MarchingCubes.h +26 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/NearestIjkForPoints.cu +100 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/NearestIjkForPoints.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/PointsInGrid.cu +104 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/PointsInGrid.h +23 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/PopulateGridMetadata.cu +218 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/PopulateGridMetadata.h +32 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/RayImplicitIntersection.cu +206 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/RayImplicitIntersection.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ReadFromDense.cu +323 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ReadFromDense.h +31 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ReadIntoDense.cu +327 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ReadIntoDense.h +31 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezier.cu +120 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezier.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGrad.cu +150 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGrad.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGradBackward.cu +157 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridBezierWithGradBackward.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinear.cu +125 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinear.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGrad.cu +141 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGrad.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGradBackward.cu +180 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleGridTrilinearWithGradBackward.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleRaysUniform.cu +535 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SampleRaysUniform.h +32 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ScaledDotProductAttention.cu +222 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/ScaledDotProductAttention.h +26 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SegmentsAlongRays.cu +312 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SegmentsAlongRays.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridBezier.cu +135 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridBezier.h +25 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridTrilinear.cu +144 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/SplatIntoGridTrilinear.h +25 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/TransformPointToGrid.cu +348 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/TransformPointToGrid.h +40 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/UpsampleGridNearest.cu +348 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/UpsampleGridNearest.h +33 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/VolumeRender.cu +520 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/VolumeRender.h +48 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelNeighborhood.cu +128 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelNeighborhood.h +28 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelsAlongRays.cu +402 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/VoxelsAlongRays.h +31 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/ConvPragmaMessage.h +13 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/MESparseConvolution.cu +957 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/MESparseConvolution.h +26 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionCutlass.cu +774 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionCutlass.h +24 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHalo.cu +614 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHalo.h +25 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHaloGrad.cu +307 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionHaloGrad.h +24 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMM.cu +3842 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMM.h +26 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGrad.cu +4117 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGrad.h +25 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGradSorted.cu +4600 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMGradSorted.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMSorted.cu +4657 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionImplicitGEMMSorted.h +28 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionKernelMap.cu +619 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionKernelMap.h +36 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionLggs.cu +308 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/backend/SparseConvolutionLggs.h +25 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/BrickHaloBuffer.cu +217 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/BrickHaloBuffer.h +24 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/ConvolutionKernelMap.cu +158 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/ConvolutionKernelMap.h +27 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/IGEMMBitOperations.cu +186 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/convolution/pack_info/IGEMMBitOperations.h +31 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/FusedSSIM.cu +729 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/FusedSSIM.h +69 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/Gaussian2D.cuh +41 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianCameraProjections.cuh +229 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianComputeNanInfMask.cu +142 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianComputeNanInfMask.h +45 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianMacros.cuh +16 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionBackward.cu +485 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionBackward.h +83 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionForward.cu +358 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionForward.h +70 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedBackward.cu +423 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedBackward.h +74 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedForward.cu +304 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianProjectionJaggedForward.h +69 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterize.cuh +378 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeBackward.cu +1423 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeBackward.h +159 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeForward.cu +652 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeForward.h +106 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeNumContributingGaussians.cu +478 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeNumContributingGaussians.h +49 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeTopContributingGaussianIds.cu +597 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRasterizeTopContributingGaussianIds.h +50 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianRenderSettings.h +40 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsBackward.cu +491 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsBackward.h +53 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsForward.cu +306 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSphericalHarmonicsForward.h +46 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSplatSparse.cu +356 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianSplatSparse.h +52 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianTileIntersection.cu +650 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianTileIntersection.h +45 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianUtils.cuh +467 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianVectorTypes.cuh +128 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/gsplat/GaussianWarpUtils.cuh +112 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedReduce.cu +265 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedReduce.h +40 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedSort.cu +157 -0
- fvdb_core-0.2.1/src/fvdb/detail/ops/jagged/JaggedSort.h +21 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/AccessorHelpers.cuh +106 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/BezierInterpolationIterator.h +109 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/BezierInterpolationWithGradIterator.h +126 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/ForEachCPU.h +225 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/MarchingCubesData.h +320 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/Nvtx.h +117 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/TrilinearInterpolationIterator.h +131 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/TrilinearInterpolationWithGradIterator.h +137 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/Utils.h +358 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/Atomics.cuh +362 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/ForEachCUDA.cu +42 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/ForEachCUDA.cuh +589 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/ForEachPrivateUse1.cuh +226 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/GridDim.h +38 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/RAIIRawDeviceBuffer.h +69 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/cuda/Utils.cuh +22 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/ActiveVoxelIterator.h +211 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/CreateEmptyGridHandle.h +37 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/HDDAIterators.h +240 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/Printing.h +22 -0
- fvdb_core-0.2.1/src/fvdb/detail/utils/nanovdb/TorchNanoConversions.h +134 -0
- fvdb_core-0.2.1/src/fvdb/detail/viewer/CameraView.h +106 -0
- fvdb_core-0.2.1/src/fvdb/detail/viewer/GaussianSplat3dView.cpp +24 -0
- fvdb_core-0.2.1/src/fvdb/detail/viewer/GaussianSplat3dView.h +111 -0
- fvdb_core-0.2.1/src/fvdb/detail/viewer/Viewer.cpp +342 -0
- fvdb_core-0.2.1/src/fvdb/detail/viewer/Viewer.h +82 -0
- fvdb_core-0.2.1/src/python/Bindings.cpp +474 -0
- fvdb_core-0.2.1/src/python/FusedSSIMBinding.cpp +17 -0
- fvdb_core-0.2.1/src/python/GaussianSplatBinding.cpp +342 -0
- fvdb_core-0.2.1/src/python/GridBatchBinding.cpp +895 -0
- fvdb_core-0.2.1/src/python/JaggedTensorBinding.cpp +353 -0
- fvdb_core-0.2.1/src/python/TypeCasters.h +163 -0
- fvdb_core-0.2.1/src/python/ViewerBinding.cpp +171 -0
- fvdb_core-0.2.1/src/scripts/run_clang_format.sh +26 -0
- fvdb_core-0.2.1/src/tests/CMakeLists.txt +151 -0
- fvdb_core-0.2.1/src/tests/ExampleTest.cpp +13 -0
- fvdb_core-0.2.1/src/tests/GaussianComputeNanInfMaskTest.cpp +147 -0
- fvdb_core-0.2.1/src/tests/GaussianComputeSparseInfoTest.cpp +345 -0
- fvdb_core-0.2.1/src/tests/GaussianProjectionBackwardTest.cpp +489 -0
- fvdb_core-0.2.1/src/tests/GaussianProjectionForwardTest.cpp +222 -0
- fvdb_core-0.2.1/src/tests/GaussianRasterizeBackwardTest.cpp +1057 -0
- fvdb_core-0.2.1/src/tests/GaussianRasterizeForwardTest.cpp +657 -0
- fvdb_core-0.2.1/src/tests/GaussianRasterizeTopContributorsTest.cpp +301 -0
- fvdb_core-0.2.1/src/tests/GaussianSphericalHarmonicsBackwardTest.cpp +518 -0
- fvdb_core-0.2.1/src/tests/GaussianSphericalHarmonicsForwardTest.cpp +265 -0
- fvdb_core-0.2.1/src/tests/GaussianTileIntersectionTest.cpp +654 -0
- fvdb_core-0.2.1/src/tests/JaggedTensorTest.cpp +923 -0
- fvdb_core-0.2.1/src/tests/PackedJaggedAccessorTest.cu +330 -0
- fvdb_core-0.2.1/src/tests/README.md +23 -0
- fvdb_core-0.2.1/src/tests/ViewerTest.cpp +97 -0
- fvdb_core-0.2.1/src/tests/scripts/generate_gaussian_splat_dataset.py +287 -0
- fvdb_core-0.2.1/src/tests/scripts/generate_top_gaussian_contributor_dataset.py +182 -0
- fvdb_core-0.2.1/src/tests/scripts/load_and_print_tensors.py +295 -0
- fvdb_core-0.2.1/src/tests/scripts/write_rasterize_forward_test_data.py +104 -0
- fvdb_core-0.2.1/src/tests/utils/ImageUtils.cpp +133 -0
- fvdb_core-0.2.1/src/tests/utils/ImageUtils.h +22 -0
- fvdb_core-0.2.1/src/tests/utils/Tensor.cpp +164 -0
- fvdb_core-0.2.1/src/tests/utils/Tensor.h +106 -0
- fvdb_core-0.2.1/src/tests/utils/TestUtilities.h +41 -0
- fvdb_core-0.2.1/src/tests/utils/TileBitMask.h +121 -0
- fvdb_core-0.2.1/tests/unit/__init__.py +7 -0
- fvdb_core-0.2.1/tests/unit/test_accessors.py +55 -0
- fvdb_core-0.2.1/tests/unit/test_basic_ops.py +1778 -0
- fvdb_core-0.2.1/tests/unit/test_basic_ops_single.py +1478 -0
- fvdb_core-0.2.1/tests/unit/test_batching.py +646 -0
- fvdb_core-0.2.1/tests/unit/test_dense_interface.py +909 -0
- fvdb_core-0.2.1/tests/unit/test_dual.py +97 -0
- fvdb_core-0.2.1/tests/unit/test_empty_grids.py +361 -0
- fvdb_core-0.2.1/tests/unit/test_gsplat.py +2137 -0
- fvdb_core-0.2.1/tests/unit/test_inject.py +764 -0
- fvdb_core-0.2.1/tests/unit/test_io.py +332 -0
- fvdb_core-0.2.1/tests/unit/test_jagged_tensor.py +2559 -0
- fvdb_core-0.2.1/tests/unit/test_metrics.py +101 -0
- fvdb_core-0.2.1/tests/unit/test_ray_marching.py +699 -0
- fvdb_core-0.2.1/tests/unit/test_sample.py +886 -0
- fvdb_core-0.2.1/tests/unit/test_types.py +843 -0
- fvdb_core-0.2.1/tests/unit/test_utils.py +191 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/README.md +56 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/comparative_benchmark.py +193 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/conftest.py +62 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/configs.py +128 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/dataset.py +84 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/model/minkunet.py +184 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/model/updown.py +39 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/model/xcube.py +160 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/utils.py +106 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/fvdb_benchmark/wrapper.py +265 -0
- fvdb_core-0.2.1/tests/wip/benchmark/benchmark/test_conv.py +47 -0
- fvdb_core-0.2.1/tests/wip/unit/test_conv.py +751 -0
- fvdb_core-0.2.1/tests/wip/unit/test_convolution_plan.py +305 -0
- 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
|
+
|
fvdb_core-0.2.1/.clangd
ADDED
|
@@ -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
|
+
|