codeislife99 commented on a change in pull request #6955:
URL: https://github.com/apache/tvm/pull/6955#discussion_r532907505
##########
File path: python/tvm/relay/op/contrib/tensorrt.py
##########
@@ -607,8 +650,9 @@ def reshape_annotate_fn(expr): # pylint:
disable=unused-variable
for i, value in enumerate(new_shape):
if value == -1:
new_shape[i] = original_volume // np.prod([x for x in
new_shape if x != -1])
+ # Remove batch dimension and see if volumes match
if shape[0] != new_shape[0]:
- logger.info("reshape: can't modify batch dimension.")
+ print("reshape: can't modify batch dimension.")
Review comment:
Done.
##########
File path: tests/scripts/task_ci_python_setup.sh
##########
@@ -31,3 +31,4 @@ set -o pipefail
echo "Addtiional setup in" ${CI_IMAGE_NAME}
python3 -m pip install --user tlcpack-sphinx-addon==0.1.2 synr==0.2.1
+python3 -m pip install --user torch==1.6.0+cpu torchvision==0.7.0+cpu -f
https://download.pytorch.org/whl/torch_stable.html
Review comment:
Removed
----------------------------------------------------------------
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]