From 797d2e8a08411a8930ea101df3f2218d079dcef4 Mon Sep 17 00:00:00 2001 From: Rupert Lu Date: Mon, 8 Jul 2024 19:02:03 -0700 Subject: [PATCH] Fixed 3d issue of copying to docker container --- scripts/formatting/generate_tensor_tile_formats_onyx.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/formatting/generate_tensor_tile_formats_onyx.sh b/scripts/formatting/generate_tensor_tile_formats_onyx.sh index 5cd8c1b4..6fd6c135 100755 --- a/scripts/formatting/generate_tensor_tile_formats_onyx.sh +++ b/scripts/formatting/generate_tensor_tile_formats_onyx.sh @@ -115,6 +115,9 @@ for i in ${!FORMATS[@]}; do find $tile_path -name tensor_*_tile_*.tns -not -name tensor_B_tile_*.tns -maxdepth 1 | parallel run_format {} $bench $format $bench_path $tile_path "$other_format" + docker exec $5 rm -r /aha/garnet/tiles_$3_$line + docker cp tiles/$3/$line $5:/aha/garnet/tiles_$3_$line + done < $1 set_temp_env $old_frostt_formatted_taco_path $old_frostt_path $old_frostt_tensor_path $old_frostt_formatted_path @@ -122,5 +125,3 @@ for i in ${!FORMATS[@]}; do done done - -docker cp tiles $5:/aha/garnet/tiles_$3