Tensorflow + Conda: GPU visible on CL, not in Jupyter Notebook

Since this is JupyterHub, you can set those environment variables in c.Spawner.environment so all servers are launched with them.

Alternately, you can use an entrypoint script like this one to source standard shell profile files, etc. prior to launching the server.

1 Like