Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions db_tools/create_view.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CREATE OR REPLACE VIEW torchmlir_benchmark_view AS
SELECT
id,
REPLACE(REPLACE(CONCAT(host, '-', compiler, '-', dtype, '-', tag), 'torchscript', 'ts'), '-ci', '') AS backend,
host,
device,
compiler,
dtype,
tag,
benchmark,
benchmark_desc,
samples_per_s AS items_per_s,
flops_per_sample,
flops_per_sample * samples_per_s / 1e12 AS tflops,
date
FROM torchmlir_benchmark;