Return TokenData in Inference calls #199
Closed
Annotations
1 error and 10 warnings
Test
Process completed with exit code 1.
|
Build:
LLama/LLamaTokenDataExecutor.cs#L40
Async-iterator 'LLamaTokenDataExecutor.InferAsync(string, IInferenceParams?, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
Build:
LLama/LLamaTokenDataExecutor.cs#L46
Async-iterator 'LLamaTokenDataExecutor.InferTokensAsync(string, IInferenceParams?, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
Build:
LLama/Common/TokenData.cs#L3
Non-nullable property 'Content' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build:
LLama/LLamaInteractExecutor.cs#L91
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
|
Build:
LLama/LLamaInstructExecutor.cs#L105
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
|
Build:
LLama/LLamaInstructExecutor.cs#L146
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.
|
Build:
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.
|
Build:
LLama/LLamaInstructExecutor.cs#L257
Non-nullable property 'InputPrefixTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build:
LLama/LLamaInstructExecutor.cs#L262
Non-nullable property 'InputSuffixTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build:
LLama/LLamaInteractExecutor.cs#L158
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.
|
The logs for this run have expired and are no longer available.
Loading