Skip to content

Merge pull request #1098 from phil-scott-78/new-json-gbnf #1824

Merge pull request #1098 from phil-scott-78/new-json-gbnf

Merge pull request #1098 from phil-scott-78/new-json-gbnf #1824

Triggered via push February 13, 2025 20:51
Status Success
Total duration 6m 44s
Artifacts 3

main.yml

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

Annotations

34 warnings
Test (osx-release)
Cache not found for keys: unit_test_models
Test (osx-release): LLama/Native/NativeApi.cs#L24
Method, operator, or accessor 'NativeApi.llama_backend_free()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (osx-release): LLama/ChatSession.cs#L782
Possible null reference argument for parameter 'executorState' in 'SessionState.SessionState(State? contextState, ExecutorBaseState executorState, ChatHistory history, List<ITextTransform> inputTransformPipeline, ITextStreamTransform outputTransform, IHistoryTransform historyTransform)'.
Test (osx-release): LLama/Common/PolymorphicJSONConverter.cs#L48
Dereference of a possibly null reference.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L110
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L163
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (osx-release): LLama/LLamaInstructExecutor.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#L227
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (osx-release): LLama/LLamaExecutorBase.cs#L417
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (osx-release): LLama/LLamaExecutorBase.cs#L420
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (osx-release): LLama/LLamaExecutorBase.cs#L423
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (linux-release): LLama/Native/NativeApi.cs#L24
Method, operator, or accessor 'NativeApi.llama_backend_free()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (linux-release): LLama/ChatSession.cs#L782
Possible null reference argument for parameter 'executorState' in 'SessionState.SessionState(State? contextState, ExecutorBaseState executorState, ChatHistory history, List<ITextTransform> inputTransformPipeline, ITextStreamTransform outputTransform, IHistoryTransform historyTransform)'.
Test (linux-release): LLama/Common/PolymorphicJSONConverter.cs#L48
Dereference of a possibly null reference.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L110
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L102
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L163
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (linux-release): LLama/LLamaInstructExecutor.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/LLamaExecutorBase.cs#L417
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (linux-release): LLama/LLamaExecutorBase.cs#L420
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (linux-release): LLama/LLamaExecutorBase.cs#L423
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (linux-release)
Cache not found for keys: unit_test_models
Test (linux-release)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Test (windows-release)
Cache not found for keys: unit_test_models
Test (windows-release): LLama/Native/NativeApi.cs#L24
Method, operator, or accessor 'NativeApi.llama_backend_free()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (windows-release): LLama/Common/PolymorphicJSONConverter.cs#L48
Dereference of a possibly null reference.
Test (windows-release): LLama/ChatSession.cs#L782
Possible null reference argument for parameter 'executorState' in 'SessionState.SessionState(State? contextState, ExecutorBaseState executorState, ChatHistory history, List<ITextTransform> inputTransformPipeline, ITextStreamTransform outputTransform, IHistoryTransform historyTransform)'.
Test (windows-release): LLama/LLamaExecutorBase.cs#L417
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L420
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L423
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L426
Non-nullable property 'LastTokens' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (windows-release): LLama/LLamaInstructExecutor.cs#L110
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L102
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaInstructExecutor.cs#L163
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'

Artifacts

Produced during runtime
Name Size
logs-macos-14
1.03 MB
logs-ubuntu-latest
879 KB
logs-windows-2019
712 KB