Skip to content

feat: allow customized search path for native library loading. #588

feat: allow customized search path for native library loading.

feat: allow customized search path for native library loading. #588

Triggered via pull request November 28, 2023 16:16
Status Success
Total duration 7m 35s
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#L101
'LLamaContext.Eval(int[], int)' is obsolete: 'use llama_decode() instead'
Test (linux-release): LLama/Native/NativeApi.Load.cs#L132
Possible null reference return.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L92
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
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/LLamaInstructExecutor.cs#L154
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (linux-release): 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.
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 (windows-release): LLama/LLamaEmbedder.cs#L101
'LLamaContext.Eval(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/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/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/LLamaExecutorBase.cs#L374
Non-nullable property 'LastTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/Native/NativeApi.Load.cs#L132
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/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaStatelessExecutor.cs#L80
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (windows-release): LLama/LLamaStatelessExecutor.cs#L126
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
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/LLamaInstructExecutor.cs#L154
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (osx-release): 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.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L191
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaInstructExecutor.cs#L210
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L261
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#L266
Non-nullable property 'InputSuffixTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaExecutorBase.cs#L365
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Artifacts

Produced during runtime
Name Size
logs Expired
3.81 MB