File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : cibuild on cpu
2+
3+ on : [workflow_dispatch, push]
4+
5+ env :
6+ IMAGE : registry.cn-shanghai.aliyuncs.com/pai-dlc/hybridbackend:developer-tensorflow1.15-manylinux_2_24-py3.6
7+ JOBNAME : hbci-${{ github.run_id }}
8+ PODNAME : hbci-${{ github.run_id }}-chief-0
9+ ARROW_CACHE_URL_PREFIX : ${{ secrets.ARROW_CACHE_URL_PREFIX }}
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ environment : TensorFlow 1.15
15+ steps :
16+ - name : Checkout Code
17+ uses : actions/checkout@v2
18+ with :
19+ submodules : ' true'
20+ - name : Setup Environment
21+ uses : aliyun/ack-set-context@v1
22+ with :
23+ access-key-id : " ${{ secrets.ACCESS_KEY_ID }}"
24+ access-key-secret : " ${{ secrets.ACCESS_KEY_SECRET }}"
25+ cluster-id : " ${{ secrets.ACK_CLUSTER_ID }}"
26+ - name : Upload
27+ run : |-
28+ helm install ${JOBNAME} cibuild/ --set image=${IMAGE} --set tag=cpu && \
29+ cibuild/upload ${PODNAME} ../cibuild && \
30+ kubectl exec -it ${PODNAME} -- arrow/download.sh ${ARROW_CACHE_URL_PREFIX}
31+ - name : Build
32+ run : |-
33+ kubectl exec -it ${PODNAME} -- sh -c 'make -j32 HYBRIDBACKEND_WHEEL_ALIAS=-cpu-nightly HYBRIDBACKEND_WHEEL_BUILD=rc${{ github.run_id }}' && \
34+ kubectl exec -it ${PODNAME} -- cibuild/repair_dist
35+ - name : Test
36+ run : |-
37+ kubectl exec -it ${PODNAME} -- make lint cpu_test
38+ - name : Cleanup Environment
39+ if : always()
40+ run : |-
41+ helm uninstall ${JOBNAME}
Original file line number Diff line number Diff line change 1- name : Nightly Build on CPU for Tensorflow 1 .14
1+ name : nightly deploy on tf1 .14-cpu
22
33on : workflow_dispatch
44
Original file line number Diff line number Diff line change 1- name : Build on CPU for Tensorflow 1 .14
1+ name : release deploy on tf1 .14-cpu
22
33on : workflow_dispatch
44
Original file line number Diff line number Diff line change 1- name : Nightly Build on CPU
1+ name : nightly deploy on cpu
22
3- on : [ workflow_dispatch, push]
3+ on : workflow_dispatch
44
55env :
66 IMAGE : registry.cn-shanghai.aliyuncs.com/pai-dlc/hybridbackend:developer-tensorflow1.15-manylinux_2_24-py3.6
Original file line number Diff line number Diff line change 1- name : Build on CPU
1+ name : release deploy on cpu
22
33on : workflow_dispatch
44
Original file line number Diff line number Diff line change 11# HybridBackend
22
3- [ ![ Nightly Build on CPU ] ( https://github.com/alibaba/HybridBackend/actions/workflows/cpu-nightly .yaml/badge.svg )] ( https://github.com/alibaba/HybridBackend/actions/workflows/cpu-nightly .yaml )
3+ [ ![ cibuild: cpu ] ( https://github.com/alibaba/HybridBackend/actions/workflows/cpu-cibuild .yaml/badge.svg?branch=main&event=push )] ( https://github.com/alibaba/HybridBackend/actions/workflows/cpu-cibuild .yaml )
44[ ![ Documentation Status] ( https://readthedocs.org/projects/hybridbackend/badge/?version=latest )] ( https://hybridbackend.readthedocs.io/en/latest/?badge=latest )
55
66## Introduction
Original file line number Diff line number Diff line change 2020from __future__ import division
2121from __future__ import print_function
2222
23- __version__ = '0.5.0 '
23+ __version__ = '0.5.1 '
2424__author__ = 'Alibaba Group Holding Limited'
2525__copyright__ = '2021 Alibaba Group Holding Limited'
You can’t perform that action at this time.
0 commit comments