Closed edschofield closed 1 year ago
Tensorflow would be worth getting as well - we still have it as a module, and questions about it come up from time to time. If it conflicts with anything, just drop it, but otherwise i think its worth adding
I think the tensorflow package by itself will be sufficient at this stage.
Thanks for the updates, @maegul ! The new GPU image is working beautifully
Here's a record of what appears to be installed & working (according to my testing) and what's not:
This isn't installed by default. After a user runs pip install bokeh
, it doesn't display plots in-line in JupyterLab notebooks by default. This might be fixed by including the command conda install bokeh jupyter_bokeh
in the Docker build script.
However, as one workaround, plots show inline after a user pip install bokeh
if you run
from bokeh.io import output_notebook
output_notebook()
to initialize Bokeh before plotting.
(As another, lamer workaround, it is possible to export Bokeh plots as HTML and view them in a separate browser tab.)
This seems to work fine after a user runs pip install geoplot
-- but the docs recommend conda install geoplot
as being more likely to work.
bqplot doesn't work after a local pip install bqplot
. JS errors:
Clicking reveals:
On gpuhub.pythoncharmers.com
with the latest image, Dash works within JupyterLab if you replace these lines with a simple Dash app:
app = dash.Dash(__name__)
...
app.run_server(debug=True)
with this instead:
from jupyter_dash import JupyterDash
JupyterDash.infer_jupyter_proxy_config()
app = JupyterDash(__name__)
...
app.run_server(mode='jupyterlab', port=8050)
Closing for now ...
Here are the new Python packages and updates we need as of ~2022-10-27~ 2022-11-03:
numpy
andscipy
nbconvert
: this has been broken since the last update (~6 months?). Before each course the trainers runpip install -U nbconvert
, which fixes the issue.torch
: we have 1.11.0. An upgrade to the most recent stable version (1.13.0, and compatible versions of its friendstorchvision
andtorchaudio
) would be good for the upcoming deep learning course.kaleido
: it would be great if this were installed by default so we don't need to restart the kernel after importing plotly in order to demonstrate static image export.streamlit
: this has been moving fast. The latest stable version is 1.13.0 but 1.14.0 might be out soon.typing.py
in/opt/conda/lib/python3.9/
). (I used the most recent stable Python 3.9.x version for that and it seemed to work.) Python 3.10.x has some useful features and would be a worthy upgrade. But if there are compatibility issues, we could stay on Python 3.9.x for now.plotly
: 5.6.0 to 5.10.0bokeh
,holoviews
,panel
,ipywidgets
,scikit-learn
loguru
hvplot
geoplot
mypy
rich
eli5
to latest version (current version is incompatible with installed Jinja2)numba
,dask
,distributed
These additional OS packages would be great too:
fd-find
: https://packages.ubuntu.com/focal/fd-findhtop
On the GPU cluster, also these:
skorch
pytorch-lightning
autopytorch
(if it installs cleanly)tensorboard