[router] Allow empty worker list for sglang.launch_router (#2979)
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -euxo pipefail
|
||||
|
||||
# these are required for actix
|
||||
apt-get update
|
||||
apt-get install -y libssl-dev pkg-config
|
||||
# Check if sudo is available
|
||||
if command -v sudo >/dev/null 2>&1; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libssl-dev pkg-config
|
||||
else
|
||||
apt-get update
|
||||
apt-get install -y libssl-dev pkg-config
|
||||
fi
|
||||
|
||||
# Install rustup (Rust installer and version manager)
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
|
||||
Reference in New Issue
Block a user