Skip to content

< Back


NativeLibraryWithAvx

Namespace: LLama.Native

A native library compiled with avx support but without cuda/cublas.

1
public class NativeLibraryWithAvx : LLama.Abstractions.INativeLibrary

Inheritance ObjectNativeLibraryWithAvx
Implements INativeLibrary
Attributes NullableContextAttribute, NullableAttribute

Properties

Metadata

1
public NativeLibraryMetadata Metadata { get; }

Property Value

NativeLibraryMetadata

Constructors

NativeLibraryWithAvx(NativeLibraryName, AvxLevel, Boolean)

1
public NativeLibraryWithAvx(NativeLibraryName libraryName, AvxLevel avxLevel, bool skipCheck)

Parameters

libraryName NativeLibraryName

avxLevel AvxLevel

skipCheck Boolean

Methods

Prepare(SystemInfo, LLamaLogCallback)

1
public IEnumerable<string> Prepare(SystemInfo systemInfo, LLamaLogCallback logCallback)

Parameters

systemInfo SystemInfo

logCallback LLamaLogCallback

Returns

IEnumerable<String>


< Back