Skip to content

Instantly share code, notes, and snippets.

@d4l3k
Created November 3, 2023 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d4l3k/488b170becacbb8510644152347c1382 to your computer and use it in GitHub Desktop.
Save d4l3k/488b170becacbb8510644152347c1382 to your computer and use it in GitHub Desktop.
[50/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/host/renderer.norm_sphere_gradients.cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE
_CUB_VERSION_CHECK -I/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/to
rch/include -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venv
s/torchdrive3.11/lib/python3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/tor
ch/include/THC -I/opt/cuda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.
11 -c -c /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.norm_sphere_gradients.cpu.cpp -o /tmp/pip-req-build-y8fv
0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.norm_sphere_gradients.cpu.o -std
=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="
_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
FAILED: /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/rend
erer.norm_sphere_gradients.cpu.o
g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/h
ost/renderer.norm_sphere_gradients.cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VER
SION_CHECK -I/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/incl
ude -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchd
rive3.11/lib/python3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/inclu
de/THC -I/opt/cuda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.norm_sphere_gradients.cpu.cpp -o /tmp/pip-req-build-y8fv0d6c/bui
ld/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.norm_sphere_gradients.cpu.o -std=c++17 -
DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1
011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.norm_sphere_gradients.de
vice.h:12,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/renderer.norm_sphere_gradients.inst
antiate.h:9,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.norm_sphere_gradients.cpu.cpp:9:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:46: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
46 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:47: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
47 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:49: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
49 | #pragma clang diagnostic pop
|
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.norm_sphere_gradients.de
vice.h:13:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:29: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
29 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:30: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
30 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:31: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
31 | #pragma clang diagnostic pop
|
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.norm_sphere_gradients.de
vice.h:14:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 outer_product_sum(const f
loat3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:42:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
42 | return make_float3(
| ~~~~~~~~~~~^
43 | a.x * a.x + a.x * a.y + a.x * a.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | a.x * a.y + a.y * a.y + a.y * a.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45 | a.x * a.z + a.y * a.z + a.z * a.z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/cuda/include/vector_functions.h:176,
from /opt/cuda/include/cuda_fp16.h:131,
from /opt/cuda/include/cusparse.h:59,
from /home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/ATen/cuda/CUDAContext.h:6,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:51:
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 operator+(const float3&,
const float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:50:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
50 | return make_float3(a.x + b.x, a.y + b.y, a.z + b.z);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 operator/(const float3&,
const float&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:78:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
78 | return make_float3(a.x / b, a.y / b, a.z / b);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 operator-(const float3&,
const float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:82:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
82 | return make_float3(a.x - b.x, a.y - b.y, a.z - b.z);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 operator*(const float3&,
const float&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:86:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
86 | return make_float3(a.x * b, a.y * b, a.z * b);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 operator*(const float3&,
const float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:90:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
90 | return make_float3(a.x * b.x, a.y * b.y, a.z * b.z);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 rotate(const float3&, con
st float3&, const float3&, const float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:111:21: error: call of overloaded ‘make_float3
(float, float, float)’ is ambiguous
111 | return make_float3(
| ~~~~~~~~~~~^
112 | dir_x.x * v.x + dir_x.y * v.y + dir_x.z * v.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | dir_y.x * v.x + dir_y.y * v.y + dir_y.z * v.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | dir_z.x * v.x + dir_z.y * v.y + dir_z.z * v.z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h: In function ‘float3 cross(const float3&, cons
t float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././math.h:127:21: error: call of overloaded ‘make_float3
(float, float, float)’ is ambiguous
127 | return make_float3(
| ~~~~~~~~~~~^
128 | a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z, a.x * b.y - a.y * b.x);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:70:15: note: candidate: ‘float3 make_float3
(const float&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:32:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.norm_sphere_gradients.device.h: In instantiati
on of ‘void pulsar::Renderer::norm_sphere_gradients(Renderer, int) [with bool DEV = false]’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/renderer.norm_sphere_gradients.instantiate.h:16:24: req
uired from here
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././../host/commands.h:347:34: warning: comparison of int
eger expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
347 | for (uint VARNAME = 0; VARNAME < (N); ++VARNAME) {
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.norm_sphere_gradients.device.h:28:3: note: in
expansion of macro ‘GET_PARALLEL_IDX_1D’
28 | GET_PARALLEL_IDX_1D(idx, num_balls);
| ^~~~~~~~~~~~~~~~~~~
[51/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/pytorch/camera.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/tmp
/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -I/home/rice/
venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3.11/lib/pyth
on3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/THC -I/opt/cud
a/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp/pip-req-bui
ld-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/camera.cpp -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-buil
d-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/camera.o -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-
DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
FAILED: /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/c
amera.o
g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/p
ytorch/camera.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/tmp/pip-req
-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -I/home/rice/venvs/to
rchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3.11/lib/python3.11/s
ite-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/THC -I/opt/cuda/includ
e -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp/pip-req-build-y8fv0
d6c/pytorch3d/csrc/pulsar/pytorch/camera.cpp -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d
6c/pytorch3d/csrc/pulsar/pytorch/camera.o -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND1
1_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./camera.h:13,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/camera.cpp:9:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:46: warning: ignoring ‘#pragma clang diagnostic’ [-
Wunknown-pragmas]
46 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:47: warning: ignoring ‘#pragma clang diagnostic’ [-
Wunknown-pragmas]
47 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:49: warning: ignoring ‘#pragma clang diagnostic’ [-
Wunknown-pragmas]
49 | #pragma clang diagnostic pop
|
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:13,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/camera.cpp:10:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/./commands.h:29: warning: ignoring ‘#pragma clang diag
nostic’ [-Wunknown-pragmas]
29 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/./commands.h:30: warning: ignoring ‘#pragma clang diag
nostic’ [-Wunknown-pragmas]
30 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/./commands.h:31: warning: ignoring ‘#pragma clang diag
nostic’ [-Wunknown-pragmas]
31 | #pragma clang diagnostic pop
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 outer_product_sum(const fl
oat3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:42:21: error: call of overloaded ‘make_float3(f
loat, float, float)’ is ambiguous
42 | return make_float3(
| ~~~~~~~~~~~^
43 | a.x * a.x + a.x * a.y + a.x * a.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | a.x * a.y + a.y * a.y + a.y * a.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45 | a.x * a.z + a.y * a.z + a.z * a.z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/cuda/include/vector_functions.h:176,
from /opt/cuda/include/cuda_fp16.h:131,
from /opt/cuda/include/cusparse.h:59,
from /home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/ATen/cuda/CUDAContext.h:6,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:51:
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 operator+(const float3&, c
onst float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:50:21: error: call of overloaded ‘make_float3(f
loat, float, float)’ is ambiguous
50 | return make_float3(a.x + b.x, a.y + b.y, a.z + b.z);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 operator/(const float3&, c
onst float&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:78:21: error: call of overloaded ‘make_float3(f
loat, float, float)’ is ambiguous
78 | return make_float3(a.x / b, a.y / b, a.z / b);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 operator-(const float3&, c
onst float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:82:21: error: call of overloaded ‘make_float3(f
loat, float, float)’ is ambiguous
82 | return make_float3(a.x - b.x, a.y - b.y, a.z - b.z);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 operator*(const float3&, c
onst float&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:86:21: error: call of overloaded ‘make_float3(f
loat, float, float)’ is ambiguous
86 | return make_float3(a.x * b, a.y * b, a.z * b);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 operator*(const float3&, c
onst float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:90:21: error: call of overloaded ‘make_float3(f
loat, float, float)’ is ambiguous
90 | return make_float3(a.x * b.x, a.y * b.y, a.z * b.z);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 rotate(const float3&, cons
t float3&, const float3&, const float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:111:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
111 | return make_float3(
| ~~~~~~~~~~~^
112 | dir_x.x * v.x + dir_x.y * v.y + dir_x.z * v.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | dir_y.x * v.x + dir_y.y * v.y + dir_y.z * v.z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | dir_z.x * v.x + dir_z.y * v.y + dir_z.z * v.z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h: In function ‘float3 cross(const float3&, const
float3&)’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/math.h:127:21: error: call of overloaded ‘make_float3(
float, float, float)’ is ambiguous
127 | return make_float3(
| ~~~~~~~~~~~^
128 | a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z, a.x * b.y - a.y * b.x);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/cuda/include/vector_functions.hpp:243:34: note: candidate: ‘float3 make_float3(float, float, float)’
243 | __VECTOR_FUNCTIONS_DECL__ float3 make_float3(float x, float y, float z)
| ^~~~~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:70:15: note: candidate: ‘float3 make_float3(const f
loat&, const float&, const float&)’
70 | inline float3 make_float3(const float& x, const float& y, const float& z) {
| ^~~~~~~~~~~
[52/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/host/renderer.create_selector.cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_V
ERSION_CHECK -I/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/in
clude -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torc
hdrive3.11/lib/python3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/inc
lude/THC -I/opt/cuda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c
-c /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.create_selector.cpu.cpp -o /tmp/pip-req-build-y8fv0d6c/build/t
emp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.create_selector.cpu.o -std=c++17 -DTORCH_API
_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTO
RCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.create_selector.device.h
:12,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/renderer.create_selector.instantiat
e.h:12,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.create_selector.cpu.cpp:9:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:46: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
46 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:47: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
47 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:49: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
49 | #pragma clang diagnostic pop
|
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.create_selector.device.h
:13:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:29: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
29 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:30: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
30 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:31: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
31 | #pragma clang diagnostic pop
|
[53/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/host/renderer.destruct.cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_
CHECK -I/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -
I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3
.11/lib/python3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/TH
C -I/opt/cuda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp
/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.destruct.cpu.cpp -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_
64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.destruct.cpu.o -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H
'-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C
-D_GLIBCXX_USE_CXX11_ABI=0
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.destruct.device.h:12,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/renderer.destruct.instantiate.h:12,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.destruct.cpu.cpp:9:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:46: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
46 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:47: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
47 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:49: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
49 | #pragma clang diagnostic pop
|
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.destruct.device.h:13:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:29: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
29 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:30: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
30 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:31: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
31 | #pragma clang diagnostic pop
|
[54/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/host/renderer.fill_bg.cpu.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_C
HECK -I/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -I
/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3.
11/lib/python3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/THC
-I/opt/cuda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp/
pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.fill_bg.cpu.cpp -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64
-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.fill_bg.cpu.o -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-D
PYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D
_GLIBCXX_USE_CXX11_ABI=0
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.fill_bg.device.h:12,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/renderer.fill_bg.instantiate.h:9,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/renderer.fill_bg.cpu.cpp:9:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:46: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
46 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:47: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
47 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./../global.h:49: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
49 | #pragma clang diagnostic pop
|
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.fill_bg.device.h:14:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:29: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
29 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:30: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
30 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:31: warning: ignoring ‘#pragma clang diagn
ostic’ [-Wunknown-pragmas]
31 | #pragma clang diagnostic pop
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.fill_bg.device.h: In instantiation of ‘void pu
lsar::Renderer::fill_bg(Renderer, pulsar::CamInfo, const float*, float, uint) [with bool DEV = false; uint = unsigned int]’:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/renderer.fill_bg.instantiate.h:19:20: required from her
e
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/./renderer.fill_bg.device.h:49:25: warning: comparison of
integer expressions of different signedness: ‘int’ and ‘const uint’ {aka ‘const unsigned int’} [-Wsign-compare]
49 | for (int i = 0; i < cam.n_channels; ++i) {
| ~~^~~~~~~~~~~~~~~~
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././commands.h:32:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././../host/commands.h:349:8: warning: variable ‘blockDim
’ set but not used [-Wunused-but-set-variable]
349 | int2 blockDim; \
| ^~~~~~~~
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/host/../include/././../host/commands.h:349:8: note: in definition of macr
o ‘GET_PARALLEL_IDS_2D’
349 | int2 blockDim; \
| ^~~~~~~~
[55/67] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-y8fv0d6c/build/temp.
linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/rasterize_coarse/rasterize_coarse.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB
_VERSION_CHECK -I/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/
include -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/to
rchdrive3.11/lib/python3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/i
nclude/THC -I/opt/cuda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -
c -c /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/rasterize_coarse/rasterize_coarse.cu -o /tmp/pip-req-build-y8fv0d6c/build/temp.li
nux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/rasterize_coarse/rasterize_coarse.o -D__CUDA_NO_HALF_OPERATORS__ -D__CU
DA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-opt
ions ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS_
_ -std=c++17 -ccbin=gcc-12 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-D
PYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -
gencode=arch=compute_86,code=sm_86
[56/67] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-y8fv0d6c/build/temp.
linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/knn/knn.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/tmp/pip-
req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -I/home/rice/venvs
/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3.11/lib/python3.1
1/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/THC -I/opt/cuda/inc
lude -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp/pip-req-build-y8
fv0d6c/pytorch3d/csrc/knn/knn.cu -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d
/csrc/knn/knn.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_
OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA
_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -ccbin=gcc-12 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILE
R_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX
11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/knn/knn.cu(500): warning #68-D: integer conversion resulted in a change of sign
if (p2_idx == -1) {
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/knn/knn.cu(500): warning #68-D: integer conversion resulted in a change of sign
if (p2_idx == -1) {
^
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
[57/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/pytorch/tensor_util.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -
I/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -I/home/
rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3.11/lib
/python3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/THC -I/op
t/cuda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp/pip-re
q-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/tensor_util.cpp -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pi
p-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/tensor_util.o -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_
TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11
_ABI=0
[58/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/pytorch/renderer.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/t
mp/pip-req-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -I/home/ric
e/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3.11/lib/py
thon3.11/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/THC -I/opt/c
uda/include -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp/pip-req-b
uild-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/renderer.cpp -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-
build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/renderer.o -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gc
c"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./renderer.h:12,
from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/renderer.cpp:9:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:46: warning: ignoring ‘#pragma clang diagnostic’ [-
Wunknown-pragmas]
46 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:47: warning: ignoring ‘#pragma clang diagnostic’ [-
Wunknown-pragmas]
47 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/./../global.h:49: warning: ignoring ‘#pragma clang diagnostic’ [-
Wunknown-pragmas]
49 | #pragma clang diagnostic pop
|
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/renderer.cpp:10:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/commands.h:29: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
29 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/commands.h:30: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
30 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/pytorch/../include/commands.h:31: warning: ignoring ‘#pragma clang diagno
stic’ [-Wunknown-pragmas]
31 | #pragma clang diagnostic pop
|
[59/67] g++-12 -MMD -MF /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/
pulsar/warnings.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/tmp/pip-r
eq-build-y8fv0d6c/pytorch3d/csrc -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include -I/home/rice/venvs/
torchdrive3.11/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/rice/venvs/torchdrive3.11/lib/python3.11
/site-packages/torch/include/TH -I/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/include/THC -I/opt/cuda/incl
ude -I/home/rice/venvs/torchdrive3.11/include -I/home/rice/.pyenv/versions/3.11.4/include/python3.11 -c -c /tmp/pip-req-build-y8f
v0d6c/pytorch3d/csrc/pulsar/warnings.cpp -o /tmp/pip-req-build-y8fv0d6c/build/temp.linux-x86_64-3.11/tmp/pip-req-build-y8fv0d6c/p
ytorch3d/csrc/pulsar/warnings.o -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="
_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
In file included from /tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/warnings.cpp:9:
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/./global.h:46: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pr
agmas]
46 | #pragma clang diagnostic push
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/./global.h:47: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pr
agmas]
47 | #pragma clang diagnostic ignored "-Weverything"
|
/tmp/pip-req-build-y8fv0d6c/pytorch3d/csrc/pulsar/./global.h:49: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pr
agmas]
49 | #pragma clang diagnostic pop
|
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 2102, in _run_ninj
a_build
subprocess.run(
File "/home/rice/.pyenv/versions/3.11.4/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-y8fv0d6c/setup.py", line 144, in <module>
setup(
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/__init__.py", line 155, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 163, in run_comma
nds
dist.run_commands()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 967, in run_comma
nds
self.run_command(cmd)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_comma
nd
cmd_obj.run()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run
self.run_command("build")
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_comman
d
self.distribution.run_command(command)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_comma
nd
cmd_obj.run()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 135, in
run
self.run_command(cmd_name)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_comman
d
self.distribution.run_command(command)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_comma
nd
cmd_obj.run()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 339,
in run
self.build_extensions()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 873, in build_exte
nsions
build_ext.build_extensions(self)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 448,
in build_extensions
self._build_extensions_serial()
in build_extensions
self._build_extensions_serial()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 473,
in _build_extensions_serial
self.build_extension(ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 202, in build_e
xtension
_build_ext.build_extension(self, ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 528,
in build_extension
objects = self.compiler.compile(sources,
in build_extensions
self._build_extensions_serial()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 473,
in _build_extensions_serial
self.build_extension(ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 202, in build_e
xtension
_build_ext.build_extension(self, ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 528,
in build_extension
objects = self.compiler.compile(sources,
in build_extensions
self._build_extensions_serial()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 473,
in _build_extensions_serial
self.build_extension(ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 202, in build_e
xtension
_build_ext.build_extension(self, ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 528,
in build_extension
objects = self.compiler.compile(sources,
in build_extensions
self._build_extensions_serial()
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 473,
in _build_extensions_serial
self.build_extension(ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 202, in build_e
xtension
_build_ext.build_extension(self, ext)
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 528,
in build_extension
objects = self.compiler.compile(sources,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 686, in unix_wrap_
ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1774, in _write_ni
nja_file_and_compile_objects
_run_ninja_build(
File "/home/rice/venvs/torchdrive3.11/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 2118, in _run_ninj
a_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d
Failed to build pytorch3d
ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment