Skip to content
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

[VTA] Infinite recursive device_api.ext_dev call fix. #3843

Merged
merged 1 commit into from
Aug 29, 2019
Merged

[VTA] Infinite recursive device_api.ext_dev call fix. #3843

merged 1 commit into from
Aug 29, 2019

Conversation

huajsj
Copy link
Contributor

@huajsj huajsj commented Aug 28, 2019

Issue
when try vta on fpga board, would see a Infinite recursive
device_api.ext_dev issue that cause stack overflow and vta
failed.

Analysis:
device_api.ext_dev function in rpc_server.py is use to load
vta library, once vta library get load, device_api.ext_dev would
get replaced with vta function by vta library, vta device_api.cc
did such work, but because a logic issue in VTA.MAKE, the said file
not get compiled, then vta would keep failing on rpc_server.py.

Solution:
fix the logic issue in VTA.MAKE.

@huajsj
Copy link
Contributor Author

huajsj commented Aug 28, 2019

Hi @tmoreau89 , could you help to review this patch?

Thanks
Hua

Copy link
Contributor

@tmoreau89 tmoreau89 left a comment

Choose a reason for hiding this comment

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

Thanks for the catch

@tmoreau89
Copy link
Contributor

error seems unrelated, can you retrigger the CI?

@huajsj
Copy link
Contributor Author

huajsj commented Aug 28, 2019

error seems unrelated, can you retrigger the CI?

sure, already done.

@huajsj
Copy link
Contributor Author

huajsj commented Aug 28, 2019

@tmoreau89 , just did a force push to trigger CI, but still not get pass, I saw couple PR(3846, 3844,3842) failed in same "git.. corrupted" issue, is this a environment problem?

Issue
when try vta on fpga board, would see a Infinite recursive
device_api.ext_dev issue that cause stack overflow and vta
failed.

Analysis:
device_api.ext_dev function in rpc_server.py is use to load
vta library, once vta library get load, device_api.ext_dev would
get replaced with vta function by vta library, vta device_api.cc
did such work, but because a logic issue in VTA.cmake, the said file
not get compiled, then vta would keep failing on rpc_server.py.

Solution:
fix the logic issue in VTA.cmake.
@tmoreau89
Copy link
Contributor

The CI has been hanging for quite a while, perhaps retrigger it once more?

@huajsj
Copy link
Contributor Author

huajsj commented Aug 29, 2019

The CI has been hanging for quite a while, perhaps retrigger it once more?
@tmoreau89, thanks for the follow up, CI retrigger and get passed.

@tmoreau89 tmoreau89 merged commit 61d19cc into apache:master Aug 29, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 16, 2019
Issue
when try vta on fpga board, would see a Infinite recursive
device_api.ext_dev issue that cause stack overflow and vta
failed.

Analysis:
device_api.ext_dev function in rpc_server.py is use to load
vta library, once vta library get load, device_api.ext_dev would
get replaced with vta function by vta library, vta device_api.cc
did such work, but because a logic issue in VTA.cmake, the said file
not get compiled, then vta would keep failing on rpc_server.py.

Solution:
fix the logic issue in VTA.cmake.
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 16, 2019
Issue
when try vta on fpga board, would see a Infinite recursive
device_api.ext_dev issue that cause stack overflow and vta
failed.

Analysis:
device_api.ext_dev function in rpc_server.py is use to load
vta library, once vta library get load, device_api.ext_dev would
get replaced with vta function by vta library, vta device_api.cc
did such work, but because a logic issue in VTA.cmake, the said file
not get compiled, then vta would keep failing on rpc_server.py.

Solution:
fix the logic issue in VTA.cmake.
wweic pushed a commit to neo-ai/tvm that referenced this pull request Sep 16, 2019
Issue
when try vta on fpga board, would see a Infinite recursive
device_api.ext_dev issue that cause stack overflow and vta
failed.

Analysis:
device_api.ext_dev function in rpc_server.py is use to load
vta library, once vta library get load, device_api.ext_dev would
get replaced with vta function by vta library, vta device_api.cc
did such work, but because a logic issue in VTA.cmake, the said file
not get compiled, then vta would keep failing on rpc_server.py.

Solution:
fix the logic issue in VTA.cmake.
JackYoustra added a commit to JackYoustra/tvm that referenced this pull request May 6, 2021
apache#3843 fixed the infinite recursive call for the Xilinx boards, but didn't fix it for the intel boards. This fixes it for the DE10 (same missing symbol problem with same fix).
tqchen pushed a commit that referenced this pull request May 6, 2021
#3843 fixed the infinite recursive call for the Xilinx boards, but didn't fix it for the intel boards. This fixes it for the DE10 (same missing symbol problem with same fix).
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
apache#3843 fixed the infinite recursive call for the Xilinx boards, but didn't fix it for the intel boards. This fixes it for the DE10 (same missing symbol problem with same fix).
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
apache#3843 fixed the infinite recursive call for the Xilinx boards, but didn't fix it for the intel boards. This fixes it for the DE10 (same missing symbol problem with same fix).
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
apache#3843 fixed the infinite recursive call for the Xilinx boards, but didn't fix it for the intel boards. This fixes it for the DE10 (same missing symbol problem with same fix).
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
apache#3843 fixed the infinite recursive call for the Xilinx boards, but didn't fix it for the intel boards. This fixes it for the DE10 (same missing symbol problem with same fix).
Sign up for free to 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.

None yet

2 participants