Skip to content

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang Wang authored and Xiang Wang committed Jun 12, 2024
1 parent c20dd77 commit bae59fb
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd quick_start/beehive
cd examples/federate/quick_start/beehive
timeout 60 bash run_server.sh || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi
6 changes: 3 additions & 3 deletions .github/workflows/smoke_test_cross_silo_fedavg_cdp_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example
cd examples/federate/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_server.sh $run_id
Expand All @@ -87,7 +87,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example
cd examples/federate/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 1 $run_id
Expand All @@ -97,7 +97,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example
cd examples/federate/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 2 $run_id
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/smoke_test_cross_silo_fedavg_defense_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example
cd examples/federate/security/mqtt_s3_fedavg_defense_mnist_lr_example
run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_server.sh $run_id
Expand All @@ -87,7 +87,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example
cd examples/federate/security/mqtt_s3_fedavg_defense_mnist_lr_example
run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 1 $run_id
Expand All @@ -97,7 +97,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example
cd examples/federate/security/mqtt_s3_fedavg_defense_mnist_lr_example
run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 2 $run_id
Expand All @@ -107,7 +107,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example
cd examples/federate/security/mqtt_s3_fedavg_defense_mnist_lr_example
run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 3 $run_id
Expand All @@ -117,7 +117,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example
cd examples/federate/security/mqtt_s3_fedavg_defense_mnist_lr_example
run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 4 $run_id
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/smoke_test_cross_silo_fedavg_ldp_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example
cd examples/federate/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_server.sh $run_id
Expand All @@ -87,7 +87,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example
cd examples/federate/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 1 $run_id
Expand All @@ -97,7 +97,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd examples/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example
cd examples/federate/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 2 $run_id
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/smoke_test_cross_silo_ho_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd quick_start/octopus
cd examples/federate/quick_start/octopus
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_server.sh $run_id
Expand All @@ -87,7 +87,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd quick_start/octopus
cd examples/federate/quick_start/octopus
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 1 $run_id
Expand All @@ -97,7 +97,7 @@ jobs:
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd python
cd quick_start/octopus
cd examples/federate/quick_start/octopus
run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
echo ${run_id}
bash run_client.sh 2 $run_id
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/smoke_test_cross_silo_ho_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,20 @@ jobs:
- name: server - cross-silo - ho
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd quick_start/octopus
cd examples/federate/quick_start/octopus
.\run_server.bat ${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
if: ${{ matrix.client-index == '0' }}

- name: client 1 - cross-silo - ho
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd quick_start/octopus
cd examples/federate/quick_start/octopus
.\run_client.bat 1 ${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
if: ${{ matrix.client-index == '1' }}

- name: client 2 - cross-silo - ho
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd quick_start/octopus
cd examples/federate/quick_start/octopus
.\run_client.bat 2 ${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}
if: ${{ matrix.client-index == '2' }}
2 changes: 1 addition & 1 deletion .github/workflows/smoke_test_pip_cli_sp_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ jobs:
- name: test simulation-sp
working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}
run: |
cd quick_start/parrot
cd examples/federate/quick_start/parrot
python torch_fedavg_mnist_lr_one_line_example.py --cf fedml_config.yaml
python torch_fedavg_mnist_lr_custum_data_and_model_example.py --cf fedml_config.yaml

0 comments on commit bae59fb

Please sign in to comment.