0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Jetson NanoでOpenWEBUIからDeepSeekを動かす

Posted at

SDカードでブートしてからのコマンドメモ

sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo apt remove tensorrt
sudo apt install emacs
sudo apt install python3-pip
sudo apt install curl
sudo apt install clang
sudo apt install tk-dev
sudo apt install gfortran
sudo apt install sqlite3
sudo apt install libsqlite3-dev
sudo apt install libssl-dev
sudo apt install libbz2-dev
sudo apt install libglfw3
sudo apt install libglfw3-dev
sudo apt install liblzma-dev
sudo apt install libreadline-dev
sudo apt install libgdbm-dev
sudo apt install liblapack-dev


sudo pip3 install -U jetson-stats
sudo reboot
jtop

cd /usr/local/cuda/samples/
sudo make

tar zxvf sqlite-autoconf-3500000.tar.gz
cd sqlite-autoconf-3500000/
./configure --enable-fts5
make
sudo make install

tar zxvf Python-3.12.9.tgz
cd Python-3.12.9
./configure  --enable-optimizations --enable-shared
make
sudo make install

sudo snap install ollama
ollama ls
ollama run deepseek-r1:1.5b
>>>hello
>>>/bye
ollama ps

export LD_LIBRARY_PATH=/usr/local/lib
pip3 install --upgrade pip
pip3 install numpy==2.0.0
pip3 install open-webui
open-webui serve
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?