Skip to content

Commit

Permalink
Fixing weight stationary and modifying CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikraj7 committed Sep 11, 2023
1 parent 5781111 commit e13e3d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/testing-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
# to test the functionality of weight stationary dataflow
- name: Run script file
run: |
python3 -m venv venv2 && source venv2/bin/activate && pip install -r requirements.txt
chmod +x ./test/scripts/function_test.sh
export PYTHONPATH=. && ./test/scripts/function_test.sh
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/function_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sed -i "s/run_name = scale_example_run_32x32_os/run_name = scale_example_run_32x
sed -i "s/Dataflow : os/Dataflow : ws/" $path/configs/scale.cfg
sed -i "s/save_disk_space=True/save_disk_space=False/" $path/scalesim/scale.py

source $path/venv/bin/activate
source $path/venv2/bin/activate

python3 $path/scalesim/scale.py -c $path/configs/scale.cfg -t $path/topologies/conv_nets/alexnet_part.csv -p $path/test_runs

Expand Down

0 comments on commit e13e3d7

Please sign in to comment.