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

0 vistas
Ir al primer mensaje no leído

Kris Thielemans

no leída,
4 jun 2020, 5:35:22 a.m.4/6/2020
para 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

no leída,
4 jun 2020, 5:48:20 a.m.4/6/2020
para 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

no leída,
4 jun 2020, 5:59:31 a.m.4/6/2020
para SyneRBI/SIRF-Exercises,Subscribed

Kris Thielemans

no leída,
4 jun 2020, 6:09:07 a.m.4/6/2020
para 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

no leída,
4 jun 2020, 6:11:24 a.m.4/6/2020
para 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

no leída,
4 jun 2020, 7:22:07 a.m.4/6/2020
para 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

no leída,
4 jun 2020, 9:30:25 a.m.4/6/2020
para SyneRBI/SIRF-Exercises,Subscribed

Closed #45 via #49.

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos