Skip to content

Swapped StatelessExecutor to use llama_decode! #759

Swapped StatelessExecutor to use llama_decode!

Swapped StatelessExecutor to use llama_decode! #759

Triggered via pull request January 20, 2024 21:19
Status Success
Total duration 4m 4s
Artifacts 1

main.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Test (linux-release): LLama/LLamaEmbedder.cs#L78
'LLamaContext.Eval(ReadOnlySpan<LLamaToken>, int)' is obsolete: 'use Decode() instead'
Test (linux-release): LLama/LLamaInteractExecutor.cs#L91
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L108
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L136
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (linux-release): LLama/LLamaInteractExecutor.cs#L132
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.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L153
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (linux-release): LLama/LLamaInstructExecutor.cs#L149
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.
Test (linux-release): LLama/LLamaExecutorBase.cs#L363
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (linux-release): LLama/LLamaExecutorBase.cs#L366
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (linux-release): LLama/LLamaExecutorBase.cs#L369
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaEmbedder.cs#L78
'LLamaContext.Eval(ReadOnlySpan<LLamaToken>, int)' is obsolete: 'use Decode() instead'
Test (windows-release): LLama/LLamaExecutorBase.cs#L363
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L366
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L369
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L372
Non-nullable property 'LastTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L91
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L136
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (windows-release): LLama/LLamaInteractExecutor.cs#L132
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.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L169
'LLamaContext.Eval(List<LLamaToken>, int)' is obsolete: 'use Decode() instead'
Test (windows-release): LLama/LLamaInteractExecutor.cs#L188
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (osx-release): LLama/LLamaEmbedder.cs#L78
'LLamaContext.Eval(ReadOnlySpan<LLamaToken>, int)' is obsolete: 'use Decode() instead'
Test (osx-release): LLama/LLamaInstructExecutor.cs#L108
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L153
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (osx-release): LLama/LLamaInstructExecutor.cs#L149
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.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L190
'LLamaContext.Eval(List<LLamaToken>, int)' is obsolete: 'use Decode() instead'
Test (osx-release): LLama/LLamaInstructExecutor.cs#L209
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L91
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L268
Non-nullable property 'InputPrefixTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L273
Non-nullable property 'InputSuffixTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L136
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'

Artifacts

Produced during runtime
Name Size
logs Expired
4.47 MB