Add tencent/HY-MT1.5-1.8B recipes#441
Open
hanbitmyths wants to merge 3 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a complete Olive “recipe pack” for tencent/HY-MT1.5-1.8B, covering baseline (PyTorch) evaluation plus CPU/CUDA/WebGPU export paths with optional WMT18 zh→en lm-eval evaluation configs and accompanying documentation.
Changes:
- Added baseline (PyTorch) WMT18 zh→en evaluation recipe + docs/requirements.
- Added CPU/CUDA/WebGPU export recipes for fp32/fp16 and INT4 (GPTQ→RTN→ModelBuilder) variants, plus “with_eval” counterparts.
- Added per-target
info.yaml,requirements.txt, and READMEs, plus upstream license reference.
Reviewed changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tencent-HY-MT1.5-1.8B/LICENSE | Adds upstream license reference for the model. |
| tencent-HY-MT1.5-1.8B/baseline/tencent-HY-MT1.5-1.8B_pytorch_with_eval.json | Baseline PyTorch lm-eval config for WMT18 zh→en. |
| tencent-HY-MT1.5-1.8B/baseline/requirements.txt | Baseline dependencies for running the evaluation recipe. |
| tencent-HY-MT1.5-1.8B/baseline/README.md | Baseline usage + recorded evaluation results. |
| tencent-HY-MT1.5-1.8B/baseline/info.yaml | Registers baseline recipe metadata. |
| tencent-HY-MT1.5-1.8B/cpu/tencent-HY-MT1.5-1.8B_cpu_fp32.json | CPU fp32 export recipe (ModelBuilder + TieWordEmbeddings + external data). |
| tencent-HY-MT1.5-1.8B/cpu/tencent-HY-MT1.5-1.8B_cpu_fp32_with_eval.json | CPU fp32 export + WMT18 evaluation. |
| tencent-HY-MT1.5-1.8B/cpu/tencent-HY-MT1.5-1.8B_cpu_int4.json | CPU INT4 export recipe (GPTQ→RTN→ModelBuilder + surgeries + external data). |
| tencent-HY-MT1.5-1.8B/cpu/tencent-HY-MT1.5-1.8B_cpu_int4_with_eval.json | CPU INT4 export + WMT18 evaluation. |
| tencent-HY-MT1.5-1.8B/cpu/requirements.txt | CPU dependencies (ORT GenAI, etc.). |
| tencent-HY-MT1.5-1.8B/cpu/README.md | CPU instructions + notes and evaluation/size results. |
| tencent-HY-MT1.5-1.8B/cpu/info.yaml | Registers CPU recipes metadata. |
| tencent-HY-MT1.5-1.8B/cuda/tencent-HY-MT1.5-1.8B_cuda_fp16.json | CUDA fp16 export recipe (ModelBuilder + TieWordEmbeddings). |
| tencent-HY-MT1.5-1.8B/cuda/tencent-HY-MT1.5-1.8B_cuda_fp16_with_eval.json | CUDA fp16 export + WMT18 evaluation (ORT GenAI). |
| tencent-HY-MT1.5-1.8B/cuda/tencent-HY-MT1.5-1.8B_cuda_int4.json | CUDA INT4 export (GPTQ→RTN→ModelBuilder + surgeries, CUDA graph enabled). |
| tencent-HY-MT1.5-1.8B/cuda/tencent-HY-MT1.5-1.8B_cuda_int4_with_eval.json | CUDA INT4 export + WMT18 evaluation (ORT GenAI, CUDA graph enabled). |
| tencent-HY-MT1.5-1.8B/cuda/requirements.txt | CUDA dependencies (onnxruntime-gpu + onnxruntime-genai-cuda). |
| tencent-HY-MT1.5-1.8B/cuda/README.md | CUDA instructions + notes and evaluation/size results. |
| tencent-HY-MT1.5-1.8B/cuda/info.yaml | Registers CUDA recipes metadata. |
| tencent-HY-MT1.5-1.8B/webgpu/tencent-HY-MT1.5-1.8B_webgpu_fp16.json | WebGPU fp16 export recipe (ModelBuilder + TieWordEmbeddings). |
| tencent-HY-MT1.5-1.8B/webgpu/tencent-HY-MT1.5-1.8B_webgpu_fp16_with_eval.json | WebGPU fp16 export + WMT18 evaluation config. |
| tencent-HY-MT1.5-1.8B/webgpu/tencent-HY-MT1.5-1.8B_webgpu_int4.json | WebGPU INT4 export (GPTQ→RTN→ModelBuilder + surgeries). |
| tencent-HY-MT1.5-1.8B/webgpu/tencent-HY-MT1.5-1.8B_webgpu_int4_with_eval.json | WebGPU INT4 export + WMT18 evaluation (ORT GenAI model class configured). |
| tencent-HY-MT1.5-1.8B/webgpu/requirements.txt | WebGPU dependencies (pre-release enabled, ORT webgpu). |
| tencent-HY-MT1.5-1.8B/webgpu/README.md | WebGPU instructions + notes and evaluation/size results. |
| tencent-HY-MT1.5-1.8B/webgpu/info.yaml | Registers WebGPU recipes metadata. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation