You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/09/06 20:45:46 UTC

[GitHub] [tvm] mehrdadh opened a new pull request, #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

mehrdadh opened a new pull request, #12718:
URL: https://github.com/apache/tvm/pull/12718

   This PR adds `CONFIG_SPEED_OPTIMIZATIONS=y` to zephyr project generation by default which results in `-O2` optimization for the zephyr project
   
   cc @areusch @gromero @guberti 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] mehrdadh commented on pull request #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

Posted by GitBox <gi...@apache.org>.
mehrdadh commented on PR #12718:
URL: https://github.com/apache/tvm/pull/12718#issuecomment-1238711927

   @tvm-bot rerun


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] mehrdadh commented on pull request #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

Posted by GitBox <gi...@apache.org>.
mehrdadh commented on PR #12718:
URL: https://github.com/apache/tvm/pull/12718#issuecomment-1239462234

   @guberti yes, it improves performance for all mlperftiny models.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] mehrdadh commented on pull request #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

Posted by GitBox <gi...@apache.org>.
mehrdadh commented on PR #12718:
URL: https://github.com/apache/tvm/pull/12718#issuecomment-1238705022

   @gromero Here is a report. It seems to have minimal affect on building anomaly detection model
   without -O2 optimization
   ```
   [237/237] Linking CXX executable zephyr/zephyr.elf
   Memory region         Used Size  Region Size  %age Used
              FLASH:      585968 B         2 MB     27.94%
               SRAM:      566544 B       640 KB     86.45%
           IDT_LIST:          0 GB         2 KB      0.00%
   ```
   
   with -O optimization:
   ```
   [237/237] Linking CXX executable zephyr/zephyr.elf
   Memory region         Used Size  Region Size  %age Used
              FLASH:      601872 B         2 MB     28.70%
               SRAM:      566544 B       640 KB     86.45%
           IDT_LIST:          0 GB         2 KB      0.00%
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] github-actions[bot] commented on pull request #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #12718:
URL: https://github.com/apache/tvm/pull/12718#issuecomment-1238712135

   Failed to re-run CI in https://github.com/apache/tvm/actions/runs/3003751435
   
   <details>
   
   ```
   Traceback (most recent call last):
     File "/home/runner/work/tvm/tvm/ci/scripts/git_utils.py", line 89, in _request
       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 403: Forbidden
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "ci/scripts/github_tvmbot.py", line 574, in comment_failure
       raise item
     File "ci/scripts/github_tvmbot.py", line 685, in run
       pr.rerun_github_actions()
     File "ci/scripts/github_tvmbot.py", line 563, in rerun_github_actions
       raise e
     File "ci/scripts/github_tvmbot.py", line 555, in rerun_github_actions
       actions_github.post(f"actions/runs/{workflow_id}/rerun-failed-jobs", data={})
     File "/home/runner/work/tvm/tvm/ci/scripts/git_utils.py", line 111, in post
       return self._request(self.base + url, data, method="POST")
     File "/home/runner/work/tvm/tvm/ci/scripts/git_utils.py", line 94, in _request
       raise RuntimeError(f"Error response: {msg}\n{error_data}")
   RuntimeError: Error response: HTTP Error 403: Forbidden
   {"message":"This workflow is already running","documentation_url":"https://docs.github.com/rest/reference/actions#re-run-workflow-failed-jobs"}
   
   ```
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] github-actions[bot] commented on pull request #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #12718:
URL: https://github.com/apache/tvm/pull/12718#issuecomment-1238712938

   Failed to re-run CI in https://github.com/apache/tvm/actions/runs/3003756962
   
   <details>
   
   ```
   Traceback (most recent call last):
     File "/home/runner/work/tvm/tvm/ci/scripts/git_utils.py", line 89, in _request
       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 403: Forbidden
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "ci/scripts/github_tvmbot.py", line 574, in comment_failure
       raise item
     File "ci/scripts/github_tvmbot.py", line 685, in run
       pr.rerun_github_actions()
     File "ci/scripts/github_tvmbot.py", line 563, in rerun_github_actions
       raise e
     File "ci/scripts/github_tvmbot.py", line 555, in rerun_github_actions
       actions_github.post(f"actions/runs/{workflow_id}/rerun-failed-jobs", data={})
     File "/home/runner/work/tvm/tvm/ci/scripts/git_utils.py", line 111, in post
       return self._request(self.base + url, data, method="POST")
     File "/home/runner/work/tvm/tvm/ci/scripts/git_utils.py", line 94, in _request
       raise RuntimeError(f"Error response: {msg}\n{error_data}")
   RuntimeError: Error response: HTTP Error 403: Forbidden
   {"message":"This workflow is already running","documentation_url":"https://docs.github.com/rest/reference/actions#re-run-workflow-failed-jobs"}
   
   ```
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] mehrdadh merged pull request #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

Posted by GitBox <gi...@apache.org>.
mehrdadh merged PR #12718:
URL: https://github.com/apache/tvm/pull/12718


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] mehrdadh commented on pull request #12718: [microTVM][Zephyr] Enable -O2 optimization on build by default

Posted by GitBox <gi...@apache.org>.
mehrdadh commented on PR #12718:
URL: https://github.com/apache/tvm/pull/12718#issuecomment-1238712757

   @tvm-bot rerun


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org