Syntax error in asserts
Hello,
When compiling kaolin I got errors due to L166 and L363 in /kaolin/csrc/ops/spc/convolution.cpp. https://github.com/NVIDIAGameWorks/kaolin/blob/b47f216d6796d64ba05dc37818884143c80df4de/kaolin/csrc/ops/spc/convolution.cpp#L163-L166 https://github.com/NVIDIAGameWorks/kaolin/blob/b47f216d6796d64ba05dc37818884143c80df4de/kaolin/csrc/ops/spc/convolution.cpp#L360-L363
Both lines have an assert that references PLevel which is not defined. I assume it should be Plevel? Changing the lines to that fixed the issue for me at least.
Thanks for a great library!
@patmjen , thank you for your interest in Kaolin. Good catch, it looks like our CI / workstation skipped this issue.
We should fix that, out of curiosity what is your system config?
Great, thank you! Here's my system info, as reported by PyTorch's collect_env.py:
$ python collect_env.py
Collecting environment information...
PyTorch version: 1.12.1+cu116
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A
OS: Scientific Linux release 7.9 (Nitrogen) (x86_64)
GCC version: (GCC) 10.3.0
Clang version: Could not collect
CMake version: version 2.8.12.2
Libc version: glibc-2.17
Python version: 3.9.14 (main, Sep 16 2022, 10:48:44) [GCC 10.3.0] (64-bit runtime)
Python platform: Linux-3.10.0-1160.76.1.el7.x86_64-x86_64-with-glibc2.17
Is CUDA available: True
CUDA runtime version: 11.6.55
CUDA_MODULE_LOADING set to:
GPU models and configuration:
GPU 0: NVIDIA A100-PCIE-40GB
GPU 1: NVIDIA A100-PCIE-40GB
Nvidia driver version: 515.65.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
Versions of relevant libraries:
[pip3] numpy==1.23.3
[pip3] torch==1.12.1+cu116
[pip3] torchvision==0.13.1+cu116
[conda] No relevant packages
Let me know if you need anything else.