kevinyuan commented on issue #4527: [VTA] Fixed a crash issue in TSIM driver
URL: https://github.com/apache/incubator-tvm/pull/4527#issuecomment-569436137
 
 
   Hi Liangfu,
   
   With the latest code, there's still a virtual memory access error:
   
   ------------------
   
   resnet18_v1 inference graph built in 66.75s!
   File synset.txt exists, skip.
   terminate called after throwing an instance of 'dmlc::Error'
     what():  [01:23:27] 
/home/kevinyuan/dev/tvm/vta/src/vmem/virtual_memory.cc:48: Check failed: 
phy_addr != 0 (0 vs. 0) : trying to get address that is nullptr
   Stack trace:
     [bt] (0) 
/home/kevinyuan/dev/tvm/vta/python/vta/../../../build/libvta_tsim.so(vta::vmem::VirtualMemoryManager::GetAddr(unsigned
 long)+0x6a5) [0x7fc21beadb65]
     [bt] (1) 
/home/kevinyuan/dev/tvm/vta/python/vta/../../../build/libvta_tsim.so(vta::dpi::MemDevice::SetRequest(unsigned
 char, unsigned long, unsigned int)+0x46) [0x7fc21bea4806]
     [bt] (2) 
/home/kevinyuan/dev/tvm/vta/python/vta/../../build/libvta_hw.so(+0x2bcd4) 
[0x7fc21bc5dcd4]
     [bt] (3) 
/home/kevinyuan/dev/tvm/vta/python/vta/../../build/libvta_hw.so(+0x3b354) 
[0x7fc21bc6d354]
     [bt] (4) 
/home/kevinyuan/dev/tvm/vta/python/vta/../../build/libvta_hw.so(+0x32790) 
[0x7fc21bc64790]
     [bt] (5) 
/home/kevinyuan/dev/tvm/vta/python/vta/../../build/libvta_hw.so(+0x2c2f7) 
[0x7fc21bc5e2f7]
     [bt] (6) /usr/lib64/libstdc++.so.6(+0xb5070) [0x7fc2658b3070]
     [bt] (7) /usr/lib64/libpthread.so.0(+0x7c44) [0x7fc27608bc44]
     [bt] (8) /usr/lib64/libc.so.6(clone+0x3f) [0x7fc27567749f]
   
   
   Aborted (core dumped)
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to