Commit Graph

447 Commits

Author SHA1 Message Date
Ayaz Salikhov
0d7cc47609 Update example tag 2024-02-24 11:10:34 +00:00
Johanna Reiml
eccda243c3 Add pytorch-notebook image variants with cuda 11 and 12 (x86_64 versions only) (#2091)
* feat: build cuda variants of pytorch

* feat: build with variant tag

* style: remove unused import

* refactor: rename get_prefix params

(cherry picked from commit 12b50af258c2f331d4100fb63fd41ad1a30acb1d)

* revert: drop ROOT_CONTAINER addition from Makefile

(cherry picked from commit f42314513df2855957a05c6ba0c748d2df26d7b0)

* style: use consistent three empty lines in Makefile

(cherry picked from commit 446b45aab37a37720462b5df305ce96b139cf67a)

* refactor: add default value for parent-image

(cherry picked from commit 32955cec99c7202f0ce50647dfc61ec98f57f741)

* revert: use original workflow structure

(cherry picked from commit 68c6744513636ec93d14f9bd0bbd123907efd13b)

* refactor: use single build image step

(cherry picked from commit 5f1ac0aeedcb5969a6d4b2a5bc939817378ab55d)

* fix: run merge tags regardless of repository owner

(cherry picked from commit 3fce366a98adc5db0d127f28ddf3157d13297a0f)

* refactor: build cuda12 instead of cuda tag

(cherry picked from commit 217144ecd322356376f04efb92792a20b4380177)

* docs: add note about CUDA tags to documentation

* refactor: add default value for variant in build-test-upload

* refactor: swap ordering of cuda11/cuda12 variants

* refactor: remove optional str type in arg parser

* fix: add proper env variables to CUDA Dockerfiles

* fix: remove CUDA build for aarch64

* fix: use latest NVIDIA documentation link

* fix: skip aarch64 tags file for CUDA variants

---------

Co-authored-by: zynaa <7562909-zynaa@users.noreply.gitlab.com>
2024-02-24 10:17:38 +00:00
Ayaz Salikhov
6be9ae8ce6 Fix python in docs 2024-01-28 19:09:57 +01:00
Simon Li
6e437aa489 Make start.sh the entrypoint (#2087) 2024-01-22 08:47:48 +04:00
Ayaz Salikhov
b71f4cb525 Unify access to env variables (#2086) 2024-01-21 17:32:14 +04:00
Ayaz Salikhov
8d0ec50095 Improve wording 2024-01-21 15:29:27 +04:00
Ayaz Salikhov
0386b2a630 Remove some double spaces 2024-01-15 14:48:54 +04:00
Ayaz Salikhov
9fa124053b Update tag example 2024-01-15 13:27:44 +04:00
Ayaz Salikhov
6e01bbabec Improve wording in versioning via image tags 2024-01-15 13:26:33 +04:00
Ayaz Salikhov
a63a9a6fcb Document root homedir (#2079)
* Document root homedir

* Add link to issue
2024-01-14 22:56:24 +04:00
Ayaz Salikhov
e55bb93ff4 Update tag example 2024-01-08 11:03:49 +04:00
Ayaz Salikhov
c294e9e2d9 Automatically install latest spark version (#2075)
* Automatically install latest pyspark version

* Better text

* Do not use shutil to keep behaviour

* Make setup_script cwd independent

* Use _get_program_version to calculate spark version

* Update setup_spark.py reqs

* Update setup_spark.py

* Add info about HADOOP_VERSION

* Add customization back

* Better text

* Specify build args when they are actually needed

* Better text

* Better code

* Better code

* Better text

* Get rid of warning

* Improve code

* Remove information about checksum

* Better text
2024-01-07 10:01:23 +04:00
Ayaz Salikhov
027d3a1026 Fix cusotm env recipe 2023-12-08 05:47:10 +01:00
Ayaz Salikhov
2760b2e075 Use jupyter/minimal-notebook for custom env example 2023-12-08 05:44:20 +01:00
Ayaz Salikhov
c1d2127843 Use custom conda environment in Jupyter Notebook when user wants to use it (#2050)
* Modify the custom Python kernel

- to activate the custom environment
- for the respective Jupyter Notebook and Jupyter Console

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>

* Add DL3059 to hadolint ignore list

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>

* Move hadolint ignore to a single line

* Use python heredoc

* Remove unused print

* Fix style

* Do not hardcode CONDA_DIR

* Update custom_environment.dockerfile

* Use indent=1

* Implement activate_notebook_custom_env.py as a separate script

* Do not call Python manually

---------

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>
Co-authored-by: Olivier Benz <olivier.benz@b-data.ch>
2023-12-08 03:03:32 +01:00
Ayaz Salikhov
3253fc39b5 Fix conda hook to work in both terminal and Jupyter Notebook (#2047)
* Fix conda hook to work in both terminal and Jupyter Notebook

* Fix hook for Jupyter Terminals

* Rename startup hook to have order of precedence

* Try to increase sleep

* Comment making env_name default in custom_environment
2023-12-04 21:09:23 +01:00
Thijs Walcarius
278dd76837 Add jupyter/pytorch-notebook (#1936)
* Add PyTorch image

* Fix linting errors

* Fix link to pytorch website

* Address review comments

* Fix PytorchVersionTagger

* Remove "+cpu" suffix from pytorch version tag

* Update selecting.md

* Rename pytorch-notebook/.dockerignore to images/pytorch-notebook/.dockerignore

* Rename pytorch-notebook/Dockerfile to images/pytorch-notebook/Dockerfile

* Rename pytorch-notebook/README.md to images/pytorch-notebook/README.md

* Add pytorch-notebook to registry-overviews

* Add registry to pytorch image

* Use Quay.io

* Remove incorrect link

* Update action.yml

* Update docker.yml

* Remove information about Docker Hub, because this image won't be uploaded to Docker Hub

* Update docker.yml

* Update action.yml

* Add pytorch-notebook to registry-move.yml

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
2023-11-22 11:56:45 +01:00
Ayaz Salikhov
0a75e3d3a6 Minor improvements 2023-11-21 13:17:33 +01:00
Ayaz Salikhov
d53e39763d Minor improvements 2023-11-21 02:40:50 +01:00
Ayaz Salikhov
d8c60bc42c Fix more grammar issues 2023-11-19 12:16:19 +01:00
Ayaz Salikhov
d03229331a Fix some grammar issues 2023-11-19 02:09:26 +01:00
Ayaz Salikhov
cc00341fcc Update troubleshooting.md 2023-11-18 12:28:25 +01:00
Ayaz Salikhov
db01bfbd23 Update specifics.md 2023-11-18 12:27:13 +01:00
Ayaz Salikhov
52e4cb96f2 Fix codestyle 2023-11-18 12:26:27 +01:00
Ayaz Salikhov
e79a501d7f Update selecting.md 2023-11-18 12:25:23 +01:00
Ayaz Salikhov
1ed3bb0093 Update running.md 2023-11-18 12:23:52 +01:00
Ayaz Salikhov
4df689f2f4 Update recipes.md 2023-11-18 12:23:14 +01:00
Ayaz Salikhov
a49920aac9 Update faq.md 2023-11-18 12:21:35 +01:00
Ayaz Salikhov
011a724ba5 Update common.md 2023-11-18 12:20:55 +01:00
Ayaz Salikhov
dbaa43f898 Update tag example 2023-11-18 12:01:53 +01:00
acjbrouwer
1f11f445ed Fix broken link to r-notebook tags on quay (#2021) 2023-11-03 14:27:15 +01:00
Ayaz Salikhov
e9bb9c14b2 Update first example 2023-10-31 16:37:47 +01:00
Ayaz Salikhov
463ced7e4f Update tag example 2023-10-31 16:29:35 +01:00
xieshuaihu
66f7beff16 add grpcio grpcio-status to support spark connect (#2017)
* add grpcio grpcio_status to support spark connect

* Sort install list

* Fix package name

* Update pyspark docs with new deps grpcio and grpcio-status

* set grpcio and grpcio-status version as 1.56

* exclude grpcio and grpcio-status in test_packages.py

* Update selecting.md

* Update test_packages.py

* Update Dockerfile

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-10-30 12:11:32 +01:00
Ayaz Salikhov
b331741540 Start new sentences on a new line in markdown 2023-10-21 20:11:49 +02:00
Ayaz Salikhov
ad28158ab1 Make troubleshooting.md source code more readable 2023-10-21 20:06:45 +02:00
Ayaz Salikhov
52f79605f3 Update example date 2023-10-21 02:10:53 +02:00
Ayaz Salikhov
119766df29 Use Docker Hub for an old image 2023-10-21 02:10:15 +02:00
Ayaz Salikhov
00a6728161 Move from Docker Hub to quay.io (#2010)
* Move from Docker Hub to quay.io

* Fix http->https

* Update registry-overviews

* Remove Docker Hub name
2023-10-20 22:31:45 +02:00
Ayaz Salikhov
4adbb05073 Add docker.io to docker run commands 2023-10-19 21:26:48 +02:00
Ayaz Salikhov
f8cd90ade1 Add an ability to specify registry when using docker images (#2008)
* Add an ability to specify registry when using docker images

* Fix typo

* [TMP] Speedup workflow

* Revert "[TMP] Speedup workflow"

This reverts commit 3af0055ccf.
2023-10-19 21:15:10 +02:00
Yuvi Panda
bceaead5d2 Migrate start-notebook & start-singleuser to python (#2006)
* Migrate start-notebook.sh to bash

Based on

> Stop using bash, haha 👍

from https://github.com/jupyter/docker-stacks/issues/1532.

If there's more apetite for this, I'll try to migrate
`start.sh` and `start-singleuser.sh` as well - I think they should
all be merged together. We can remove the `.sh` suffixes for
accuracy, and keep symlinks in so old config still works. Since
the shebang is what is used to launch the correct interpreter,
the `.sh` doesn't matter.

Will help fix https://github.com/jupyter/docker-stacks/issues/1532,
as I believe all those things are going to be easier to do from
python than bash

* Rename start-notebook.sh to start-notebook

* Cleanup start-notebook a little

* Fix typo

* Migrate start-singleuser as well

* Remove unused import

* Run symlink commands as root

* Combine repetitive RUN commands

* Remove multiple args to env

-u can not be set by shebang, we must set the env var
instead

* Fix conditional inversion

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Fix how start-singleuser is exec'd

* Actually call jupyterhub-singleuser in start-singleuser

* Pass through any additional args we get

* Put .py suffix on the start-* scripts

* Add .sh shims for the start-* scripts

* Document start-notebook.sh and start-singleuser.sh

* Partially test start-notebook.sh

* Reflow warning docs

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-10-17 14:46:43 +02:00
Ayaz Salikhov
94b57514f9 Update example date 2023-09-27 01:18:54 +04:00
Albert R. Gnadt
02870bd138 Update selecting.md without duplicated julia-notebook info (#1986)
- datascience-notebook now references julia-notebook
- also modified a line under julia-notebook for consistency with r-notebook
2023-08-29 12:23:02 +04:00
Ayaz Salikhov
c7ce00b9fd Add info about pyspark recipe 2023-08-27 23:04:56 +04:00
Ayaz Salikhov
74bbd0bffc Implement run-hooks as a separate script (#1979)
* Implement run-hooks as a separate script

* Add more tests

* Add more docs
2023-08-25 01:53:00 +04:00
Ayaz Salikhov
ecf4ea5f86 Revert "Replace rodbc link fow now"
This reverts commit 73d6fe4f55.
2023-08-23 13:49:42 +04:00
Ayaz Salikhov
b88eba3e59 Update the custom env recipe to correctly activate it by default (#1975)
* Update the custom env recipe to correctly activate it by default

* Remove obsolete line

* Better wording
2023-08-21 01:14:07 +02:00
Ayaz Salikhov
948f0bb336 Add info how to persist user data (#1977)
* Add info how to persist user data

* Improve wording

* Add note

* Better wording
2023-08-20 18:19:53 +02:00
Ayaz Salikhov
49a3caa5fb Trigger CI 2023-08-20 16:44:50 +02:00