[SyneRBI/SIRF-Exercises] Can no longer install numba with python 2 (#45)

0 προβολές
Παράβλεψη και μετάβαση στο πρώτο μη αναγνωσμένο μήνυμα

Kris Thielemans

μη αναγνωσμένη,
4 Ιουν 2020, 5:35:22 π.μ.4/6/20
ως SyneRBI/SIRF-Exercises, Subscribed

The synergistic demos use brainweb, which starts by using pip install numba. That now fails


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Casper da Costa-Luis

μη αναγνωσμένη,
4 Ιουν 2020, 5:48:20 π.μ.4/6/20
ως SyneRBI/SIRF-Exercises, Subscribed

I think numba is a leftover from some performance hacks @rijobro was trying - looks like it can be removed.

Richard Brown

μη αναγνωσμένη,
4 Ιουν 2020, 5:59:31 π.μ.4/6/20
ως SyneRBI/SIRF-Exercises, Subscribed

Kris Thielemans

μη αναγνωσμένη,
4 Ιουν 2020, 6:09:07 π.μ.4/6/20
ως SyneRBI/SIRF-Exercises, Subscribed

Serves us right from not upgrading to Python 3. @paskino, this will have to be a priority after 2.2 (unless it's a matter of dropping in ubuntu 20.04, but that seems unlikely!)

I suggest to move the import numba to a new cell, but commented out, saying that they can uncomment it and subsequent @jit lines if they have python3 (and numba).

Casper da Costa-Luis

μη αναγνωσμένη,
4 Ιουν 2020, 6:11:24 π.μ.4/6/20
ως SyneRBI/SIRF-Exercises, Subscribed

How much of a speedup does it really give in those notebooks? May just be better to leave it out...

Richard Brown

μη αναγνωσμένη,
4 Ιουν 2020, 7:22:07 π.μ.4/6/20
ως SyneRBI/SIRF-Exercises, Subscribed

Comment from a notebook says

Using jit gets computation time from 90 secs to 2!

So I'm inclined to comment it out rather than delete.

Richard Brown

μη αναγνωσμένη,
4 Ιουν 2020, 9:30:25 π.μ.4/6/20
ως SyneRBI/SIRF-Exercises, Subscribed

Closed #45 via #49.

Απάντηση σε όλους
Απάντηση στον συντάκτη
Προώθηση
0 νέα μηνύματα