You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TripoSG mesh generation fails due to missing scheduler import #392
Mesh generation fails in TripoSG because Diffusers cannot load triposg.schedulers.scheduling_rectified_flow. The reporter found that adding an explicit import in extensions/triposg/generator.py during load resolves the issue.
Steps to Reproduce
Use Modly 0.4.3 on Windows 11.
Attempt to generate a mesh with TripoSG.
Check the logs.
Observe the error:
ValueError: triposg.schedulers.scheduling_rectified_flow
is not one of the libraries Diffusers can load components from
Expected Behavior
Mesh generation should complete successfully without requiring a manual code change.
Actual Behavior
Mesh generation fails with a Diffusers ValueError about triposg.schedulers.scheduling_rectified_flow not being a loadable library. Adding import triposg.schedulers.scheduling_rectified_flow in extensions/triposg/generator.py before importing TripoSGPipeline works around the issue.
Cause: the extension only sets a floor on diffusers (>=0.31.0), so fresh installs now get diffusers 0.42. That version no longer imports a custom module named in model_index.json; the module has to be imported already. The TripoSG pipeline imported the transformer and the VAE, but not the scheduler.
Fix: the generator now imports triposg.schedulers.scheduling_rectified_flow before loading the pipeline, as the reporter suggested. The extension version goes to 1.0.2 so existing installs pick it up. Verified with diffusers 0.42.1 (it fails without the fix and loads with it) and 0.37.1.
Once the PR is merged, update or repair the TripoSG extension from the Models page to get the fix.
Activity
lightningpixel commentedon Nov 8, 2026
Fixed in lightningpixel/modly-triposg-extension#4.
Cause: the extension only sets a floor on diffusers (
>=0.31.0), so fresh installs now get diffusers 0.42. That version no longer imports a custom module named inmodel_index.json; the module has to be imported already. The TripoSG pipeline imported the transformer and the VAE, but not the scheduler.Fix: the generator now imports
triposg.schedulers.scheduling_rectified_flowbefore loading the pipeline, as the reporter suggested. The extension version goes to 1.0.2 so existing installs pick it up. Verified with diffusers 0.42.1 (it fails without the fix and loads with it) and 0.37.1.Once the PR is merged, update or repair the TripoSG extension from the Models page to get the fix.
fix: import the TripoSG scheduler module before loading the pipeline