Skip to content

Split the main package #754

Closed as not planned
Closed as not planned
@AsakusaRinne

Description

@AsakusaRinne

Description

It has once been discussed in #683 that we could split our package into several sub-packages. To be honest I think it's too risky to split it into several nuget packages at once. But we could do it without publishing new nuget packages at first. I believe it's a good time to do so now.

The first step is to split it to the native part (low-level) and non-native part (mid/high level).

  • LLamaSharp.Native
  • LLamaSharp

The LLamaSharp will depend on LLamaSharp.Native, but only LLamaSharp will produce a nuget package. Therefore two managed DLLs will be included in one package, which are LLamaSharp.dll and LLamaSharp.Native.dll.


There are totally four steps to take.

  • Split low-level and mid/high level.
  • Split mid-level and high-level.
  • Publish new low-level package on the nuget.
  • Publish new mid-level and high-level packages on the nuget.

I'll do the first step this weekend and I'm opening this issue for more discussions about them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionstaleStale issue will be autoclosed soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions