-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG+2] MAINT: Remove add_row_csr #6676
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
Conversation
It has something to do with the Travis cache related to #6043 , because I have removed |
@arthurmensch Would you be able to have a look? |
Something similar happened to @tguillemot recently in one of his PR. And it was a non pyc file that he added at the beginning of the PR and later removed it. The travis cache was not updated with that removal until he raised a new PR. |
387109c
to
dfd7d04
Compare
Oh that's not the case here, I just removed an existing pxd file. Must be something silly. |
|
@jnothman good point! I added the |
But you should be checking that when the checks are disabled, there's no possibility to segfault even if the input is pathological, which we don't often test in scikit-learn. |
Sorry for being dense and I'm afraid my brain is not functioning to its full capacity but I don't completely understand your concern. Before this pull request:
After this pull request (and ignoring the last commit where I disabled the checks)
If you afraid that by disabling checks in Or is your concern something else? |
710ee50
to
32cf3c6
Compare
32cf3c6
to
de60297
Compare
Reading your comment again, I have moved that separately #6677 |
Bounds checks and wraparound checks can be removed ONLY IF the code will On 19 April 2016 at 16:56, Manoj Kumar notifications@github.com wrote:
|
Oh, sorry for not being clear, my question wasn't about WHY the checks can or cannot be removed which I'm perfectly aware of, but WHY that had to be dealt in this PR |
In other words, I hadn't disabled the Cython checks before you asked me to. |
To clarify, my concern was that you lose the performance benefits of |
Right, sorry for being short-sighted. |
Ha! If we all apologised for such things we'd make change even slower... :) |
Hello @jnothman and @MechCoder What is the status of this PR currently? This PR looks good to me. |
+1 |
It's just that Travis is failing. |
Uhh... whoops :) |
Is it just me, or is Travis somehow using a previous version of the pxd which is deleted here... |
Yes, there is some weird cache going on, that I don't really have the time to debug in the next few days. |
@lesteve, would you be able to help out with what seems to be a Travis build cache issue? It seems to be retaining a deleted |
Maybe you can try clearing the cache, following this. If everything else fails, why not create a new PR? I pushed this branch into my remote which has Travis set-up and everything seemed to work fine. |
Hello @MechCoder , do you want to create a new PR for this? |
@yenchenlin1994, you can assume that any PR which is in your GSoC scope and not clearly being worked on by someone else is good for you to take over. Make that PR yourself. |
Hello @lesteve , I've opened another PR but it seems that it is still failing. |
Thanks @lesteve, clearing the caches seems to have worked. |
lgtm |
@MechCoder merge? |
thx |
Add_row_csr
is used only in 2 places.This pull request removes the usage replacing one loop by
assign_rows_csr
and the other by just reusing the code.