Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Changming Sun 29a4b49a5a
Update OneBranch.Official.yml for Azure Pipelines (#675) 2024-03-22 11:53:11 -07:00
Edward Chen 60b7e5e5fa
Refactor OneBranch CI pipelines to use templates (#548)
Added some templates to make it easier to reuse build definition logic between the two OneBranch pipelines.
2023-08-28 17:38:11 -07:00
Wenbing Li e2442e58ee sync the changes between OneBranch.PullRequest and OneBranch.Official pipelines 2023-08-28 13:21:04 -07:00
Scott McKay 4842e9d6ae
Make CIs pass with Azure ops enabled by default. (#518)
* Make CIs pass with Azure ops enabled by default.
2023-08-12 17:45:59 +10:00
RandySheriffH 911c2b2340
Assemble file name for azure audio (#508)
* fix name

* document pipeline param

---------

Co-authored-by: Randy Shuai <rashuai@microsoft.com>
2023-08-03 16:21:29 -07:00
RandySheriffH 9e7f8e5b1d
Add UT for Azure Ops during packaging (#502)
* set before-test

* test cmd

* clean in yml

* restore toml

* add ut for triton endpoints

* reset working path

* rename suffix

* install ort

* pip install

* make env

* add extra env

* make executable

* set dir for linux

* add switch

* set env default

* skip tests

* simplify env

* clean env for official

---------

Co-authored-by: Randy Shuai <rashuai@microsoft.com>
Co-authored-by: Wenbing Li <10278425+wenbingl@users.noreply.github.com>
2023-08-02 17:01:09 -07:00
RandySheriffH 06d5a8d781
Enable AzureOp packaging (#495)
* generalize azure op

* implement text endpoint

* add parameter to linux whl pipeline

* tune grammer

* 2

* 3

* 4

* 5

* 6

* 7

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* 16

* cancel azure build in ci

* tune cpu tensor check

* try mem name

* address comments

* fix path

* clean env

---------

Co-authored-by: Randy Shuai <rashuai@microsoft.com>
2023-07-20 14:16:08 -07:00
Wenbing Li 1c04e95bda
upgrade all dependency versions (#466)
* release the dependency package version

* upgrade the dependency versions

* more fixing for 3.11

* Update ci.yml

* upgrade torch version in MacOS

* fix torch version in MacOS

* upgrade Python support versions

* pybind11 switch URL mode

* more URL modes
2023-06-03 20:09:41 -07:00
Sayan Shaw 56b978233d
Fix OneBranch Official pipeline CodeQL issue (#437)
Co-authored-by: Sayan Shaw <sayanshaw@microsoft.com>
2023-05-15 10:34:07 -07:00
Wenbing Li 1445b6fdb7
Fix the current valid binSkim error and warnings. (#363)
* add qspectre check

* more fixing

* partially enable /sdl scan

* Update CMakeLists.txt

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2023-02-22 09:33:04 -08:00
Wenbing Li 00b54739c5
security warning of sentencepiece (#358)
* security warning of sentencepiece

* update cmake option policy

* option set

* revert abseil change

* wrong patch name

* upgrade protobuf to 3.20.2, align with ORT 1.14

* weird patch issue

* code refinement

* typo

* Update version.txt

* undo version change

* doc refinement

* one more missing

* is ==

* disaable some case running under ort 1.13

* Update cmake/externals/sentencepieceproject.cmake

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>

* Update cmake/externals/sentencepieceproject.cmake

Co-authored-by: Scott McKay <skottmckay@gmail.com>

* Update cmake/externals/sentencepieceproject.cmake

Co-authored-by: Scott McKay <skottmckay@gmail.com>

* Update cmake/externals/sentencepieceproject.cmake

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>

* review update

* set default warning level 3 to meet some requirement

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
Co-authored-by: Scott McKay <skottmckay@gmail.com>
2023-02-16 20:50:11 -08:00
Wenbing Li 1af7a56b28
update Python pipelines for release (#353)
* re-enable Python pipelines

* deprecate the direct setup.py call

* pipeline fixing

* run cmake from visual studio

* remove the self check

* support different ort versions

* remove ort 1.9 and add 1.13

* ci pipeline fixing

* fix the test with latest pytorch

* code refinement

* torch version detection

* make package python version more consistent.
2023-02-06 18:23:56 -08:00
Wenbing Li 13d9e27ccd
switch to amd64 Python package in CI pipeline (#348)
* switch to amd64 Python package in CI pipeline

* try to fix binskim errors

* try new cibuildwheel parameter

* fix some binskim issues

* fix some binskim issues

* try switch to x64 again

* undo setup.py change

* because of the quotes?

* explicit AMD64?

* output the debug info

* try fixing a setuptool issue

* cleanup

* refinement
2023-01-23 13:52:18 -08:00
Wenbing Li c599b00d07
Using the header files from the ONNXRuntime package (#322)
* Using the header files from the ONNXRuntime package

* Update includes/onnxruntime_customop.hpp

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>

* fix the build break.

* one more fixing

* wired top project

* ort 1.9.0 used

* switch to 1.10.0 package.

* change the vmimage to latest

* URL issue

* cmake policy

* ignore onnxruntime.dll native scan

* update the Onebranch exclusedPaths

* fixing some build tool issues

* update again

* typo

* undo of ORT dll removal

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2022-12-09 14:30:24 -08:00
Wenbing Li 3b8423ab67
Generate Python 4-version packages for windows in OneBranch (#307) 2022-10-19 13:56:10 -07:00
Wenbing Li 08659eae90
Initial Java API for the JAR package. (#292)
* more C++ code fixing and polish for release

* fixing for android build

* build flags for android release

* add missing exporting function

* imint

* first versoin

* more C++ code fixing and polish for release (#275)

* more C++ code fixing and polish for release

* fixing for android build

* build flags for android release

* add missing exporting function

* support build_id on Python package building (#281)

* support buildid in package building

* undo the change on build.sh

* build.sh issue on macos

* Add `$schema` to `cgmanifest.json` (#284)

Co-authored-by: Jamie Magee <jamie.magee@microsoft.com>

* test package with a simple java app

* demo app

* some fixing for windows platform

* refine the example app

* fix the missing symobls issue for Linux build

* fix the package package build issue

* typo

* a missing change

* fix PythonOp

* fix Android test issue

* one more Android change

* replace build flags in ci pipeline

* android AAR package build

* refine the code for android package

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Jamie Magee <jamie.magee@microsoft.com>
2022-10-04 16:22:28 -07:00
leqiao-1 584099394c
Leqiao/add static analysis (#272)
* add static analysis

* add static analysis for official branch

* remove hard code and add Guardian Break

* add SdtReport

* add publish task

* add sdl ruleset
2022-08-01 21:00:19 -07:00
leqiao-1 476a56e6fe
Leqiao/code sign (#267)
* add code sign

Co-authored-by: Wenbing Li <10278425+wenbingl@users.noreply.github.com>
2022-07-25 11:57:23 +08:00
Wenbing Li 8e4d157936
update the file folder and config for OneBranch (#253) 2022-06-20 15:31:57 -07:00
Wenbing Li 1a04abdf3e
Add two opencv operators as ONNX custom ops. (#249)
* Add two opencv operators as ONNX custom ops.

* update the git apply command line

* adjust the difference threshold

* do not break the build on binskim issue

* Make ImageReader be optional

* try to fix some potential build break

* undo the debug flag in setup.cfg
2022-06-15 23:22:10 -07:00
Changming Sun c30df08aee
Add OneBranch.Official.yml (#242) 2022-06-06 10:25:44 -07:00