-
Notifications
You must be signed in to change notification settings - Fork 8
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
Test for a inception module #26
Comments
@MarisaKirisame |
I'll study this example. We've been a little pressed for time, but it seems like something we should be able to debug. Thank you for the amount of detail you've provided! It will be helpful |
Marisa asks: Have you been able to run this without AoT? He thinks that there may be a bug with fusion for the tuple output case and if that's the case, then this will fail with the default interpreter, too. If not, the bug is likely within AoT |
Fwiw I got a type-checking error in Relay when I tried the code you provided so there may be reasons unrelated to AoT for why it failed |
@slyubomirsky Hi, I modified the code into the JIT executor, it can be executed normally. So we think this is supposed to be a bug of AOT executor. Could you please take a look at it and give us some suggestion? thanks a lot Modified JIT executor:
Running result of JIT executor:
|
@slyubomirsky We use the tvm master version of 2019.08.10. Is it possible that the version you use is older? |
@shiyf369 I will look into it, this error is mysterious. |
@MarisaKirisame Thanks a lot |
I am 90% sure this is a bug in ops fusion. |
@Ruinhuang can you rebase onto apache/tvm#3871? |
@MarisaKirisame okay, i will try it. This problem is too odd, thanks for your great help~ |
@Ruinhuang if it fix it please reply so I can close. |
@MarisaKirisame i have test the case, it can be executed, you can close it. thanks again~ |
@Ruinhuang it is fixed. can you upstream concat_grad? |
@Ruinhuang @shiyf369 any update? |
I will add concat_grad to the tvm code recently. |
Hi, I wan to use AOT to test concatenate op, but it has some error.
when i concatenate 2 or 4 array, it can be compiled. but when the parameter is 3 or 5, it can not be compiled, this is the error log:
I make a break point at aot.py(def visit_call(self, call: Expr) -> Expr:), the log shows:
As i know when it can be compiled, the call.attrs should be None, but when the parameter is odd number, the call.attrs is SplitAttrs type.
By the way, the concatenate's backward op is split, I implement it by this way:
it can be compiled by using JIT
Can anyone give me some suggestion? thanks very much
The text was updated successfully, but these errors were encountered: