"examples/textual_inversion/textual_inversion_sdxl.py" did not exist on "79ef9e528cd2ae8dc49c75eeb1ea5d0d17ac9d45"
Commit 8a50c9a1 authored by Hejing Li's avatar Hejing Li
Browse files

rename result processing script

parent f5dbb851
......@@ -31,11 +31,11 @@ if len(sys.argv) != 2:
sys.exit(1)
basedir = sys.argv[1] + '/'
types_of_client = [1, 3, 7, 11, 15, 31]
types_of_client = [1, 4, 9, 14, 20]
bw = 1000
for cl in types_of_client:
log_path = '%sgt-ib-switch-UDPmicro-%d-%d-1.json' % (basedir, bw, cl)
log_path = '%sgt-ib-sw-Host-%dm-%d-1.json' % (basedir, bw, cl)
try:
log = open(log_path, 'r')
......
......@@ -27,17 +27,17 @@ import shutil
import json
if len(sys.argv) != 2:
print('Usage: udp.py OUTDIR')
print('Usage: python3 ScaleLoad.py OUTDIR')
sys.exit(1)
basedir = sys.argv[1] + '/'
# FIXME: dropped 120 because it looks off
types_of_bw = [0, 20, 40, 60, 80, 100, 140, 200, 500, 800, 1000]
types_of_bw = [0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]
for bw in types_of_bw:
log_path = '%sgt-ib-wire-UDPs-%dm-1.json' % (basedir, bw)
log_path = '%sgt-ib-sw-Load-%dm-1.json' % (basedir, bw)
if os.path.exists(log_path):
log = open(log_path, 'r')
exp_log = json.load(log)
......@@ -45,10 +45,10 @@ for bw in types_of_bw:
end_time = exp_log["end_time"]
diff_time = (end_time - start_time)/60 #min
diff_time = str(diff_time)
log.close()
else:
diff_time = ''
print('%d\t%s' % (bw, diff_time))
log.close()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment