-
Notifications
You must be signed in to change notification settings - Fork 106
Improve the time series api + add policy for regression #7156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9f3cd5c
add old way
yangw-dev b0a44ef
add old way
yangw-dev e03ba23
add old way
yangw-dev 041f0ae
add old way
yangw-dev 78eafce
add old way
yangw-dev e437b77
add old way
yangw-dev 39e26ed
add old way
yangw-dev 54de811
add old way
yangw-dev 5de8fbf
add old way
yangw-dev 2df16ec
add old way
yangw-dev d10f0ba
Merge branch 'main' into replaceapi
yangw-dev 3773365
add old way
yangw-dev d71cc10
add old way
yangw-dev a2b45ec
add old way
yangw-dev fd3fca8
add old way
yangw-dev 473d021
add old way
yangw-dev 88ba145
add config
yangw-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 27 additions & 9 deletions
36
torchci/clickhouse_queries/compilers_benchmark_api_commit_query/query.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,45 @@ | ||
| SELECT DISTINCT | ||
| replaceOne(head_branch, 'refs/heads/', '') AS branch, | ||
| head_sha AS commit, | ||
| workflow_id AS id, | ||
| timestamp | ||
| workflow_id, | ||
| toDate(fromUnixTimestamp(timestamp), 'UTC') AS date | ||
| FROM benchmark.oss_ci_benchmark_torchinductor | ||
| PREWHERE | ||
| timestamp >= toUnixTimestamp({startTime: DateTime64(3)}) | ||
| AND timestamp < toUnixTimestamp({stopTime: DateTime64(3)}) | ||
| WHERE | ||
| -- optional branches | ||
| ( | ||
| has( | ||
| {branches: Array(String)}, | ||
| replaceOne(head_branch, 'refs/heads/', '') | ||
| ) | ||
| OR empty({branches: Array(String)}) | ||
| ) | ||
| -- optional suites | ||
| AND ( | ||
| has({suites: Array(String) }, suite) | ||
| OR empty({suites: Array(String) }) | ||
| has({suites: Array(String)}, suite) | ||
| OR empty({suites: Array(String)}) | ||
| ) | ||
| AND benchmark_dtype = {dtype: String} | ||
| AND benchmark_mode = {mode: String} | ||
| AND device = {device: String} | ||
| AND multiSearchAnyCaseInsensitive(arch, {arch: Array(String)}) | ||
| ORDER BY timestamp | ||
| -- optional dtype | ||
| AND ( | ||
| benchmark_dtype = {dtype: String} | ||
| OR empty({dtype: String}) | ||
| ) | ||
| -- optional mode | ||
| AND ( | ||
| benchmark_mode = {mode: String} | ||
| OR empty({mode: String}) | ||
| ) | ||
| -- optional device | ||
| AND ( | ||
| device = {device: String} | ||
| OR empty({device: String}) | ||
| ) | ||
| -- optional arch (array param); if empty array, skip filter | ||
| AND ( | ||
| multiSearchAnyCaseInsensitive(arch, {arch: Array(String)}) | ||
| OR empty({arch: Array(String)}) | ||
| ) | ||
| ORDER BY branch, timestamp | ||
| SETTINGS session_timezone = 'UTC'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
torchci/lib/benchmark/api_helper/compilers/helpers/common.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.