From 4df1b9cf933753dd79d6dc0238a440f1f637f59a Mon Sep 17 00:00:00 2001 From: LeonLi Date: Wed, 28 Jan 2026 03:35:24 +0000 Subject: [PATCH] Remove unused prime-rl submodule This project uses SkyRL for RL training, not Prime-RL. The prime-rl submodule was never used in the codebase: - No Python code imports prime_rl - All training scripts use skyrl-train framework - The run_prime_rl.sh script has incorrect paths and doesn't work The verifiers package has optional prime-rl support, but it gracefully handles the absence of prime-rl/ directory. Removing to: - Reduce repository size and clone time - Eliminate confusion for contributors - Clean up unused dependencies Verified that distill-latest branch also doesn't use prime-rl. --- .gitmodules | 3 --- prime-rl | 1 - scripts/run_prime_rl.sh | 20 -------------------- 3 files changed, 24 deletions(-) delete mode 160000 prime-rl delete mode 100755 scripts/run_prime_rl.sh diff --git a/.gitmodules b/.gitmodules index ad55c20..2fb7eb7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ [submodule "software-agent-sdk"] path = software-agent-sdk url = https://github.com/OpenHands/software-agent-sdk.git -[submodule "prime-rl"] - path = prime-rl - url = https://github.com/PrimeIntellect-ai/prime-rl diff --git a/prime-rl b/prime-rl deleted file mode 160000 index 6b01ba5..0000000 --- a/prime-rl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6b01ba5ae7f215aa1f869dfac30f5df5d587ee94 diff --git a/scripts/run_prime_rl.sh b/scripts/run_prime_rl.sh deleted file mode 100755 index 8c394e7..0000000 --- a/scripts/run_prime_rl.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Install ripgrep -sudo apt-get install ripgrep -y - -# Set PyTorch CUDA allocator config to reduce fragmentation -export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True - -# Navigate to prime-rl directory -cd $HOME/agentic-code-search-oss/prime-rl - -# Install the verifiers environment -uv pip install -e .. - -# Run RL training -uv run rl \ - --trainer @ ../configs/swe-grep-oss/rl/train.toml \ - --orchestrator @ ../configs/swe-grep-oss/rl/orch.toml \ - --inference @ ../configs/swe-grep-oss/rl/infer.toml -