[GitHub] [incubator-tvm] junrushao1994 opened a new pull request #5740: [Draft][Object] Introduce runtime::Map

2020-06-05 Thread GitBox
junrushao1994 opened a new pull request #5740: URL: https://github.com/apache/incubator-tvm/pull/5740 TODO: finish this draft. This is an automated message from the Apache Git Service. To respond to the message, please log

[incubator-tvm] branch master updated (de54754 -> 2ec7caa)

2020-06-05 Thread srk
This is an automated email from the ASF dual-hosted git repository. srk pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git. from de54754 Fix the values for test_fmod since it fails way too often otherwise (#5723) add 2ec7caa fix

[GitHub] [incubator-tvm] srkreddy1238 merged pull request #5695: fix small bug about dense_grad

2020-06-05 Thread GitBox
srkreddy1238 merged pull request #5695: URL: https://github.com/apache/incubator-tvm/pull/5695 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-tvm] junrushao1994 commented on a change in pull request #5738: [REFACTOR][ARITH] Remove legacy compute_expr.h

2020-06-05 Thread GitBox
junrushao1994 commented on a change in pull request #5738: URL: https://github.com/apache/incubator-tvm/pull/5738#discussion_r436232785 ## File path: include/tvm/tir/op.h ## @@ -762,6 +778,15 @@ inline PrimExpr make_zero(DataType t) { } return make_const(t, 0); } +

[GitHub] [incubator-tvm] tqchen commented on a change in pull request #5738: [REFACTOR][ARITH] Remove legacy compute_expr.h

2020-06-05 Thread GitBox
tqchen commented on a change in pull request #5738: URL: https://github.com/apache/incubator-tvm/pull/5738#discussion_r436231973 ## File path: include/tvm/tir/op.h ## @@ -762,6 +778,15 @@ inline PrimExpr make_zero(DataType t) { } return make_const(t, 0); } + +template

[GitHub] [incubator-tvm] junrushao1994 commented on a change in pull request #5738: [REFACTOR][ARITH] Remove legacy compute_expr.h

2020-06-05 Thread GitBox
junrushao1994 commented on a change in pull request #5738: URL: https://github.com/apache/incubator-tvm/pull/5738#discussion_r436230123 ## File path: include/tvm/tir/op.h ## @@ -762,6 +778,15 @@ inline PrimExpr make_zero(DataType t) { } return make_const(t, 0); } +

[GitHub] [incubator-tvm] srkreddy1238 commented on issue #2518: [FRONTEND] Tensorflow Op: FIFOQueueV2 and QueueDequeueManyV2 are not supported

2020-06-05 Thread GitBox
srkreddy1238 commented on issue #2518: URL: https://github.com/apache/incubator-tvm/issues/2518#issuecomment-639921759 One option would be mapping them to Identity in frontend. This is an automated message from the Apache

[GitHub] [incubator-tvm] comaniac opened a new pull request #5739: [Bugfix] Fix reshape

2020-06-05 Thread GitBox
comaniac opened a new pull request #5739: URL: https://github.com/apache/incubator-tvm/pull/5739 Sorry for the similar PR as #5732, as I found that some other places, such as MXNet frontend, are also using `reshape` with new shape type `Tuple[IntImm, IntImm, int]`. This PR fixes the

[GitHub] [incubator-tvm] tqchen commented on pull request #5738: [REFACTOR][ARITH] Remove legacy compute_expr.h

2020-06-05 Thread GitBox
tqchen commented on pull request #5738: URL: https://github.com/apache/incubator-tvm/pull/5738#issuecomment-639891530 @junrushao1994 yes also also remove the legacy templates This is an automated message from the Apache Git

[GitHub] [incubator-tvm] alex96295 commented on issue #2518: [FRONTEND] Tensorflow Op: FIFOQueueV2 and QueueDequeueManyV2 are not supported

2020-06-05 Thread GitBox
alex96295 commented on issue #2518: URL: https://github.com/apache/incubator-tvm/issues/2518#issuecomment-639853544 @yongwww @zhiics sorry how do you 'map ops to _undef'? I have the very same issue This is an automated

[GitHub] [incubator-tvm] tqchen edited a comment on pull request #5738: [REFACTOR][ARITH] Remove legacy compute_expr.h

2020-06-05 Thread GitBox
tqchen edited a comment on pull request #5738: URL: https://github.com/apache/incubator-tvm/pull/5738#issuecomment-639849385 cc @junrushao1994 @jroesch @ZihengJiang @yzhliu This is an automated message from the Apache Git

[GitHub] [incubator-tvm] anijain2305 commented on pull request #4805: [Frontend][TFlite] Add parser support for relu6, leaky_relu, relu_n1_to_1, log_softmax

2020-06-05 Thread GitBox
anijain2305 commented on pull request #4805: URL: https://github.com/apache/incubator-tvm/pull/4805#issuecomment-639835635 @inadob Can you please fix the CI error? This is an automated message from the Apache Git Service. To

[GitHub] [incubator-tvm] tqchen merged pull request #5723: Fix the values for test_fmod since it fails way too often otherwise

2020-06-05 Thread GitBox
tqchen merged pull request #5723: URL: https://github.com/apache/incubator-tvm/pull/5723 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

[incubator-tvm] branch master updated (592711e -> de54754)

2020-06-05 Thread tqchen
This is an automated email from the ASF dual-hosted git repository. tqchen pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git. from 592711e [TEST] Fix flaky topi/tests/python/test_topi_pooling.py:test_adaptive_pool (#5736) add de54754

[GitHub] [incubator-tvm] tqchen commented on issue #5709: tvm/apps/bundle_deploy/build --> make failed

2020-06-05 Thread GitBox
tqchen commented on issue #5709: URL: https://github.com/apache/incubator-tvm/issues/5709#issuecomment-639821849 Please open a new thread on https://discuss.tvm.ai/ to followup This is an automated message from the Apache

[GitHub] [incubator-tvm] aGiant commented on issue #5709: tvm/apps/bundle_deploy/build --> make failed

2020-06-05 Thread GitBox
aGiant commented on issue #5709: URL: https://github.com/apache/incubator-tvm/issues/5709#issuecomment-639798666 @tqchen it worked on Intel CPU Ubuntu 18.04 LTS Now, we tried for arm cpu under armbian got error: compiled with tvm.target.arm_cpu('pynq') in build_model.py

[GitHub] [incubator-tvm] tqchen commented on pull request #5716: [topi][relay] Add operation gather to relay.

2020-06-05 Thread GitBox
tqchen commented on pull request #5716: URL: https://github.com/apache/incubator-tvm/pull/5716#issuecomment-639776043 @abergeron please https://tvm.apache.org/docs/contribute/code_review.html#approve-and-request-changes-explicitly

[GitHub] [incubator-tvm] kevinthesun commented on a change in pull request #5699: [Frontend][TensorFlow] Improve Control Flow and TensorArray

2020-06-05 Thread GitBox
kevinthesun commented on a change in pull request #5699: URL: https://github.com/apache/incubator-tvm/pull/5699#discussion_r436123241 ## File path: python/tvm/relay/frontend/tensorflow.py ## @@ -3194,6 +3191,55 @@ def _convert_operator(self, op_name, inputs, attrs,

[GitHub] [incubator-tvm] abergeron edited a comment on pull request #5723: Fix the values for test_fmod since it fails way too often otherwise

2020-06-05 Thread GitBox
abergeron edited a comment on pull request #5723: URL: https://github.com/apache/incubator-tvm/pull/5723#issuecomment-639732620 I did something to fix the values so that the relative difference will never be too big. I also have some code to replace the fmod expression on Metal, but

[GitHub] [incubator-tvm] abergeron commented on pull request #5723: Fix the values for test_fmod since it fails way too often otherwise

2020-06-05 Thread GitBox
abergeron commented on pull request #5723: URL: https://github.com/apache/incubator-tvm/pull/5723#issuecomment-639732620 I've did something to fix the values so that the relative difference will never be too big. I also have some code to replace the fmod expression on Metal, but

[GitHub] [incubator-tvm] tqchen merged pull request #5736: [TEST][FLAKY] Fix flaky test_topi_pooling.py:test_adaptive_pool

2020-06-05 Thread GitBox
tqchen merged pull request #5736: URL: https://github.com/apache/incubator-tvm/pull/5736 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

[incubator-tvm] branch master updated (24597f0 -> 592711e)

2020-06-05 Thread tqchen
This is an automated email from the ASF dual-hosted git repository. tqchen pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git. from 24597f0 Fix reshape usage in ARM Winograd (#5732) add 592711e [TEST] Fix flaky

[GitHub] [incubator-tvm] abergeron commented on pull request #5723: Fix the random seed for test_fmod since it fails way too often otherwise

2020-06-05 Thread GitBox
abergeron commented on pull request #5723: URL: https://github.com/apache/incubator-tvm/pull/5723#issuecomment-639716825 Well that is not the problem since it only makes a difference if x or y is negative and we don't test that case.

[GitHub] [incubator-tvm] abergeron commented on pull request #5723: Fix the random seed for test_fmod since it fails way too often otherwise

2020-06-05 Thread GitBox
abergeron commented on pull request #5723: URL: https://github.com/apache/incubator-tvm/pull/5723#issuecomment-639695379 I dicovered that the problem is not that the values are too close it's that fmod() on metal doesn't have the same behaviour. `fmod(x, y)` expands to `x – y *

[incubator-tvm] branch master updated (fee5d54 -> 24597f0)

2020-06-05 Thread tqchen
This is an automated email from the ASF dual-hosted git repository. tqchen pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git. from fee5d54 Change 'delete's in Relay VM Instruction dtor to 'delete[]'s (#5735) add 24597f0 Fix reshape

[GitHub] [incubator-tvm] tqchen merged pull request #5732: [TOPI][ARM] Fix reshape usage in ARM schedule

2020-06-05 Thread GitBox
tqchen merged pull request #5732: URL: https://github.com/apache/incubator-tvm/pull/5732 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

[GitHub] [incubator-tvm] junrushao1994 commented on pull request #5736: [TEST][FLAKY] Fix flaky test_topi_pooling.py:test_adaptive_pool

2020-06-05 Thread GitBox
junrushao1994 commented on pull request #5736: URL: https://github.com/apache/incubator-tvm/pull/5736#issuecomment-639645065 @tqchen would be interesting to use pytest’s repeat to detect all potential flaky tests This is an

[GitHub] [incubator-tvm] siju-samuel opened a new pull request #5737: [TOPI][RELAY][PYTORCH]Conv3d_transpose op support added

2020-06-05 Thread GitBox
siju-samuel opened a new pull request #5737: URL: https://github.com/apache/incubator-tvm/pull/5737 Conv3d_transpose implementation. This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [incubator-tvm] zhiics closed issue #5728: Mismatched new / delete [ ] in Relay VM

2020-06-05 Thread GitBox
zhiics closed issue #5728: URL: https://github.com/apache/incubator-tvm/issues/5728 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

[incubator-tvm] branch master updated (e1b1171 -> fee5d54)

2020-06-05 Thread zhic
This is an automated email from the ASF dual-hosted git repository. zhic pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git. from e1b1171 ROCm: Add warp shuffles and enable reductions (#5727) add fee5d54 Change 'delete's in Relay VM

[GitHub] [incubator-tvm] tqchen commented on pull request #5730: [REFACTOR] Separate ArgTypeCode from DLDataTypeCode

2020-06-05 Thread GitBox
tqchen commented on pull request #5730: URL: https://github.com/apache/incubator-tvm/pull/5730#issuecomment-639568074 @junrushao1994 we can also send a PR to add the comment about the consistency This is an automated message

[GitHub] [incubator-tvm] tqchen commented on pull request #5736: [TEST][FLAKY] Fix flaky test_topi_pooling.py:test_adaptive_pool

2020-06-05 Thread GitBox
tqchen commented on pull request #5736: URL: https://github.com/apache/incubator-tvm/pull/5736#issuecomment-639566907 cc @kevinthesun @yzhliu @ZihengJiang @tmoreau89 This is an automated message from the Apache Git Service.

[GitHub] [incubator-tvm] junrushao1994 commented on pull request #5730: [REFACTOR] Separate ArgTypeCode from DLDataTypeCode

2020-06-05 Thread GitBox
junrushao1994 commented on pull request #5730: URL: https://github.com/apache/incubator-tvm/pull/5730#issuecomment-639564805 I seelooks like this might affect downstream projects too because kDLInt are not encouraged any more

[GitHub] [incubator-tvm] tqchen edited a comment on pull request #5214: [Runtime][Contrib] Support cudnn softmax

2020-06-05 Thread GitBox
tqchen edited a comment on pull request #5214: URL: https://github.com/apache/incubator-tvm/pull/5214#issuecomment-639560910 https://github.com/apache/incubator-tvm/pull/5600 for improving softmax with warp shuffle. This is

[GitHub] [incubator-tvm] tqchen edited a comment on pull request #5600: [TOPI] Improve CUDA softmax scheduling

2020-06-05 Thread GitBox
tqchen edited a comment on pull request #5600: URL: https://github.com/apache/incubator-tvm/pull/5600#issuecomment-639560545 cc @icemelon9 it might be useful to revisit the softmax strategy, given that the perf has been improved

[GitHub] [incubator-tvm] tqchen commented on pull request #5214: [Runtime][Contrib] Support cudnn softmax

2020-06-05 Thread GitBox
tqchen commented on pull request #5214: URL: https://github.com/apache/incubator-tvm/pull/5214#issuecomment-639560910 https://github.com/apache/incubator-tvm/pull/5600 This is an automated message from the Apache Git

[GitHub] [incubator-tvm] tqchen commented on pull request #5600: [TOPI] Improve CUDA softmax scheduling

2020-06-05 Thread GitBox
tqchen commented on pull request #5600: URL: https://github.com/apache/incubator-tvm/pull/5600#issuecomment-639560545 cc @icemelon9 it might be useful to revisit the softmax strategy. This is an automated message from the

[GitHub] [incubator-tvm] tqchen commented on pull request #5733: Make Tensor struct public in Rust runtime

2020-06-05 Thread GitBox
tqchen commented on pull request #5733: URL: https://github.com/apache/incubator-tvm/pull/5733#issuecomment-639559062 I think it is useful to have some struct available to other usecases. However, as per layered design of TVM runtime, the current Tensor structure is not really C ABI

[GitHub] [incubator-tvm] inadob commented on pull request #4805: [Frontend][TFlite] Add parser support for relu6, leaky_relu, relu_n1_to_1, log_softmax

2020-06-05 Thread GitBox
inadob commented on pull request #4805: URL: https://github.com/apache/incubator-tvm/pull/4805#issuecomment-639512065 > It seems you still have old `3rdparty/dmlc-core'. You can check that by clicking on "Files changed" tab. It's fixed now.

[GitHub] [incubator-tvm] akosik-anyvision edited a comment on issue #5728: Mismatched new / delete [ ] in Relay VM

2020-06-05 Thread GitBox
akosik-anyvision edited a comment on issue #5728: URL: https://github.com/apache/incubator-tvm/issues/5728#issuecomment-639488053 > ah, I see. We should have used delete[]. You are welcome to send a PR. Thanks. Thanks for confirming. I would've done that directly, but I was waiting

[GitHub] [incubator-tvm] akosik-anyvision commented on issue #5728: Mismatched new / delete [ ] in Relay VM

2020-06-05 Thread GitBox
akosik-anyvision commented on issue #5728: URL: https://github.com/apache/incubator-tvm/issues/5728#issuecomment-639488053 > ah, I see. We should have used delete[]. You are welcome to send a PR. Thanks. Thanks for confirming. I would've done that directly, but I was waiting on

[GitHub] [incubator-tvm] akosik-anyvision opened a new pull request #5735: Fix new[] / delete mismatches in Relay VM

2020-06-05 Thread GitBox
akosik-anyvision opened a new pull request #5735: URL: https://github.com/apache/incubator-tvm/pull/5735 Fixes #5728. The Instruction dtor in the Relay VM currently uses `delete` to free memory that was allocated with `new[]`. This PR changes each occurrence of `delete` to

[GitHub] [incubator-tvm] aarongreig opened a new issue #5734: LLVM 10 compatibility

2020-06-05 Thread GitBox
aarongreig opened a new issue #5734: URL: https://github.com/apache/incubator-tvm/issues/5734 Hello I tried to build TVM linking against LLVM 10.0 and I got the following error: ``` FAILED: CMakeFiles/tvm.dir/src/codegen/llvm/codegen_x86_64.cc.o /usr/bin/c++

[GitHub] [incubator-tvm] masahi commented on pull request #5727: ROCm warp shuffles and reductions

2020-06-05 Thread GitBox
masahi commented on pull request #5727: URL: https://github.com/apache/incubator-tvm/pull/5727#issuecomment-639376728 Thanks @t-vi @wpan11nv @tqchen This is an automated message from the Apache Git Service. To respond to

[incubator-tvm] branch master updated (fbc2b87 -> e1b1171)

2020-06-05 Thread masahi
This is an automated email from the ASF dual-hosted git repository. masahi pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git. from fbc2b87 [ONNX]MaxRoiPool, Mod & Xor op support added (#5729) add e1b1171 ROCm: Add warp shuffles and

[GitHub] [incubator-tvm] kevinthesun commented on a change in pull request #5699: [Frontend][TensorFlow] Improve Control Flow and TensorArray

2020-06-05 Thread GitBox
kevinthesun commented on a change in pull request #5699: URL: https://github.com/apache/incubator-tvm/pull/5699#discussion_r435748804 ## File path: python/tvm/relay/frontend/tensorflow.py ## @@ -3194,6 +3191,55 @@ def _convert_operator(self, op_name, inputs, attrs,

[GitHub] [incubator-tvm] kevinthesun commented on a change in pull request #5699: [Frontend][TensorFlow] Improve Control Flow and TensorArray

2020-06-05 Thread GitBox
kevinthesun commented on a change in pull request #5699: URL: https://github.com/apache/incubator-tvm/pull/5699#discussion_r435748804 ## File path: python/tvm/relay/frontend/tensorflow.py ## @@ -3194,6 +3191,55 @@ def _convert_operator(self, op_name, inputs, attrs,

[GitHub] [incubator-tvm] kevinthesun commented on a change in pull request #5699: [Frontend][TensorFlow] Improve Control Flow and TensorArray

2020-06-05 Thread GitBox
kevinthesun commented on a change in pull request #5699: URL: https://github.com/apache/incubator-tvm/pull/5699#discussion_r435748804 ## File path: python/tvm/relay/frontend/tensorflow.py ## @@ -3194,6 +3191,55 @@ def _convert_operator(self, op_name, inputs, attrs,

[GitHub] [incubator-tvm] kevinthesun commented on a change in pull request #5699: [Frontend][TensorFlow] Improve Control Flow and TensorArray

2020-06-05 Thread GitBox
kevinthesun commented on a change in pull request #5699: URL: https://github.com/apache/incubator-tvm/pull/5699#discussion_r435748804 ## File path: python/tvm/relay/frontend/tensorflow.py ## @@ -3194,6 +3191,55 @@ def _convert_operator(self, op_name, inputs, attrs,