This commit is contained in:
2024-06-02 15:08:03 -04:00
parent 22dcbd47c9
commit 86617e8ee7
25 changed files with 13 additions and 2938 deletions
+2
View File
@@ -1 +1,3 @@
**/.ipynb_checkpoints **/.ipynb_checkpoints
.cache
fastbook
+4
View File
@@ -7,6 +7,10 @@ RUN pip install jupyterlab
RUN pip install plotly RUN pip install plotly
RUN pip install fastbook RUN pip install fastbook
# Install additional applications
RUN apt update
RUN apt-get install graphviz -y
# Set environment variables, etc. # Set environment variables, etc.
#ENV MY_ENV_VAR=myvalue #ENV MY_ENV_VAR=myvalue
+3 -1
View File
@@ -3,7 +3,7 @@ version: '3.8'
services: services:
jupyter: jupyter:
build: /opt/jupyter_gpu build: /opt/jupyter_gpu
image: cvtt/jupyter_gpu:v1.0.3 image: cvtt/jupyter_gpu:v1.0.5
container_name: cvtt_gpu_jupyter container_name: cvtt_gpu_jupyter
runtime: nvidia runtime: nvidia
environment: environment:
@@ -12,5 +12,7 @@ services:
- /opt/jupyter_gpu/notebooks:/workspace - /opt/jupyter_gpu/notebooks:/workspace
- /opt/jupyter_gpu/jupyter_settings/user-settings:/root/.jupyter/lab/user-settings - /opt/jupyter_gpu/jupyter_settings/user-settings:/root/.jupyter/lab/user-settings
- /opt/jupyter_gpu/jupyter_settings/workspaces:/root/.jupyter/lab/workspaces - /opt/jupyter_gpu/jupyter_settings/workspaces:/root/.jupyter/lab/workspaces
- /opt/jupyter_gpu/.cache/torch:/root/.cache/torch
ports: ports:
- "8888:8888" - "8888:8888"
shm_size: "8gb"
@@ -1 +1 @@
{"data":{"layout-restorer:data":{"main":{"dock":{"type":"tab-area","currentIndex":1,"widgets":["notebook:oleg/Education/fastai/01_intro.ipynb","notebook:oleg/Testing GPU.ipynb"]},"current":"notebook:oleg/Testing GPU.ipynb"},"down":{"size":0,"widgets":[]},"left":{"collapsed":false,"visible":true,"current":"running-sessions","widgets":["filebrowser","running-sessions","@jupyterlab/toc:plugin","extensionmanager.main-view"],"widgetStates":{"jp-running-sessions":{"sizes":[1,0,0,0,0,0],"expansionStates":[true,false,false,false,false,false]},"extensionmanager.main-view":{"sizes":[0.3333333333333333,0.3333333333333333,0.3333333333333333],"expansionStates":[false,false,false]}}},"right":{"collapsed":true,"visible":true,"widgets":["jp-property-inspector","debugger-sidebar"],"widgetStates":{"jp-debugger-sidebar":{"sizes":[0.2,0.2,0.2,0.2,0.2],"expansionStates":[false,false,false,false,false]}}},"relativeSizes":[0.14887307236061684,0.8511269276393831,0],"top":{"simpleVisibility":true}},"docmanager:recents":{"opened":[{"path":"oleg/Education/fastai","contentType":"directory","root":"/workspace"},{"path":"oleg/Education/fastai/01_intro.ipynb","contentType":"notebook","factory":"Notebook","root":"/workspace"},{"path":"oleg","contentType":"directory","root":"/workspace"},{"path":"oleg/Testing GPU.ipynb","contentType":"notebook","factory":"Notebook","root":"/workspace"}],"closed":[]},"file-browser-filebrowser:cwd":{"path":"oleg"},"notebook:oleg/Education/fastai/01_intro.ipynb":{"data":{"path":"oleg/Education/fastai/01_intro.ipynb","factory":"Notebook"}},"notebook:oleg/Testing GPU.ipynb":{"data":{"path":"oleg/Testing GPU.ipynb","factory":"Notebook"}}},"metadata":{"id":"default"}} {"data":{"layout-restorer:data":{"main":{"dock":{"type":"tab-area","currentIndex":1,"widgets":["notebook:oleg/Testing GPU.ipynb","notebook:oleg/Education/fastai/fastbook/01_intro.ipynb"]},"current":"notebook:oleg/Education/fastai/fastbook/01_intro.ipynb"},"down":{"size":0,"widgets":[]},"left":{"collapsed":false,"visible":true,"current":"filebrowser","widgets":["filebrowser","running-sessions","@jupyterlab/toc:plugin","extensionmanager.main-view"],"widgetStates":{"jp-running-sessions":{"sizes":[1,0,0,0,0,0],"expansionStates":[false,false,false,false,false,false]},"extensionmanager.main-view":{"sizes":[0.3333333333333333,0.3333333333333333,0.3333333333333333],"expansionStates":[false,false,false]}}},"right":{"collapsed":true,"visible":true,"widgets":["jp-property-inspector","debugger-sidebar"],"widgetStates":{"jp-debugger-sidebar":{"sizes":[0.2,0.2,0.2,0.2,0.2],"expansionStates":[false,false,false,false,false]}}},"relativeSizes":[0.1992063492063492,0.8007936507936508,0],"top":{"simpleVisibility":true}},"docmanager:recents":{"opened":[{"path":"oleg/Education/fastai/fastbook","contentType":"directory","root":"/workspace"},{"path":"oleg/Education/fastai/fastbook/01_intro.ipynb","contentType":"notebook","factory":"Notebook","root":"/workspace"},{"path":"oleg","contentType":"directory","root":"/workspace"},{"path":"oleg/Testing GPU.ipynb","contentType":"notebook","factory":"Notebook","root":"/workspace"},{"path":"oleg/Education/fastai","contentType":"directory","root":"/workspace"}],"closed":[{"path":"oleg/Education/fastai/fastbook/01_intro.ipynb","contentType":"notebook","factory":"Notebook","root":"/workspace"},{"path":"oleg/Testing GPU.ipynb","contentType":"notebook","factory":"Notebook","root":"/workspace"}]},"file-browser-filebrowser:cwd":{"path":"oleg/Education/fastai/fastbook"},"notebook:oleg/Testing GPU.ipynb":{"data":{"path":"oleg/Testing GPU.ipynb","factory":"Notebook"}},"notebook:oleg/Education/fastai/fastbook/01_intro.ipynb":{"data":{"path":"oleg/Education/fastai/fastbook/01_intro.ipynb","factory":"Notebook"}}},"metadata":{"id":"default"}}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -38,7 +38,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 3,
"id": "7313a620-a0eb-4207-a12a-90aeee3cd980", "id": "7313a620-a0eb-4207-a12a-90aeee3cd980",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@@ -48,7 +48,7 @@
"'3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]'" "'3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]'"
] ]
}, },
"execution_count": 2, "execution_count": 3,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@@ -68,7 +68,7 @@
"data": { "data": {
"text/plain": [ "text/plain": [
"environ{'PATH': '/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',\n", "environ{'PATH': '/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',\n",
" 'HOSTNAME': '545710502a0b',\n", " 'HOSTNAME': '1fc69c311e22',\n",
" 'JUPYTER_ENABLE_LAB': 'yes',\n", " 'JUPYTER_ENABLE_LAB': 'yes',\n",
" 'NVIDIA_VISIBLE_DEVICES': 'all',\n", " 'NVIDIA_VISIBLE_DEVICES': 'all',\n",
" 'NVIDIA_DRIVER_CAPABILITIES': 'compute,utility',\n", " 'NVIDIA_DRIVER_CAPABILITIES': 'compute,utility',\n",