Add skills for Olive#2570
Open
xiaoyu-work wants to merge 3 commits into
Open
Conversation
Copilot-Session: bac74ed5-49e1-4037-a29d-cbc2908627bd
Copilot-Session: bac74ed5-49e1-4037-a29d-cbc2908627bd
Copilot-Session: bac74ed5-49e1-4037-a29d-cbc2908627bd
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a portable Agent Skill bundle for Microsoft Olive, including end-user guidance plus helper scripts for inspecting passes and validating workflow configs against the active Olive installation.
Changes:
- Introduces the
oliveAgent Skill definition with guidance on choosing CLI interfaces and safely authoring workflows. - Adds reference docs and a starter workflow template for YAML/JSON workflow configuration and CLI usage.
- Adds helper scripts to inspect installed pass schemas and to validate workflow configs / list required packages.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| skills/README.md | Top-level index and installation guidance for the skills directory. |
| skills/olive/SKILL.md | Core Olive skill definition and usage rules for CLI/workflow assistance. |
| skills/olive/scripts/validate_config.py | Validates workflow structure and pass parameters; prints required packages. |
| skills/olive/scripts/inspect_pass.py | Inspects/list passes from the installed Olive package and emits JSON schemas. |
| skills/olive/references/workflow-config.md | Detailed workflow configuration reference and best practices for authorship/validation. |
| skills/olive/references/cli.md | CLI-focused guide with common command patterns and cautions. |
| skills/olive/assets/workflow.yaml | Example workflow template (HF → ONNX conversion + optimization). |
Comment on lines
+18
to
+20
| if isinstance(value, (list, tuple, set)): | ||
| return [_serialize(item) for item in value] | ||
| if isinstance(value, dict): |
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.
Describe your changes
Add skills for Olive
Checklist before requesting a review
lintrunner -a(Optional) Issue link