mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-02 23:39:58 +00:00
### Description These changes include Support to OpenVINO 2024.1 Import PreCompiled Blobs with EPContext Blob Separate Device/Precision as input Deprecate CPU_FP32 , GPU_FP32 terminology , introduce CPU, GPU AUTO GPU, CPU will only create GPU Blob and not CPU Blob. ### Motivation and Context - OpenVINO 2024.1 will be out soon - Import Precompiled Blob can greatly reduce FEIL/FIL Time. - Separating Device/Precision will make the input cleaner - --------- Co-authored-by: Suryaprakash Shanmugam <suryaprakash.shanmugam@intel.com> Co-authored-by: Preetha Veeramalai <preetha.veeramalai@intel.com>
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
parameters:
|
|
- name: enable_linux_cpu
|
|
displayName: 'Whether Linux CPU package is built.'
|
|
type: boolean
|
|
default: true
|
|
|
|
- name: enable_linux_gpu
|
|
displayName: 'Whether Linux GPU package is built.'
|
|
type: boolean
|
|
default: true
|
|
|
|
- name: enable_windows_cpu
|
|
displayName: 'Whether Windows CPU package is built.'
|
|
type: boolean
|
|
default: true
|
|
|
|
- name: enable_windows_gpu
|
|
displayName: 'Whether Windows GPU package is built.'
|
|
type: boolean
|
|
default: true
|
|
|
|
- name: python_version
|
|
displayName: 'Python version used for build'
|
|
type: object
|
|
default: ["'3.8'"]
|
|
|
|
- name: cpu_build_py_parameters
|
|
displayName: 'Extra parameters to pass to build.py for CPU package.'
|
|
type: string
|
|
default: '--use_openvino CPU'
|
|
|
|
- name: gpu_build_py_parameters
|
|
displayName: 'Extra parameters to pass to build.py for GPU package.'
|
|
type: string
|
|
default: ' '
|
|
|
|
- name: ubuntu_version_linux_cpu
|
|
displayName: 'Ubuntu Version for Linux CPU package.'
|
|
type: string
|
|
default: '20.04'
|
|
|
|
trigger: none
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: manylinux
|
|
type: Github
|
|
endpoint: Microsoft
|
|
name: pypa/manylinux
|
|
ref: 5eda9aded5462201e6310105728d33016e637ea7
|
|
|
|
stages:
|
|
- template: templates/py-packaging-selectable-stage.yml
|
|
parameters:
|
|
enable_linux_gpu: ${{ parameters.enable_linux_gpu }}
|
|
enable_linux_cpu: ${{ parameters.enable_linux_cpu }}
|
|
enable_windows_cpu: ${{ parameters.enable_windows_cpu }}
|
|
enable_windows_gpu: ${{ parameters.enable_windows_gpu }}
|
|
python_version: ${{ parameters.python_version }}
|
|
cpu_build_py_parameters: ${{ parameters.cpu_build_py_parameters }}
|
|
gpu_build_py_parameters: ${{ parameters.gpu_build_py_parameters }}
|
|
ubuntu_version_linux_cpu: ${{ parameters.ubuntu_version_linux_cpu }}
|