Skip to content

Missing lib folder in custom_rasterizer - cannot compile CUDA extensions #2

@dre2rd

Description

@dre2rd

Description

I'm trying to install the Hunyuan3D-2.0 components following the installation guide, but the lib folder with CUDA source files is missing in scripts/hy3dgen/texgen/custom_rasterizer/.

Steps to Reproduce

  1. Clone the repository:
    git clone https://github.com/Inception3D/Motion324.git
    cd Motion324
    

2.Try to install custom_rasterizer:

cd scripts/hy3dgen/texgen/custom_rasterizer
python setup.py install

Expected Behavior

The lib folder should contain:

lib/custom_rasterizer_kernel/rasterizer.cpp

lib/custom_rasterizer_kernel/grid_neighbor.cpp

lib/custom_rasterizer_kernel/rasterizer_gpu.cu

As referenced in setup.py (lines 8-11).

Actual Behavior

Error during compilation:

c1xx: fatal error C1083: Cannot open source file: lib/custom_rasterizer_kernel/grid_neighbor.cpp: No such file or directory

The lib folder does not exist in the repository.

Environment
OS: Windows 11
Python: 3.11
PyTorch: 2.4.1+cu124
CUDA: 12.4

Questions

  1. Are the CUDA source files in lib/ folder supposed to be in the repository?
  2. Should they be downloaded separately or generated automatically?
  3. Is there a workaround to use Motion324 without compiling these components?

Checked

  • ✅Tried git submodule update --init --recursive - no submodules found
  • ✅ Verified .gitmodules file does not exist
  • ✅ Checked GitHub repository - lib folder is not visible in the file tree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions