Linux
WARNING
This is much more difficult than the Docker installation method. Please use the Docker installation method if possible.
Requirements
Node.js
>= 18Pnpm
Python
>= 3.10Pip
CUDA
cuDNN
< 8.6.0TensorRT
8.5.x
Installation
- Clone Lsmith repository
sh
git clone https://github.com/ddPn08/Lsmith.git
- Install submodules
sh
cd Lsmith
git submodule update --init --recursive
- Enter the repository directory.
sh
cd Lsmith
- Enter frontend directory and build frontend
sh
cd frontend
pnpm i
pnpm build --out-dir ../dist
- Run launch.sh with the path to libnvinfer_plugin.so in the LD_PRELOAD variable.
sh
bash launch.sh --host 0.0.0.0