Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 26 additions & 38 deletions .project/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ layout:
environment:
base:
registry: nvcr.io
image: nvidia/ai-workbench/python-basic:1.0.2
build_timestamp: "20241001182612"
image: nvidia/ai-workbench/python-basic:1.0.8
build_timestamp: "20250729154429"
name: Python Basic
supported_architectures: []
cuda_version: ""
Expand All @@ -32,22 +32,6 @@ environment:
- python3
- jupyterlab
apps:
- name: chat
type: custom
class: webapp
start_command: cd /project/code/ && PROXY_PREFIX=$PROXY_PREFIX python3 -m chatui
health_check_command: curl -f "http://localhost:8080/"
stop_command: pkill -f "^python3 -m chatui"
user_msg: ""
logfile_path: ""
timeout_seconds: 60
icon_url: ""
webapp_options:
autolaunch: true
port: "8080"
proxy:
trim_prefix: true
url: http://localhost:8080/
- name: jupyterlab
type: jupyterlab
class: webapp
Expand All @@ -64,26 +48,10 @@ environment:
proxy:
trim_prefix: false
url_command: jupyter lab list | head -n 2 | tail -n 1 | cut -f1 -d' ' | grep -v 'Currently'
- name: tensorboard
type: tensorboard
class: webapp
start_command: tensorboard --logdir \$TENSORBOARD_LOGS_DIRECTORY --path_prefix=\$PROXY_PREFIX --bind_all
health_check_command: '[ \$(curl -o /dev/null -s -w ''%{http_code}'' http://localhost:\$TENSORBOARD_PORT\$PROXY_PREFIX/) == ''200'' ]'
stop_command: pkill tensorboard
user_msg: ""
logfile_path: ""
timeout_seconds: 60
icon_url: ""
webapp_options:
autolaunch: true
port: "6006"
proxy:
trim_prefix: false
url: http://localhost:6006
programming_languages:
- python3
icon_url: ""
image_version: 1.0.2
icon_url: https://workbench.download.nvidia.com/static/img/ai-workbench-icon-rectangle.jpg
image_version: 1.0.8
os: linux
os_distro: ubuntu
os_distro_release: "22.04"
Expand All @@ -99,11 +67,15 @@ environment:
- curl
- git
- git-lfs
- python3
- gcc
- python3-dev
- python3-pip
- vim
- name: pip
binary_path: /usr/local/bin/pip
binary_path: /usr/bin/pip
installed_packages:
- jupyterlab==4.0.7
- jupyterlab==4.3.5
package_manager_environment:
name: ""
target: ""
Expand All @@ -120,6 +92,22 @@ execution:
logfile_path: ""
timeout_seconds: 120
icon_url: ""
- name: chat
type: custom
class: webapp
start_command: cd /project/code && PROXY_PREFIX=$PROXY_PREFIX python3 -m chatui
health_check_command: curl -f "http://localhost:8080/"
stop_command: pkill -f "^python3 -m chatui"
user_msg: ""
logfile_path: ""
timeout_seconds: 60
icon_url: ""
webapp_options:
autolaunch: true
port: "8080"
proxy:
trim_prefix: true
url: http://localhost:8080/
resources:
gpu:
requested: 0
Expand Down
2 changes: 2 additions & 0 deletions preBuild.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
# before any system packages or programming language specific package have been installed.
#
# Note: This file may be removed if you don't need to use it

pip install --upgrade pip