#188·TRELLIS.2

较小的 GPU 上的内存不足

作者: rpep创建于 2026年9月7日更新于 2026年9月7日

调用 `pipeline.run()` (或等效的仅包含形状的序列: `sample_sparse_structure` -> `sample_shape_slat_cascade` -> `decode_shape_slat` -> `mesh.fill_holes()`)在中等复杂的图像上可靠地发生内存溢出,具体取决于原始采样状态中仍然占用的内存量,原因是 `decode_shape_slat` 的 `shape_slat_decoder` 前向传递或 `Mesh.fill_holes()` 的 `cumesh.CuMesh.get_edges()` 调用中出现问题,具体取决于原始采样状态中仍然占用的内存量:

内容来源: microsoft/TRELLIS.2