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

Move orca/src/test to orca/test in BigDL2.0 #4712

Merged
merged 134 commits into from
Sep 10, 2021

Conversation

shanyu-sys
Copy link
Contributor

If not and with all __init__.py added to orca/src/test, pytest will automatedly prepend orca/src to sys.path (refer here). However, since orca/src contains bigdl, python will import all bigdl from orca/src, which only includes orca, instead of from PYTHONPATH. In that case, we cannot import bigdl.dllib

For reference, the tree for bigdl2.0 orca is as below.

image

yangw1234 and others added 30 commits February 26, 2019 18:57
* add tfpark model

* fix some bugs

* add tests

* add tests back

* add more tests

* fix style

* estimator init

* remvoe estimator test

* fix bug

* adjust for new dataset and add example

* rename file

* add example

* fix bugs

* fix style

* remove ut
* add tfpark ut

* add tests

* fix style
* support tensorflow optimizer in keras model

* fix style
* add intent ner model and example

* add save load

* rename

* refactor

* add ut

* update and add nercrf

* remove example

* add more models

* add nlp_architect packaging

* remove models

* minor

* update

* style

* export env

* exclude py27

* ignore collection of tfpark text

* fix

* change to kwargs

* add ner

* style and meet review

* fix map bug

* rename to test text models

* merge with get bigdl python

* update prepare env

* align with optimizer update

* add doc

* update dist-all
* add estimator training

* add evaluate

* add predict and evaluate

* address comments

* change to metrics to string type

* add unit test

* fix style
* add sequence tagger

* add ut

* style
…bug (intel-analytics#1245)

* add graph util

* follow up

* update imports

* fix convert

* fix style

* fix bug
* support tfdataset without batch

* address comments

* fix style

* add test code

* fix style

* fix bug
* add bert classifier

* add example

* minor

* minor

* minor

* package bert

* minor

* modify api

* minor

* minor

* revert

* update

* fix inputs

* update

* add it

* update

* remove unnecesary

* update and add docs

* update

* remove example

* fix style

* refactor to text/keras

* fix ut

* refactor
…alytics#1270)

* support create a ImageSet from a local folder of images

* fix style

* support create TFDataset from ImageSet

* refactor

* test

* support BigDL dataset

* remove code

* use datset

* add unit tests

* change to featureset

* add tests

* fix style

* fix tests

* fix tests

* add some docs

* add more docs

* fix style
* support gradient clipping

* remove code

* add more check

* add method in tfoptimizer

* add model test

* add tests

* fix style
* rayrunner

* add a jvm killer

* disable killer from spark job and rely on jvm killer only

* add env and verify the cv2 installation

* enhance

* minor

* style

* comments

* local and enhancement

* better local strategy

* doc and style

* doc

* style

* revert

* doc

* disable

* comments

* fix test
* add bert squad code

* modify grad clip

* revert

* fix style

* init ner

* update examples

* minor update

* remove examples

* revert adamweightdecay

* update

* add ut
* add more doc, spark_conf and extra_options

* fix pip install

* doc

* fix release.sh
* fix tfdataset cannot work with list input

* fix style
* expose more option for driver

* minor

* more
…1532)

* Create .keep

* update .keep path

* add rl_pong example

* move to rl_pong direction

* remove original file

* add parameter server example

* add license

* PEP8 checks

* PEP8 checks

* Add into integration test

* Wrap tests into bash function

* Update license

* PEP8 checks

* Correct syntax of rl_pong

* modify run-pytests to check version before test ray

* test pyspark version and spark home

* add check spark_home's pyspark in case pyspark can't be found

* add check version before run ray examples

* change spark home

* change spark home

* install packages which are needed in ray examples

* check error

* fix error

* change execution to spark-submit

* change memory

* change object memory to test

* add atari_py dependency

* remove .keep

* move ray test to new files

* change some ray-pip lines into function

* remove rl_pong and fix parameter_server iterations

* add iteration

* change iterate, print info

* add more info

* add __init__ files

* change ray to rayexample to avoid conflict and change spark-submit to python to submit tasks

* renamed foreach_evaluator to foreach_worker because rllib update and rename file rllib to rllibexample

* add a dedicated file for the ray test

* PEP8 check fix

* PEP8 check fix

* remove test_split

* remove --doctest-modules about ray

* add time.sleep
* support reading tfrecord in tfdataset

* add doc and test

* fix style

* fix dependency

* fix test

* add resource file

* refactor test

* fix style

* address comment

* add test back

* fix style

* fix tests

* fix python 3.5
* test

* support stateless metric

* support metric in TFOptimizer

* fix tests

* fix style

* add tests
* fix ray and add more test

Signed-off-by: Jieru Hong <[email protected]>

* modify raycontext and move test file to func

Signed-off-by: Jieru Hong <[email protected]>

* modify process and add sc.stop in the end

Signed-off-by: Jieru Hong <[email protected]>

* delete one repeat and check PEP8

Signed-off-by: Jieru Hong <[email protected]>

* change file name and remove some useless code

Signed-off-by: Jieru Hong <[email protected]>

* rename test yarn reinit file

Signed-off-by: Jieru Hong <[email protected]>

* ignore test reinit raycontext

Signed-off-by: Jieru Hong <[email protected]>
* support unfreeze training

* support two version

* fix

* fix

* fix test

* fix test

* fix test

* fix tests

* reduce test

* add tests back

* fix style

* split tests

* isolate tfpark tests

* change back tfnet
* tfoptimizer use analytics-zoo estimator

* fix style

* fix bug

* fix tests and add documents

* fix style

* fix test

* fix example

* fix test

* fix tests

* fix tests

* always repartition
dding3 and others added 21 commits September 7, 2021 19:33
* rm automl

* rm test automl

* rm automl in tests
* add ray daemon

* remove in bigdl

* add ray daemon in start_restricted_worker

* change to static method

* remove ProcessMonitor.register_shutdown_hook and clean_fn

* change name

* clean useless code

* add license
@shanyu-sys shanyu-sys merged commit dfeaef7 into intel-analytics:bigdl-2.0 Sep 10, 2021
Le-Zheng pushed a commit to Le-Zheng/analytics-zoo that referenced this pull request Sep 13, 2021
Move orca/src/test to orca/test in BigDL2.0
Le-Zheng pushed a commit to Le-Zheng/analytics-zoo that referenced this pull request Sep 14, 2021
Move orca/src/test to orca/test in BigDL2.0
Le-Zheng pushed a commit to Le-Zheng/analytics-zoo that referenced this pull request Sep 15, 2021
Move orca/src/test to orca/test in BigDL2.0
shanyu-sys added a commit to shanyu-sys/analytics-zoo that referenced this pull request Sep 16, 2021
Move orca/src/test to orca/test in BigDL2.0
Le-Zheng pushed a commit to Le-Zheng/analytics-zoo that referenced this pull request Sep 17, 2021
Move orca/src/test to orca/test in BigDL2.0
Le-Zheng pushed a commit to Le-Zheng/analytics-zoo that referenced this pull request Sep 22, 2021
Move orca/src/test to orca/test in BigDL2.0
Le-Zheng pushed a commit to Le-Zheng/analytics-zoo that referenced this pull request Sep 22, 2021
Move orca/src/test to orca/test in BigDL2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.