Skip to content

使用api+blender插件时生成纹理导致服务器变慢 #276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MrLoSer opened this issue Jun 12, 2025 · 2 comments
Open

使用api+blender插件时生成纹理导致服务器变慢 #276

MrLoSer opened this issue Jun 12, 2025 · 2 comments

Comments

@MrLoSer
Copy link

MrLoSer commented Jun 12, 2025

Image不勾选生成纹理可以正常生成白模,勾选点击生成服务器会卡死,日志2025-06-12 07:14:41 | INFO | controller | Worker generating...
2025-06-12 07:14:42,251 - hy3dgen.shapgen - INFO - The parameters mc_algo is deprecated, and will be removed in future versions.
Please use:
from hy3dgen.shapegen.models.autoencoders import SurfaceExtractors
pipeline.vae.surface_extractor = SurfaceExtractorsmc_algo instead

2025-06-12 07:14:42 | INFO | hy3dgen.shapgen | The parameters mc_algo is deprecated, and will be removed in future versions.
Please use:
from hy3dgen.shapegen.models.autoencoders import SurfaceExtractors
pipeline.vae.surface_extractor = SurfaceExtractorsmc_algo instead

Diffusion Sampling:: 0%| | 0/20 [00:00<?, ?it/s]
Diffusion Sampling:: 5%|?????? | 1/20 [00:00<00:05, 3.21it/s]
Diffusion Sampling:: 15%|????????????????? | 3/20 [00:00<00:03, 4.74it/s]
Diffusion Sampling:: 20%|?????????????????????? | 4/20 [00:00<00:03, 4.36it/s]
Diffusion Sampling:: 25%|???????????????????????????? | 5/20 [00:01<00:03, 4.13it/s]
Diffusion Sampling:: 30%|????????????????????????????????? | 6/20 [00:01<00:03, 4.03it/s]
Diffusion Sampling:: 35%|??????????????????????????????????????? | 7/20 [00:01<00:03, 3.93it/s]
Diffusion Sampling:: 40%|???????????????????????????????????????????? | 8/20 [00:01<00:03, 3.85it/s]
Diffusion Sampling:: 45%|?????????????????????????????????????????????????? | 9/20 [00:02<00:02, 3.80it/s]
Diffusion Sampling:: 50%|??????????????????????????????????????????????????????? | 10/20 [00:02<00:02, 3.74it/s]
Diffusion Sampling:: 55%|???????????????????????????????????????????????????????????? | 11/20 [00:02<00:02, 3.66it/s]
Diffusion Sampling:: 60%|?????????????????????????????????????????????????????????????????? | 12/20 [00:03<00:02, 3.67it/s]
Diffusion Sampling:: 65%|??????????????????????????????????????????????????????????????????????? | 13/20 [00:03<00:01, 3.67it/s]
Diffusion Sampling:: 70%|????????????????????????????????????????????????????????????????????????????? | 14/20 [00:03<00:01, 3.64it/s]
Diffusion Sampling:: 75%|?????????????????????????????????????????????????????????????????????????????????? | 15/20 [00:03<00:01, 3.60it/s]
Diffusion Sampling:: 80%|???????????????????????????????????????????????????????????????????????????????????????? | 16/20 [00:04<00:01, 3.53it/s]
Diffusion Sampling:: 85%|????????????????????????????????????????????????????????????????????????????????????????????? | 17/20 [00:04<00:00, 3.53it/s]
Diffusion Sampling:: 90%|?????????????????????????????????????????????????????????????????????????????????????????????????? | 18/20 [00:04<00:00, 3.53it/s]
Diffusion Sampling:: 95%|???????????????????????????????????????????????????????????????????????????????????????????????????????? | 19/20 [00:05<00:00, 3.57it/s]
Diffusion Sampling:: 100%|?????????????????????????????????????????????????????????????????????????????????????????????????????????????| 20/20 [00:05<00:00, 3.52it/s]
Diffusion Sampling:: 100%|?????????????????????????????????????????????????????????????????????????????????????????????????????????????| 20/20 [00:05<00:00, 3.73it/s]
2025-06-12 07:14:48 | ERROR | stderr |
2025-06-12 07:14:48,425 - hy3dgen.shapgen - INFO - FlashVDMVolumeDecoding Resolution: [63, 126, 252]
2025-06-12 07:14:48 | INFO | hy3dgen.shapgen | FlashVDMVolumeDecoding Resolution: [63, 126, 252]
FlashVDM Volume Decoding: 0%| | 0/64 [00:00<?, ?it/s]
FlashVDM Volume Decoding: 100%|???????????????????????????????????????????????????????????????????????????????????????????????????????| 64/64 [00:00<00:00, 771.20it/s]
2025-06-12 07:14:48 | ERROR | stderr |
2025-06-12 07:14:49 | INFO | controller | --- 7.23912787437439 seconds ---

@MrLoSer
Copy link
Author

MrLoSer commented Jun 12, 2025

最终导致资源枯竭,进程退出libgomp: Thread creation failed: Resource temporarily unavailable
malloc(): unsorted double linked list corrupted

@MrLoSer
Copy link
Author

MrLoSer commented Jun 12, 2025

通过调试看到代码卡在api_server.py 219行 mesh = self.pipeline_tex(mesh, image)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant