Larry Tang
Larry Tang
This implementation may encounter an error: "copy_" not implemented for 'ComplexHalf'.
@underdogliu I tried again @1.10.1 and I still encountered the same issue. I may look into it during the new year break.
@jermainewang Can you update the image in web-data? Thanks!
The bug is confirmed. It is introduced by our latest performance refactoring. The fix will come soon.
We added `tape.start_recording` and `tape.end_recording` in `minpy.core`. If two `grad` functions are stacked, `tape` will end recording earlier than expected.
I think `current_tape` is global. Im not 100% sure. I will check later.
I will try to make a temporary solution in the weekend. In long term this part will be replaced by MXNet's NDArray subsystem which we are working on now.
@jermainewang I found the reason now. Look at here: [link](https://github.com/dmlc/minpy/blob/master/minpy/primitive.py#L338). The function pushed into gradient record is unwrapped version. Which means that tape cannot record operations there. I think this...
We already have a working mechanism of policy system. I think we may just keep it. I've fixed the bug that prohibits policy switching. Therefore, we are good now. For...
@jermainewang Multiple policy objects won't cause any problem. I ensure singleton in stateful policy.