Async implementation of LLamaExecutors #1438
Annotations
12 warnings
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
LLama/ChatSession.cs#L685
'LLamaContext.State.ToByteArray()' is obsolete: 'It is not generally safe to convert a state into a byte array - it will fail if the state is very large'
|
LLama/ChatSession.cs#L727
'LLamaContext.State.FromByteArray(byte[])' is obsolete: 'It is not generally safe to convert a state into a byte array - it will fail if the state is very large'
|
LLama/ChatSession.cs#L783
Possible null reference argument for parameter 'executorState' in 'SessionState.SessionState(State? contextState, ExecutorBaseState executorState, ChatHistory history, List<ITextTransform> inputTransformPipeline, ITextStreamTransform outputTransform, IHistoryTransform historyTransform)'.
|
LLama/Common/PolymorphicJSONConverter.cs#L51
Dereference of a possibly null reference.
|
LLama/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
|
LLama/LLamaInstructExecutor.cs#L154
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
|
LLama/LLamaInstructExecutor.cs#L150
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
LLama/LLamaExecutorBase.cs#L422
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
LLama/LLamaExecutorBase.cs#L425
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
LLama/LLamaExecutorBase.cs#L428
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "logs".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
This job succeeded
Loading