GithubHelp home page GithubHelp logo

Comments (5)

AsakusaRinne avatar AsakusaRinne commented on May 26, 2024

Hi, the image you uploaded was broken. Could you please provide some more information?

from llamasharp.

celsojr avatar celsojr commented on May 26, 2024

This is a fresh new dotnet 6 console app, but I'm not able to install this package :(

PS C:\Users\[...]\LLamaSharp> dotnet add .\LLamaSharp\LLamaSharp.csproj package LLamaSharp --version 0.3.0
  Determining projects to restore...
  Writing C:\Users\[...]\AppData\Local\Temp\tmpdo5h4v.tmp
info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing.
info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
info : Adding PackageReference for package 'LLamaSharp' into project '.\LLamaSharp\LLamaSharp.csproj'.
info : Restoring packages for C:\Users\[...]\LLamaSharp\LLamaSharp.csproj...
error: NU1108: Cycle detected.
error:   LLamaSharp -> LLamaSharp (>= 0.3.0).
info : Package 'LLamaSharp' is compatible with all the specified frameworks in project '.\LLamaSharp\LLamaSharp.csproj'.
error: Value cannot be null. (Parameter 'path1')


Usage: NuGet.CommandLine.XPlat.dll package add [options]

Options:
  -h|--help               Show help information
  --force-english-output  Forces the application to run using an invariant, English-based culture.
  --package               Id of the package to be added.
  --version               Version of the package to be added.
  -d|--dg-file            Path to the dependency graph file to be used to restore preview and compatibility check.
  -p|--project            Path to the project file.
  -f|--framework          Frameworks for which the package reference should be added.
  -n|--no-restore         Do not perform restore preview and compatibility check. The added package reference will be unconditional.
  -s|--source             Specifies NuGet package sources to use during the restore.
  --package-directory     Directory to restore packages in.
  --interactive           Allow the command to block and require manual action for operations like authentication.
  --prerelease            Allows prerelease packages to be installed.

from llamasharp.

AsakusaRinne avatar AsakusaRinne commented on May 26, 2024

Hi, it seems that you created a project using the same name "LLamaSharp" (reference). Could you please have a project with different name and then have an another try?

from llamasharp.

celsojr avatar celsojr commented on May 26, 2024

Now this is working fine, and it's pretty fast! 🥳🎉

What I did was, I created a Python project just to try the model out and make sure it would work fine with similar setup on my machine.

Then, with c#, I create a new Class Library with the NetStandard 2.0 and installed the both LLamaSharp 0.4.0 and LLamaSharp.Backend.Cpu 0.3.1 in this project.

Then I created a new separated project with the net7.0 and put a reference for the NetStandard project calling a method over there.

Then I realized that the problem was just the name of the project as you said. 🤡

THAAAAAAAAAAAAANKS! 😁

image

from llamasharp.

AsakusaRinne avatar AsakusaRinne commented on May 26, 2024

You're welcome :) Your support is our motivation

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.