Skip to content

Conversation

richiejp
Copy link
Collaborator

@richiejp richiejp commented Aug 7, 2025

Description

This tries to convert SD to use Purego so that we can use GGML's and SDs CMake build system to configure linking for things like SYCL.

Notes for Reviewers

Outstanding issues:

  • Fix linking issue for some missing symbols from the GGML base library
  • Use CMake and include SD and GGML CMakeLists
  • Fix segfault on loading model

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Aug 7, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit eca2651
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/689b1e212f6e970008df1ff7
😎 Deploy Preview https://deploy-preview-5989--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@richiejp richiejp marked this pull request as ready for review August 12, 2025 10:59
@richiejp
Copy link
Collaborator Author

Created an issue with Purego upstream which would simplify our usage here: ebitengine/purego#331

Also if Purego supported structs on Linux then we could perhaps use the stablediffusion API directly: ebitengine/purego#236

Copy link
Owner

@mudler mudler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicee!

@mudler mudler merged commit 94cb20a into mudler:master Aug 12, 2025
24 of 25 checks passed
mudler added a commit that referenced this pull request Aug 15, 2025
mudler added a commit that referenced this pull request Aug 15, 2025
@mudler mudler added enhancement New feature or request and removed dependencies labels Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants