forked from NVIDIA/NVFlare
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into http-driver-bugs
- Loading branch information
Showing
16 changed files
with
273 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
tests/integration_test/data/test_configs/standalone_job/xgb_histogram_examples.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
n_servers: 1 | ||
n_clients: 2 | ||
additional_python_paths: | ||
- ../../examples/advanced/xgboost | ||
cleanup: true | ||
jobs_root_dir: ../../examples/advanced/xgboost/histogram-based/jobs | ||
|
||
|
||
tests: | ||
- test_name: Test a simplified copy of job higgs_2_histogram_uniform_split_uniform_lr | ||
for xgboost histogram-based example. | ||
event_sequence: | ||
- actions: | ||
- submit_job higgs_2_histogram_uniform_split_uniform_lr_copy | ||
result: | ||
type: job_submit_success | ||
trigger: | ||
data: Server started | ||
type: server_log | ||
- actions: | ||
- ensure_current_job_done | ||
result: | ||
data: | ||
run_finished: true | ||
type: run_state | ||
trigger: | ||
data: | ||
run_finished: true | ||
type: run_state | ||
setup: | ||
- cp ../../examples/advanced/xgboost/histogram-based/requirements.txt | ||
../../examples/advanced/xgboost/histogram-based/temp_requirements.txt | ||
- sed -i '/nvflare\|jupyter\|notebook/d' ../../examples/advanced/xgboost/histogram-based/temp_requirements.txt | ||
- pip install -r ../../examples/advanced/xgboost/histogram-based/temp_requirements.txt | ||
- bash ../../examples/advanced/xgboost/histogram-based/prepare_data.sh | ||
- python3 ../../examples/advanced/xgboost/utils/prepare_job_config.py --site_num 2 --training_mode histogram | ||
--split_method uniform --lr_mode uniform --nthread 16 --tree_method hist | ||
- python3 convert_to_test_job.py | ||
--job ../../examples/advanced/xgboost/histogram-based/jobs/higgs_2_histogram_uniform_split_uniform_lr | ||
--post _copy | ||
- rm -f ../../examples/advanced/xgboost/histogram-based/temp_requirements.txt | ||
teardown: | ||
- rm -rf ../../examples/advanced/xgboost/histogram-based/jobs/higgs_2_histogram_uniform_split_uniform_lr | ||
- rm -rf ../../examples/advanced/xgboost/histogram-based/jobs/higgs_2_histogram_uniform_split_uniform_lr_copy |
Oops, something went wrong.