Skip to content

Less Sampler Allocations #1272

Less Sampler Allocations

Less Sampler Allocations #1272

Triggered via pull request May 13, 2024 12:58
Status Success
Total duration 4m 28s
Artifacts 1

main.yml

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

Annotations

34 warnings
Test (linux-release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (linux-release): LLama/Abstractions/IContextParams.cs#L119
XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'
Test (linux-release): LLama/Abstractions/IContextParams.cs#L120
XML comment has badly formed XML -- 'End tag was not expected at this location.'
Test (linux-release): LLama/LLamaTemplate.cs#L217
Dereference of a possibly null reference.
Test (linux-release): LLama/Common/PolymorphicJSONConverter.cs#L51
Dereference of a possibly null reference.
Test (linux-release): LLama/LLamaWeights.cs#L109
The variable 'modelLoadProgressRange' is assigned but its value is never used
Test (linux-release): LLama/LLamaInteractExecutor.cs#L101
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/LLamaInteractExecutor.cs#L162
Dereference of a possibly null reference.
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 (osx-release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (osx-release): LLama/Abstractions/IContextParams.cs#L119
XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'
Test (osx-release): LLama/Abstractions/IContextParams.cs#L120
XML comment has badly formed XML -- 'End tag was not expected at this location.'
Test (osx-release): LLama/LLamaWeights.cs#L109
The variable 'modelLoadProgressRange' is assigned but its value is never used
Test (osx-release): LLama/LLamaTemplate.cs#L217
Dereference of a possibly null reference.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L101
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L162
Dereference of a possibly null reference.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L203
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (osx-release): LLama/LLamaInteractExecutor.cs#L199
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#L262
Dereference of a possibly null reference.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L295
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (windows-release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (windows-release): LLama/Abstractions/IContextParams.cs#L119
XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'
Test (windows-release): LLama/Abstractions/IContextParams.cs#L119
XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'
Test (windows-release): LLama/Abstractions/IContextParams.cs#L120
XML comment has badly formed XML -- 'End tag was not expected at this location.'
Test (windows-release): LLama/Abstractions/IContextParams.cs#L120
XML comment has badly formed XML -- 'End tag was not expected at this location.'
Test (windows-release): LLama/Common/PolymorphicJSONConverter.cs#L51
Dereference of a possibly null reference.
Test (windows-release): 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'
Test (windows-release): 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'
Test (windows-release): 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'
Test (windows-release): 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'
Test (windows-release): 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)'.
Deprecation notice: v1, v2, and v3 of the artifact actions
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/

Artifacts

Produced during runtime
Name Size
logs
1.9 MB