slime is an LLM post-training framework for RL Scaling.
This report presents the forensic synthetic code analysis of THUDM/slime, a Python project with 7,454 GitHub stars. SynthScan v2.0 examined 94,113 lines of code across 537 source files, recording 1432 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 25.2 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1432 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 60 | def collect_from_storage_metadata(storage_item, base_path=""): | CODE |
| LOW | tools/convert_torch_dist_to_hf_bridge.py | 16 | def _patched_load_model_config(checkpoint_path): | CODE |
| LOW | tools/trace_timeline_viewer.py | 55 | def _make_dummy_pickle_global(module_name: str, name: str) -> type[_MissingPickleObject]: | CODE |
| LOW | tools/trace_timeline_viewer.py | 330 | def nearest_closed_ancestor_end(span: dict[str, Any]) -> float | None: | CODE |
| LOW | tools/convert_hf_to_int4_direct.py | 76 | def round_to_quantized_type_dtype( | CODE |
| LOW | slime/backends/megatron_utils/checkpoint.py | 31 | def _init_from_local_shards_and_global_metadata( # type: ignore[override] | CODE |
| LOW⚡ | slime/backends/megatron_utils/arguments.py | 20 | def _is_allgather_cp_dsa_model(hf_config): | CODE |
| LOW⚡ | slime/backends/megatron_utils/arguments.py | 28 | def _validate_allgather_cp_supported(args, hf_config=None): | CODE |
| LOW | slime/backends/megatron_utils/arguments.py | 147 | def _set_default_megatron_args(args): | CODE |
| LOW⚡ | slime/backends/megatron_utils/model.py | 44 | def _disable_tqdm_for_non_main_rank() -> bool: | CODE |
| LOW⚡ | slime/backends/megatron_utils/model.py | 52 | def _should_update_microbatch_pbar(model) -> bool: | CODE |
| LOW | slime/backends/megatron_utils/model.py | 64 | def _wrap_forward_step_with_microbatch_pbar(forward_step_func, pbar): | CODE |
| LOW | slime/backends/megatron_utils/model.py | 78 | def _with_rollout_top_p_token_keys(args: Namespace, keys: Sequence[str]) -> list[str]: | CODE |
| LOW | slime/backends/megatron_utils/model.py | 84 | def _iter_critic_output_layers(model: Sequence[DDP]): | CODE |
| LOW | slime/backends/megatron_utils/model.py | 95 | def get_load_checkpoint_path_by_args(args, load_arg="load"): | CODE |
| LOW | slime/backends/megatron_utils/model.py | 125 | def _critic_output_layer_needs_reinit(args: Namespace, model: Sequence[DDP], role: str) -> bool: | CODE |
| LOW | slime/backends/megatron_utils/model.py | 172 | def _reinitialize_critic_output_layer(args: Namespace, model: Sequence[DDP]) -> None: | CODE |
| LOW | slime/backends/megatron_utils/model.py | 182 | def get_optimizer_param_scheduler(args: Namespace, optimizer: MegatronOptimizer) -> OptimizerParamScheduler: | CODE |
| LOW | slime/backends/megatron_utils/model.py | 242 | def _disable_distributed_optimizer_state_initialization(optimizer: MegatronOptimizer) -> None: | CODE |
| LOW | slime/backends/megatron_utils/model.py | 270 | def setup_model_and_optimizer( | CODE |
| LOW | slime/backends/megatron_utils/model.py | 699 | def should_disable_forward_pre_hook(args: Namespace) -> bool: | CODE |
| LOW | slime/backends/megatron_utils/model.py | 968 | def initialize_model_and_optimizer( | CODE |
| LOW | slime/backends/megatron_utils/loss.py | 40 | def get_rollout_top_p_logprob_kwargs(args: Namespace, batch: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW | slime/backends/megatron_utils/loss.py | 151 | def _allgather_cp_redistribute( | CODE |
| LOW | slime/backends/megatron_utils/loss.py | 470 | def get_log_probs_and_entropy( | CODE |
| LOW | slime/backends/megatron_utils/loss.py | 620 | def apply_opd_kl_to_advantages( | CODE |
| LOW | slime/backends/megatron_utils/loss.py | 661 | def compute_advantages_and_returns(args: Namespace, rollout_data: RolloutBatch) -> None: | CODE |
| LOW | slime/backends/megatron_utils/model_provider.py | 245 | def wrap_model_provider_with_freeze(original_provider, args): | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 45 | def save_hf_model_direct_to_path( | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 144 | def save_hf_model_bridge_to_path(args, output_dir: str | Path, model) -> None: | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 255 | def _finalize_distributed_shards(path: Path, local_state: dict[str, Any]) -> None: | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 352 | def _clear_existing_hf_weights(path: Path) -> None: | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 399 | def _raise_if_rank_zero_failed(context: str, error: str | None) -> None: | CODE |
| LOW | slime/backends/megatron_utils/cp_utils.py | 9 | def get_logits_and_tokens_offset_with_cp( | CODE |
| LOW | slime/backends/megatron_utils/cp_utils.py | 127 | def reduce_train_step_metrics( | CODE |
| LOW | slime/backends/megatron_utils/cp_utils.py | 171 | def rollout_log_metric_contribution( | CODE |
| LOW | slime/backends/megatron_utils/cp_utils.py | 197 | def gather_and_reduce_log_dict( | CODE |
| LOW | slime/backends/megatron_utils/cp_utils.py | 362 | def prepare_routed_experts_for_routing_replay( | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 49 | def _normalize_label_token_ids(label_token_ids: Any, expected_length: int) -> list[list[int]] | None: | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 99 | def set_train_parallel_config(self, config: dict): | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 626 | def _run_warmup_via_private_http(sample_manager, args): | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 672 | def run_megatron_dp_models_loop_worker(dp_rank, pp_size, sample_manager, actor_models): | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 708 | def _build_update_from_disk_fn(actor_model): | CODE |
| LOW | slime/backends/megatron_utils/server/arguments.py | 34 | def add_megatron_server_arguments(parser): | CODE |
| LOW | slime/backends/megatron_utils/server/arguments.py | 87 | def configure_megatron_server_args(args): | CODE |
| LOW | slime/backends/megatron_utils/server/arguments.py | 104 | def validate_megatron_server_args(args): | CODE |
| LOW | slime/backends/megatron_utils/server/logprob_utils.py | 20 | def sample_from_vocab_parallel_logits_without_full_gather( | CODE |
| LOW | slime/backends/megatron_utils/server/logprob_utils.py | 157 | def get_label_token_log_probs_from_vocab_parallel_logits( | CODE |
| LOW | slime/backends/megatron_utils/server/logprob_utils.py | 267 | def _slice_response_rows_for_current_cp_rank( | CODE |
| LOW | slime/backends/megatron_utils/server/logprob_utils.py | 302 | def _merge_allgather_cp_tensors( | CODE |
| LOW | slime/backends/megatron_utils/server/logprob_utils.py | 351 | def _get_log_probs_and_optional_samples( | CODE |
| LOW | …egatron_utils/update_weight/update_weight_from_disk.py | 57 | def disconnect_rollout_engines(self) -> None: | CODE |
| LOW | …atron_utils/update_weight/hf_weight_iterator_bridge.py | 13 | def _patch_bridge_expert_cache_to_cpu(): | CODE |
| LOW | …atron_utils/update_weight/hf_weight_iterator_bridge.py | 83 | def _process_conversion_tasks(vanilla_conversion_tasks, new_weight_dict): | CODE |
| LOW | …atron_utils/update_weight/update_weight_from_tensor.py | 218 | def _send_to_colocated_engine( | CODE |
| LOW | …atron_utils/update_weight/update_weight_from_tensor.py | 291 | def _empty_flattened_tensor_data(): | CODE |
| LOW | slime/backends/megatron_utils/update_weight/common.py | 144 | def _named_params_and_buffers_vanilla(model: Sequence[torch.nn.Module]) -> Iterator[tuple[str, torch.Tensor]]: | CODE |
| LOW | slime/backends/megatron_utils/update_weight/common.py | 160 | def _named_params_and_buffers_global( | CODE |
| LOW | …n_utils/update_weight/update_weight_from_disk_delta.py | 78 | def disconnect_rollout_engines(self) -> None: | CODE |
| LOW | …_utils/update_weight/update_weight_from_distributed.py | 93 | def disconnect_rollout_engines(self) -> None: | CODE |
| 512 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/analyze_profile.py | 189 | # ─── Device Properties ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/analyze_profile.py | 197 | # ─── CUDA/NCCL Info ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/analyze_profile.py | 207 | # ─── Kernel Analysis ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/analyze_profile.py | 320 | # ─── Communication ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/analyze_profile.py | 329 | # ─── CPU overhead ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/analyze_profile.py | 337 | # ─── Pretty print ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tools/analyze_profile.py | 341 | # ── Config ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 23 | # ─── Color helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 65 | # ─── Data structures ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 235 | # ─── GPU Utilization ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 278 | # ─── Per-stream analysis ──────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 295 | # ─── CUDA Graph analysis ─────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 352 | # ── Timeline ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 363 | # ── Kernel Breakdown ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 382 | # ── Top Kernels ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 390 | # ── CUDA Graph ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 431 | # ── CUDA Graph Location in Timeline ───────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 456 | # ── GPU Idle Gaps ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 466 | # ── Per-Stream ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 484 | # ── Communication ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 492 | # ── Performance Bottleneck Summary ────────────────────────────────── | COMMENT |
| MEDIUM | tools/analyze_profile.py | 575 | # ── Optimization Recommendations ──────────────────────────────────── | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 631 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 633 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 641 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 643 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 701 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 703 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 713 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/utils/ppo_utils.py | 721 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | slime/utils/ppo_utils.py | 655 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | slime/utils/ppo_utils.py | 657 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | slime/utils/ppo_utils.py | 669 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | slime/utils/ppo_utils.py | 681 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | slime/agent/trajectory.py | 23 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | slime/agent/trajectory.py | 25 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 41 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 43 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 111 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 113 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 136 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 138 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 264 | # =========================================================================== | COMMENT |
| MEDIUM | slime/agent/trajectory.py | 266 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_rm_gpqa.py | 31 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_rm_gpqa.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_gpqa.py | 88 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_gpqa.py | 90 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_sample.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_sample.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_sample.py | 175 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_sample.py | 177 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/_cp_dist_helpers.py | 140 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/_cp_dist_helpers.py | 158 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_math_dapo.py | 34 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_math_dapo.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_math_dapo.py | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_math_dapo.py | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_math_dapo.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_rm_math_dapo.py | 84 | # --------------------------------------------------------------------------- | COMMENT |
| 100 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tools/trace_timeline_viewer.py | 950 | cursorTime: null, | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 951 | hoveredItem: null, | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 952 | selectedItem: null, | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1156 | const lane = rowExpanded(row) ? (item.lane || 0) : 0; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1165 | let current = null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1171 | clusters.push(current); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1174 | current.items.push(item); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1344 | const row = rowIdx >= 0 ? state.rows[rowIdx] : null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1345 | if (row && rowExpanded(row)) { | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1347 | y: laneTop(layout, item.lane || 0, scrollTop) + 2, | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1446 | if (raw.start_attrs || raw.end_attrs) { | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1455 | if (!attrs) return null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1459 | if (v != null && v > 0) segs.push({ phase, duration: v }); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1459 | if (v != null && v > 0) segs.push({ phase, duration: v }); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1501 | const pdVirtualRole = attrs.timeline_pd_virtual_role || null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1501 | const pdVirtualRole = attrs.timeline_pd_virtual_role || null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1503 | if (!phases || (expanded && !pdVirtualRole)) return null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1547 | const colorKey = attrs.timeline_pd_parent_name || item.name; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1552 | const pdVirtualRole = attrs.timeline_pd_virtual_role || null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1552 | const pdVirtualRole = attrs.timeline_pd_virtual_role || null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1781 | if (showText && labelWidthAvailable > 40) { | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1786 | if (a.prompt_tokens != null) pdParts.push(`P:${a.prompt_tokens}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1786 | if (a.prompt_tokens != null) pdParts.push(`P:${a.prompt_tokens}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1787 | if (a.completion_tokens != null) pdParts.push(`D:${a.completion_tokens}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1787 | if (a.completion_tokens != null) pdParts.push(`D:${a.completion_tokens}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1788 | if (a.cached_tokens != null && a.cached_tokens > 0) pdParts.push(`cache:${a.cached_tokens}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1788 | if (a.cached_tokens != null && a.cached_tokens > 0) pdParts.push(`cache:${a.cached_tokens}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1789 | if (a.pd_prefill_forward_duration != null) pdParts.push(`pf:${(a.pd_prefill_forward_duration*1000).toFix | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1789 | if (a.pd_prefill_forward_duration != null) pdParts.push(`pf:${(a.pd_prefill_forward_duration*1000).toFix | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1790 | if (a.pd_decode_forward_duration != null) pdParts.push(`df:${(a.pd_decode_forward_duration*1000).toFixed | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1790 | if (a.pd_decode_forward_duration != null) pdParts.push(`df:${(a.pd_decode_forward_duration*1000).toFixed | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1791 | if (a.pd_transfer_speed_gb_s != null) pdParts.push(`${a.pd_transfer_speed_gb_s.toFixed(1)}GB/s`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1791 | if (a.pd_transfer_speed_gb_s != null) pdParts.push(`${a.pd_transfer_speed_gb_s.toFixed(1)}GB/s`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1857 | lines.push(`${key}: ${value}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1862 | lines.push(`events: ${item.attrs?.total ?? 0}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1864 | lines.push(`${name}: ${count}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1868 | if (item.parent_span_name) lines.push(`parent: ${item.parent_span_name}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1870 | lines.push(`start: ${niceDuration(item.start_ts - state.globalStart)}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1871 | lines.push(`end: ${item.end_ts == null ? 'open' : niceDuration(item.end_ts - state.globalStart)}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1872 | if (item.end_ts == null) { | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1873 | lines.push(`display_end: ${niceDuration(item.display_end_ts - state.globalStart)}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1875 | lines.push(`duration: ${item.end_ts == null ? 'open' : niceDuration(item.end_ts - item.start_ts)}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1877 | lines.push(`time: ${niceDuration((item.ts ?? 0) - state.globalStart)}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1879 | if (item.state === 'orphan_end') lines.push('warning: unmatched end event'); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1886 | lines.push(`${key}: ${typeof value === 'object' ? JSON.stringify(value) : value}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1900 | lines.push('── PD disaggregation ──'); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1902 | lines.push(' [P] prefill instance'); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1903 | pPhases.forEach(p => lines.push(fmtPhase(p))); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1906 | lines.push(' [D] decode instance'); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1907 | dPhases.forEach(p => lines.push(fmtPhase(p))); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1909 | lines.push(` total phases: ${(totalDur * 1000).toFixed(1)}ms`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1917 | lines.push(` ${label}: ${value.toFixed(2)} GB/s`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1919 | lines.push(` ${label}: ${value.toFixed(1)} MB`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1921 | lines.push(` ${label}: ${typeof value === 'object' ? JSON.stringify(value) : value}`); | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 1929 | const activeItem = state.hoveredItem || state.selectedItem; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 2090 | if (absoluteY >= layout.top && absoluteY <= layout.top + layout.height) return idx; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 2096 | if (!layout) return null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 2102 | let closestPoint = null; | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 2111 | if (distance <= radius && distance < closestPointDistance) { | CODE |
| HIGH⚡ | tools/trace_timeline_viewer.py | 2124 | if (localY < itemTop || localY > itemBottom) continue; | CODE |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 142 | except Exception as e: | CODE |
| MEDIUM | tools/convert_torch_dist_to_hf_parallel.py | 143 | print(f"Error reading {rel_path}: {e}") | CODE |
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 291 | except Exception as e: | CODE |
| MEDIUM | tools/convert_torch_dist_to_hf_parallel.py | 292 | print(f"Error processing {name}: {e}") | CODE |
| MEDIUM | tools/convert_torch_dist_to_hf_parallel.py | 132 | def read_file(rel_path, full_path, ops): | CODE |
| LOW | tools/profile_rollout.py | 12 | except Exception as e: | CODE |
| MEDIUM | tools/profile_rollout.py | 13 | print(f"Error fetching workers from router: {e}") | CODE |
| LOW | tools/profile_rollout.py | 31 | except Exception as e: | CODE |
| LOW | tools/profile_rollout.py | 41 | except Exception as e: | CODE |
| MEDIUM | tools/profile_rollout.py | 7 | def get_workers(router_url): | CODE |
| MEDIUM | tools/profile_rollout.py | 35 | def stop_profile(worker_url): | CODE |
| LOW | tools/convert_hf_to_torch_dist.py | 39 | except Exception: | CODE |
| LOW | tools/preprocess_gpt_oss.py | 139 | except Exception: | CODE |
| LOW | tools/convert_hf_to_int4.py | 37 | except Exception as e: | CODE |
| LOW | slime/backends/megatron_utils/model_provider.py | 198 | except Exception as e: | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 80 | except Exception as e: | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 99 | except Exception as e: | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 351 | except Exception as e: | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 487 | except Exception as e: | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 560 | except Exception as e: | CODE |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 590 | except Exception as e: | CODE |
| LOW | slime/backends/sglang_utils/server_control.py | 35 | except Exception as e: | CODE |
| LOW | slime/backends/sglang_utils/server_control.py | 51 | except Exception as e: | CODE |
| LOW | slime/backends/sglang_utils/sglang_engine.py | 303 | except Exception as e: | CODE |
| LOW | slime/backends/sglang_utils/sglang_engine.py | 342 | except Exception as e: | CODE |
| LOW | slime/backends/sglang_utils/external.py | 65 | except Exception as exc: | CODE |
| LOW | slime/utils/reloadable_process_group.py | 319 | except Exception as e: | CODE |
| MEDIUM | slime/utils/reloadable_process_group.py | 312 | def _wrap_low_level_call(check_memory=True): | CODE |
| LOW⚡ | slime/utils/trace_utils.py | 405 | except Exception as exc: | CODE |
| LOW⚡ | slime/utils/trace_utils.py | 415 | except Exception as trace_exc: | CODE |
| LOW⚡ | slime/utils/trace_utils.py | 421 | except Exception as exc: | CODE |
| LOW⚡ | slime/utils/trace_utils.py | 426 | except Exception as exc: | CODE |
| LOW⚡ | slime/utils/trace_utils.py | 430 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 93 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 162 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 258 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 288 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 305 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 327 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 346 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 360 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 391 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 452 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 658 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 683 | except Exception as exc: | CODE |
| LOW | slime/utils/trace_utils.py | 722 | except Exception as exc: | CODE |
| LOW | slime/utils/processing_utils.py | 127 | except Exception: | CODE |
| LOW | slime/utils/processing_utils.py | 147 | except Exception: | CODE |
| LOW | slime/utils/health_monitor.py | 152 | except Exception as e: | CODE |
| LOW | slime/utils/health_monitor.py | 173 | except Exception as e: | CODE |
| LOW | slime/utils/http_utils.py | 66 | except Exception: | CODE |
| LOW | slime/utils/http_utils.py | 81 | except Exception: | CODE |
| LOW | slime/utils/http_utils.py | 125 | except Exception as e: | CODE |
| LOW | slime/utils/http_utils.py | 177 | except Exception as e: | CODE |
| LOW | slime/utils/http_utils.py | 305 | except Exception as e: | CODE |
| MEDIUM | slime/utils/http_utils.py | 117 | def run_router(args): | CODE |
| LOW | slime/utils/logging_utils.py | 40 | except Exception: | CODE |
| LOW | slime/agent/parsing.py | 77 | except Exception: | CODE |
| LOW | slime/agent/sandbox.py | 235 | except Exception as e: | CODE |
| LOW | slime/agent/sandbox.py | 263 | except Exception as e: | CODE |
| 80 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 57 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 84 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 165 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 60 | CODE | |
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 170 | CODE | |
| LOW | tools/analyze_profile.py | 184 | CODE | |
| LOW | tools/analyze_profile.py | 338 | CODE | |
| LOW | tools/preprocess_gpt_oss.py | 78 | CODE | |
| LOW | tools/trace_timeline_viewer.py | 168 | CODE | |
| LOW | tools/convert_k2_thinking_int4_to_bf16.py | 99 | CODE | |
| LOW | tools/fp8_cast_bf16.py | 42 | CODE | |
| LOW | tools/convert_torch_dist_to_hf.py | 106 | CODE | |
| LOW | tools/convert_to_hf.py | 27 | CODE | |
| LOW | slime/backends/megatron_utils/stateless_adam.py | 68 | CODE | |
| LOW | slime/backends/megatron_utils/model.py | 345 | CODE | |
| LOW | slime/backends/megatron_utils/model.py | 704 | CODE | |
| LOW | slime/backends/megatron_utils/model.py | 95 | CODE | |
| LOW | slime/backends/megatron_utils/loss.py | 54 | CODE | |
| LOW | slime/backends/megatron_utils/loss.py | 389 | CODE | |
| LOW | slime/backends/megatron_utils/loss.py | 661 | CODE | |
| LOW | slime/backends/megatron_utils/model_provider.py | 61 | CODE | |
| LOW | slime/backends/megatron_utils/model_provider.py | 272 | CODE | |
| LOW | slime/backends/megatron_utils/model_provider.py | 125 | CODE | |
| LOW | slime/backends/megatron_utils/ci_utils.py | 11 | CODE | |
| LOW | slime/backends/megatron_utils/actor.py | 285 | CODE | |
| LOW | slime/backends/megatron_utils/actor.py | 402 | CODE | |
| LOW | slime/backends/megatron_utils/data.py | 28 | CODE | |
| LOW | slime/backends/megatron_utils/data.py | 248 | CODE | |
| LOW | slime/backends/megatron_utils/data.py | 436 | CODE | |
| LOW | slime/backends/megatron_utils/server/megatron_server.py | 672 | CODE | |
| LOW | slime/backends/megatron_utils/server/logprob_utils.py | 302 | CODE | |
| LOW | …atron_utils/update_weight/update_weight_from_tensor.py | 218 | CODE | |
| LOW | slime/backends/megatron_utils/update_weight/common.py | 53 | CODE | |
| LOW | slime/backends/megatron_utils/update_weight/common.py | 160 | CODE | |
| LOW | …atron_utils/update_weight/hf_weight_iterator_direct.py | 138 | CODE | |
| LOW | …megatron_patch/megatron_chunked_grad_coalesce_patch.py | 67 | CODE | |
| LOW | …ime/backends/megatron_utils/megatron_to_hf/qwen3_vl.py | 5 | CODE | |
| LOW | …e/backends/megatron_utils/megatron_to_hf/minimax_m2.py | 6 | CODE | |
| LOW | slime/backends/megatron_utils/megatron_to_hf/gemma4.py | 41 | CODE | |
| LOW | …ime/backends/megatron_utils/megatron_to_hf/__init__.py | 38 | CODE | |
| LOW | …ime/backends/megatron_utils/megatron_to_hf/qwen3moe.py | 6 | CODE | |
| LOW | slime/backends/megatron_utils/megatron_to_hf/llama.py | 5 | CODE | |
| LOW | slime/backends/megatron_utils/megatron_to_hf/qwen3_5.py | 34 | CODE | |
| LOW | slime/backends/megatron_utils/megatron_to_hf/glm4.py | 5 | CODE | |
| LOW | …e/backends/megatron_utils/megatron_to_hf/deepseekv3.py | 6 | CODE | |
| LOW | slime/backends/megatron_utils/megatron_to_hf/glm4moe.py | 6 | CODE | |
| LOW | slime/backends/megatron_utils/megatron_to_hf/gpt_oss.py | 6 | CODE | |
| LOW | …e/backends/megatron_utils/megatron_to_hf/qwen3_next.py | 44 | CODE | |
| LOW | slime/backends/megatron_utils/megatron_to_hf/qwen2.py | 5 | CODE | |
| LOW | …atron_utils/megatron_to_hf/processors/quantizer_fp8.py | 10 | CODE | |
| LOW | slime/backends/sglang_utils/sglang_engine.py | 80 | CODE | |
| LOW | slime/backends/sglang_utils/sglang_engine.py | 190 | CODE | |
| LOW | slime/backends/sglang_utils/sglang_engine.py | 315 | CODE | |
| LOW | slime/utils/arguments.py | 1594 | CODE | |
| LOW | slime/utils/arguments.py | 1715 | CODE | |
| LOW | slime/utils/trace_utils.py | 351 | CODE | |
| LOW | slime/utils/processing_utils.py | 100 | CODE | |
| LOW | slime/utils/metric_utils.py | 69 | CODE | |
| LOW | slime/utils/routing_replay.py | 57 | CODE | |
| LOW | slime/utils/routing_replay.py | 58 | CODE | |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | slime/backends/megatron_utils/checkpoint.py | 92 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/megatron_utils/checkpoint.py | 94 | __all__ = ["save_checkpoint"] | CODE |
| LOW | slime/backends/megatron_utils/initialize.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | slime/backends/megatron_utils/arguments.py | 9 | __all__ = ["validate_args", "megatron_parse_args", "set_default_megatron_args"] | CODE |
| LOW⚡ | slime/backends/megatron_utils/arguments.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | slime/backends/megatron_utils/model.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/megatron_utils/ci_utils.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/megatron_utils/hf_checkpoint_saver.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/megatron_utils/actor.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/megatron_utils/actor.py | 555 | def update_weights(self) -> None: | CODE |
| LOW | slime/backends/megatron_utils/sglang.py | 24 | __all__ = [ | CODE |
| LOW | slime/backends/megatron_utils/data.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/megatron_utils/server/__init__.py | 9 | __all__ = [ | CODE |
| LOW | …egatron_utils/update_weight/update_weight_from_disk.py | 65 | def update_weights(self) -> None: | CODE |
| LOW | …atron_utils/update_weight/update_weight_from_tensor.py | 147 | def update_weights(self) -> None: | CODE |
| LOW | …n_utils/update_weight/update_weight_from_disk_delta.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n_utils/update_weight/update_weight_from_disk_delta.py | 82 | def update_weights(self) -> None: | CODE |
| LOW | …_utils/update_weight/update_weight_from_distributed.py | 102 | def update_weights(self) -> None: | CODE |
| LOW | …megatron_patch/megatron_chunked_grad_coalesce_patch.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …atron_to_hf/processors/quantizer_compressed_tensors.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …atron_to_hf/processors/quantizer_compressed_tensors.py | 16 | __all__ = ["quantize_params_compressed_tensors"] | CODE |
| LOW | …s/megatron_utils/megatron_to_hf/processors/__init__.py | 5 | __all__ = ["remove_padding", "quantize_param", "quantize_params_fp8", "quantize_params_compressed_tensors"] | CODE |
| LOW | slime/backends/sglang_utils/server_control.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/sglang_utils/sglang_engine.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/backends/sglang_utils/external.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | slime/backends/sglang_utils/sglang_config.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/reloadable_process_group.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/async_utils.py | 4 | __all__ = ["get_async_loop", "run"] | CODE |
| LOW | slime/utils/dp_schedule.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/arguments.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/timer.py | 10 | __all__ = ["Timer", "timer"] | CODE |
| LOW | slime/utils/timer.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/trace_utils.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/train_metric_utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/processing_utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/metric_utils.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/health_monitor.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/http_utils.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/profile_utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/train_dump_utils.py | 6 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/tensorboard_utils.py | 11 | __all__ = ["_TensorboardAdapter"] | CODE |
| LOW | slime/utils/tensorboard_utils.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/data.py | 20 | __all__ = ["Dataset", "get_source"] | CODE |
| LOW | slime/utils/data.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/memory_utils.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/utils/wandb_utils.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/agent/parsing.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | slime/agent/trajectory.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/agent/trajectory.py | 505 | __all__ = [ | CODE |
| LOW | slime/agent/sandbox.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/agent/adapters/__init__.py | 7 | __all__ = ["AnthropicAdapter", "BaseAdapter", "OpenAIAdapter"] | CODE |
| LOW | slime/agent/adapters/openai.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/agent/adapters/common.py | 30 | __all__ = ["TurnRecord"] | CODE |
| LOW | slime/agent/adapters/anthropic.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/agent/harness/__init__.py | 9 | __all__ = [ | CODE |
| LOW | slime/rollout/forge_load.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/rollout/data_source.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/rollout/sft_rollout.py | 6 | __all__ = ["generate_rollout"] | CODE |
| LOW | slime/rollout/sft_rollout.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | slime/rollout/sglang_streaming_rollout.py | 38 | __all__ = ["generate_streaming"] | CODE |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_torch_dist.py | 12 | CODE | |
| LOW | tools/trace_timeline_viewer.py | 9 | CODE | |
| LOW | slime/backends/megatron_utils/checkpoint.py | 8 | CODE | |
| LOW | slime/backends/megatron_utils/checkpoint.py | 133 | CODE | |
| LOW | slime/backends/megatron_utils/__init__.py | 44 | CODE | |
| LOW | slime/backends/megatron_utils/model_provider.py | 90 | CODE | |
| LOW | slime/backends/megatron_utils/sglang.py | 16 | CODE | |
| LOW | slime/backends/megatron_utils/sglang.py | 11 | CODE | |
| LOW | slime/backends/megatron_utils/sglang.py | 20 | CODE | |
| LOW | slime/backends/megatron_utils/sglang.py | 13 | CODE | |
| LOW | slime/backends/megatron_utils/sglang.py | 22 | CODE | |
| LOW | slime/backends/megatron_utils/server/__init__.py | 3 | CODE | |
| LOW | slime/backends/megatron_utils/server/__init__.py | 3 | CODE | |
| LOW | slime/backends/megatron_utils/server/__init__.py | 3 | CODE | |
| LOW | …egatron_utils/update_weight/update_weight_from_disk.py | 1 | CODE | |
| LOW | …atron_utils/update_weight/hf_weight_iterator_bridge.py | 45 | CODE | |
| LOW | …n_utils/update_weight/update_weight_from_disk_delta.py | 1 | CODE | |
| LOW | …_utils/update_weight/update_weight_from_distributed.py | 1 | CODE | |
| LOW | …ime/backends/megatron_utils/megatron_patch/__init__.py | 1 | CODE | |
| LOW | …s/megatron_utils/megatron_to_hf/processors/__init__.py | 1 | CODE | |
| LOW | slime/backends/sglang_utils/external.py | 3 | CODE | |
| LOW | slime/utils/dp_schedule.py | 40 | CODE | |
| LOW | slime/utils/trace_utils.py | 1 | CODE | |
| LOW | slime/utils/eval_config.py | 1 | CODE | |
| LOW | slime/utils/disk_delta.py | 1 | CODE | |
| LOW | slime/agent/parsing.py | 3 | CODE | |
| LOW | slime/agent/trajectory.py | 10 | CODE | |
| LOW | slime/agent/sandbox.py | 9 | CODE | |
| LOW | slime/agent/aiohttp_threaded.py | 3 | CODE | |
| LOW | slime/agent/adapters/__init__.py | 3 | CODE | |
| LOW | slime/agent/adapters/__init__.py | 4 | CODE | |
| LOW | slime/agent/adapters/__init__.py | 5 | CODE | |
| LOW | slime/agent/adapters/openai.py | 15 | CODE | |
| LOW | slime/agent/adapters/common.py | 13 | CODE | |
| LOW | slime/agent/adapters/anthropic.py | 17 | CODE | |
| LOW | slime/agent/harness/codex.py | 8 | CODE | |
| LOW | slime/agent/harness/__init__.py | 3 | CODE | |
| LOW | slime/agent/harness/__init__.py | 5 | CODE | |
| LOW | slime/agent/harness/__init__.py | 6 | CODE | |
| LOW | slime/agent/harness/__init__.py | 7 | CODE | |
| LOW | slime/agent/harness/__init__.py | 7 | CODE | |
| LOW | slime/agent/harness/common.py | 16 | CODE | |
| LOW | slime/agent/harness/claude_code.py | 3 | CODE | |
| LOW | slime/rollout/fully_async_rollout.py | 26 | CODE | |
| LOW | slime/rollout/rm_hub/ifbench.py | 1 | CODE | |
| LOW | tests/test_rm_gpqa.py | 23 | CODE | |
| LOW | tests/test_sample.py | 18 | CODE | |
| LOW | tests/test_qwen3_linear_attention_cu_seqlens.py | 1 | CODE | |
| LOW | tests/test_logprob_response_spans.py | 1 | CODE | |
| LOW | tests/test_loss_cp_invariance.py | 55 | CODE | |
| LOW | tests/_cp_dist_helpers.py | 37 | CODE | |
| LOW | tests/test_reloadable_process_group_memory_check.py | 1 | CODE | |
| LOW | tests/test_rm_math_dapo.py | 16 | CODE | |
| LOW | tests/test_ppo_logprob_entropy_gpu.py | 3 | CODE | |
| LOW | tests/test_metric_report.py | 18 | CODE | |
| LOW | tests/test_metric_report.py | 24 | CODE | |
| LOW | tests/test_rm_f1.py | 19 | CODE | |
| LOW | tests/test_cp_utils.py | 16 | CODE | |
| LOW | tests/test_cp_utils.py | 22 | CODE | |
| LOW | tests/test_rm_math.py | 17 | CODE | |
| 33 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | slime/utils/ppo_utils.py | 413 | # Step 3: Compute returns on full response kl tensor. | COMMENT |
| LOW | slime/utils/ppo_utils.py | 428 | # Step 4: Pick up the results corresponding to our local chunk's parts. | COMMENT |
| LOW⚡ | tests/ci/README.md | 11 | ### Step 1: Env | COMMENT |
| LOW⚡ | tests/ci/README.md | 18 | ### Step 2: Prepare `/home/runner/externals` | COMMENT |
| LOW⚡ | tests/ci/README.md | 28 | ### Step 3: Run | COMMENT |
| LOW | .claude/skills/add-rollout-function/SKILL.md | 20 | ### Step 1: Choose the Right Starting Point | COMMENT |
| LOW | .claude/skills/add-rollout-function/SKILL.md | 30 | ### Step 2: Create the New Rollout Module | COMMENT |
| LOW | .claude/skills/add-rollout-function/SKILL.md | 43 | ### Step 3: Implement Train and Eval Branches Explicitly | COMMENT |
| LOW | .claude/skills/add-rollout-function/SKILL.md | 70 | ### Step 4: Keep Data Contract Compatible | COMMENT |
| LOW | .claude/skills/add-rollout-function/SKILL.md | 81 | ### Step 5: Wire Through Arguments | COMMENT |
| LOW | .claude/skills/add-reward-function/SKILL.md | 20 | ### Step 1: Choose Reward Mode | COMMENT |
| LOW | .claude/skills/add-reward-function/SKILL.md | 29 | ### Step 2: Create Reward Module | COMMENT |
| LOW | .claude/skills/add-reward-function/SKILL.md | 47 | ### Step 3: Keep Reward Type Consistent | COMMENT |
| LOW | .claude/skills/add-reward-function/SKILL.md | 53 | ### Step 4: Optional Reward Post-Processing | COMMENT |
| LOW | .claude/skills/add-reward-function/SKILL.md | 71 | ### Step 5: Wire and Validate | COMMENT |
| LOW | .claude/skills/add-eval-dataset-config/SKILL.md | 20 | ### Step 1: Choose Config Entry Method | COMMENT |
| LOW | .claude/skills/add-eval-dataset-config/SKILL.md | 29 | ### Step 2: Build YAML with Required Fields | COMMENT |
| LOW | .claude/skills/add-eval-dataset-config/SKILL.md | 54 | ### Step 3: Understand Override Priority | COMMENT |
| LOW | .claude/skills/add-eval-dataset-config/SKILL.md | 68 | ### Step 4: Wire Eval Function if Needed | COMMENT |
| LOW | .claude/skills/add-eval-dataset-config/SKILL.md | 73 | ### Step 5: Validate Parsing and Runtime | COMMENT |
| LOW | .claude/skills/add-tests-and-ci/SKILL.md | 21 | ### Step 1: Pick the Right Test Pattern | COMMENT |
| LOW | .claude/skills/add-tests-and-ci/SKILL.md | 27 | ### Step 2: Keep CI Compatibility | COMMENT |
| LOW | .claude/skills/add-tests-and-ci/SKILL.md | 43 | ### Step 3: Register Tests in GitHub CI | COMMENT |
| LOW | .claude/skills/add-tests-and-ci/SKILL.md | 60 | ### Step 4: Run Local Validation | COMMENT |
| LOW | .claude/skills/add-tests-and-ci/SKILL.md | 67 | ### Step 5: Keep Workflow Template as Source of Truth | COMMENT |
| LOW | .claude/skills/add-tests-and-ci/SKILL.md | 80 | ### Step 6: Provide Verifiable PR Notes | COMMENT |
| LOW | .claude/skills/add-dynamic-filter/SKILL.md | 21 | ### Step 1: Pick the Correct Hook | COMMENT |
| LOW | .claude/skills/add-dynamic-filter/SKILL.md | 28 | ### Step 2: Implement the Function Signature | COMMENT |
| LOW | .claude/skills/add-dynamic-filter/SKILL.md | 66 | ### Step 3: Preserve Group Structure | COMMENT |
| LOW | .claude/skills/add-dynamic-filter/SKILL.md | 72 | ### Step 4: Wire and Validate | COMMENT |
| LOW | .claude/skills/add-dynamic-filter/SKILL.md | 83 | ### Step 5: Measure Side Effects | COMMENT |
| LOW | docs/en/advanced/sglang-config.md | 267 | # Step 1: Launch SGLang engines externally | COMMENT |
| LOW | docs/en/advanced/sglang-config.md | 271 | # Step 2: Connect slime to external engines | COMMENT |
| LOW | examples/search-r1/README.md | 187 | ### Step 1: Install Conda | COMMENT |
| LOW | examples/search-r1/README.md | 204 | ### Step 2: Create Retriever Environment | COMMENT |
| LOW | examples/search-r1/README.md | 222 | ### Step 3: Download Index and Corpus | COMMENT |
| LOW | examples/search-r1/README.md | 240 | ### Step 4: Start Local Retrieval Server | COMMENT |
| LOW | examples/search-r1/README.md | 275 | ### Step 5: Start Training | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | slime/backends/megatron_utils/model_provider.py | 160 | # Define the decoder block spec | COMMENT |
| MEDIUM | slime/backends/megatron_utils/model_provider.py | 168 | # Define the decoder layer spec | COMMENT |
| MEDIUM | slime/utils/async_utils.py | 7 | # Create a background event loop thread | COMMENT |
| MEDIUM | slime/utils/http_utils.py | 254 | # Define the async actor | COMMENT |
| MEDIUM | slime/rollout/rm_hub/__init__.py | 73 | # This function is intended for remote or time-consuming reward model evaluation. | COMMENT |
| MEDIUM | docs/build_all.sh | 11 | # Create a lightweight root index with auto redirect based on localStorage (done client side) | COMMENT |
| MEDIUM | examples/tau-bench/trainable_agents.py | 212 | # Initialize tracking variables | COMMENT |
| MEDIUM | examples/strands_sglang/subprocess_interpreter.py | 186 | # Create a temporary file with the modified source | STRING |
| MEDIUM | examples/strands_sglang/subprocess_interpreter.py | 352 | # Create a temporary directory first to ensure we have write | STRING |
| MEDIUM | .github/workflows/pr-test.yml | 2 | # This file is auto-generated from the .j2 file via generate_github_workflows.py. Do not edit manually. | COMMENT |
| MEDIUM | .github/workflows/generate_github_workflows.py | 27 | + "\n# This file is auto-generated from the .j2 file via generate_github_workflows.py. Do not edit manua | CODE |
| MEDIUM | slime_plugins/mbridge/mimo.py | 82 | # Create a proxy name to use with parent class methods | COMMENT |
| MEDIUM | slime_plugins/models/qwen3_5.py | 200 | # Define the decoder block spec | COMMENT |
| MEDIUM | slime_plugins/models/qwen3_next.py | 212 | # Define the decoder block spec | COMMENT |
| MEDIUM | slime_plugins/models/glm5/glm5.py | 718 | # Define the decoder block spec | COMMENT |
| MEDIUM | …ime_plugins/rollout_buffer/generator/base_generator.py | 53 | # Create a fresh payload for each attempt | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …atron_utils/megatron_to_hf/processors/quantizer_fp8.py | 90 | # for other parameters, we just return the original converted_named_params | COMMENT |
| MEDIUM | slime/rollout/rm_hub/math_dapo_utils.py | 14 | # Adapted from https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/tasks/hendrycks_math/utils.py | COMMENT |
| LOW | slime/ray/rollout.py | 228 | # this group's engines may land on (conservative: just use global max). | COMMENT |
| MEDIUM⚡ | tests/test_agent/test_harness.py | 207 | # §5 harness.run wires the steps in order | COMMENT |
| MEDIUM⚡ | examples/coding_agent_rl/swe.py | 175 | # Workspace prep (agent sandbox, before harness.run) | COMMENT |
| MEDIUM⚡ | examples/coding_agent_rl/swe.py | 228 | # Diff capture (agent sandbox, after harness.run) | COMMENT |
| MEDIUM | examples/coding_agent_rl/swe.py | 355 | # Mirror of swebench.harness.run_evaluation.GIT_APPLY_CMDS: try each in order, | COMMENT |
| MEDIUM | examples/retool/generate_with_retool.py | 100 | # Use a more robust regex that handles nested braces | COMMENT |
| MEDIUM | examples/retool/generate_with_retool.py | 370 | # collapse), but reward_func's regex is whitespace-robust and | COMMENT |
| MEDIUM | slime_plugins/models/gemma4.py | 646 | # reduces to even-length, which the CP=1 parity-test harness may | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_qwen3_4B_ppo_train_critic_only.py | 0 | megatron: - name: default role: critic overrides: lr: 1e-5 - name: default role: actor overrides: lr: 1e-6 | STRING |
| HIGH | tests/test_qwen3_4B_ppo.py | 0 | megatron: - name: default role: critic overrides: lr: 1e-5 - name: default role: actor overrides: lr: 1e-6 | STRING |
| HIGH | tests/test_qwen3_4B_ppo_disaggregate.py | 0 | megatron: - name: default role: critic overrides: lr: 1e-5 - name: default role: actor overrides: lr: 1e-6 | STRING |
| HIGH | slime_plugins/mbridge/mimo.py | 0 | convert mtp layer parameters from mcore to hf format. | STRING |
| HIGH | slime_plugins/mbridge/qwen3_5.py | 0 | convert mtp layer parameters from mcore to hf format. | STRING |
| HIGH | slime_plugins/mbridge/qwen3_next.py | 0 | convert mtp layer parameters from mcore to hf format. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 118 | [**Dressage**](https://github.com/Accio-Lab/Dressage) is an agentic RL training framework built on slime by [Alibaba Acc | CODE |
| MEDIUM | README.md | 130 | [**Relax**](https://github.com/redai-infra/Relax) (Reinforcement Engine Leveraging Agentic X-modality) is an omni-modal | CODE |
| MEDIUM | README_zh.md | 128 | [**Relax**](https://github.com/redai-infra/Relax) (Reinforcement Engine Leveraging Agentic X-modality) 是 RedAI Infra 团队开 | CODE |
| MEDIUM | tests/test_qwen3_4B_streaming_partial_rollout.py | 36 | # loop is still the stock sglang one (semaphore, abort orchestration). | COMMENT |
| MEDIUM | docs/zh/get_started/customization.md | 12 | | [`--custom-generate-function-path`](#2-自定义生成函数---custom-generate-function-path) | 仅覆盖生成步骤(例如用于 RAG 或工具调用)。 | | CODE |
| MEDIUM | docs/zh/get_started/customization.md | 32 | ## 通过 customization 接口实现 agentic workflow | COMMENT |
| MEDIUM | docs/en/get_started/customization.md | 12 | | [`--custom-generate-function-path`](#2-custom-generate-function---custom-generate-function-path) | Override only the g | CODE |
| MEDIUM | examples/multi_agent/run-qwen3-30B-A3B-multi-agent.sh | 57 | # multi-agent do not support eval for now | COMMENT |
| MEDIUM | examples/tau-bench/README.md | 50 | "agent_strategy": "tool-calling", # Select between ["tool-calling", "act", "react", "few-shot"], only tool-calling | CODE |
| MEDIUM | examples/tau-bench/generate_with_tau.py | 25 | "agent_strategy": "tool-calling", # Select between ["tool-calling", "act", "react", "few-shot"] | CODE |
| MEDIUM | examples/strands_sglang/README.md | 3 | This example connects `slime` with [`strands-sglang`](https://github.com/horizon-rl/strands-sglang) (SGLang extension fo | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | slime/backends/sglang_utils/sglang_engine.py | 243 | Run /health_generate on the underlying SGLang HTTP server. Args: timeout: Timeout for the health re | STRING |
| HIGH | examples/tau-bench/openai_tool_adapter.py | 52 | Parse sglang response to OpenAI compatible format Args: response: Raw response text from s | STRING |
| HIGH | examples/tau-bench/generate_with_tau.py | 101 | Generate a complete agent-environment interaction trajectory for tau-bench. This is the main entry point for s | STRING |
| HIGH | examples/strands_sglang/subprocess_interpreter.py | 286 | Generates a temporary file with the given code, executes it, and deletes the file afterward. Args: | STRING |
| HIGH | examples/strands_sglang/subprocess_interpreter.py | 440 | Executes a shell command in a subprocess and captures its output. Args: command (str): The shell co | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_torch_dist_to_hf_parallel.py | 475 | # Check if this is a linear_q_down_proj or linear_kv_down_proj key | COMMENT |
| LOW | tools/preprocess_gpt_oss.py | 132 | # Check if this is a quantized expert weight | COMMENT |
| LOW | slime/backends/megatron_utils/model.py | 549 | # Set grad to zero. | COMMENT |
| LOW | slime/backends/megatron_utils/model_provider.py | 72 | # Check if the custom provider supports vp_stage parameter | COMMENT |
| LOW | slime/backends/megatron_utils/model_provider.py | 195 | # Check if fp8_model_init supports preserve_high_precision_init_val | COMMENT |
| LOW | slime/backends/megatron_utils/data.py | 447 | if val: # Check if val is not empty | CODE |
| LOW | examples/tau-bench/trainable_agents.py | 321 | # Check if done | COMMENT |
| LOW | examples/strands_sglang/subprocess_interpreter.py | 195 | # Check if command is available | STRING |
| LOW | examples/strands_sglang/subprocess_interpreter.py | 208 | # Check if command is available | STRING |
| LOW | examples/search-r1/qa_em_format.py | 86 | # Check if this is a tag | COMMENT |
| LOW | examples/retool/tool_sandbox.py | 242 | # Return result | COMMENT |
| LOW | examples/retool/generate_with_retool.py | 250 | # Check if total length exceeds max context length | COMMENT |
| LOW | examples/retool/generate_with_retool.py | 352 | # Check if maximum tool call count reached | COMMENT |
| LOW | slime_plugins/mbridge/mimo.py | 51 | # Check if this is an MTP layer weight | COMMENT |
| LOW | slime_plugins/mbridge/mimo.py | 80 | # Check if this is a transformer_layer component | COMMENT |
| LOW | slime_plugins/rollout_buffer/buffer.py | 77 | # Check if module has TASK_TYPE constant | COMMENT |
| LOW | slime_plugins/rollout_buffer/buffer.py | 82 | # Check if module has run_rollout function | COMMENT |
| LOW | …ime_plugins/rollout_buffer/generator/base_generator.py | 216 | # Check if instance_id should be skipped | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …megatron_patch/megatron_chunked_grad_coalesce_patch.py | 1 | # Patch _allreduce_non_tensor_model_parallel_grads (and its legacy alias | COMMENT |
| LOW | slime/utils/seqlen_balancing.py | 1 | # Copied from https://github.com/volcengine/verl/blob/468adf22c43b744348051fccd7a5d830c6c3c36a/verl/utils/seqlen_balanci | COMMENT |
| LOW | slime/utils/ppo_utils.py | 661 | else: | COMMENT |
| LOW | slime/utils/ppo_utils.py | 701 | # ------------------------------------------------------------------------- | COMMENT |
| LOW | slime/rollout/rm_hub/math_dapo_utils.py | 1 | # Copyright 2024 Bytedance Ltd. and/or its affiliates | COMMENT |
| LOW | slime/ray/rollout.py | 741 | # Per-rollout aggregate, precomputed at the step level (where we can | COMMENT |
| LOW | tests/test_loss_cp_invariance.py | 161 | COMMENT | |
| LOW | tests/_cp_dist_helpers.py | 41 | import sys | COMMENT |
| LOW | tests/_cp_dist_helpers.py | 141 | # Shared four-rollout fixture, used by both the metric-report distributed | COMMENT |
| LOW | examples/delta_weight_sync/run-glm4.7-30B-A3B-delta.sh | 1 | #!/bin/bash | COMMENT |
| LOW | examples/train_infer_mismatch_helper/mis.yaml | 1 | # Enable importance sampling, details refer to the comments of compute_mis_weights in mis.py | COMMENT |
| LOW | examples/strands_sglang/subprocess_interpreter.py | 1 | # Copyright 2025-2026 Strands RL Contributors | COMMENT |
| LOW | examples/search-r1/qa_em_format.py | 1 | # Adapt from https://github.com/PeterGriffinJin/Search-R1/blob/ceee7b89655ed52f205b9beb98e1190c3eedcfb0/verl/utils/rewar | COMMENT |
| LOW | …es/search-r1/local_dense_retriever/retrieval_server.py | 1 | # Copyright 2024 Bytedance Ltd. and/or its affiliates | COMMENT |
| LOW | examples/search-r1/local_dense_retriever/download.py | 1 | # Copyright 2024 Bytedance Ltd. and/or its affiliates | COMMENT |
| LOW | examples/retool/generate_with_retool.py | 361 | # Tool output is appended verbatim and can push total_length past | COMMENT |
| LOW | scripts/run-gpt-oss-20B.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/run-qwen2.5-0.5B-gb10-smoke.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/low_precision/run-qwen3-30b-a3b-fp8.sh | 1 | #!/bin/bash | COMMENT |
| LOW | slime_plugins/models/gemma4.py | 361 | hidden_size=self.config.hidden_size, | COMMENT |
| LOW | slime_plugins/models/gemma4.py | 621 | COMMENT | |
| LOW | slime_plugins/models/gemma4.py | 1061 | config.gated_linear_unit = True | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/convert_hf_to_int4_direct.py | 118 | CODE | |
| LOW | slime/backends/megatron_utils/stateless_adam.py | 16 | CODE | |
| LOW | …atron_to_hf/processors/quantizer_compressed_tensors.py | 223 | CODE | |
| LOW | slime/utils/http_utils.py | 317 | CODE | |
| LOW | slime/utils/distributed_utils.py | 38 | CODE | |
| LOW | slime/utils/data.py | 203 | CODE | |
| LOW | tests/gemma4/test_gemma4_layer_integration.py | 38 | CODE | |
| LOW | examples/tau-bench/openai_tool_adapter.py | 109 | CODE | |
| LOW | …es/search-r1/local_dense_retriever/retrieval_server.py | 290 | CODE | |
| LOW | examples/retool/tool_sandbox.py | 356 | CODE | |
| LOW | slime_plugins/megatron_bridge/glm4v_moe.py | 471 | CODE | |
| LOW | slime_plugins/megatron_bridge/glm4v_moe.py | 342 | CODE | |
| LOW | slime_plugins/models/gemma4.py | 430 | CODE | |
| LOW | slime_plugins/models/qwen3_5.py | 151 | CODE | |
| LOW | slime_plugins/models/hf_attention.py | 88 | CODE | |
| LOW | slime_plugins/models/qwen3_next.py | 173 | CODE | |
| LOW | slime_plugins/models/glm5/glm5.py | 186 | CODE | |
| LOW | …ime_plugins/models/glm5/ops/tilelang_sparse_mla_bwd.py | 84 | CODE | |
| LOW | slime_plugins/rollout_buffer/buffer.py | 116 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | slime/backends/sglang_utils/sglang_config.py | 16 | worker_type: One of "regular", "prefill", "decode", "placeholder", | STRING |
| LOW⚡ | slime/backends/sglang_utils/sglang_config.py | 18 | "placeholder" reserves GPU slots without creating engines. | STRING |
| LOW | slime/backends/sglang_utils/sglang_config.py | 37 | valid_types = {"regular", "prefill", "decode", "placeholder", "encoder"} | CODE |
| LOW | slime/ray/rollout.py | 120 | worker_type: str = "regular" # "regular", "prefill", "decode", or "placeholder" | CODE |
| LOW | slime/ray/rollout.py | 151 | if self.args.debug_train_only or self.worker_type == "placeholder": | CODE |
| LOW | slime/ray/rollout.py | 324 | values = {g.nodes_per_engine for g in self.server_groups if g.worker_type != "placeholder"} | CODE |
| LOW | slime/ray/rollout.py | 1137 | all_engines=[None] * num_engines if group_cfg.worker_type != "placeholder" else [], | CODE |
| LOW | slime/ray/rollout.py | 147 | Placeholder groups (worker_type="placeholder") skip engine creation entirely. | STRING |
| LOW | tests/test_rollout_validation.py | 25 | worker_type="placeholder", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | slime/rollout/on_policy_distillation.py | 64 | # If you have task rewards, you can add them here. | COMMENT |
| MEDIUM | examples/on_policy_distillation/run-qwen3-8B-opd.sh | 9 | TEACHER_IP="127.0.0.1" # Use localhost here, you can change it to your IP | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | slime/utils/ppo_utils.py | 413 | # Step 3: Compute returns on full response kl tensor. | COMMENT |
| LOW | slime/utils/ppo_utils.py | 428 | # Step 4: Pick up the results corresponding to our local chunk's parts. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/geo3k_vlm/run_geo3k_vlm.sh | 4 | # Usage: | COMMENT |