Skip to content

Commit

Permalink
update: improve scalability
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyoujiang committed May 25, 2024
1 parent bcfedd8 commit 863cb0d
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "jetson-examples"
version = "0.0.9"
version = "0.1.0"
authors = [{ name = "luozhixin", email = "[email protected]" }]
description = "Running Gen AI models and applications on NVIDIA Jetson devices with one-line command"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/live-llava/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/llama3/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/llava-v1.5-7b/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/llava-v1.6-vicuna-7b/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/llava/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/nanodb/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/nanoowl/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/ollama/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/stable-diffusion-webui/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/text-generation-webui/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi
6 changes: 3 additions & 3 deletions reComputer/scripts/whisper/init.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash


BASE_PATH=/home/$USER/reComputer
mkdir -p $BASE_PATH/
JETSON_REPO_PATH="$BASE_PATH/jetson-containers"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers/tree/d1573a3e8d7ba3fef36ebb23a7391e60eaf64db7"
BASE_JETSON_LAB_GIT="https://github.com/dusty-nv/jetson-containers"
if [ -d $JETSON_REPO_PATH ]; then
echo "jetson-ai-lab existed."
else
echo "jetson-ai-lab does not installed. start init..."
cd $BASE_PATH/
git clone --depth=1 $BASE_JETSON_LAB_GIT
cd $JETSON_REPO_PATH
sudo apt update; sudo apt install -y python3-pip
pip3 install -r requirements.txt
bash install.sh
fi

0 comments on commit 863cb0d

Please sign in to comment.