mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-29 23:06:41 +00:00
### Description The patch release will fix the following issues: 1. A coding problem in test/shared_lib/test_inference.cc that it should use ASSERT_NEAR to test float values instead of ASSERT_EQ. Without this change, some DNNL/OpenVino tests would fail on some AMD CPUs. 2. A misaligned error in cublasGemmBatchedHelper function. The error only occurs when the GPU's CUDA Compute capability >=80. (In other words: with TensorFloat-32 support) 3. A build issue that build with onnxruntime_ENABLE_MEMORY_PROFILE was broken in 1.15.0 release. 4. Native onnxruntime library not loading in Azure App Service. It is because in 1.15.0 we introduced a Windows API call to SetThreadDescription. Though the API is available in all Windows 10 versions, some sandbox environments block using the API. 5. An alignment problem for xnnpack EP on Intel/AMD CPUs on PC platforms. 6. Some training header files were missing in the 1.15.0 training NuGet package. 7. Some fields in OrtCUDAProviderOptionsV2 struct are not initialized. --------- Co-authored-by: cao lei <jslhcl@gmail.com> Co-authored-by: Lei Cao <leca@microsoft.com> Co-authored-by: Scott McKay <skottmckay@gmail.com> Co-authored-by: Baiju Meswani <bmeswani@microsoft.com> Co-authored-by: JiCheng <wejoncy@163.com> Co-authored-by: Yuriy Chernyshov <thegeorg@yandex-team.com> Co-authored-by: Artur <artur@vaadin.com> Co-authored-by: Dale Phurrough <dale@hidale.com> Co-authored-by: Yi Zhang <zhanyi@microsoft.com>
56 lines
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
name: Update Python API Docs
|
|
|
|
# Run when the Python API changes or every month so that the artifact does not expire
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- onnxruntime/python/**
|
|
- docs/python/**
|
|
schedule:
|
|
- cron: '0 0 1 * *'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: "apidocs-python"
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
name: Generate Python API docs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install tools
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install python3-pip
|
|
sudo apt-get install graphviz
|
|
- name: Install dependencies
|
|
run: |
|
|
python3 -m pip install --upgrade pip
|
|
cd docs/python
|
|
python3 -m pip install -r requirements.txt
|
|
python3 -m pip install --pre onnxruntime-training -f https://download.onnxruntime.ai/onnxruntime_nightly_cpu.html
|
|
python3 -m pip list
|
|
- name: Generate Python docs with Sphinx
|
|
run: |
|
|
cd tools/doc
|
|
./builddoc.sh /usr/bin ../.. ../../build
|
|
- name: Log source commit
|
|
run: git rev-parse --short HEAD > build/docs/html/source-version.txt
|
|
- name: Move Python docs into site
|
|
run: |
|
|
rm -rf _site/docs/api/python
|
|
mkdir -p _site/docs/api/
|
|
mv build/docs/html _site/docs/api/python
|
|
- name: Upload docs artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: onnxruntime-python-apidocs
|
|
path: _site
|
|
retention-days: 60
|