Skip to content

[VERILOG] Generalize Buffer and Tests - #76

Merged
tqchen merged 6 commits into
masterfrom
thierry
Mar 27, 2017
Merged

[VERILOG] Generalize Buffer and Tests#76
tqchen merged 6 commits into
masterfrom
thierry

Conversation

@tmoreau89

Copy link
Copy Markdown
Contributor

Added the TVM buffering unit, along with 3 testbenches that exercise the buffer as (1) a fifo, (2) a line buffer and (3) a double buffer.

The read logic is left in the verilog testbench. This leaves the python testbench to take care of test data writes, and correctness logic.

A special signal, read_data_valid, indicates that the data coming back from a read request is valid, and therefore can be checked against reference data.

@tmoreau89
tmoreau89 requested a review from tqchenMarch 26, 2017 22:37
@tmoreau89

Copy link
Copy Markdown
ContributorAuthor

changed the python variable naming (831d7a6)

@tqchentqchen changed the title Thierry[VERILOG] Generalize BufferMar 26, 2017
@tqchentqchen changed the title [VERILOG] Generalize Buffer[VERILOG] Generalize Buffer and TestsMar 26, 2017

@tqchentqchen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, will merge after tests pass

@tqchen
tqchen merged commit 7cd6b35 into masterMar 27, 2017
@tqchen
tqchen deleted the thierry branch May 5, 2017 02:02
tqchen pushed a commit to tqchen/tvm that referenced this pull request May 26, 2018
tqchen pushed a commit that referenced this pull request May 29, 2018
tqchen pushed a commit to tqchen/tvm that referenced this pull request Jul 6, 2018
sergei-mironov pushed a commit to sergei-mironov/tvm that referenced this pull request Aug 8, 2018
jroesch added a commit to jroesch/tvm that referenced this pull request Aug 29, 2018
apache#78)
This patch adds the first version of an NNVM frontend for Relay, and a backend which targets the existing TVM graph runtime. There are still quite a few TODOs before this is robust as outlined in apache#76.
Changes:
Add initial NNVM frontend
Refactor Python debug code
Refactor type checker to support generalization
First example works, now working on nnvm.build
Clean up IR definition
Generate type specialized program
Start on TVM RTS, first step is refactor operator compilation
Work around bug due to name mangling
Expose ability to build module from intrinsic id set
Working towards full NNVM output from Relay
First version of TVM RTS compiler works, but program crashes on RTS
Get first NNVM frontend test passing
Clean up relay.nnvm.build
Fix Josh's comments
Add basic If suppot for tomorrow's demo
Refactors for demo, trying to debug segfault
Add a bunch of intrumentation
Continue patching up 0-sized tensors
Iterate towards running if
Fix lint
Fix Makefile ws
Fix Python linting
Fix final lint
Disable lint
Add Relay logging
Iterate on CI
Hacking
Remove MK's hack
Prefer py3 executable
Prefer Python 3.6
Remove dead import
Fix PYTHONPATH
jroesch added a commit to jroesch/tvm that referenced this pull request Aug 29, 2018
* Improve and refactor NNVM frontend
* Improve testing infrastructure to test eval + TVM RTS
* Add stubs for Level 1, 2 & 3
* All operator overloading tests pass
* Fix lint
* Fix typing
* Add doc-string
* Fix test cases
icemelon pushed a commit to icemelon/tvm that referenced this pull request Apr 14, 2020
vinx13 pushed a commit to vinx13/tvm that referenced this pull request Mar 9, 2022
jinhongyii pushed a commit to jinhongyii/tvm that referenced this pull request Jun 20, 2022
…er (apache#76)
* [CI] Set up CI; format and lint relax code to pass CI (apache#72)
* init
* fix lint
* update task_lint
* more lint
* more lint
* lint
* jenkinsfile
* jenkinsfile
* run relax only tests
* python3.7 for pytest
* point to personal ci-cpu docker
* docker pull
* test
* fix cmake config
* update
* update
* rebase
* rebase
* AutoTIR integration (apache#58)
* [WIP] Basic task extraction mechanism is implemented.
* [WIP] For gradual integration with Relay pipeline, meta_schedule/integration.py is created for relax to avoid potential conflict.
* support tir tuning and injection mode
* Add target field for Relax Extracted Task
* 1. Create relax namespace/tvm objects/... for metaschedule to preserve relay support. 2. Promote target field from Optional<Target> to Target
* Support ApplyHistoryBest
* Reflect feedback from Yuchen
* minor improvement and fix linter issue
* add ASF header
* Reorganize file structure
* fix lint errors
* remove the import-outside-toplevel
* Reflect comments
* remove redundant comment
* As per discussion w/ Yuchen, ApplyHistoryBest is introduced as a Relax transformation pass.
* remove redundant print msg
* fix lint
* reflect comments
* Yuchen's change
* relax ConstantNode in parser and printer
* Add constant data in the metasection
* rebase
* Support ir_module(metadata=json_str)
* update test case
* remove print info
* Update tests
* clang-format
* pylint
* fix ci
* Save a copy of metadata in RelaxTransformer
* Fix comments
* fix comments
Co-authored-by: Yuchen Jin <yuchenj@cs.washington.edu>
Co-authored-by: Sunghyun Park <49998730+sunggg@users.noreply.github.com>
Hzfengsy pushed a commit to Hzfengsy/tvm that referenced this pull request Jul 30, 2022
…er (apache#76)
* [CI] Set up CI; format and lint relax code to pass CI (apache#72)
* init
* fix lint
* update task_lint
* more lint
* more lint
* lint
* jenkinsfile
* jenkinsfile
* run relax only tests
* python3.7 for pytest
* point to personal ci-cpu docker
* docker pull
* test
* fix cmake config
* update
* update
* rebase
* rebase
* AutoTIR integration (apache#58)
* [WIP] Basic task extraction mechanism is implemented.
* [WIP] For gradual integration with Relay pipeline, meta_schedule/integration.py is created for relax to avoid potential conflict.
* support tir tuning and injection mode
* Add target field for Relax Extracted Task
* 1. Create relax namespace/tvm objects/... for metaschedule to preserve relay support. 2. Promote target field from Optional<Target> to Target
* Support ApplyHistoryBest
* Reflect feedback from Yuchen
* minor improvement and fix linter issue
* add ASF header
* Reorganize file structure
* fix lint errors
* remove the import-outside-toplevel
* Reflect comments
* remove redundant comment
* As per discussion w/ Yuchen, ApplyHistoryBest is introduced as a Relax transformation pass.
* remove redundant print msg
* fix lint
* reflect comments
* Yuchen's change
* relax ConstantNode in parser and printer
* Add constant data in the metasection
* rebase
* Support ir_module(metadata=json_str)
* update test case
* remove print info
* Update tests
* clang-format
* pylint
* fix ci
* Save a copy of metadata in RelaxTransformer
* Fix comments
* fix comments
Co-authored-by: Yuchen Jin <yuchenj@cs.washington.edu>
Co-authored-by: Sunghyun Park <49998730+sunggg@users.noreply.github.com>
cyx-6 pushed a commit to cyx-6/tvm that referenced this pull request Aug 1, 2022
areusch pushed a commit to areusch/tvm that referenced this pull request Sep 20, 2022
…er (apache#76)
* [CI] Set up CI; format and lint relax code to pass CI (apache#72)
* init
* fix lint
* update task_lint
* more lint
* more lint
* lint
* jenkinsfile
* jenkinsfile
* run relax only tests
* python3.7 for pytest
* point to personal ci-cpu docker
* docker pull
* test
* fix cmake config
* update
* update
* rebase
* rebase
* AutoTIR integration (apache#58)
* [WIP] Basic task extraction mechanism is implemented.
* [WIP] For gradual integration with Relay pipeline, meta_schedule/integration.py is created for relax to avoid potential conflict.
* support tir tuning and injection mode
* Add target field for Relax Extracted Task
* 1. Create relax namespace/tvm objects/... for metaschedule to preserve relay support. 2. Promote target field from Optional<Target> to Target
* Support ApplyHistoryBest
* Reflect feedback from Yuchen
* minor improvement and fix linter issue
* add ASF header
* Reorganize file structure
* fix lint errors
* remove the import-outside-toplevel
* Reflect comments
* remove redundant comment
* As per discussion w/ Yuchen, ApplyHistoryBest is introduced as a Relax transformation pass.
* remove redundant print msg
* fix lint
* reflect comments
* Yuchen's change
* relax ConstantNode in parser and printer
* Add constant data in the metasection
* rebase
* Support ir_module(metadata=json_str)
* update test case
* remove print info
* Update tests
* clang-format
* pylint
* fix ci
* Save a copy of metadata in RelaxTransformer
* Fix comments
* fix comments
Co-authored-by: Yuchen Jin <yuchenj@cs.washington.edu>
Co-authored-by: Sunghyun Park <49998730+sunggg@users.noreply.github.com>
gigiblender pushed a commit to gigiblender/tvm that referenced this pull request Nov 3, 2022
…er (apache#76)
* [CI] Set up CI; format and lint relax code to pass CI (apache#72)
* init
* fix lint
* update task_lint
* more lint
* more lint
* lint
* jenkinsfile
* jenkinsfile
* run relax only tests
* python3.7 for pytest
* point to personal ci-cpu docker
* docker pull
* test
* fix cmake config
* update
* update
* rebase
* rebase
* AutoTIR integration (apache#58)
* [WIP] Basic task extraction mechanism is implemented.
* [WIP] For gradual integration with Relay pipeline, meta_schedule/integration.py is created for relax to avoid potential conflict.
* support tir tuning and injection mode
* Add target field for Relax Extracted Task
* 1. Create relax namespace/tvm objects/... for metaschedule to preserve relay support. 2. Promote target field from Optional<Target> to Target
* Support ApplyHistoryBest
* Reflect feedback from Yuchen
* minor improvement and fix linter issue
* add ASF header
* Reorganize file structure
* fix lint errors
* remove the import-outside-toplevel
* Reflect comments
* remove redundant comment
* As per discussion w/ Yuchen, ApplyHistoryBest is introduced as a Relax transformation pass.
* remove redundant print msg
* fix lint
* reflect comments
* Yuchen's change
* relax ConstantNode in parser and printer
* Add constant data in the metasection
* rebase
* Support ir_module(metadata=json_str)
* update test case
* remove print info
* Update tests
* clang-format
* pylint
* fix ci
* Save a copy of metadata in RelaxTransformer
* Fix comments
* fix comments
Co-authored-by: Yuchen Jin <yuchenj@cs.washington.edu>
Co-authored-by: Sunghyun Park <49998730+sunggg@users.noreply.github.com>
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Nov 20, 2022
…er (apache#76)
* [CI] Set up CI; format and lint relax code to pass CI (apache#72)
* init
* fix lint
* update task_lint
* more lint
* more lint
* lint
* jenkinsfile
* jenkinsfile
* run relax only tests
* python3.7 for pytest
* point to personal ci-cpu docker
* docker pull
* test
* fix cmake config
* update
* update
* rebase
* rebase
* AutoTIR integration (apache#58)
* [WIP] Basic task extraction mechanism is implemented.
* [WIP] For gradual integration with Relay pipeline, meta_schedule/integration.py is created for relax to avoid potential conflict.
* support tir tuning and injection mode
* Add target field for Relax Extracted Task
* 1. Create relax namespace/tvm objects/... for metaschedule to preserve relay support. 2. Promote target field from Optional<Target> to Target
* Support ApplyHistoryBest
* Reflect feedback from Yuchen
* minor improvement and fix linter issue
* add ASF header
* Reorganize file structure
* fix lint errors
* remove the import-outside-toplevel
* Reflect comments
* remove redundant comment
* As per discussion w/ Yuchen, ApplyHistoryBest is introduced as a Relax transformation pass.
* remove redundant print msg
* fix lint
* reflect comments
* Yuchen's change
* relax ConstantNode in parser and printer
* Add constant data in the metasection
* rebase
* Support ir_module(metadata=json_str)
* update test case
* remove print info
* Update tests
* clang-format
* pylint
* fix ci
* Save a copy of metadata in RelaxTransformer
* Fix comments
* fix comments
Co-authored-by: Yuchen Jin <yuchenj@cs.washington.edu>
Co-authored-by: Sunghyun Park <49998730+sunggg@users.noreply.github.com>
yelite pushed a commit to yelite/tvm that referenced this pull request Feb 17, 2023
…er (apache#76)
* [CI] Set up CI; format and lint relax code to pass CI (apache#72)
* init
* fix lint
* update task_lint
* more lint
* more lint
* lint
* jenkinsfile
* jenkinsfile
* run relax only tests
* python3.7 for pytest
* point to personal ci-cpu docker
* docker pull
* test
* fix cmake config
* update
* update
* rebase
* rebase
* AutoTIR integration (apache#58)
* [WIP] Basic task extraction mechanism is implemented.
* [WIP] For gradual integration with Relay pipeline, meta_schedule/integration.py is created for relax to avoid potential conflict.
* support tir tuning and injection mode
* Add target field for Relax Extracted Task
* 1. Create relax namespace/tvm objects/... for metaschedule to preserve relay support. 2. Promote target field from Optional<Target> to Target
* Support ApplyHistoryBest
* Reflect feedback from Yuchen
* minor improvement and fix linter issue
* add ASF header
* Reorganize file structure
* fix lint errors
* remove the import-outside-toplevel
* Reflect comments
* remove redundant comment
* As per discussion w/ Yuchen, ApplyHistoryBest is introduced as a Relax transformation pass.
* remove redundant print msg
* fix lint
* reflect comments
* Yuchen's change
* relax ConstantNode in parser and printer
* Add constant data in the metasection
* rebase
* Support ir_module(metadata=json_str)
* update test case
* remove print info
* Update tests
* clang-format
* pylint
* fix ci
* Save a copy of metadata in RelaxTransformer
* Fix comments
* fix comments
Co-authored-by: Yuchen Jin <yuchenj@cs.washington.edu>
Co-authored-by: Sunghyun Park <49998730+sunggg@users.noreply.github.com>
csullivan pushed a commit to csullivan/tvm that referenced this pull request Apr 27, 2024
LeiWang1999 added a commit to LeiWang1999/tvm that referenced this pull request Nov 8, 2024
* Refactor BatchMatMulEmitter and BatchMatMulSelector for improved readability and maintainability
* Refactor import statements for improved readability and maintainability
* Refactor import statements for improved readability and maintainability
* disable failure email for ci
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@tmoreau89@tqchen