ashutosh-arm opened a new issue, #12790:
URL: https://github.com/apache/tvm/issues/12790

   The issue being reported was seen on local machine with latest docker 
images. It is not visible in CI yet as the docker hub images are little old. PR 
https://github.com/apache/tvm/pull/12663 introduced virtual environments where 
python and its dependencies are installed. Some of the linting issues were 
fixed here: https://github.com/apache/tvm/pull/12775. However, some tests fail 
due to error while importing some packages.
   
   1. `import requests `fails to import this module. It affects many test 
suites as the below search result suggests.
   ```
    ./3rdparty/vta-hw/apps/deploy/python_deploy.py:25:import requests
   ./ci/scripts/github_skipped_tests_comment.py:27:import requests
   ./python/tvm/contrib/download.py:58:            import requests
   ./tests/micro/arduino/test_utils.py:20:import requests
   ./tests/micro/zephyr/test_utils.py:30:import requests
   ./vta/tutorials/frontend/deploy_classification.py:43:import argparse, json, 
os, requests, sys, time
   ```
   
   2. `import caffe` fails to load caffe. The reason being caffe installer 
still creates soft link outside of virtual env. 
https://github.com/apache/tvm/blob/e5adb83d8e1cd3f5a9fe10946fb7b5b60bf54b94/docker/install/ubuntu_install_caffe.sh#L63.
 It affects all the caffe tests in TVM.
   
   @leandron @areusch @driazati 
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to