lollms-webui/scripts/wsl/petals_server.sh

12 lines
307 B
Bash
Raw Normal View History

2023-09-21 01:39:25 +00:00
#!/bin/bash
2023-09-21 19:35:15 +00:00
echo changing dir to lollms-webui
2023-09-21 01:39:25 +00:00
cd ~/lollms-webui
# activate conda environment
2023-09-21 19:35:15 +00:00
echo sourcing miniconda
2023-09-21 01:39:25 +00:00
source ~/miniconda/etc/profile.d/conda.sh
2023-09-21 19:35:15 +00:00
echo activating environment
2023-09-21 01:39:25 +00:00
conda activate ./env
2023-09-21 19:35:15 +00:00
echo running server
2023-09-21 01:39:25 +00:00
# Run petals server
python3 -m petals.cli.run_server petals-team/StableBeluga2