-
Notifications
You must be signed in to change notification settings - Fork 291
Rewrite all examples using standardization #1939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
faf284c
Merging all constrained decoding commits
kunal-vaishnavi 3aafd99
Make constrained decoding examples more generic
kunal-vaishnavi 504fd94
Rewrite C# LLM example
kunal-vaishnavi 8b83ed7
Merge branch 'main' into kvaishnavi/guidance-schema
kunal-vaishnavi d4b840d
Undo changes after syncing with main
kunal-vaishnavi 7b3dcb9
Remove SLM engine example
kunal-vaishnavi 3101872
Undo change in C# file
kunal-vaishnavi 8dbb361
Refactor Python examples
kunal-vaishnavi aed89b3
Add new tool definitions
kunal-vaishnavi 6afe11f
Refactor C# examples
kunal-vaishnavi d6ee36d
Remove commented out code
kunal-vaishnavi 34dd37e
Fix some typos
kunal-vaishnavi 3f12e60
Update READMEs
kunal-vaishnavi c78bc3d
Rename C# examples
kunal-vaishnavi 16e1b1d
Refactor C/C++ examples
kunal-vaishnavi da11f3d
Improve parity between the examples
kunal-vaishnavi f857338
Add C# binding for Overlay API
kunal-vaishnavi 57de609
Add more parity between the examples
kunal-vaishnavi bc72a13
Add changes suggested by C++ linter
kunal-vaishnavi 71082aa
Disable HF token
kunal-vaishnavi 94b07af
Disable HF remote
kunal-vaishnavi 2ec708a
Fix some CI failures
kunal-vaishnavi 4419129
Use bytes for special tokens processing on cross-platform
kunal-vaishnavi cc5d988
Change number of layers used in ONNX model creation
kunal-vaishnavi 8fca8ea
Use OS replace instead of OS rename
kunal-vaishnavi 6c7b186
Use str instead of int in subprocess
kunal-vaishnavi cad80cf
Add changes suggested by C++ linter
kunal-vaishnavi 031be13
Update name references to match examples
kunal-vaishnavi b7eb5ea
Use all layers for Qwen-2.5 0.5B only
kunal-vaishnavi 45ffe03
Reduce max length to fit KV cache in CI's GPU
kunal-vaishnavi 0d42b89
Update CLI args in Python examples
kunal-vaishnavi f6b26cb
Update CLI args in C# example
kunal-vaishnavi 6926c3f
Add C/C++ and C# example testing in CIs
kunal-vaishnavi cb64014
Fix spacing in YAML files
kunal-vaishnavi 66bad08
Update CLI args in C examples
kunal-vaishnavi 8116b68
Add missing param in header
kunal-vaishnavi bb22936
Build C/C++ examples with CMake in CIs
kunal-vaishnavi f3561b2
Fix library directory path
kunal-vaishnavi d392772
Use building Java API to build C/C++ examples via build script
kunal-vaishnavi 2cc85d8
Run Java build after Python dependencies are installed
kunal-vaishnavi 5fa6caa
Remove config overlay call in C# for now
kunal-vaishnavi 88eeb31
Downgrade GenAI version in C# examples
kunal-vaishnavi 40358f6
Use dnf instead of apt
kunal-vaishnavi 5cba9f4
Use superuser to update OS packages
kunal-vaishnavi 8e7c29d
Try to fix macOS CI failure
kunal-vaishnavi 4243683
Test only CPU build of C examples
kunal-vaishnavi 46cab0d
Use devel instead of dev for package name
kunal-vaishnavi 5761423
Use Python 3.11 for devel package
kunal-vaishnavi aa4dfcf
Add Python3 packages for Linux CUDA CI
kunal-vaishnavi 37d604f
Try aliasing Python3 to env Python executable
kunal-vaishnavi 42d1ee3
Provide Python executable to subprocess
kunal-vaishnavi e070e71
Change path to built C examples for Linux
kunal-vaishnavi b421a39
Use CPU model instead of CUDA in CI
kunal-vaishnavi 5a4cdc1
Merge branch 'main' into kvaishnavi/guidance-schema
kunal-vaishnavi a44beae
Remove chat app example
kunal-vaishnavi 0f9059d
Remove Genny example
kunal-vaishnavi d6745e2
Update Python example docs
kunal-vaishnavi 9272d15
Merge branch 'main' into kvaishnavi/guidance-schema
kunal-vaishnavi 2a4322b
Add changes suggested during PR review
kunal-vaishnavi 8c636ae
Update READMEs
kunal-vaishnavi b74f43b
Refactor README docs for constrained decoding and tool calling
kunal-vaishnavi 15068a3
Add TokenCount usage to examples
kunal-vaishnavi 91a3d45
Revert "Add TokenCount usage to examples"
kunal-vaishnavi ffd9910
Merge branch 'main' into kvaishnavi/guidance-schema
kunal-vaishnavi 54b7fc2
Add EP registration to examples
kunal-vaishnavi 140c702
Remove accidental insertion in C README
kunal-vaishnavi adcd9bb
Refactor Python examples
kunal-vaishnavi a66ce4b
Refactor C examples
kunal-vaishnavi ccfa176
Add missing feature flag in Python example
kunal-vaishnavi b1df1cd
Refactor C# examples
kunal-vaishnavi 8505917
Update csproj files
kunal-vaishnavi aed483f
Remove Directory.Build.Props
kunal-vaishnavi 8930d40
Update C# README
kunal-vaishnavi 405a71a
Use GetModelType instead of GetType
kunal-vaishnavi 8cf1ba2
Add changes suggested by C++ linter
kunal-vaishnavi 04a3ab8
Fix title in C# README
kunal-vaishnavi 8447972
Fix return type of native method
kunal-vaishnavi 0212cfa
Fix early parenthesis
kunal-vaishnavi 832a7a4
Increase GenAI version in examples
kunal-vaishnavi 39e82ec
Rename ModelVision as ModelMM
kunal-vaishnavi 4fd0ed4
Clean up changes in YAML files
kunal-vaishnavi af5de4d
Use ORT APIs for registering EPs
kunal-vaishnavi a73a73a
Update CMakeLists.txt to fix CI failures
kunal-vaishnavi 7ecbb0e
Change C# assert params order
kunal-vaishnavi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -167,4 +167,3 @@ jobs: | |
| inputs: | ||
| targetPath: '$(Build.ArtifactStagingDirectory)\nuget' | ||
| artifactName: $(genai_nuget_package_name) | ||
|
|
||
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.