Skip to content

Conversation

clovisribeiro
Copy link
Contributor

The NET framework 4.8 marshaller does not accept the LlamaProgressCallback delegate used in the LlamaModelParams struct, so a conditional compilation was added to use IntPtr instead of LlamaProgressCallback when targeting NET Standard 2.0 (and not NET 6.0 or greater) which essentially means running on NET Framework for us.

…lParams struct) so the struct plays nice with legacy NET Framework 4.8
@martindevans
Copy link
Member

Thanks!

@martindevans martindevans merged commit d0f7981 into SciSharp:master Mar 11, 2024
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.

2 participants