Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #2

Merged
merged 149 commits into from
Jul 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
324a87e
modify data check and some unittest
rnwang04 Jun 30, 2022
06ef494
enable tune
rnwang04 Jun 30, 2022
3cdce80
Chronos: autotcn supports keras model (#4966)
liangs6212 Jul 1, 2022
94329df
Nano : add length check in trace (#4972)
rnwang04 Jul 1, 2022
8e927c4
Chronos: change some model filename to better support possible keras …
Chaselzxy Jul 1, 2022
479e236
fix docs (#4992)
shane-huang Jul 1, 2022
b658f33
fix style
rnwang04 Jul 1, 2022
026f62b
Friesian serving docker (#4974)
cyita Jul 1, 2022
6794164
fix style
rnwang04 Jul 1, 2022
92f42b5
fix style
rnwang04 Jul 1, 2022
223f8c6
fix style
rnwang04 Jul 1, 2022
389b046
fix writing
rnwang04 Jul 1, 2022
c898e5f
revise Chronos api doc (#4993)
shane-huang Jul 1, 2022
e151bbd
deelete useless line
rnwang04 Jul 1, 2022
9e28e5a
fix all_reduce for pytorch estimator while fitting with validation_da…
shanyu-sys Jul 1, 2022
9630ee0
Pyppml textfile and init method (#4995)
PatrickkZ Jul 4, 2022
62c30a4
Nano: Update Nano PyTorch quick start doc (#4897)
y199387 Jul 4, 2022
76cfb13
Fix issues in kms-util image (#4961)
liu-shaojun Jul 4, 2022
4e63230
fix issues of `save_checkpoint` and test it more strictly (#4994)
MeouSker77 Jul 4, 2022
3cee38a
Application security doc (#5001)
qiyuangong Jul 4, 2022
909f8d4
Chronos: forecaster supports input `pytorch dataloader` (#4749)
liangs6212 Jul 4, 2022
457ef6d
set log level in code and adjust some log infos (#4990)
Litchilitchy Jul 4, 2022
56ef7b5
Chronos: Extend the predict method (#4787)
liangs6212 Jul 4, 2022
651b33a
[PPML] Fix typo in link (#5005)
qiyuangong Jul 4, 2022
c6bff44
fix proxy for tf version compatibility (#5006)
shane-huang Jul 4, 2022
b6704de
Nano docs: add hpo api docs (#4901)
shane-huang Jul 4, 2022
0fd572f
Serving and Friesian pom changes related to GPL license (#4985)
Litchilitchy Jul 4, 2022
84670ff
fix docs (#5009)
shane-huang Jul 4, 2022
6f34f0b
add hpo tutorial (#5011)
shane-huang Jul 4, 2022
ce11d5a
Fix invalidInputError in Friesian examples and tests (#4997)
hkvision Jul 4, 2022
850c332
Create license-scan.yml
glorysdj Jul 5, 2022
9935eb9
fix license scan issue
glorysdj Jul 5, 2022
c89f9c2
Nano : expose onnx trace setting to user (#4885)
rnwang04 Jul 5, 2022
371e30d
Chronos: fix some api document tag (#5017)
TheaperDeng Jul 5, 2022
e21f871
Fix return type of hash encode (#5022)
hkvision Jul 5, 2022
a8655d4
upgrade license scan with run-tests true
glorysdj Jul 5, 2022
978021b
update license scan key name
glorysdj Jul 5, 2022
0fb3b4e
Add check for num_instances (#5004)
y199387 Jul 5, 2022
4ba3394
fix minor issues caused by the changes of pytorch_lightning 1.6's api…
MeouSker77 Jul 5, 2022
5f811d5
Chronos: scale function in xshardstsdataset (#4819)
smurf-1119 Jul 5, 2022
0b4d29e
set schedule for license scan
glorysdj Jul 5, 2022
d898a50
Chronos: support customized loss and metric in tf forecaster (#4916)
Chaselzxy Jul 5, 2022
4700332
PPML FGBoost add Client ID regulation to be consistent with NN (#4977)
Litchilitchy Jul 5, 2022
3200a0e
Chronos: add an asymmetric loss for forecasting models (#4779)
TheaperDeng Jul 5, 2022
5feb253
add search summary
rnwang04 Jul 5, 2022
e3667ca
Fix #4963, change log level from debug to info (#4969)
00-Luoshu Jul 6, 2022
a2e0d52
FGBoost tutorial and code update (#5031)
Litchilitchy Jul 6, 2022
166b1c1
fix pass parameter in azure script (#5032)
Le-Zheng Jul 6, 2022
3d6edf3
solve dependency (#5030)
cyita Jul 6, 2022
accaa2c
Chronos: fix tsdataset.roll/to_torch_data_loader(time_enc=True) freq …
TheaperDeng Jul 6, 2022
ca9788a
Add rst (#5027)
y199387 Jul 6, 2022
8417343
add ipex support for pytorch_lightning 1.6 (#5012)
MeouSker77 Jul 6, 2022
777aeb9
[ppml] add EncryptWithRepartition.scala to replace SplitAndEncrypt.sc…
liu-shaojun Jul 6, 2022
307bd17
change AES default key length to 256 (#5023)
PatrickkZ Jul 6, 2022
cde8800
[Orca] Support Pytorch Pyspark Estimator on K8s (#4858)
sgwhat Jul 6, 2022
feb57e9
Fix typo in nano documentation (#5036)
yangw1234 Jul 7, 2022
ae58098
solve conflict (#5038)
cyita Jul 7, 2022
254abef
Move embedded redis to test scope
Litchilitchy Jul 7, 2022
fb3e28c
upgrade grpc version (#5049)
cyita Jul 7, 2022
47ff360
Update redis embedded to provided
Litchilitchy Jul 7, 2022
be11966
wrap BigDLEncrypt into a codec for en/decrypting csv/json data (#5026)
qiuxin2012 Jul 8, 2022
4d4fed6
Pyppml Add support for EHSM KMS & README doc (#5041)
PatrickkZ Jul 8, 2022
e7482f3
fix breeze Vulnerability (#5050)
Le-Zheng Jul 8, 2022
223b08b
[ppml] add ppml cli into docker image (#5056)
liu-shaojun Jul 8, 2022
d1d64f6
fix seed, add search_summary for autoformer, fix two trainer
rnwang04 Jul 8, 2022
f8d5bb6
fix style
rnwang04 Jul 8, 2022
48a03f9
fix style
rnwang04 Jul 8, 2022
e843846
temp
rnwang04 Jul 10, 2022
e8780c0
Nano ddp upgrade (#5035)
MeouSker77 Jul 11, 2022
029ef1c
fix stype (#5057)
qiuxin2012 Jul 11, 2022
ab5da3c
Delete ppml-spark-submit.sh (#5061)
liu-shaojun Jul 11, 2022
6d41a53
[Nano] added BF16 quantize and AMP inference (#4849)
zhentaocc Jul 11, 2022
15f8c2e
Chronos: Autoload tf.forecaster (#4909)
liangs6212 Jul 11, 2022
d9793aa
chronos: user guide python version note change (#5067)
plusbang Jul 11, 2022
96828fa
Add recall to Friesian examples (#5070)
devWangBin Jul 11, 2022
1ebdfa4
fix epoch reset
rnwang04 Jul 11, 2022
ec90653
fix PPML scala ut failed due to parallel test (#5063)
qiuxin2012 Jul 12, 2022
073860f
Chronos: fix seed setting in autoformer (#5034)
TheaperDeng Jul 12, 2022
c544861
Merge branch 'enable_tuning_for_autoformer' into main
rnwang04 Jul 12, 2022
7710b5a
Revert "Enable tune for AutoformerForecaster" (#5081)
shane-huang Jul 12, 2022
24e7c05
Add ray backend for pytorch_lightning 1.6 (#5045)
MeouSker77 Jul 12, 2022
3d13f6f
Chronos: installation user guide typo (#4915)
onurbarut Jul 12, 2022
45dd359
add third party license scan (#5040)
glorysdj Jul 13, 2022
40cbeac
* add dummy data generation code
hoshibara Jul 13, 2022
6416f51
PR template (#5093)
jason-dai Jul 13, 2022
16b6866
ppml:branch change (#5094)
ShanSimu Jul 13, 2022
5cb3fb5
Chronos: reduce mem allocation in TCN example on electricity dataset …
plusbang Jul 14, 2022
d48544c
upgrade opencv to 4.2 (#5087)
Le-Zheng Jul 14, 2022
b93e22a
upgrade opencv 4 in serving (#5104)
Le-Zheng Jul 14, 2022
d0b82d9
Chronos: fix bug in autoformer's `e_layers` parameter (#5099)
TheaperDeng Jul 15, 2022
9af76f7
fix stylecheck dllib (#5105)
Le-Zheng Jul 15, 2022
88885d0
Friesian serving nearline jedis -> lettuce (#5058)
cyita Jul 15, 2022
25c2d78
support convertion between pandas df and spark df (#5084)
dding3 Jul 15, 2022
43bd46d
Reduce cifar10 notebook test time (#5048)
y199387 Jul 15, 2022
77fd035
replace `schedule_workers` in pl 1.6's strategies with `schedule_proc…
MeouSker77 Jul 15, 2022
86872d6
friesian: Open source recsys offline demo (#5092)
hoshibara Jul 15, 2022
0a41c5e
Chronos : add scheduler for Autoformer (#5097)
rnwang04 Jul 15, 2022
145ffef
NanoHPO : Enable grid search and automatic sampler_kwargs for categor…
rnwang04 Jul 15, 2022
6962d96
[PPML]Occlum JDK change to JDK-8 (#5108)
hzjane Jul 15, 2022
cac978a
support deduplicate operation for sparkxshards (#5085)
dding3 Jul 15, 2022
aab943b
support Minmaxscaler operation for sparkxshards (#5111)
dding3 Jul 15, 2022
b3dbf65
support Stringindexer in sparkxshards operation (#5112)
dding3 Jul 16, 2022
d3c7f25
[PPML] Helm to submit ppml job (#5095)
liu-shaojun Jul 18, 2022
ca0f4a9
Chronos : Add tune for AutoformerForecaster (#5082)
rnwang04 Jul 18, 2022
4340be2
[PPML] Fix Occlum docker container cannot stop normally (#5119)
hzjane Jul 18, 2022
ebe647c
[PPML] Fix Occlum docker container will start an aesm service (#5120)
hzjane Jul 18, 2022
b214e05
fix PPMLContext python api can't read encrypted file (#5101)
PatrickkZ Jul 18, 2022
ea22791
Chronos: add "id" in xshardstsdatataset dict of numpy for scaling (#5…
TheaperDeng Jul 18, 2022
6b8baea
[PPML] Remove aesm command in occlum bashrc (#5122)
qiyuangong Jul 18, 2022
128f304
Update friesian serving docker image files (#5039)
cyita Jul 18, 2022
d9e9dc3
FGBoost tutorial mistakes fix (#5052)
Litchilitchy Jul 19, 2022
f367830
Use file upload approach in Pytorch and integrate Keras methods (#5109)
Litchilitchy Jul 19, 2022
57b8cf2
Add tests for nano's support for tensorflow 2.9 (#5044)
y199387 Jul 19, 2022
470124b
PPML FL gRPC secure support (#5080)
Litchilitchy Jul 19, 2022
49ab8a8
add nb-job to run with self hosted runner
glorysdj Jul 19, 2022
918b66c
add action workflow to run on self hosted runner
glorysdj Jul 19, 2022
ad6b58b
fix maven-publish-scala action
glorysdj Jul 19, 2022
b123d86
set the default pytorch lightning version to 1.6.4 (#5116)
MeouSker77 Jul 19, 2022
85d2ecb
fix mvn not found in self hosted runner
glorysdj Jul 19, 2022
c70d56a
fix mvn not found in self hosted runner
glorysdj Jul 19, 2022
40216ef
add mvn proxy for self hosted runner
glorysdj Jul 19, 2022
e968981
add mvn proxy for self hosted runner
glorysdj Jul 19, 2022
66b5d6a
set maven settings for self hosted runner
glorysdj Jul 19, 2022
70dbffd
set maven settings for self runner
glorysdj Jul 19, 2022
742b472
enable nightly build with self hosted runner
glorysdj Jul 19, 2022
ff61b7a
enable nightly build with self hosted runner
glorysdj Jul 19, 2022
b47702d
set timeout for nightly build action
glorysdj Jul 19, 2022
e174693
mv nightly build to z270 self runner
glorysdj Jul 19, 2022
f3338cb
set settings path to avoid override in self runner
glorysdj Jul 19, 2022
044c2cf
set mvn settings in self runner
glorysdj Jul 19, 2022
b2fa682
set override of mvn settings on self runner
glorysdj Jul 19, 2022
8461ff1
add local cache for self runner
glorysdj Jul 19, 2022
0b91bef
update nightly build to bree self hosted runner
glorysdj Jul 20, 2022
6b3e4d0
Nano: Add support for channels_last (#5103)
y199387 Jul 20, 2022
31c21b7
Add IPEX 1.12 tests (#5132)
yangw1234 Jul 20, 2022
59bab94
Update PR template (#5136)
jason-dai Jul 20, 2022
7c86454
fix imageMat UT (#5134)
Le-Zheng Jul 20, 2022
16fe8f4
[Nano]Make OpenVINOModel as public API (#5115)
zhentaocc Jul 20, 2022
3641ded
Enable basic multi-objective HPO in Nano and add built-in latency cal…
rnwang04 Jul 20, 2022
324123b
Abort using dllib's method to init SparkContext (#5137)
PatrickkZ Jul 20, 2022
814c991
add ipex and ddp support for lightning-lite (#5074)
MeouSker77 Jul 20, 2022
bc9e30c
fix ray test in nano (#5128)
MeouSker77 Jul 20, 2022
e824af4
Update BrainMRI example REAMDE (#5068)
ForJadeForest Jul 20, 2022
712c125
[PPML] Refine Spark pi, Cifar and xgboost for Occlum README (#5144)
hzjane Jul 21, 2022
0a99d37
Nano: import pot locally (#5139)
zhentaocc Jul 21, 2022
5a6f9ec
Fix #5121, add libgomp1 installation to Dockerfile (#5135)
00-Luoshu Jul 21, 2022
5a6c62f
fix bugs of ray backend and subprocess backend (#5150)
MeouSker77 Jul 21, 2022
6f3236c
Add Brainmri test (#5071)
ForJadeForest Jul 21, 2022
08d36df
Fix pom for build on Spark3.2.1 (#5003)
hkvision Jul 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 38 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## Description

<!-- For small changes (<=3 files and <=50 lines of codes in the source folder), -->
<!-- you may remove Sections 1-4 below and just provide a simple description here -->

### 1. Why the change?

<!-- Provide the related github issue link if available -->

### 2. User API changes

<!-- Describe API changes (i.e., how users will use the feature) if any; -->
<!-- alternatively, provide a link to the github issue for the design -->

### 3. Summary of the change

<!-- Provide the design for the implementation; -->
<!-- alternatively, provide a link to the github issue for the design -->

### 4. How to test?
- [ ] N/A
- [ ] Unit test
- [ ] Application test
- [ ] Document test
- [ ] ...

### 5. New dependencies

<!-- If no new dependency is introduced, remove this section -->

- [ ] New Python dependencies
- Dependency1
- Dependency2
- ...
- [ ] New Java/Scala dependencies and their license
- Dependency1 and license1
- Dependency2 and license2
- ...
30 changes: 30 additions & 0 deletions .github/workflows/license-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: license-scan

on:
# push:
# branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
schedule:
- cron: '0 3 * * *'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
fossa-scan:
runs-on: ubuntu-latest
steps:
- name: "Checkout Code"
uses: actions/checkout@v3

- name: "Run FOSSA Scan"
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
with:
api-key: ${{ secrets.FOSSAAPIKEY }}

- name: "Run FOSSA Test"
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
with:
api-key: ${{ secrets.FOSSAAPIKEY }}
run-tests: true
90 changes: 90 additions & 0 deletions .github/workflows/maven-publish-scala.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path

name: Maven Nightly Build Publish Scala

on:
#release:
# types: [created]
schedule:
- cron: '0 15 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:

runs-on: [self-hosted, Linux, Bree]
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
#server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-

- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.2

- name: Set up Maven Settings
uses: s4u/[email protected]
with:
sonatypeSnapshots: true
apacheSnapshots: true
servers: |
[{
"id": "central",
"configuration": {
"httpConfiguration": {
"all": {
"connectionTimeout": "3600000",
"readTimeout": "3600000"
}
}
}
},{
"id": "ossrh",
"username": "${{ secrets.OSSRH_USERNAME }}",
"password": "${{ secrets.OSSRH_PASSWORD }}",
"configuration": {
"timeout": "3600000"
}
}]
# mirrors: '[{"id": "ardaNexus", "name": "ardaNexus", "mirrorOf": "*", "url": "${{ secrets.ARDA_NEXUS }}" }]'

- name: Build with Maven
run: |
ls
cat ~/.m2/settings.xml
sed -i 's/<artifactId>${spark-version.project}<\/artifactId>/<artifactId>${spark-version.project}-${SPARK_PLATFORM}<\/artifactId>/' scala/dllib/pom.xml
sed -i 's/<artifactId>3.0<\/artifactId>/<artifactId>3.0-${SPARK_PLATFORM}<\/artifactId>/' scala/common/spark-version/3.0/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/common/spark-version/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/common/spark-version/3.0/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/dllib/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/orca/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/friesian/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/grpc/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/serving/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/ppml/pom.xml
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/assembly/pom.xml
mvn -Dhttp.proxyHost=${{ secrets.HTTP_PROXY_HOST_2 }} -Dhttp.proxyPort=${{ secrets.HTTP_PROXY_PORT_2 }} -Dhttps.proxyHost=${{ secrets.HTTP_PROXY_HOST_2 }} -Dhttps.proxyPort=${{ secrets.HTTP_PROXY_PORT_3 }} clean deploy -DskipTests -Dspark.version=3.1.2 -DSPARK_PLATFORM=SPARK_3.1 -P spark_3.x --file scala/pom.xml

# - name: Publish to GitHub Packages Apache Maven
# run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
# env:
# GITHUB_TOKEN: ${{ github.token }}
100 changes: 0 additions & 100 deletions .github/workflows/nano_inc_tests.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/nano_notebooks_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,38 @@ jobs:
$CONDA/bin/conda remove -n notebooks-pytorch --all
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}

- name: Run tutorial notebooks Pytorch unit tests
shell: bash
run: |
$CONDA/bin/conda create -n notebooks-tutorial-pytorch -y python==3.7.10 setuptools=58.0.4
source $CONDA/bin/activate notebooks-tutorial-pytorch
$CONDA/bin/conda info
bash python/nano/dev/build_and_install.sh linux default false pytorch
source bigdl-nano-init
pip install pytest nbmake
pip install neural-compressor==1.11
pip install onnx onnxruntime onnxruntime-extensions
pip install lightning-bolts
bash python/nano/notebooks/pytorch/tutorial/run-nano-notebooks-pytorch-tutorial-tests.sh false
source $CONDA/bin/deactivate
$CONDA/bin/conda remove -n notebooks-pytorch --all
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}

- name: Run tutorial notebooks Pytorch unit tests(OpenVINO)
shell: bash
run: |
$CONDA/bin/conda create -n notebooks-tutorial-pytorch -y python==3.7.10 setuptools=58.0.4
source $CONDA/bin/activate notebooks-tutorial-pytorch
$CONDA/bin/conda info
bash python/nano/dev/build_and_install.sh linux default false pytorch
source bigdl-nano-init
pip install pytest nbmake
pip install ipykernel==5.5.6
pip install openvino-dev
bash python/nano/notebooks/pytorch/tutorial/run-nano-notebooks-pytorch-tutorial-tests.sh true
source $CONDA/bin/deactivate
$CONDA/bin/conda remove -n notebooks-tutorial-pytorch --all
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
63 changes: 0 additions & 63 deletions .github/workflows/nano_onnx_tests.yml

This file was deleted.

Loading