File size: 44,441 Bytes
52bd4cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
=== CONTAINER STARTED Wed Jul 15 13:04:34 UTC 2026 β€” job run15-t2p-720 mode=t2p res=720 ===
accepted Terms of Service for https://repo.anaconda.com/pkgs/main
accepted Terms of Service for https://repo.anaconda.com/pkgs/r
=== opencv pin (EXR) ===
opencv-python             5.0.0.93
Collecting opencv-python==4.10.0.84
  Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
Requirement already satisfied: numpy>=1.21.2 in /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages (from opencv-python==4.10.0.84) (2.2.6)
Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 MB 135.4 MB/s  0:00:00
Installing collected packages: opencv-python
  Attempting uninstall: opencv-python
    Found existing installation: opencv-python 5.0.0.93
    Uninstalling opencv-python-5.0.0.93:
      Successfully uninstalled opencv-python-5.0.0.93
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gfpgan 1.3.8 requires basicsr>=1.4.2, which is not installed.
realesrgan 0.3.0 requires basicsr>=1.4.2, which is not installed.
Successfully installed opencv-python-4.10.0.84
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
cv2 4.10.0 - EXR OK
checkpoints/Wan-AI/:
total 8792
drwxrwxrwx 3 root root 3000108 Jul 15 11:08 .
drwxrwxrwx 7 root root 3001105 Jul 15 11:08 ..
lrwxrwxrwx 1 root root       8 Jul 15 11:08 wan-lora -> wan_lora
drwxrwxrwx 3 root root 3000108 Jul 15 11:08 wan_lora

checkpoints/flux_lora/:
total 72576
drwxrwxrwx 3 root root  2006608 Jul 15 11:08 .
drwxrwxrwx 7 root root  3001105 Jul 15 11:08 ..
drwxrwxrwx 3 root root    12600 Jul 15 11:08 .cache
-rw-rw-rw- 1 root root 34647632 Jul 15 11:08 pano_image_lora.safetensors
-rw-rw-rw- 1 root root 34647632 Jul 15 11:08 text2panoimage_lora.safetensors
=== STAGE1 pano ===

Loading pipeline components...:   0%|          | 0/7 [00:00<?, ?it/s]`torch_dtype` is deprecated! Use `dtype` instead!

Loading pipeline components...:  14%|β–ˆβ–        | 1/7 [00:00<00:02,  2.02it/s]

Loading checkpoint shards:   0%|          | 0/3 [00:00<?, ?it/s]

Loading checkpoint shards:  33%|β–ˆβ–ˆβ–ˆβ–Ž      | 1/3 [00:01<00:02,  1.35s/it]

Loading checkpoint shards:  67%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹   | 2/3 [00:02<00:01,  1.33s/it]

Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:03<00:00,  1.02it/s]
Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:03<00:00,  1.07s/it]

Loading pipeline components...:  29%|β–ˆβ–ˆβ–Š       | 2/7 [00:03<00:10,  2.16s/it]
Loading pipeline components...:  43%|β–ˆβ–ˆβ–ˆβ–ˆβ–Ž     | 3/7 [00:04<00:05,  1.36s/it]You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers

Loading pipeline components...:  57%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹    | 4/7 [00:04<00:03,  1.09s/it]

Loading checkpoint shards:   0%|          | 0/2 [00:00<?, ?it/s]

Loading checkpoint shards:  50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     | 1/2 [00:00<00:00,  1.54it/s]

Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2/2 [00:01<00:00,  1.71it/s]
Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2/2 [00:01<00:00,  1.68it/s]

Loading pipeline components...:  71%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–  | 5/7 [00:06<00:02,  1.16s/it]
Loading pipeline components...:  86%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 6/7 [00:06<00:00,  1.07it/s]
Loading pipeline components...: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7/7 [00:06<00:00,  1.05it/s]
No LoRA keys associated to CLIPTextModel found with the prefix='text_encoder'. This is safe to ignore if LoRA state dict didn't originally have any CLIPTextModel related params. You can also try specifying `prefix=None` to resolve the warning. Otherwise, open an issue if you think it's unexpected: https://github.com/huggingface/diffusers/issues/new
input prompt=A serene alpine meadow in golden morning light, a winding dirt path leading toward distant snow-capped mountains under a clear blue sky, scattered wildflowers, photorealistic

  0%|          | 0/50 [00:00<?, ?it/s]
  2%|▏         | 1/50 [00:06<05:15,  6.43s/it]
  4%|▍         | 2/50 [00:06<02:12,  2.77s/it]
  6%|β–Œ         | 3/50 [00:06<01:17,  1.64s/it]
  8%|β–Š         | 4/50 [00:07<00:51,  1.11s/it]
 10%|β–ˆ         | 5/50 [00:07<00:36,  1.22it/s]
 12%|β–ˆβ–        | 6/50 [00:07<00:28,  1.56it/s]
 14%|β–ˆβ–        | 7/50 [00:08<00:22,  1.89it/s]
 16%|β–ˆβ–Œ        | 8/50 [00:08<00:19,  2.19it/s]
 18%|β–ˆβ–Š        | 9/50 [00:08<00:16,  2.45it/s]
 20%|β–ˆβ–ˆ        | 10/50 [00:09<00:14,  2.67it/s]
 22%|β–ˆβ–ˆβ–       | 11/50 [00:09<00:13,  2.85it/s]
 24%|β–ˆβ–ˆβ–       | 12/50 [00:09<00:12,  2.98it/s]
 26%|β–ˆβ–ˆβ–Œ       | 13/50 [00:09<00:12,  3.08it/s]
 28%|β–ˆβ–ˆβ–Š       | 14/50 [00:10<00:11,  3.15it/s]
 30%|β–ˆβ–ˆβ–ˆ       | 15/50 [00:10<00:10,  3.21it/s]
 32%|β–ˆβ–ˆβ–ˆβ–      | 16/50 [00:10<00:10,  3.25it/s]
 34%|β–ˆβ–ˆβ–ˆβ–      | 17/50 [00:11<00:10,  3.28it/s]
 36%|β–ˆβ–ˆβ–ˆβ–Œ      | 18/50 [00:11<00:09,  3.30it/s]
 38%|β–ˆβ–ˆβ–ˆβ–Š      | 19/50 [00:11<00:09,  3.31it/s]
 40%|β–ˆβ–ˆβ–ˆβ–ˆ      | 20/50 [00:12<00:09,  3.32it/s]
 42%|β–ˆβ–ˆβ–ˆβ–ˆβ–     | 21/50 [00:12<00:08,  3.33it/s]
 44%|β–ˆβ–ˆβ–ˆβ–ˆβ–     | 22/50 [00:12<00:08,  3.33it/s]
 46%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ     | 23/50 [00:12<00:08,  3.33it/s]
 48%|β–ˆβ–ˆβ–ˆβ–ˆβ–Š     | 24/50 [00:13<00:07,  3.34it/s]
 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     | 25/50 [00:13<00:07,  3.33it/s]
 52%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–    | 26/50 [00:13<00:07,  3.34it/s]
 54%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–    | 27/50 [00:14<00:06,  3.33it/s]
 56%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ    | 28/50 [00:14<00:06,  3.33it/s]
 58%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š    | 29/50 [00:14<00:06,  3.34it/s]
 60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    | 30/50 [00:15<00:05,  3.34it/s]
 62%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–   | 31/50 [00:15<00:05,  3.33it/s]
 64%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–   | 32/50 [00:15<00:05,  3.33it/s]
 66%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ   | 33/50 [00:15<00:05,  3.33it/s]
 68%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š   | 34/50 [00:16<00:04,  3.33it/s]
 70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   | 35/50 [00:16<00:04,  3.34it/s]
 72%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–  | 36/50 [00:16<00:04,  3.34it/s]
 74%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–  | 37/50 [00:17<00:03,  3.34it/s]
 76%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ  | 38/50 [00:17<00:03,  3.34it/s]
 78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š  | 39/50 [00:17<00:03,  3.33it/s]
 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  | 40/50 [00:18<00:02,  3.34it/s]
 82%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 41/50 [00:18<00:02,  3.34it/s]
 84%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 42/50 [00:18<00:02,  3.33it/s]
 86%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 43/50 [00:18<00:02,  3.33it/s]
 88%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 44/50 [00:19<00:01,  3.34it/s]
 90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 45/50 [00:19<00:01,  3.34it/s]
 92%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 46/50 [00:19<00:01,  3.33it/s]
 94%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 47/50 [00:20<00:00,  3.33it/s]
 96%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ| 48/50 [00:20<00:00,  3.33it/s]
 98%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š| 49/50 [00:20<00:00,  3.33it/s]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 50/50 [00:21<00:00,  3.33it/s]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 50/50 [00:21<00:00,  2.38it/s]
=== STAGE2 video ===
/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/cpm_kernels/kernels/base.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
DEBUG 07-15 13:13:05 [parallel_state.py:222] world_size=1 rank=0 local_rank=-1 distributed_init_method=env:// backend=nccl


./output/run15-t2p-720/pano_img.jpg


prompt is A serene alpine meadow in golden morning light, a winding dirt path leading toward distant snow-capped mountains under a clear blue sky, scattered wildflowers, photorealistic
panorama_path=./output/run15-t2p-720/pano_img.jpg


perform moge...


Inferring...

Inferring splitted views:   0%|          | 0/3 [00:00<?, ?it/s]
Inferring splitted views:  33%|β–ˆβ–ˆβ–ˆβ–Ž      | 1/3 [00:05<00:11,  5.80s/it]
Inferring splitted views:  67%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹   | 2/3 [00:06<00:02,  2.74s/it]
Inferring splitted views: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:07<00:00,  1.77s/it]
                                                                       
Merging...
Writing outputs...
True,/workspace/Matrix-3D/output/run15-t2p-720/moge/mask.png
generating rail...
tensor([0., 0., 1.], device='cuda:0') tensor([1., 0., 0.], device='cuda:0')
mesh construction complete; mesh info: (2097152, 3) (4190208, 3)
mesh_pano_render_color
2.130992889404297 GB used
2.169921875 GB reserved
/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/utils/cpp_extension.py:2356: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation. 
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
  warnings.warn(
[rank0]: Traceback (most recent call last):
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2506, in _run_ninja_build
[rank0]:     subprocess.run(
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/subprocess.py", line 526, in run
[rank0]:     raise CalledProcessError(retcode, process.args,
[rank0]: subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

[rank0]: The above exception was the direct cause of the following exception:

[rank0]: Traceback (most recent call last):
[rank0]:   File "/workspace/Matrix-3D/code/panoramic_image_to_video.py", line 462, in <module>
[rank0]:     main(args)
[rank0]:   File "/workspace/Matrix-3D/code/panoramic_image_to_video.py", line 269, in main
[rank0]:     rendered_rgb, rendered_mask, render_Rts, firstframe_rgb, firstframe_depth, angle = perform_camera_movement_with_cam_input(panorama_torch, depth_torch, angle=angle, movement_ratio=movement_range, frame_size=81, preset_rail=rail,mode=movement_mode)
[rank0]:   File "/workspace/Matrix-3D/code/utils_3dscene/nvrender.py", line 1325, in perform_camera_movement_with_cam_input
[rank0]:     rgbs, masks = generate_pc_render(Rts, firstframe_rgb, firstframe_depth)
[rank0]:   File "/workspace/Matrix-3D/code/utils_3dscene/nvrender.py", line 1049, in generate_pc_render
[rank0]:     rendered_cmap, rendered_cmap_mask = mesh_pano_render_color(mesh_full, all_w2cs.cpu().numpy(), H, W, near, far, device)
[rank0]:   File "/workspace/Matrix-3D/code/utils_3dscene/nvrender.py", line 892, in mesh_pano_render_color
[rank0]:     render_color,render_mask = get_mesh_render_color(mesh, (K[None].repeat(6*cur_process_size,0)), (panorama_render_Rts.reshape(cur_process_size*6,4,4)), 512,512,near,far, device)
[rank0]:   File "/workspace/Matrix-3D/code/utils_3dscene/nvrender.py", line 384, in get_mesh_render_color
[rank0]:     glctx = dr.RasterizeCudaContext(device=device)
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/ops.py", line 184, in __init__
[rank0]:     self.cpp_wrapper = _get_plugin().RasterizeCRStateWrapper(cuda_device_idx)
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/ops.py", line 125, in _get_plugin
[rank0]:     torch.utils.cpp_extension.load(name=plugin_name, sources=source_paths, extra_cflags=common_opts+cc_opts, extra_cuda_cflags=common_opts+['-lineinfo'], extra_ldflags=ldflags, with_cuda=True, verbose=False)
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1623, in load
[rank0]:     return _jit_compile(
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2076, in _jit_compile
[rank0]:     _write_ninja_file_and_build_library(
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2222, in _write_ninja_file_and_build_library
[rank0]:     _run_ninja_build(
[rank0]:   File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2522, in _run_ninja_build
[rank0]:     raise RuntimeError(message) from e
[rank0]: RuntimeError: Error building extension 'nvdiffrast_plugin': [1/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF CudaRaster.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/CudaRaster.cpp -o CudaRaster.o 
[rank0]: FAILED: [code=1] CudaRaster.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF CudaRaster.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/CudaRaster.cpp -o CudaRaster.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/CudaRaster.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/Defs.hpp:10:10: fatal error: cuda_runtime.h: No such file or directory
[rank0]:    10 | #include <cuda_runtime.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [2/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF common.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/common.cpp -o common.o 
[rank0]: FAILED: [code=1] common.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF common.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/common.cpp -o common.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/common.cpp:9:10: fatal error: cuda_runtime.h: No such file or directory
[rank0]:     9 | #include <cuda_runtime.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [3/16] /workspace/miniconda3/envs/matrix3d/bin/nvcc --generate-dependencies-with-compile --dependency-output antialias.cuda.o.d -ccbin /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -DNVDR_TORCH -lineinfo -std=c++17 -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/antialias.cu -o antialias.cuda.o 
[rank0]: nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
[rank0]: [4/16] /workspace/miniconda3/envs/matrix3d/bin/nvcc --generate-dependencies-with-compile --dependency-output rasterize.cuda.o.d -ccbin /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -DNVDR_TORCH -lineinfo -std=c++17 -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/rasterize.cu -o rasterize.cuda.o 
[rank0]: nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
[rank0]: [5/16] /workspace/miniconda3/envs/matrix3d/bin/nvcc --generate-dependencies-with-compile --dependency-output interpolate.cuda.o.d -ccbin /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -DNVDR_TORCH -lineinfo -std=c++17 -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/interpolate.cu -o interpolate.cuda.o 
[rank0]: nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
[rank0]: [6/16] /workspace/miniconda3/envs/matrix3d/bin/nvcc --generate-dependencies-with-compile --dependency-output RasterImpl.cuda.o.d -ccbin /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -DNVDR_TORCH -lineinfo -std=c++17 -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/RasterImpl.cu -o RasterImpl.cuda.o 
[rank0]: nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
[rank0]: [7/16] /workspace/miniconda3/envs/matrix3d/bin/nvcc --generate-dependencies-with-compile --dependency-output texture.cuda.o.d -ccbin /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -DNVDR_TORCH -lineinfo -std=c++17 -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/texture.cu -o texture.cuda.o 
[rank0]: nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
[rank0]: [8/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_bindings.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings.cpp -o torch_bindings.o 
[rank0]: FAILED: [code=1] torch_bindings.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_bindings.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings.cpp -o torch_bindings.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [9/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_antialias.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_antialias.cpp -o torch_antialias.o 
[rank0]: FAILED: [code=1] torch_antialias.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_antialias.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_antialias.cpp -o torch_antialias.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_antialias.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [10/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_texture.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_texture.cpp -o torch_texture.o 
[rank0]: FAILED: [code=1] torch_texture.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_texture.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_texture.cpp -o torch_texture.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_texture.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [11/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF texture.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/texture.cpp -o texture.o 
[rank0]: FAILED: [code=1] texture.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF texture.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/texture.cpp -o texture.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/texture.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [12/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF RasterImpl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/RasterImpl.cpp -o RasterImpl.o 
[rank0]: FAILED: [code=1] RasterImpl.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF RasterImpl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/RasterImpl.cpp -o RasterImpl.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/../../framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/RasterImpl.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [13/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_interpolate.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_interpolate.cpp -o torch_interpolate.o 
[rank0]: FAILED: [code=1] torch_interpolate.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_interpolate.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_interpolate.cpp -o torch_interpolate.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_interpolate.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [14/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF Buffer.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/Buffer.cpp -o Buffer.o 
[rank0]: FAILED: [code=1] Buffer.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF Buffer.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/Buffer.cpp -o Buffer.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/../../framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/common/cudaraster/impl/Buffer.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: [15/16] /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_rasterize.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_rasterize.cpp -o torch_rasterize.o 
[rank0]: FAILED: [code=1] torch_rasterize.o 
[rank0]: /workspace/miniconda3/envs/matrix3d/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_rasterize.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1016\" -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include -isystem /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /workspace/miniconda3/envs/matrix3d/include -isystem /workspace/miniconda3/envs/matrix3d/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++17 -DNVDR_TORCH -c /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_rasterize.cpp -o torch_rasterize.o 
[rank0]: In file included from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:37,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
[rank0]:                  from /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/nvdiffrast/torch/torch_rasterize.cpp:9:
[rank0]: /workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory
[rank0]:     6 | #include <cuda_runtime_api.h>
[rank0]:       |          ^~~~~~~~~~~~~~~~~~~~
[rank0]: compilation terminated.
[rank0]: ninja: build stopped: subcommand failed.

[rank0]:[W715 13:16:23.349440489 ProcessGroupNCCL.cpp:1476] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
E0715 13:16:24.406000 726 site-packages/torch/distributed/elastic/multiprocessing/api.py:874] failed (exitcode: 1) local_rank: 0 (pid: 791) of binary: /workspace/miniconda3/envs/matrix3d/bin/python3.10
Traceback (most recent call last):
  File "/workspace/miniconda3/envs/matrix3d/bin/torchrun", line 6, in <module>
    sys.exit(main())
  File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
    return f(*args, **kwargs)
  File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/distributed/run.py", line 892, in main
    run(args)
  File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/distributed/run.py", line 883, in run
    elastic_launch(
  File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 139, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/workspace/miniconda3/envs/matrix3d/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 270, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError: 
============================================================
code/panoramic_image_to_video.py FAILED
------------------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2026-07-15_13:16:24
  host      : a94bdb898984
  rank      : 0 (local_rank: 0)
  exitcode  : 1 (pid: 791)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================