Skip to content

< Back


LoadWeightsFailedException

Namespace: LLama.Exceptions

Loading model weights failed

1
public class LoadWeightsFailedException : RuntimeError, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionRuntimeErrorLoadWeightsFailedException
Implements ISerializable
Attributes NullableContextAttribute, NullableAttribute

Properties

ModelPath

The model path which failed to load

1
public string ModelPath { get; }

Property Value

String

TargetSite

1
public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

1
public string Message { get; }

Property Value

String

Data

1
public IDictionary Data { get; }

Property Value

IDictionary

InnerException

1
public Exception InnerException { get; }

Property Value

Exception

1
public string HelpLink { get; set; }

Property Value

String

Source

1
public string Source { get; set; }

Property Value

String

HResult

1
public int HResult { get; set; }

Property Value

Int32

StackTrace

1
public string StackTrace { get; }

Property Value

String

Constructors

LoadWeightsFailedException(String)

1
public LoadWeightsFailedException(string modelPath)

Parameters

modelPath String

Events

SerializeObjectState

Caution

BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.


1
protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState;

< Back