mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
[release test] remove dask/modin_xgboost test completely. (#27865)
The original script was removed in https://github.com/ray-project/ray/pull/27816 This is just to clean up some remainings. Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
This commit is contained in:
parent
d654636bfc
commit
f77ec350fa
3 changed files with 0 additions and 126 deletions
|
@ -1,36 +0,0 @@
|
||||||
import ray
|
|
||||||
import os
|
|
||||||
import time
|
|
||||||
import json
|
|
||||||
from util import import_and_execute_test_script
|
|
||||||
|
|
||||||
NOTEBOOK_PATH_RELATIVE_TO_RAY_REPO = (
|
|
||||||
"doc/source/ray-core/examples/dask_xgboost/dask_xgboost.py"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
import_and_execute_test_script(NOTEBOOK_PATH_RELATIVE_TO_RAY_REPO)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
start = time.time()
|
|
||||||
|
|
||||||
addr = os.environ.get("RAY_ADDRESS")
|
|
||||||
job_name = os.environ.get("RAY_JOB_NAME", "dask_xgboost_test")
|
|
||||||
if addr is not None and addr.startswith("anyscale://"):
|
|
||||||
ray.init(address=addr, job_name=job_name)
|
|
||||||
else:
|
|
||||||
ray.init(address="auto")
|
|
||||||
|
|
||||||
main()
|
|
||||||
|
|
||||||
taken = time.time() - start
|
|
||||||
result = {
|
|
||||||
"time_taken": taken,
|
|
||||||
}
|
|
||||||
test_output_json = os.environ.get("TEST_OUTPUT_JSON", "/tmp/dask_xgboost_test.json")
|
|
||||||
with open(test_output_json, "wt") as f:
|
|
||||||
json.dump(result, f)
|
|
||||||
|
|
||||||
print("Test Successful!")
|
|
|
@ -1,38 +0,0 @@
|
||||||
import ray
|
|
||||||
import os
|
|
||||||
import time
|
|
||||||
import json
|
|
||||||
from util import import_and_execute_test_script
|
|
||||||
|
|
||||||
NOTEBOOK_PATH_RELATIVE_TO_RAY_REPO = (
|
|
||||||
"doc/source/ray-core/examples/modin_xgboost/modin_xgboost.py"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
import_and_execute_test_script(NOTEBOOK_PATH_RELATIVE_TO_RAY_REPO)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
start = time.time()
|
|
||||||
|
|
||||||
addr = os.environ.get("RAY_ADDRESS")
|
|
||||||
job_name = os.environ.get("RAY_JOB_NAME", "modin_xgboost_test")
|
|
||||||
if addr is not None and addr.startswith("anyscale://"):
|
|
||||||
ray.init(address=addr, job_name=job_name)
|
|
||||||
else:
|
|
||||||
ray.init(address="auto")
|
|
||||||
|
|
||||||
main()
|
|
||||||
|
|
||||||
taken = time.time() - start
|
|
||||||
result = {
|
|
||||||
"time_taken": taken,
|
|
||||||
}
|
|
||||||
test_output_json = os.environ.get(
|
|
||||||
"TEST_OUTPUT_JSON", "/tmp/modin_xgboost_test.json"
|
|
||||||
)
|
|
||||||
with open(test_output_json, "wt") as f:
|
|
||||||
json.dump(result, f)
|
|
||||||
|
|
||||||
print("Test Successful!")
|
|
|
@ -1719,58 +1719,6 @@
|
||||||
########################
|
########################
|
||||||
# Golden Notebook tests
|
# Golden Notebook tests
|
||||||
########################
|
########################
|
||||||
- name: golden_notebook_dask_xgboost_test
|
|
||||||
group: Golden Notebook tests
|
|
||||||
working_dir: golden_notebook_tests
|
|
||||||
|
|
||||||
legacy:
|
|
||||||
test_name: dask_xgboost_test
|
|
||||||
test_suite: golden_notebook_tests
|
|
||||||
|
|
||||||
frequency: nightly
|
|
||||||
team: ml
|
|
||||||
env: staging
|
|
||||||
|
|
||||||
cluster:
|
|
||||||
cluster_env: dask_xgboost_app_config.yaml
|
|
||||||
cluster_compute: compute_tpl.yaml
|
|
||||||
|
|
||||||
run:
|
|
||||||
timeout: 1800
|
|
||||||
script: python workloads/dask_xgboost_test.py --num-actors 4 --cpus-per-actor 4 --num-actors-inference 16 --cpus-per-actor-inference 1
|
|
||||||
type: client
|
|
||||||
|
|
||||||
wait_for_nodes:
|
|
||||||
num_nodes: 4
|
|
||||||
|
|
||||||
alert: default
|
|
||||||
|
|
||||||
- name: golden_notebook_modin_xgboost_test
|
|
||||||
group: Golden Notebook tests
|
|
||||||
working_dir: golden_notebook_tests
|
|
||||||
|
|
||||||
legacy:
|
|
||||||
test_name: modin_xgboost_test
|
|
||||||
test_suite: golden_notebook_tests
|
|
||||||
|
|
||||||
frequency: nightly
|
|
||||||
team: ml
|
|
||||||
env: staging
|
|
||||||
|
|
||||||
cluster:
|
|
||||||
cluster_env: modin_xgboost_app_config.yaml
|
|
||||||
cluster_compute: compute_tpl.yaml
|
|
||||||
|
|
||||||
run:
|
|
||||||
timeout: 1800
|
|
||||||
script: python workloads/modin_xgboost_test.py --num-actors 4 --cpus-per-actor 4 --num-actors-inference 16 --cpus-per-actor-inference 1
|
|
||||||
type: client
|
|
||||||
|
|
||||||
wait_for_nodes:
|
|
||||||
num_nodes: 4
|
|
||||||
|
|
||||||
alert: default
|
|
||||||
|
|
||||||
- name: golden_notebook_torch_tune_serve_test
|
- name: golden_notebook_torch_tune_serve_test
|
||||||
group: Golden Notebook tests
|
group: Golden Notebook tests
|
||||||
working_dir: golden_notebook_tests
|
working_dir: golden_notebook_tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue