Fix multimodal registry and code sync scripts (#10759)
Co-authored-by: cctry <shiyang@x.ai>
This commit is contained in:
@@ -16,6 +16,7 @@ python3 -c 'import os, shutil, tempfile, getpass; cache_dir = os.environ.get("TO
|
||||
# Kill existing processes
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
bash "${SCRIPT_DIR}/../killall_sglang.sh"
|
||||
echo "CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-}"
|
||||
|
||||
# Install apt packages
|
||||
apt install -y git libnuma-dev
|
||||
@@ -90,5 +91,3 @@ fi
|
||||
|
||||
# Show current packages
|
||||
$PIP_CMD list
|
||||
|
||||
echo "CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-}"
|
||||
|
||||
@@ -43,13 +43,17 @@ folder_names = [
|
||||
"docker",
|
||||
"docs",
|
||||
"examples",
|
||||
"sgl-kernel",
|
||||
"README.md",
|
||||
"python/sglang/lang",
|
||||
"python/sglang/srt",
|
||||
"python/sglang/test",
|
||||
"python/sglang/__init__.py",
|
||||
"python/sglang/utils.py",
|
||||
"python/sglang/README.md",
|
||||
"sgl-kernel",
|
||||
"test/lang",
|
||||
"test/srt",
|
||||
"test/README.md",
|
||||
"README.md",
|
||||
]
|
||||
|
||||
private_repo = "your-org/sglang-private-repo"
|
||||
|
||||
@@ -43,13 +43,17 @@ folder_names = [
|
||||
"docker",
|
||||
"docs",
|
||||
"examples",
|
||||
"sgl-kernel",
|
||||
"README.md",
|
||||
"python/sglang/lang",
|
||||
"python/sglang/srt",
|
||||
"python/sglang/test",
|
||||
"python/sglang/__init__.py",
|
||||
"python/sglang/utils.py",
|
||||
"python/sglang/README.md",
|
||||
"sgl-kernel",
|
||||
"test/lang",
|
||||
"test/srt",
|
||||
"test/README.md",
|
||||
"README.md",
|
||||
]
|
||||
|
||||
# --- Configuration End ---
|
||||
@@ -395,9 +399,10 @@ def main():
|
||||
pr_title = f"[Auto Sync] Update {filename_list_str} ({current_date})"
|
||||
pr_body = (
|
||||
f"Sync changes from commit `{short_hash}`.\n\n"
|
||||
f"**Relevant Files Changed:**\n{file_list_str}"
|
||||
"\n\n---\n\n"
|
||||
"*This is an automated PR created by a script.*"
|
||||
f"**Files Changed:**\n{file_list_str}\n\n"
|
||||
f"Author: {author_name} <{author_email}>"
|
||||
f"\n\n---\n\n"
|
||||
f"*This is an automated PR created by scripts/copy_from_oss.py.*"
|
||||
)
|
||||
|
||||
# 5. Create branch, apply patch, and push
|
||||
|
||||
Reference in New Issue
Block a user