Skip to content

Conversation

@CarlGao4
Copy link
Contributor

@CarlGao4 CarlGao4 commented Dec 20, 2025

The current MSBuild does not support parallel compiling of CUDA. Switching to Ninja can speed up as GH Actions uses 2-core VM.

Besides, CUDA warnings 177 and 550 are also suppressed (declared but unused / set but unused) to clean up build logs

@CarlGao4
Copy link
Contributor Author

CarlGao4 commented Dec 20, 2025

For build test, see https://github.com/CarlGao4/stable-diffusion.cpp/actions/runs/20395440140/job/58610265651

With the 2-core VM of GitHub Actions, build time could be cut down by half

When using Ninja, config should be set during configuration instead of building
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

Successfully merging this pull request may close these issues.

1 participant