Fix CPU offload regressions and optimize UV unwrapping for dense meshes - #356
Open
undergroundrap wants to merge 1 commit into
Open
Conversation
|
|
Author
|
I've submitted my signed CLA via email to TencentCLA@tencent.com, as I encountered issues with the online signing portal. Please let me know if you need any further information to verify my status. Thank you! |
Author
|
I've set a default limit of 80,000 faces to ensure the UV warp completes on consumer hardware (RTX 3070/4070). If we want to support 1M+ faces for enterprise users, we could move this 'max_faces' to a config variable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title: Fix CPU offload regressions and optimize UV unwrapping
Description:
This PR addresses several issues detected when running in low-VRAM/CPU-offload modes:
self.componentstoHunyuan3DDiTPipelineto supportaccelerateoffloading hooks.sigmatensors in schedulers are moved to the correct device during sampling.mesh_uv_wrapto prevent performance hangs on dense meshes (1M+ faces).fast-simplificationto requirements.txt for mesh optimization.