-
Notifications
You must be signed in to change notification settings - Fork 230
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
Making a new CUDA 3 compatible release? #662
Comments
Started working on this, just fixing a few minor incompatibilities and a possibly major one effecting inplace operations in |
... hmm, and there is an issue of across the board slow-down, which may be related to aforementioned inplace operations or not. This is going to take a bit longer than I thought. |
I think I observed the slow-down you mentioned. Indeed, Knet used to be 20-30% faster than Flux on my connect four benchmark. However, when I tried Knet#master with CUDA 3.3.0, it was about 20% slower than the latest version of Flux. (You should take these numbers with a grain of salt though as my measurements weren't very rigorous.) |
@maleadt Knet tests with CUDA 3.0 give me some errors that I do not understand, maybe you can point me in the right direction: First
However when I include the individual test file with
None of this happened pre-CUDA-3.x.
|
Scalar iteration is now disallowed by default, but allowed with a warning in interactive sessions. This to facilitate debugging. But you can always force it to be off in your interactive session too by calling I don't recall changing iteration specifically, but lots has change since pre-3.0. Doesn't the backtrace tell you anything? |
Thanks, that helps. The problem was with the |
@jonathan-laurent The CUDA 3 compatible Knet-1.4.7 is passing tests, I will release today. The tests still seem slower but not for any simple reason I could detect. My profiling script |
I see that the latest Knet release (1.4.6) is not compatible with CUDA 3.
The master version seems to work fine with CUDA 3.3.3 and AlphaZero.jl though.
Are there any known issues remaining to be fixed before Knet officially supports CUDA 3?
If not, what about making a new release?
The text was updated successfully, but these errors were encountered: