Skip to content

Commit db2ba72

Browse files
Avoid generating index in debug tuning files.
1 parent a20b5da commit db2ba72

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mlir/utils/performance/analysis/quickTuningGen.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ def combine_data(input_dir, no_splitk):
347347
dfs = []
348348
for file in tsv_files:
349349
df = pd.read_csv(file, sep='\t', index_col=None)
350-
df = df[df.columns[1:]]
351350
dfs.append(df)
352351
if not dfs:
353352
return None

mlir/utils/performance/tuningRunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def main(args=None):
455455

456456
if parsed_args.debug:
457457
print(all_data, file=sys.stderr)
458-
all_data.to_csv(f"{parsed_args.output}.debug", sep='\t')
458+
all_data.to_csv(f"{parsed_args.output}.debug", sep='\t', index=False)
459459

460460
# Note, appending results here to allow multiple config sets
461461
if parsed_args.output == '-':

0 commit comments

Comments
 (0)