Skip to content

Commit

Permalink
Corrected Watermaking to Watermarking
Browse files Browse the repository at this point in the history
Signed-off-by: noopur <[email protected]>
  • Loading branch information
noopurintel committed Jan 10, 2025
1 parent 4dceba7 commit b0f32d4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/federated_runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,26 @@ jobs:
- name: Activate and run the director in background
run: |
ps -ef| grep -e "director start" -e "envoy start"
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
fx experimental activate
cd director
nohup ./start_director.sh &> director.log &
- name: Run the envoy Bangalore in background
run: |
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
cd Bangalore
nohup ./start_envoy.sh Bangalore Bangalore_config.yaml &> bangalore.log &
- name: Run the envoy Chandler in background
run: |
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
cd Chandler
nohup ./start_envoy.sh Chandler Chandler_config.yaml &> chandler.log &
- name: Check if envoys are connected to the director
run: |
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
timeout=60
connected=false
while [ $timeout -gt 0 ]; do
Expand All @@ -86,13 +86,13 @@ jobs:
- name: Run Notebook
run: |
ps -ef| grep -e "director start" -e "envoy start"
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking/workspace
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/workspace
jupyter nbconvert --execute --to notebook ./MNIST_Watermarking.ipynb
echo "Notebook run completed"
- name: Check if the experiment was successful using logs
run: |
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking
cd openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking
if grep "End of Federation reached." ./Bangalore/bangalore.log; then
echo "Process for Bangalore envoy is successful"
Expand All @@ -114,11 +114,11 @@ jobs:
if: ${{ always() }} # collect artifacts regardless of failures
run: |
tar -cvf notebook.tar \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking/workspace/MNIST_Watermarking.nbconvert.ipynb \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking/workspace/MNIST_Watermarking.ipynb \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking/director/director.log \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking/Bangalore/bangalore.log \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermaking/Chandler/chandler.log \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/workspace/MNIST_Watermarking.nbconvert.ipynb \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/workspace/MNIST_Watermarking.ipynb \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/director/director.log \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Bangalore/bangalore.log \
./openfl-tutorials/experimental/workflow/FederatedRuntime/301_MNIST_Watermarking/Chandler/chandler.log \
--ignore-failed-read
echo "TAR file created"
Expand Down

0 comments on commit b0f32d4

Please sign in to comment.