Skip to content

< Back


NativeLibraryWithCuda

Namespace: LLama.Native

A native library compiled with cublas/cuda.

1
public class NativeLibraryWithCuda : LLama.Abstractions.INativeLibrary

Inheritance ObjectNativeLibraryWithCuda
Implements INativeLibrary
Attributes NullableContextAttribute, NullableAttribute

Properties

Metadata

1
public NativeLibraryMetadata Metadata { get; }

Property Value

NativeLibraryMetadata

Constructors

NativeLibraryWithCuda(Int32, NativeLibraryName, AvxLevel, Boolean)

1
public NativeLibraryWithCuda(int majorCudaVersion, NativeLibraryName libraryName, AvxLevel avxLevel, bool skipCheck)

Parameters

majorCudaVersion Int32

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