Skip to content

Added Obsolete markings to all Eval overloads #540

Added Obsolete markings to all Eval overloads

Added Obsolete markings to all Eval overloads #540

Triggered via pull request November 17, 2023 01:55
Status Success
Total duration 5m 41s
Artifacts 1

main.yml

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

Annotations

30 warnings
Test (linux-release): LLama/Native/NativeApi.Load.cs#L131
Possible null reference return.
Test (linux-release): LLama/LLamaStatelessExecutor.cs#L80
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (linux-release): LLama/LLamaStatelessExecutor.cs#L126
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (linux-release): LLama/LLamaInteractExecutor.cs#L92
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L137
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (linux-release): LLama/LLamaInteractExecutor.cs#L133
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/LLamaInteractExecutor.cs#L170
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (linux-release): LLama/LLamaInteractExecutor.cs#L189
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L159
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#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/Native/NativeApi.Load.cs#L131
Possible null reference return.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L92
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaEmbedder.cs#L101
'LLamaContext.Eval(int[], int)' is obsolete: 'use llama_decode() instead'
Test (windows-release): LLama/LLamaStatelessExecutor.cs#L80
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (windows-release): LLama/LLamaExecutorBase.cs#L365
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaStatelessExecutor.cs#L126
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (windows-release): LLama/LLamaExecutorBase.cs#L368
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaExecutorBase.cs#L371
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#L101
'LLamaContext.Eval(int[], int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/Native/NativeApi.Load.cs#L131
Possible null reference return.
Test (osx-release): LLama/LLamaStatelessExecutor.cs#L80
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaStatelessExecutor.cs#L126
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaInteractExecutor.cs#L92
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L137
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (osx-release): LLama/LLamaInteractExecutor.cs#L133
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/LLamaInteractExecutor.cs#L170
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaInteractExecutor.cs#L189
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L159
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#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.

Artifacts

Produced during runtime
Name Size
logs Expired
3.41 MB