apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.46k stars 3.41k forks source link

[WebGPU] Update error messages to be more user-friendly #17021

Closed Neet-Nestor closed 2 months ago

Neet-Nestor commented 2 months ago

This PR updates the error message returned if the client doesn't have valid WebGPU adapter to make it more readible and user-friendly.

tqchen commented 2 months ago

@tvm-bot rerun

github-actions[bot] commented 2 months ago

Failed to re-run CI in https://github.com/apache/tvm/actions/runs/9207373097

``` Traceback (most recent call last): File "ci/scripts/github/github_tvmbot.py", line 595, in comment_failure raise item File "ci/scripts/github/github_tvmbot.py", line 701, in run pr.rerun_jenkins_ci() File "ci/scripts/github/github_tvmbot.py", line 554, in rerun_jenkins_ci post(url, auth=("tvm-bot", TVM_BOT_JENKINS_TOKEN)) File "/home/runner/work/tvm/tvm/ci/scripts/jenkins/git_utils.py", line 53, in post with request.urlopen(req, data) as response: File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: Server Error ``` with response ``` Jenkins [Jenkins]

 Oops!

A problem occurred while processing the request.

Logging ID=142ecf9d-88b2-4952-b0f8-a67a625334cb

```
tqchen commented 2 months ago

@tvm-bot rerun

github-actions[bot] commented 2 months ago

Failed to re-run CI in https://github.com/apache/tvm/actions/runs/9218797178

``` Traceback (most recent call last): File "ci/scripts/github/github_tvmbot.py", line 595, in comment_failure raise item File "ci/scripts/github/github_tvmbot.py", line 701, in run pr.rerun_jenkins_ci() File "ci/scripts/github/github_tvmbot.py", line 554, in rerun_jenkins_ci post(url, auth=("tvm-bot", TVM_BOT_JENKINS_TOKEN)) File "/home/runner/work/tvm/tvm/ci/scripts/jenkins/git_utils.py", line 53, in post with request.urlopen(req, data) as response: File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found ``` with response ``` Error 404 Not Found

HTTP ERROR 404 Not Found

URI:/job/tvm-arm/job/PR-17021/buildWithParameters
STATUS:404
MESSAGE:Not Found
SERVLET:Stapler

Powered by Jetty:// 10.0.11
```