GithubHelp home page GithubHelp logo

Comments (8)

AsakusaRinne avatar AsakusaRinne commented on September 23, 2024 1

Hi all, maybe I've found a way to resolve this problem.

install-package LLamaSharp

Using this command in package manager console could work with .NET Framework 4.7.2, at least it works for me! I'm looking forward to your feedbacks.

from llamasharp.

martindevans avatar martindevans commented on September 23, 2024

Could you try this again with the new 0.10.0 release?

If it's still a problem someone will need to dig further into why it's not loading with .NET Framework.

from llamasharp.

wonderingmark123 avatar wonderingmark123 commented on September 23, 2024

Thanks for your attention! There is still the same problem after updating to 0.10.0. And I tried both CPU and GPU backends.

from llamasharp.

AsakusaRinne avatar AsakusaRinne commented on September 23, 2024

Could you please post the log when running it with NativeLibraryConfig.Instance.WithLogs() under .NET framework 4.7.2 here?

Furthermore, please try using NativeLibraryConfig.Instance.WithLibrary(<path>) to specify the path of native library file, which could be found in https://github.com/SciSharp/LLamaSharp/tree/master/LLama/runtimes/deps

from llamasharp.

SINAPSA-IC avatar SINAPSA-IC commented on September 23, 2024

from llamasharp.

HikiWaltz avatar HikiWaltz commented on September 23, 2024

Dunno if it helps, but it is possible to upgrade from .NET framework to .NET Standard or Core with the assistant from Microsoft itself...
I've used it to move a Console App that opens up a bunch of WPF windows.
Seems like it supports winforms as well.

https://dotnet.microsoft.com/en-us/platform/upgrade-assistant

from llamasharp.

SINAPSA-IC avatar SINAPSA-IC commented on September 23, 2024

from llamasharp.

SINAPSA-IC avatar SINAPSA-IC commented on September 23, 2024

from llamasharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.