mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-27 20:02:15 +00:00
Auto regenerate LORA's fbs files (#22313)
### Description A left-over of PR #22046 ### Motivation and Context Right now our VCPKG pipelines are broken.
This commit is contained in:
parent
1df215e9bb
commit
f25f3868a7
3 changed files with 4 additions and 2 deletions
2
.github/workflows/mac.yml
vendored
2
.github/workflows/mac.yml
vendored
|
|
@ -131,11 +131,13 @@ jobs:
|
|||
|
||||
- name: "Run compile_schema.py"
|
||||
run: |
|
||||
set -e -x
|
||||
# Runner's host triplet should be x64-osx or arm64-osx
|
||||
export FLATC_DIR="${{ github.workspace }}/.build/${{ runner.arch }}-osx/tools/flatbuffers"
|
||||
export PATH="$FLATC_DIR:$PATH"
|
||||
flatc --version
|
||||
python onnxruntime/core/flatbuffers/schema/compile_schema.py --flatc "$(which flatc)"
|
||||
python onnxruntime/lora/adapter_format/compile_schema.py --flatc "$(which flatc)"
|
||||
|
||||
- name: "Detect protoc"
|
||||
id: protoc-detect
|
||||
|
|
|
|||
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
|
@ -56,7 +56,6 @@ jobs:
|
|||
uses: lukka/run-vcpkg@v11
|
||||
with:
|
||||
vcpkgDirectory: "C:/vcpkg" # use VCPKG_INSTALLATION_ROOT of the image
|
||||
doNotUpdateVcpkg: true
|
||||
runVcpkgInstall: true
|
||||
vcpkgJsonGlob: "cmake/vcpkg.json"
|
||||
vcpkgConfigurationJsonGlob: "cmake/vcpkg-configuration.json"
|
||||
|
|
@ -73,6 +72,7 @@ jobs:
|
|||
flatc --version
|
||||
$FLATC_PATH = Join-Path "$FLATC_DIR" "flatc.exe"
|
||||
python onnxruntime/core/flatbuffers/schema/compile_schema.py --flatc "$FLATC_PATH"
|
||||
python onnxruntime/lora/adapter_format/compile_schema.py --flatc "$FLATC_PATH"
|
||||
shell: pwsh
|
||||
|
||||
- name: "Detect protoc"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"default-registry": {
|
||||
"kind": "git",
|
||||
"repository": "https://github.com/Microsoft/vcpkg",
|
||||
"baseline": "3508985146f1b1d248c67ead13f8f54be5b4f5da"
|
||||
"baseline": "c82f74667287d3dc386bce81e44964370c91a289"
|
||||
},
|
||||
"registries": []
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue