Closed LittleLittleCloud closed 2 weeks ago
Attention: Patch coverage is 33.33333%
with 152 lines
in your changes missing coverage. Please review.
Project coverage is 68.84%. Comparing base (
823fc17
) to head (c5b9603
). Report is 10 commits behind head on main.
/azp run
/backport to release/4.0
Started backporting to release/4.0: https://github.com/dotnet/machinelearning/actions/runs/11749726947
@michaelgsharp backporting to release/4.0 failed, the patch most likely resulted in conflicts:
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: leverage MEAI abstraction
Applying: Update src/Microsoft.ML.GenAI.LLaMA/Llama3CausalLMChatClient.cs
Applying: Update src/Microsoft.ML.GenAI.LLaMA/Llama3CausalLMChatClient.cs
Applying: Update src/Microsoft.ML.GenAI.Phi/Phi3/Phi3CausalLMChatClient.cs
Applying: fix comments
Using index info to reconstruct a base tree...
M src/Microsoft.ML.GenAI.LLaMA/Llama3CausalLMChatClient.cs
M src/Microsoft.ML.GenAI.Phi/Phi3/Phi3CausalLMChatClient.cs
Falling back to patching base and 3-way merge...
Auto-merging src/Microsoft.ML.GenAI.Phi/Phi3/Phi3CausalLMChatClient.cs
Auto-merging src/Microsoft.ML.GenAI.LLaMA/Llama3CausalLMChatClient.cs
CONFLICT (content): Merge conflict in src/Microsoft.ML.GenAI.LLaMA/Llama3CausalLMChatClient.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0005 fix comments
Error: The process '/usr/bin/git' failed with exit code 128
Please backport manually!
@michaelgsharp an error occurred while backporting to release/4.0, please check the run log for details!
Error: git am failed, most likely due to a merge conflict.
We are excited to review your PR.
So we can do the best job, please check:
Fixes #nnnn
in your description to cause GitHub to automatically close the issue(s) when your PR is merged.This PR implements
CausalLMPipelineChatClient<TTokenizer, TCausalLMModel>
class for MEAI.IChatClient's intergration.This PR also refactors the AutoGen and semantic kernel intergretion for Phi3, which pulls out the prompt template parts into an individual
Phi3ChatTemplateBuilder
class.This PR also update
STJ
to 8.0.5 to address a security warning for that packageThe
CausalLMPipelineChatClient
is used as the abstract class for allIChatClient
implementation in GenAI models. For now, the following implementations are availableThe
MistralCausalLMChatClient
will come in the following PR with additional support for tool call.Usage
Checkout the
MEAI
folder under Microsoft.ML.GenAI.Samples` for examples. The following examples are added