Run, manage, and scale AI workloads on any AI infrastructure. Use one system to access & manage all AI compute (Kubernetes, Slurm, 20+ clouds, on-prem).
This report presents the forensic synthetic code analysis of skypilot-org/skypilot, a Python project with 10,298 GitHub stars. SynthScan v2.0 examined 571,032 lines of code across 1980 source files, recording 11801 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 26.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 11801 distinct pattern matches across 25 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 | llm/rl-post-training-jobgroup/code/trainer.py | 99 | def save_static_policy_sync_assets(self): | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 211 | def sample_from_replay_buffer(self, | CODE |
| LOW | llm/vicuna-llama-2/scripts/flash_attn_patch.py | 102 | def _prepare_decoder_attention_mask(self, attention_mask, input_shape, | CODE |
| LOW | llm/vicuna-llama-2/scripts/flash_attn_patch.py | 108 | def replace_llama_attn_with_flash_attn(): | CODE |
| LOW | llm/vicuna-llama-2/scripts/xformers_patch.py | 34 | def replace_llama_attn_with_xformers_attn(): | CODE |
| LOW | llm/vicuna-llama-2/scripts/train.py | 87 | def safe_save_model_for_hf_trainer(trainer: transformers.Trainer, | CODE |
| LOW | llm/vicuna-llama-2/scripts/train.py | 244 | def make_supervised_data_module(tokenizer: transformers.PreTrainedTokenizer, | CODE |
| LOW | llm/vicuna-llama-2/scripts/train.py | 276 | def cleanup_incomplete_checkpoints(output_dir): | CODE |
| LOW⚡ | llm/batch_inference/scripts/monitor_progress.py | 356 | def get_throughput_chart_data(self) -> Dict: | CODE |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 62 | def update_throughput_history(self, worker_id: str, metrics: Dict): | CODE |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 598 | def get_token_throughput_chart_data(self) -> Dict: | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 103 | def save_static_policy_sync_assets(self): | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 225 | def sample_from_replay_buffer(self, | CODE |
| LOW | sky/task.py | 129 | def _check_docker_login_config(task_envs: Dict[str, str], | CODE |
| LOW | sky/task.py | 187 | def _with_docker_login_config( | CODE |
| LOW | sky/task.py | 226 | def _with_docker_username_for_runpod( | CODE |
| LOW | sky/task.py | 247 | def get_plaintext_envs_and_secrets( | CODE |
| LOW | sky/task.py | 556 | def expand_and_validate_file_mounts(self): | CODE |
| LOW | sky/task.py | 603 | def _validate_mount_dest_is_absolute(self, path: str, location: str): | CODE |
| LOW | sky/task.py | 616 | def expand_and_validate_workdir(self): | CODE |
| LOW | sky/task.py | 1045 | def resolve_and_validate_volumes(self) -> None: | CODE |
| LOW | sky/task.py | 1329 | def get_estimated_inputs_size_gigabytes(self) -> Optional[float]: | CODE |
| LOW | sky/task.py | 1354 | def get_estimated_outputs_size_gigabytes(self) -> Optional[float]: | CODE |
| LOW | sky/task.py | 1358 | def _ensure_consistent_priority( | CODE |
| LOW | sky/task.py | 1865 | def get_local_to_remote_file_mounts(self) -> Optional[Dict[str, str]]: | CODE |
| LOW | sky/task.py | 1886 | def get_cloud_to_remote_file_mounts(self) -> Optional[Dict[str, str]]: | CODE |
| LOW | sky/task.py | 1929 | def update_envs_and_secrets_from_workdir(self) -> 'Task': | CODE |
| LOW | sky/task.py | 2118 | def get_required_cloud_features( | CODE |
| LOW | sky/task.py | 2202 | def _factor_out_common_resource_fields(configs: List[Dict[str, Union[str, | CODE |
| LOW | sky/sky_logging.py | 250 | def generate_tmp_logging_file_path(file_name: str) -> str: | CODE |
| LOW | sky/execution.py | 62 | def _maybe_clone_disk_from_cluster(clone_disk_from: Optional[str], | CODE |
| LOW | sky/execution.py | 159 | def _compute_set_autostop_args_for_hooks_only_relaunch( | CODE |
| LOW | sky/check.py | 99 | def _get_workspace_allowed_clouds(workspace: str) -> List[str]: | CODE |
| LOW | sky/check.py | 122 | def _get_workspace_cloud_capabilities( | CODE |
| LOW | sky/check.py | 181 | def _execute_check_logic_for_workspace( | CODE |
| LOW | sky/check.py | 191 | def check_one_cloud_one_capability( | CODE |
| LOW | sky/check.py | 501 | def get_cached_enabled_clouds_or_refresh( | CODE |
| LOW | sky/check.py | 548 | def get_cloud_credential_file_mounts( | CODE |
| LOW | sky/global_user_state.py | 365 | def _sqlite_supports_returning() -> bool: | CODE |
| LOW | sky/global_user_state.py | 658 | def set_user_preferred_workspace(user_id: str, | CODE |
| LOW | sky/global_user_state.py | 1078 | def get_terminal_or_last_status_change_event( | CODE |
| LOW | sky/global_user_state.py | 1100 | def _get_last_or_terminal_cluster_event_multiple( | CODE |
| LOW | sky/global_user_state.py | 1138 | def get_last_cluster_event_of_type_multiple( | CODE |
| LOW | sky/global_user_state.py | 1177 | def get_last_status_change_times( | CODE |
| LOW | sky/global_user_state.py | 1224 | def cleanup_cluster_events_with_retention(retention_hours: float, | CODE |
| LOW | sky/global_user_state.py | 1238 | async def cluster_event_retention_daemon(): | CODE |
| LOW | sky/global_user_state.py | 1386 | def get_cluster_events_by_name( | CODE |
| LOW | sky/global_user_state.py | 1429 | def _get_user_hash_or_current_user(user_hash: Optional[str]) -> str: | CODE |
| LOW | sky/global_user_state.py | 1531 | def get_handle_from_cluster_name( | CODE |
| LOW | sky/global_user_state.py | 1544 | def get_handles_from_cluster_names( | CODE |
| LOW | sky/global_user_state.py | 1568 | def get_cluster_name_to_handle_map( | CODE |
| LOW | sky/global_user_state.py | 1587 | async def get_status_from_cluster_name_async( | CODE |
| LOW | sky/global_user_state.py | 1604 | def get_status_from_cluster_name( | CODE |
| LOW | sky/global_user_state.py | 1659 | def set_cluster_autostop_value(cluster_name: str, idle_minutes: int, | CODE |
| LOW | sky/global_user_state.py | 1697 | def get_cluster_provision_log_path(cluster_name: str) -> Optional[str]: | CODE |
| LOW | sky/global_user_state.py | 1708 | def get_all_cluster_provision_log_paths() -> List[str]: | CODE |
| LOW | sky/global_user_state.py | 1717 | def get_cluster_history_provision_log_path(cluster_name: str) -> Optional[str]: | CODE |
| LOW | sky/global_user_state.py | 1771 | def get_cluster_storage_mounts_metadata( | CODE |
| LOW | sky/global_user_state.py | 1783 | def set_cluster_storage_mounts_metadata( | CODE |
| LOW | sky/global_user_state.py | 1799 | def get_cluster_skylet_ssh_tunnel_metadata( | CODE |
| 6451 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | llm/batch_inference/scripts/monitor_progress.py | 974 | if (context.parsed.y !== null) {{ | CODE |
| HIGH | llm/batch_inference/scripts/monitor_progress.py | 1034 | if (context.parsed.y !== null) {{ | CODE |
| HIGH | llm/batch_inference/scripts/monitor_progress.py | 1297 | if (context.parsed.y !== null) {{ | CODE |
| HIGH | llm/batch_inference/scripts/monitor_progress.py | 1359 | if (event.key === 'F5' || (event.ctrlKey && event.key === 'r')) {{ | CODE |
| HIGH | sky/task.py | 732 | # ``secrets:`` (null) or array form have no inline values. | COMMENT |
| HIGH | sky/cloud_stores.py | 130 | '2> /dev/null || true; ' | CODE |
| HIGH | sky/global_user_state.py | 884 | # set owner to server default (null) | COMMENT |
| HIGH | sky/global_user_state.py | 886 | # set storage_mounts_metadata to server default (null) | COMMENT |
| HIGH⚡ | sky/provision/docker_utils.py | 46 | '(sudo apt-get update && sudo apt-get install -y unzip)) && ' | CODE |
| HIGH⚡ | sky/provision/docker_utils.py | 49 | 'unzip -q /tmp/awscliv2.zip -d /tmp && sudo /tmp/aws/install ' | CODE |
| HIGH⚡ | sky/provision/docker_utils.py | 444 | 'sudo systemctl stop jupyter > /dev/null 2>&1 || true;' | CODE |
| HIGH⚡ | sky/provision/docker_utils.py | 445 | 'sudo systemctl disable jupyter > /dev/null 2>&1 || true;' | CODE |
| HIGH⚡ | sky/provision/docker_utils.py | 446 | 'sudo systemctl stop jupyterhub > /dev/null 2>&1 || true;' | CODE |
| HIGH⚡ | sky/provision/docker_utils.py | 447 | 'sudo systemctl disable jupyterhub > /dev/null 2>&1 || true;', | CODE |
| HIGH | sky/provision/docker_utils.py | 348 | '--quiet || true') | CODE |
| HIGH | sky/provision/docker_utils.py | 382 | '{ which jq || sudo apt update && sudo apt install -y jq; } && ' | CODE |
| HIGH | sky/provision/docker_utils.py | 382 | '{ which jq || sudo apt update && sudo apt install -y jq; } && ' | CODE |
| HIGH | sky/provision/docker_utils.py | 424 | 'flock -x -w 120 200 || exit 1; ' | CODE |
| HIGH | sky/provision/docker_utils.py | 480 | f'echo "Port {port}" | sudo tee -a /etc/ssh/sshd_config > /dev/null;' | CODE |
| HIGH | sky/provision/docker_utils.py | 579 | shm_output = self._run('cat /proc/meminfo || true') | CODE |
| HIGH | sky/provision/instance_setup.py | 43 | 'which prlimit && for id in $(pgrep -f raylet/raylet); ' | CODE |
| HIGH | sky/provision/instance_setup.py | 44 | 'do sudo prlimit --nofile=1048576:1048576 --pid=$id || true; done;') | CODE |
| HIGH | sky/provision/instance_setup.py | 135 | f'2> /dev/null || echo {constants.SKY_REMOTE_RAY_PORT});' | CODE |
| HIGH | sky/provision/slurm/instance.py | 583 | f'touch {container_init_done_dir}/$SLURM_PROCID && sleep infinity') | STRING |
| HIGH | sky/provision/slurm/instance.py | 606 | f' if ! kill -0 $CONTAINER_PID 2>/dev/null; then\n' | STRING |
| HIGH | sky/provision/slurm/instance.py | 650 | kill $(cat "{skypilot_runtime_dir}/.sky/skylet_pid") 2>/dev/null || true | CODE |
| HIGH | sky/provision/slurm/instance.py | 657 | srun --nodes={num_nodes} --ntasks-per-node=1 enroot remove -f {shlex.quote(_enroot_container_name_global_scope(clust | CODE |
| HIGH⚡ | sky/provision/paperspace/utils.py | 128 | 'if ! command -v docker &> /dev/null; then \n' | CODE |
| HIGH⚡ | sky/provision/paperspace/utils.py | 135 | '$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \\\n' | CODE |
| HIGH | sky/provision/kubernetes/instance.py | 992 | ' timeout 2 sudo -l >/dev/null 2>&1 && echo succeed || ' | CODE |
| HIGH | sky/provision/kubernetes/instance.py | 1016 | 'while ! grep -q "Fetched" /tmp/apt-update.log 2>/dev/null; do ' | CODE |
| HIGH | sky/provision/kubernetes/instance.py | 1018 | ' cat /tmp/apt-update.log || true; ' | CODE |
| HIGH | sky/provision/kubernetes/utils.py | 3650 | debug_cmd = 'kubectl describe ingress && kubectl describe ingressclass' | CODE |
| HIGH⚡ | sky/skylet/constants.py | 232 | 'sudo which nvidia-smi && echo "Checking Nvidia ECC Mode" && ' | CODE |
| HIGH⚡ | sky/skylet/constants.py | 239 | '{ sudo reboot || echo "Failed to reboot. ECC mode may not be disabled"; } ' | CODE |
| HIGH | sky/skylet/constants.py | 93 | f'cat {SKY_RAY_PATH_FILE} 2> /dev/null || which ray)') | CODE |
| HIGH | sky/skylet/constants.py | 99 | SKY_SLURM_UNSET_PYTHONPATH = ('$(which env 2>/dev/null || echo /usr/bin/env) ' | CODE |
| HIGH | sky/skylet/constants.py | 133 | 'unset VIRTUAL_ENV && unset VIRTUAL_ENV_PROMPT') | CODE |
| HIGH | sky/skylet/constants.py | 282 | '{ conda init && source ~/.bashrc; };' | CODE |
| HIGH | sky/skylet/constants.py | 446 | '(systemctl reload sshd || service ssh reload); ' | CODE |
| HIGH | sky/skylet/job_lib.py | 491 | # status does not need to be set if the end_at is not null, since | COMMENT |
| HIGH | sky/skylet/job_lib.py | 396 | 'INSERT INTO jobs VALUES (null, ?, ?, ?, ?, ?, ?, null, ?, 0, null, ?, null)', # pylint: disable=line-too-l | CODE |
| HIGH | sky/skylet/job_lib.py | 401 | 'INSERT INTO jobs VALUES (null, ?, ?, ?, ?, ?, ?, null, ?, 0, null, ?)', # pylint: disable=line-too-long | CODE |
| HIGH | sky/skylet/log_lib.py | 371 | . $(conda info --base 2> /dev/null)/etc/profile.d/conda.sh > /dev/null 2>&1 || true | CODE |
| HIGH | sky/skylet/log_lib.py | 371 | . $(conda info --base 2> /dev/null)/etc/profile.d/conda.sh > /dev/null 2>&1 || true | CODE |
| HIGH⚡ | sky/skylet/providers/command_runner.py | 290 | 'sudo systemctl stop jupyter > /dev/null 2>&1 || true;' | CODE |
| HIGH⚡ | sky/skylet/providers/command_runner.py | 291 | 'sudo systemctl disable jupyter > /dev/null 2>&1 || true;' | CODE |
| HIGH⚡ | sky/skylet/providers/command_runner.py | 292 | 'sudo systemctl stop jupyterhub > /dev/null 2>&1 || true;' | CODE |
| HIGH⚡ | sky/skylet/providers/command_runner.py | 293 | 'sudo systemctl disable jupyterhub > /dev/null 2>&1 || true;', | CODE |
| HIGH | sky/skylet/ray_patches/__init__.py | 47 | which patch >/dev/null 2>&1 || sudo yum install -y patch || true | CODE |
| HIGH | sky/backends/docker_utils.py | 23 | RUN apt-get update && apt-get -y install sudo | CODE |
| HIGH | sky/backends/docker_utils.py | 31 | '/dev/null || true ' | CODE |
| HIGH | sky/backends/docker_utils.py | 56 | setup_command: commands to run for setup. eg. "pip install numpy && apt | STRING |
| HIGH | sky/backends/backend_utils.py | 618 | # it present but null). This happens when restarting a cluster | COMMENT |
| HIGH⚡ | sky/backends/task_codegen.py | 164 | tac $file | grep "vfs cache: cleaned:" -m 1 | grep "in use 0, to upload 0, uploading 0" -q || exitco | CODE |
| HIGH⚡ | sky/backends/task_codegen.py | 168 | CACHE_STATUS=$(tac $file | grep "vfs cache: cleaned:" -m 1 | sed 's/.*vfs cache: cleaned: //' 2> | CODE |
| HIGH⚡ | sky/backends/task_codegen.py | 170 | UPLOADING_FILES=$(tac $file | head -30 | grep -E "queuing for upload" | head -2 | sed 's/.*INFO | CODE |
| HIGH⚡ | sky/backends/task_codegen.py | 178 | LAST_LINE=$(tac $file | grep -v "^$" | head -1 | sed 's/.*INFO : //' | sed 's/.*ERROR : //' | CODE |
| HIGH | sky/backends/local_docker_backend.py | 62 | container with a sleep task (tail -f /dev/null). (Task run commands are | STRING |
| HIGH⚡ | sky/backends/playground/demo_dockerutils.py | 12 | setup_command = 'apt-get update && apt-get install htop && pip install ' | CODE |
| 324 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | llm/vicuna-llama-2/scripts/train.py | 17 | # ============================================================================== | COMMENT |
| MEDIUM | sky/core.py | 59 | # ====================== | COMMENT |
| MEDIUM | sky/core.py | 61 | # ====================== | COMMENT |
| MEDIUM | sky/core.py | 1201 | # ================== | COMMENT |
| MEDIUM | sky/core.py | 1203 | # ================== | COMMENT |
| MEDIUM | sky/core.py | 1621 | # ====================== | COMMENT |
| MEDIUM | sky/core.py | 1623 | # ====================== | COMMENT |
| MEDIUM | sky/core.py | 1663 | # =================== | COMMENT |
| MEDIUM | sky/core.py | 1665 | # =================== | COMMENT |
| MEDIUM | sky/core.py | 1939 | # ================= | COMMENT |
| MEDIUM | sky/core.py | 1941 | # ================= | COMMENT |
| MEDIUM | sky/provision/seeweb/instance.py | 505 | # ============================================================================= | COMMENT |
| MEDIUM | sky/provision/seeweb/instance.py | 507 | # ============================================================================= | COMMENT |
| MEDIUM | sky/backends/backend_utils.py | 3370 | # ===================================== | COMMENT |
| MEDIUM | sky/catalog/common.py | 921 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/catalog/common.py | 923 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/server/requests/payloads.py | 1066 | # ============================================================================= | COMMENT |
| MEDIUM | sky/server/requests/payloads.py | 1068 | # ============================================================================= | COMMENT |
| MEDIUM | sky/utils/controller_utils.py | 1034 | # ================================================================ | COMMENT |
| MEDIUM | sky/utils/controller_utils.py | 1036 | # ================================================================ | COMMENT |
| MEDIUM | sky/workspaces/core.py | 66 | # ========================= | COMMENT |
| MEDIUM | sky/workspaces/core.py | 68 | # ========================= | COMMENT |
| MEDIUM | sky/workspaces/core.py | 613 | # ========================= | COMMENT |
| MEDIUM | sky/workspaces/core.py | 615 | # ========================= | COMMENT |
| MEDIUM | sky/workspaces/core.py | 1097 | # =========================== | COMMENT |
| MEDIUM | sky/workspaces/core.py | 1099 | # =========================== | COMMENT |
| MEDIUM⚡ | sky/dashboard/src/lib/analytics.js | 17 | // ── Core provider-backed tracking ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | sky/dashboard/src/lib/analytics.js | 27 | // ── Domain helpers (thin wrappers over trackEvent) ────────────────────────── | COMMENT |
| MEDIUM | sky/recipes/db.py | 162 | # ============================================================================= | COMMENT |
| MEDIUM | sky/recipes/db.py | 164 | # ============================================================================= | COMMENT |
| MEDIUM | sky/recipes/db.py | 242 | # ============================================================================= | COMMENT |
| MEDIUM | sky/recipes/db.py | 244 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | sky/batch/worker.py | 27 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sky/batch/worker.py | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 62 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 190 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 192 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 282 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 284 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 306 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sky/batch/worker.py | 308 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 228 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 230 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 253 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 255 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 358 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 360 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 456 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 458 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 623 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 625 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 739 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 741 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 825 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 827 | # ------------------------------------------------------------------ | COMMENT |
| 262 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 90 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | setup.py | 109 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | setup.py | 122 | except Exception as e: # pylint: disable=broad-except | CODE |
| MEDIUM | setup.py | 117 | def revert_commit_hash(): | CODE |
| LOW⚡ | llm/train-eval-jobgroup/code/evaluator.py | 176 | except Exception as e: | CODE |
| MEDIUM⚡ | llm/train-eval-jobgroup/code/evaluator.py | 177 | print(f"Error evaluating {checkpoint_path}: {e}") | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 131 | except Exception as e: | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 167 | except Exception as e: | CODE |
| MEDIUM | llm/rl-post-training-jobgroup/code/trainer.py | 168 | print(f"Error generating response: {e}") | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 208 | except Exception as e: | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 228 | except Exception as e: | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 242 | except Exception as e: | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 339 | except Exception as e: | CODE |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 365 | except Exception as e: | CODE |
| LOW | llm/rl-post-training-jobgroup/code/data_server.py | 78 | except Exception as e: | CODE |
| MEDIUM | llm/rl-post-training-jobgroup/code/data_server.py | 79 | print(f"Error loading dataset: {e}") | CODE |
| LOW | llm/rag/scripts/serve_rag.py | 100 | except Exception as e: | CODE |
| LOW | llm/rag/scripts/serve_rag.py | 217 | except Exception as e: | CODE |
| LOW | llm/rag/scripts/serve_rag.py | 243 | except Exception as e: | CODE |
| LOW | llm/rag/scripts/serve_rag.py | 303 | except Exception as e: | CODE |
| LOW | llm/rag/scripts/serve_rag.py | 343 | except Exception as e: | CODE |
| LOW | llm/rag/scripts/compute_embeddings.py | 223 | except Exception as e: | CODE |
| LOW | llm/rag/scripts/build_rag.py | 58 | except Exception as e: | CODE |
| LOW | llm/rag/scripts/build_rag.py | 142 | except Exception as e: | CODE |
| MEDIUM⚡ | llm/batch_inference/scripts/monitor_progress.py | 354 | print(f"Error updating metrics: {e}") | CODE |
| MEDIUM | llm/batch_inference/scripts/monitor_progress.py | 230 | print(f"Error reading history for worker {worker_id}: {e}") | CODE |
| MEDIUM | llm/batch_inference/scripts/monitor_progress.py | 271 | print(f"Error reading metrics from {file}: {e}") | CODE |
| LOW⚡ | llm/batch_inference/scripts/monitor_progress.py | 353 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 229 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 270 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 152 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 161 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 198 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 221 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 245 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 248 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 329 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 136 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 220 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 248 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 470 | except Exception as e: | CODE |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 505 | except Exception as e: | CODE |
| LOW | …l-code-execution-sandbox/code/sandbox_reward_server.py | 153 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW⚡ | …l-code-execution-sandbox/code/sandbox_reward_server.py | 212 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW⚡ | …l-code-execution-sandbox/code/sandbox_reward_server.py | 219 | except Exception as e2: # pylint: disable=broad-except | CODE |
| LOW⚡ | …l-code-execution-sandbox/code/sandbox_reward_server.py | 228 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 135 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 171 | except Exception as e: # pylint: disable=broad-except | CODE |
| MEDIUM | llm/rl-code-execution-sandbox/code/trainer.py | 172 | print(f"Error generating response: {e}") | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 222 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 242 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 256 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 353 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 379 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | llm/rl-code-execution-sandbox/code/data_server.py | 173 | except Exception as e: # pylint: disable=broad-except | CODE |
| MEDIUM | llm/rl-code-execution-sandbox/code/data_server.py | 174 | print(f"Error loading dataset: {e}") | CODE |
| LOW | llm/distributed-rl-eval/src/eval_head.py | 186 | except Exception as e: | CODE |
| LOW | llm/distributed-rl-eval/src/eval_head.py | 209 | except Exception as e: | CODE |
| MEDIUM | llm/distributed-rl-eval/src/eval_head.py | 210 | # print(f"Error getting SkyServe services: {e}") | COMMENT |
| LOW | llm/distributed-rl-eval/src/eval_head.py | 254 | except Exception as e: | CODE |
| 865 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | llm/rag/scripts/serve_rag.py | 126 | # Create a set to track unique content | COMMENT |
| MEDIUM | llm/rag/scripts/serve_rag.py | 402 | # Initialize global variables | COMMENT |
| MEDIUM | llm/rag/scripts/build_rag.py | 91 | # Create a temporary directory for building the database. The | COMMENT |
| MEDIUM | llm/batch_inference/batch_compute_vectors.py | 84 | # Create a unique worker ID | COMMENT |
| MEDIUM | llm/batch_inference/scripts/monitor_progress.py | 462 | # Create a dataset for each worker session | COMMENT |
| MEDIUM | llm/batch_inference/scripts/monitor_progress.py | 485 | # Create the dataset for this worker session | COMMENT |
| MEDIUM | llm/batch_inference/scripts/monitor_progress.py | 705 | # Create a bin key by rounding the timestamp to the nearest bin | COMMENT |
| MEDIUM | llm/batch_inference/scripts/monitor_progress.py | 735 | # Create a single data point at the current time with a value of 0 | COMMENT |
| MEDIUM | llm/batch_inference/scripts/text_vector_processor.py | 540 | # Create the output directory if it doesn't exist | COMMENT |
| MEDIUM | sky/global_user_state.py | 1105 | # Create a priority expression: TERMINAL (0) before STATUS_CHANGE (1) | COMMENT |
| MEDIUM | sky/optimizer.py | 129 | # This function is effectful: mutates every node in 'dag' by setting | COMMENT |
| MEDIUM | sky/optimizer.py | 566 | # Define the decision variables. | COMMENT |
| MEDIUM | sky/optimizer.py | 923 | # The following code is to generate the table | COMMENT |
| MEDIUM | sky/optimizer.py | 1083 | # Create a temporary single-task DAG for optimization | COMMENT |
| MEDIUM | sky/provision/vsphere/instance.py | 301 | # Create the customization spec | COMMENT |
| MEDIUM | sky/provision/vsphere/instance.py | 305 | # Create a custom script to inject the ssh public key into the instance | COMMENT |
| MEDIUM | sky/provision/vsphere/vsphere_utils.py | 226 | # Create the Field if not exsit, then set value. | COMMENT |
| MEDIUM | sky/provision/vsphere/common/vapiconnect.py | 63 | # Create the stub for the session service and login by creating a session. | COMMENT |
| MEDIUM | sky/provision/vsphere/common/cls_api_helper.py | 58 | # Create a local content library backed the VC datastore | COMMENT |
| MEDIUM | sky/provision/vsphere/common/cls_api_helper.py | 71 | # Create a new library item in the content library for uploading the | COMMENT |
| MEDIUM | sky/provision/vsphere/common/cls_api_helper.py | 151 | # Create a library item | COMMENT |
| MEDIUM | sky/provision/vsphere/common/cls_api_helper.py | 158 | # Create a new upload session for uploading the files | COMMENT |
| MEDIUM | sky/provision/vsphere/common/vim_utils.py | 22 | # Create a set for the names for faster lookups | COMMENT |
| MEDIUM | sky/provision/oci/query_utils.py | 299 | # Create the skypilot_vcn and related resources | COMMENT |
| MEDIUM | sky/provision/oci/query_utils.py | 341 | # Create a public subnet. | COMMENT |
| MEDIUM | sky/provision/gcp/instance_utils.py | 1131 | # Create a new MIG with size 0 and resize it later for triggering | COMMENT |
| MEDIUM | sky/provision/gcp/config.py | 738 | # Create a SkyPilot VPC network if it doesn't exist | COMMENT |
| MEDIUM | sky/provision/gcp/volume_utils.py | 17 | # Define the default mapping from disk tiers to disk types. | COMMENT |
| MEDIUM | sky/provision/gcp/mig_utils.py | 71 | # Create the regional instance template request | COMMENT |
| MEDIUM | sky/provision/runpod/api/commands.py | 1 | """This module provides functions to generate GraphQL mutations for deploying | STRING |
| MEDIUM | sky/provision/runpod/api/commands.py | 58 | """This module provides functions to generate GraphQL mutations for | STRING |
| MEDIUM | sky/provision/runpod/api/pods.py | 1 | """This module provides functions to generate GraphQL mutations for deploying | STRING |
| MEDIUM | sky/provision/primeintellect/utils.py | 124 | # Create a more informative error message | COMMENT |
| MEDIUM | sky/provision/lambda_cloud/lambda_utils.py | 327 | # Create a data structure that matches the API schema | COMMENT |
| MEDIUM | sky/provision/aws/config.py | 161 | # Create the placement group | COMMENT |
| MEDIUM | sky/provision/kubernetes/instance.py | 571 | # Create a set of pod names we're waiting for | COMMENT |
| MEDIUM | sky/provision/kubernetes/instance.py | 729 | # Create a set of pod names we're waiting for | COMMENT |
| MEDIUM | sky/provision/kubernetes/config.py | 514 | # Create the role in the skypilot-system namespace if it does not exist. | COMMENT |
| MEDIUM | sky/provision/kubernetes/config.py | 526 | # Create the role binding in the skypilot-system namespace, and have | COMMENT |
| MEDIUM | sky/skylet/constants.py | 288 | # Create a separate python environment for SkyPilot dependencies. | COMMENT |
| MEDIUM | sky/skylet/providers/ibm/vpc_provider.py | 778 | # Define the function parameters | COMMENT |
| MEDIUM | sky/skylet/providers/ibm/node_provider.py | 732 | # Create a VPC when creating a head node | COMMENT |
| MEDIUM | sky/backends/docker_utils.py | 175 | # Create an empty dir | COMMENT |
| MEDIUM | sky/backends/backend_utils.py | 2111 | # Create a session with retry logic | COMMENT |
| MEDIUM | sky/backends/local_docker_backend.py | 98 | # Define the Docker-in-Docker mount | COMMENT |
| MEDIUM | sky/catalog/common.py | 472 | # The following code is redundant with the code in resources.py::_set_cpus() | COMMENT |
| MEDIUM | sky/catalog/common.py | 496 | # The following code is partially redundant with the code in | COMMENT |
| MEDIUM | sky/catalog/hyperbolic_catalog.py | 11 | # Initialize cloud variable at module level | COMMENT |
| MEDIUM | sky/catalog/data_fetchers/fetch_vsphere.py | 312 | # Create an empty DataFrame with the desired columns | COMMENT |
| MEDIUM | sky/catalog/data_fetchers/fetch_seeweb.py | 273 | # Create a row for each region | COMMENT |
| MEDIUM⚡ | sky/ssh_node_pools/deploy/deploy.py | 956 | # Create a Kubernetes Service for dcgm-exporter with Prometheus | STRING |
| MEDIUM | sky/ssh_node_pools/deploy/deploy.py | 672 | # Create the directory for the kubeconfig file if it doesn't exist | STRING |
| MEDIUM | sky/ssh_node_pools/deploy/tunnel/ssh-tunnel.sh | 197 | # Create a temporary file for the JSON output to avoid shell escaping issues | COMMENT |
| MEDIUM | sky/server/server.py | 1209 | # Create the session with the token | COMMENT |
| MEDIUM | sky/server/server.py | 2102 | # Create a temporary zip file | COMMENT |
| MEDIUM | sky/server/requests/process.py | 73 | # Define the worker function outside of the class to avoid pickling self | COMMENT |
| MEDIUM | sky/server/requests/queues/mp_queue.py | 25 | # Defining a local function instead of a lambda function | COMMENT |
| MEDIUM | sky/utils/directory_utils.py | 5 | # This file is in '<project_root>/sky/utils/directory_utils.py' | COMMENT |
| MEDIUM | sky/utils/context.py | 416 | # Create a copy of the current contextvars Context so that setting the | COMMENT |
| MEDIUM | sky/utils/context.py | 442 | # Create a copy of the current contextvars Context so that setting the | COMMENT |
| 216 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm/vicuna-llama-2/scripts/flash_attn_patch.py | 2 | CODE | |
| LOW | llm/vicuna-llama-2/scripts/flash_attn_patch.py | 10 | CODE | |
| LOW | llm/rag/scripts/serve_rag.py | 8 | CODE | |
| LOW | llm/rag/scripts/serve_rag.py | 10 | CODE | |
| LOW | llm/rag/scripts/serve_rag.py | 10 | CODE | |
| LOW | llm/rag/scripts/serve_rag.py | 20 | CODE | |
| LOW | llm/rag/scripts/compute_embeddings.py | 8 | CODE | |
| LOW | llm/rag/scripts/build_rag.py | 7 | CODE | |
| LOW | llm/rag/scripts/build_rag.py | 19 | CODE | |
| LOW | llm/gpt-oss-finetuning/sft/train.py | 10 | CODE | |
| LOW | llm/batch_inference/batch_compute_vectors.py | 13 | CODE | |
| LOW | llm/batch_inference/batch_compute_vectors.py | 14 | CODE | |
| LOW | llm/batch_inference/batch_compute_vectors.py | 15 | CODE | |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 8 | CODE | |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 10 | CODE | |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 12 | CODE | |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 14 | CODE | |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 5 | CODE | |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 15 | CODE | |
| LOW | llm/distributed-rl-eval/src/eval_head.py | 31 | CODE | |
| LOW | llm/distributed-rl-eval/src/game_server.py | 9 | CODE | |
| LOW | llm/distributed-rl-eval/src/game_server.py | 10 | CODE | |
| LOW | sky/execution.py | 42 | CODE | |
| LOW | sky/execution.py | 43 | CODE | |
| LOW | sky/global_user_state.py | 44 | CODE | |
| LOW | sky/global_user_state.py | 45 | CODE | |
| LOW | sky/global_user_state.py | 47 | CODE | |
| LOW | sky/__init__.py | 93 | CODE | |
| LOW | sky/__init__.py | 94 | CODE | |
| LOW | sky/__init__.py | 96 | CODE | |
| LOW | sky/__init__.py | 97 | CODE | |
| LOW | sky/__init__.py | 98 | CODE | |
| LOW | sky/__init__.py | 99 | CODE | |
| LOW | sky/__init__.py | 100 | CODE | |
| LOW | sky/__init__.py | 101 | CODE | |
| LOW | sky/__init__.py | 102 | CODE | |
| LOW | sky/__init__.py | 103 | CODE | |
| LOW | sky/__init__.py | 104 | CODE | |
| LOW | sky/__init__.py | 105 | CODE | |
| LOW | sky/__init__.py | 106 | CODE | |
| LOW | sky/__init__.py | 107 | CODE | |
| LOW | sky/__init__.py | 108 | CODE | |
| LOW | sky/__init__.py | 109 | CODE | |
| LOW | sky/__init__.py | 110 | CODE | |
| LOW | sky/__init__.py | 111 | CODE | |
| LOW | sky/__init__.py | 112 | CODE | |
| LOW | sky/__init__.py | 113 | CODE | |
| LOW | sky/__init__.py | 114 | CODE | |
| LOW | sky/__init__.py | 115 | CODE | |
| LOW | sky/__init__.py | 117 | CODE | |
| LOW | sky/__init__.py | 118 | CODE | |
| LOW | sky/__init__.py | 119 | CODE | |
| LOW | sky/__init__.py | 120 | CODE | |
| LOW | sky/__init__.py | 121 | CODE | |
| LOW | sky/__init__.py | 122 | CODE | |
| LOW | sky/__init__.py | 123 | CODE | |
| LOW | sky/__init__.py | 124 | CODE | |
| LOW | sky/__init__.py | 125 | CODE | |
| LOW | sky/__init__.py | 126 | CODE | |
| LOW | sky/__init__.py | 127 | CODE | |
| 826 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | llm/rag/batch_compute_embeddings.py | 0 | calculate the range of indices this job should process. args: start_idx: global start index end_idx: global end index jo | STRING |
| HIGH | llm/batch_inference/batch_compute_vectors.py | 0 | calculate the range of indices this job should process. args: start_idx: global start index end_idx: global end index jo | STRING |
| HIGH | examples/vector_database/batch_compute_vectors.py | 0 | calculate the range of indices this job should process. args: start_idx: global start index end_idx: global end index jo | STRING |
| HIGH | sky/models.py | 0 | set state from pickled state, for backward compatibility. | STRING |
| HIGH | sky/resources.py | 0 | set state from pickled state, for backward compatibility. | STRING |
| HIGH | sky/serve/service_spec.py | 0 | set state from pickled state, for backward compatibility. | STRING |
| HIGH | sky/serve/replica_managers.py | 0 | set state from pickled state, for backward compatibility. | STRING |
| HIGH | sky/core.py | 0 | tears down the kubernetes cluster started by local_up. | STRING |
| HIGH | sky/server/server.py | 0 | tears down the kubernetes cluster started by local_up. | STRING |
| HIGH | sky/client/sdk.py | 0 | tears down the kubernetes cluster started by local_up. | STRING |
| HIGH | sky/skylet/job_lib.py | 0 | convert this python enum value to protobuf enum value. | STRING |
| HIGH | sky/skylet/autostop_lib.py | 0 | convert this python enum value to protobuf enum value. | STRING |
| HIGH | sky/jobs/state.py | 0 | convert this python enum value to protobuf enum value. | STRING |
| HIGH | sky/skylet/log_lib.py | 0 | process the stream of a process in threads, blocking. | STRING |
| HIGH | …s/testdata/slurm_codegen/slurm_single_node_with_gpu.py | 0 | process the stream of a process in threads, blocking. | STRING |
| HIGH | …testdata/slurm_codegen/slurm_codegen_with_container.py | 0 | process the stream of a process in threads, blocking. | STRING |
| HIGH | …/backends/testdata/ray_codegen/single_node_with_gpu.py | 0 | process the stream of a process in threads, blocking. | STRING |
| HIGH | …sky/backends/testdata/ray_codegen/multi_node_2nodes.py | 0 | process the stream of a process in threads, blocking. | STRING |
| HIGH | sky/skylet/log_lib.py | 0 | runs a command and logs its output to a file. args: cmd: the command to run. log_path: the path to the log file. stream_ | STRING |
| HIGH | …s/testdata/slurm_codegen/slurm_single_node_with_gpu.py | 0 | runs a command and logs its output to a file. args: cmd: the command to run. log_path: the path to the log file. stream_ | STRING |
| HIGH | …testdata/slurm_codegen/slurm_codegen_with_container.py | 0 | runs a command and logs its output to a file. args: cmd: the command to run. log_path: the path to the log file. stream_ | STRING |
| HIGH | …/backends/testdata/ray_codegen/single_node_with_gpu.py | 0 | runs a command and logs its output to a file. args: cmd: the command to run. log_path: the path to the log file. stream_ | STRING |
| HIGH | …sky/backends/testdata/ray_codegen/multi_node_2nodes.py | 0 | runs a command and logs its output to a file. args: cmd: the command to run. log_path: the path to the log file. stream_ | STRING |
| HIGH | sky/skylet/log_lib.py | 0 | \ #!/bin/bash source ~/.bashrc set -a . $(conda info --base 2> /dev/null)/etc/profile.d/conda.sh > /dev/null 2>&1 || tru | STRING |
| HIGH | …s/testdata/slurm_codegen/slurm_single_node_with_gpu.py | 0 | \ #!/bin/bash source ~/.bashrc set -a . $(conda info --base 2> /dev/null)/etc/profile.d/conda.sh > /dev/null 2>&1 || tru | STRING |
| HIGH | …testdata/slurm_codegen/slurm_codegen_with_container.py | 0 | \ #!/bin/bash source ~/.bashrc set -a . $(conda info --base 2> /dev/null)/etc/profile.d/conda.sh > /dev/null 2>&1 || tru | STRING |
| HIGH | …/backends/testdata/ray_codegen/single_node_with_gpu.py | 0 | \ #!/bin/bash source ~/.bashrc set -a . $(conda info --base 2> /dev/null)/etc/profile.d/conda.sh > /dev/null 2>&1 || tru | STRING |
| HIGH | …sky/backends/testdata/ray_codegen/multi_node_2nodes.py | 0 | \ #!/bin/bash source ~/.bashrc set -a . $(conda info --base 2> /dev/null)/etc/profile.d/conda.sh > /dev/null 2>&1 || tru | STRING |
| HIGH | sky/catalog/verda_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/yotta_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/vsphere_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/vast_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/scp_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/lambda_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/nebius_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/seeweb_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/paperspace_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/runpod_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/oci_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/mithril_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/shadeform_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/fluidstack_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/do_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/primeintellect_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/cudo_catalog.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/clouds/primeintellect.py | 0 | returns the cost, or the cheapest cost among all zones for spot. | STRING |
| HIGH | sky/catalog/verda_catalog.py | 0 | returns a list of instance types that have the given accelerator. | STRING |
| HIGH | sky/catalog/yotta_catalog.py | 0 | returns a list of instance types that have the given accelerator. | STRING |
| HIGH | sky/catalog/paperspace_catalog.py | 0 | returns a list of instance types that have the given accelerator. | STRING |
| HIGH | sky/catalog/runpod_catalog.py | 0 | returns a list of instance types that have the given accelerator. | STRING |
| HIGH | sky/catalog/shadeform_catalog.py | 0 | returns a list of instance types that have the given accelerator. | STRING |
| HIGH | sky/catalog/do_catalog.py | 0 | returns a list of instance types that have the given accelerator. | STRING |
| HIGH | sky/catalog/primeintellect_catalog.py | 0 | returns a list of instance types that have the given accelerator. | STRING |
| HIGH | sky/catalog/vsphere_catalog.py | 0 | returns a list of instance types satisfying the required count of accelerators with sorted prices and a list of candidat | STRING |
| HIGH | sky/catalog/fluidstack_catalog.py | 0 | returns a list of instance types satisfying the required count of accelerators with sorted prices and a list of candidat | STRING |
| HIGH | sky/catalog/cudo_catalog.py | 0 | returns a list of instance types satisfying the required count of accelerators with sorted prices and a list of candidat | STRING |
| HIGH | sky/catalog/scp_catalog.py | 0 | filter the instance types based on resource requirements. returns a list of instance types satisfying the required count | STRING |
| HIGH | sky/catalog/lambda_catalog.py | 0 | filter the instance types based on resource requirements. returns a list of instance types satisfying the required count | STRING |
| HIGH | sky/catalog/nebius_catalog.py | 0 | filter the instance types based on resource requirements. returns a list of instance types satisfying the required count | STRING |
| HIGH | sky/catalog/azure_catalog.py | 0 | filter the instance types based on resource requirements. returns a list of instance types satisfying the required count | STRING |
| 72 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sky/task.py | 131 | Validates a valid docker login config in task_envs and task_secrets. Docker login variables must be specified toget | STRING |
| HIGH | sky/task.py | 1217 | Updates environment variables for use inside the setup/run commands. Args: envs: (optional) either a | STRING |
| HIGH | sky/task.py | 1265 | Updates secret env vars for use inside the setup/run commands. Args: secrets: (optional) either a lis | STRING |
| HIGH | sky/task.py | 1495 | Updates the file mounts for this task. Different from set_file_mounts(), this function updates into the | STRING |
| HIGH | sky/task.py | 1533 | Sets the storage mounts for this task. Storage mounts are a dictionary: ``{mount_path: sky.Storage object}``, | STRING |
| HIGH | sky/task.py | 1598 | Updates the storage mounts for this task. Different from set_storage_mounts(), this function updates into the | STRING |
| HIGH | sky/cloud_stores.py | 217 | Returns whether 'url' of the AZ Container is a directory. In cloud object stores, a "directory" refers to a reg | STRING |
| HIGH | sky/execution.py | 716 | Launches a cluster or task. The task's setup and run commands are executed under the task's workdir (when speci | STRING |
| HIGH | sky/execution.py | 935 | Executes a task on an existing cluster. This function performs two actions: (1) workdir syncing, if the task h | STRING |
| HIGH | sky/global_user_state.py | 1934 | Resolve cluster_hash from either cluster_hash or cluster_name. Validates that exactly one of cluster_hash or cluste | STRING |
| HIGH | sky/core.py | 72 | Finds the best execution plan for the given DAG. Args: dag: the DAG to optimize. minimize: whether | STRING |
| HIGH | sky/core.py | 378 | Gets the endpoint for a given cluster and port number (endpoint). Args: cluster: The name of the cluster. | STRING |
| HIGH | sky/core.py | 1489 | Tails per-event lifecycle-hook logs of a cluster. Args: cluster_name: name of the cluster. event: o | STRING |
| HIGH | sky/core.py | 1535 | Downloads the logs of jobs. Args: cluster_name: (str) name of the cluster. job_ids: (List[str]) job | STRING |
| HIGH | sky/core.py | 1577 | Get the status of jobs. Args: cluster_name: (str) name of the cluster. job_ids: (List[str]) job ids | STRING |
| HIGH | sky/core.py | 1833 | Gets Slurm real-time GPU availability grouped by partition. This function calls the Slurm backend to fetch GPU info | STRING |
| HIGH | sky/core.py | 1974 | Create a debug dump for troubleshooting. Args: request_ids: List of request IDs or prefixes to include in t | STRING |
| HIGH | sky/admin_policy.py | 215 | Validates and mutates the user request and returns mutated request. Args: user_request: The user re | STRING |
| HIGH | sky/admin_policy.py | 240 | Validates and mutates the user request and returns mutated request. Args: user_request: The user re | STRING |
| HIGH | sky/optimizer.py | 1043 | Optimize a JobGroup DAG. This method optimizes all tasks in a JobGroup to run on the same infrastructur | STRING |
| HIGH | sky/resources.py | 198 | Initialize a Resources object. All fields are optional. ``Resources.is_launchable`` decides whether th | STRING |
| HIGH | sky/provision/mithril/utils.py | 408 | Wait for a bid to create instances and for them to have SSH destinations. Args: bid_name: The name of the b | STRING |
| HIGH | sky/provision/mithril/utils.py | 688 | Update a spot bid to pause or unpause it. Args: bid_id: The FID of the bid to update. paused: True | STRING |
| HIGH | sky/provision/slurm/utils.py | 866 | Resolve a canonical GPU name to the raw GRES type on a Slurm cluster. Queries live node metadata and applies fuzzy | STRING |
| HIGH | sky/provision/primeintellect/utils.py | 193 | Create a pod/instance via Prime Intellect API. Args: name: User-visible name of the pod. | STRING |
| HIGH | sky/provision/aws/config.py | 723 | Find or create a security group in the specified VPC. Args: ec2: The initialized EC2 client object. | STRING |
| HIGH | sky/provision/kubernetes/utils.py | 2491 | Returns the label key and value for the given GPU/TPU type. Args: acc_type: The GPU/TPU type required by th | STRING |
| HIGH | sky/metrics/utils.py | 371 | Starts a port forward to a service in a Kubernetes cluster. Args: context: Kubernetes context name n | STRING |
| HIGH | sky/metrics/utils.py | 506 | Sends a metrics request to a Prometheus endpoint via port forwarding. Args: context: Kubernetes context name | STRING |
| HIGH | sky/metrics/utils.py | 646 | Get GPU metrics for a single Kubernetes context. Args: context: Kubernetes context name stats: Optio | STRING |
| HIGH | sky/metrics/utils.py | 690 | Get Sky Endpoint serving-engine metrics for a single K8s context. Mirrors get_metrics_for_context() but federates t | STRING |
| HIGH | sky/backends/backend_utils.py | 2419 | Check if the task is compatible to clone disk from the source cluster. Args: cluster_name: The name of the | STRING |
| HIGH | sky/backends/backend_utils.py | 3215 | Refresh the cluster, and return the possibly updated record. The function will update the cached cluster status in | STRING |
| HIGH | sky/backends/backend_utils.py | 3522 | Check if the jobs/serve controller is up. The controller is accessible when it is in UP or INIT state, and the ssh | STRING |
| HIGH | sky/backends/backend_utils.py | 4335 | Gets the endpoint for a given cluster and port number (endpoint). Args: cluster: The name of the cluster. | STRING |
| HIGH | sky/backends/cloud_vm_ray_backend.py | 5955 | Runs 'cmd' on the cluster's head node. It will try to fetch the head node IP if it is not cached. Args | STRING |
| HIGH | sky/server/server.py | 3439 | Serves the Next.js dashboard application. Args: request: The incoming HTTP request (used to attach the CSP | STRING |
| HIGH | sky/server/common.py | 396 | Make an authenticated async HTTP request to the API server using aiohttp. Automatically handles service account tok | STRING |
| HIGH | sky/server/common.py | 873 | Check if the API server is healthy. Args: endpoint (Optional[str]): The endpoint of the API server. | STRING |
| HIGH | sky/server/versions.py | 230 | Decorator to enforce a minimum remote API version for an SDK function. New SDK method must be decorated with this d | STRING |
| HIGH | sky/utils/git.py | 98 | Parse git URL into components. Supports various git URL formats: - HTTPS: https://github.com/user/repo. | STRING |
| HIGH | sky/utils/context_utils.py | 187 | Decorator to make a synchronous function cancellable via context. Guards the function execution by checking context | STRING |
| HIGH | sky/utils/locks.py | 76 | Acquire the lock. Args: blocking: If True, block until lock is acquired or timeout. | STRING |
| HIGH | sky/utils/interactive_utils.py | 31 | Receive file descriptor via Unix socket using SCM_RIGHTS. Args: sock: Connected Unix socket. Returns: | STRING |
| HIGH | sky/utils/dag_utils.py | 440 | Load a JobGroup from a multi-document YAML file. JobGroup YAML format: --- name: my-job-group | STRING |
| HIGH | sky/utils/infra_utils.py | 39 | Parse the infra string into cloud, region, and zone components. The format of the infra string is `cloud`, `clo | STRING |
| HIGH | sky/utils/subprocess_utils.py | 226 | Run a function in parallel on a list of arguments. Args: func: The function to run in parallel args | STRING |
| HIGH | sky/utils/common_utils.py | 570 | Redact sensitive values from --secret arguments. Args: argv: Command line arguments Returns: M | STRING |
| HIGH | sky/utils/resources_utils.py | 112 | Validate and normalize a local_disk string to canonical form. Accepts various input formats and normalizes to 'mode | STRING |
| HIGH | sky/utils/resources_utils.py | 206 | Check if launched local disk satisfies the requested requirement. Used by Resources.less_demanding_than() to valida | STRING |
| HIGH | sky/utils/resources_utils.py | 579 | Parse a time string using the given unit multipliers. Args: time: Time string with optional unit suffix. | STRING |
| HIGH | sky/utils/resources_utils.py | 611 | Convert a time string to minutes. Args: time: Time string with optional unit suffix (e.g., '30m', '2h', '1d | STRING |
| HIGH | sky/utils/resources_utils.py | 627 | Convert a time string to seconds. Args: time: Time string with optional unit suffix (e.g., '30s', '5m', '1h | STRING |
| HIGH | sky/workspaces/core.py | 467 | Updates a specific workspace configuration. Args: workspace_name: The name of the workspace to update. | STRING |
| HIGH | sky/workspaces/core.py | 525 | Creates a new workspace configuration. Args: workspace_name: The name of the workspace to create. c | STRING |
| HIGH | sky/workspaces/core.py | 573 | Deletes a workspace configuration. Args: workspace_name: The name of the workspace to delete. Returns: | STRING |
| HIGH | sky/workspaces/core.py | 630 | Updates the entire SkyPilot configuration. Args: config: The new configuration to save. Returns: | STRING |
| HIGH | sky/workspaces/core.py | 1163 | Resolves the effective workspace for a user when none was set. Precedence (a future admin-assignment tier can splic | STRING |
| HIGH | sky/clouds/slurm.py | 884 | Validate region (cluster) and zone (partition). Args: region: Slurm cluster name. zone: | STRING |
| HIGH | sky/clouds/kubernetes.py | 1431 | Returns the user identity for a specific Kubernetes context. Args: context: The name of the Kuberne | STRING |
| 64 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | llm/train-eval-jobgroup/code/evaluator.py | 181 | # Check if training is complete (look for training_complete marker) | COMMENT |
| LOW | llm/rl-post-training-jobgroup/code/reward_server.py | 111 | # Check if answers match | COMMENT |
| LOW | llm/rag/scripts/serve_rag.py | 313 | # Check if the request exists and is ready for LLM processing | COMMENT |
| LOW | llm/kimi-k2/kimi-k2.sky.yaml | 38 | # Set VLLM_HOST_IP to the IP of the current node based on rank | COMMENT |
| LOW⚡ | sky/task.py | 154 | # Check if any docker variables exist | COMMENT |
| LOW⚡ | sky/task.py | 158 | # Check if variables are split across envs and secrets | COMMENT |
| LOW⚡ | sky/task.py | 167 | # Check if all variables are present in the chosen location | COMMENT |
| LOW | sky/task.py | 857 | # Check if it is str path | COMMENT |
| LOW | sky/task.py | 1068 | # Check if this is an ephemeral volume config or external volume | COMMENT |
| LOW | sky/execution.py | 833 | # Check if cluster exists and we are doing fast provisioning | COMMENT |
| LOW | sky/execution.py | 1000 | # Check if cluster is autostopping - reject exec on autostopping clusters | COMMENT |
| LOW | sky/global_user_state.py | 2263 | # Check if we need to fetch the current user's name, | COMMENT |
| LOW | sky/core.py | 1171 | # Check if autostop/autodown is required and supported | COMMENT |
| LOW | sky/optimizer.py | 1440 | # Check if there exists launchable resources | COMMENT |
| LOW | sky/resources.py | 1516 | # Check if the single key matches the region or is None (any region) | COMMENT |
| LOW | sky/resources.py | 1562 | # Check if any of the specified images are not docker images | COMMENT |
| LOW | sky/resources.py | 2238 | # Check if we have any free resources | COMMENT |
| LOW | sky/provision/docker_utils.py | 260 | # Set returncode to 1 if failed to connect to docker | COMMENT |
| LOW | sky/provision/provisioner.py | 632 | # Check if head node Ray is alive | COMMENT |
| LOW | sky/provision/provisioner.py | 662 | # Check if head node Ray is alive | COMMENT |
| LOW | sky/provision/vsphere/instance.py | 153 | # Check if the user want to create a cpu or a gpu instance by checking if | COMMENT |
| LOW | sky/provision/vsphere/instance.py | 159 | # Check if the user want to create a cpu instance | COMMENT |
| LOW | sky/provision/mithril/instance.py | 97 | # Check if there's a paused bid that needs to be resumed | COMMENT |
| LOW | sky/provision/mithril/instance.py | 147 | # Check if we have enough instances | COMMENT |
| LOW | sky/provision/mithril/utils.py | 266 | # Check if we should retry based on status code | COMMENT |
| LOW | sky/provision/mithril/utils.py | 327 | # Check if this key already exists | COMMENT |
| LOW | sky/provision/slurm/instance.py | 376 | # Check if job already exists | COMMENT |
| LOW | sky/provision/slurm/instance.py | 969 | # Check if we are running inside a Slurm cluster (only happens with | COMMENT |
| LOW | sky/provision/slurm/utils.py | 622 | # Check if gpu_partition_map redirects this GPU type to use | COMMENT |
| LOW | sky/provision/slurm/utils.py | 670 | # Check if CPU and memory requirements are met on at least one | COMMENT |
| LOW | sky/provision/hyperbolic/instance.py | 349 | # Check if any instances are in ONLINE state | COMMENT |
| LOW | sky/provision/hyperbolic/instance.py | 354 | # Check if any instances are in a failed state | COMMENT |
| LOW⚡ | sky/provision/hyperbolic/instance.py | 365 | # Check if any instances are in TERMINATED state | COMMENT |
| LOW⚡ | sky/provision/hyperbolic/instance.py | 375 | # Check if any instances are in TERMINATED state | COMMENT |
| LOW⚡ | sky/provision/hyperbolic/instance.py | 380 | # Check if any instances are in a failed state | COMMENT |
| LOW | sky/provision/hyperbolic/instance.py | 391 | # Check if any instances are in ONLINE state | COMMENT |
| LOW | sky/provision/cudo/cudo_wrapper.py | 120 | # Check if this machine type matches our requirements | COMMENT |
| LOW | sky/provision/verda/instance.py | 167 | # Check if it's a resource unavailability error | COMMENT |
| LOW | sky/provision/verda/instance.py | 321 | # Check if all terminated instances are gone | COMMENT |
| LOW | sky/provision/gcp/instance.py | 327 | # Check if the number of running instances is the same as the requested. | COMMENT |
| LOW | sky/provision/gcp/instance.py | 500 | # Check if the instance is actually stopped. | COMMENT |
| LOW | sky/provision/gcp/config.py | 180 | # Check if we have any TPUs defined, and if so, | COMMENT |
| LOW | sky/provision/gcp/config.py | 533 | # Check if the required ports are a subset of the effective ports | COMMENT |
| LOW | sky/provision/gcp/config.py | 721 | # Check if VPC for subnet has sufficient firewall rules. | COMMENT |
| LOW | sky/provision/gcp/config.py | 786 | # Check if VPC exists | COMMENT |
| LOW | sky/provision/gcp/config.py | 796 | # Check if subnet exists | COMMENT |
| LOW | sky/provision/gcp/config.py | 849 | # Check if VPC exists | COMMENT |
| LOW | sky/provision/gcp/constants.py | 148 | # Check if filesystem is already formatted (ext4) | COMMENT |
| LOW | sky/provision/gcp/constants.py | 167 | # Check if already mounted | COMMENT |
| LOW | sky/provision/primeintellect/instance.py | 329 | # Check if all terminated instances are gone | COMMENT |
| LOW | sky/provision/primeintellect/utils.py | 66 | # Check if it's a resource unavailability error | COMMENT |
| LOW | sky/provision/primeintellect/utils.py | 307 | # Check if the public key is already added | COMMENT |
| LOW | sky/provision/lambda_cloud/lambda_utils.py | 310 | # Check if this rule already exists to avoid duplicates | COMMENT |
| LOW | sky/provision/kubernetes/instance.py | 661 | # Check if cluster is autoscaling and update spinner message. | COMMENT |
| LOW | sky/provision/kubernetes/instance.py | 771 | # Check if pod is terminated/preempted/failed (unchanged). | COMMENT |
| LOW | sky/provision/kubernetes/instance.py | 1212 | # Check if the error is due to the AppArmor annotation and retry. | COMMENT |
| LOW | sky/provision/kubernetes/instance.py | 1673 | # Check if any PVCs with access mode ReadWriteOnce or ReadWriteOncePod | COMMENT |
| LOW | sky/provision/kubernetes/instance.py | 2274 | # Check if node is cordoned (unschedulable) | COMMENT |
| LOW | sky/provision/kubernetes/instance.py | 3072 | # Check if the pods are running or pending | COMMENT |
| LOW⚡ | sky/provision/kubernetes/volume.py | 718 | # Check if PV matches storage class | COMMENT |
| 302 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm/train-eval-jobgroup/code/evaluator.py | 95 | CODE | |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 107 | CODE | |
| LOW | llm/rl-post-training-jobgroup/code/trainer.py | 347 | CODE | |
| LOW | llm/rag/scripts/build_rag.py | 63 | CODE | |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 62 | CODE | |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 196 | CODE | |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 233 | CODE | |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 532 | CODE | |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 598 | CODE | |
| LOW | llm/batch_inference/scripts/monitor_progress.py | 813 | CODE | |
| LOW | llm/batch_inference/scripts/base_vector_processor.py | 203 | CODE | |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 140 | CODE | |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 111 | CODE | |
| LOW | llm/rl-code-execution-sandbox/code/trainer.py | 361 | CODE | |
| LOW | llm/distributed-rl-eval/src/eval_head.py | 123 | CODE | |
| LOW | llm/distributed-rl-eval/src/eval_head.py | 289 | CODE | |
| LOW | sky/task.py | 2202 | CODE | |
| LOW | sky/task.py | 556 | CODE | |
| LOW | sky/task.py | 649 | CODE | |
| LOW | sky/task.py | 1045 | CODE | |
| LOW | sky/task.py | 1214 | CODE | |
| LOW | sky/task.py | 1262 | CODE | |
| LOW | sky/task.py | 1332 | CODE | |
| LOW | sky/task.py | 1668 | CODE | |
| LOW | sky/task.py | 1929 | CODE | |
| LOW | sky/task.py | 1980 | CODE | |
| LOW | sky/sky_logging.py | 166 | CODE | |
| LOW | sky/cloud_stores.py | 216 | CODE | |
| LOW | sky/execution.py | 112 | CODE | |
| LOW | sky/execution.py | 202 | CODE | |
| LOW | sky/execution.py | 343 | CODE | |
| LOW | sky/execution.py | 688 | CODE | |
| LOW | sky/check.py | 148 | CODE | |
| LOW | sky/check.py | 597 | CODE | |
| LOW | sky/check.py | 683 | CODE | |
| LOW | sky/check.py | 181 | CODE | |
| LOW | sky/check.py | 215 | CODE | |
| LOW | sky/global_user_state.py | 397 | CODE | |
| LOW | sky/global_user_state.py | 678 | CODE | |
| LOW | sky/global_user_state.py | 987 | CODE | |
| LOW | sky/global_user_state.py | 2093 | CODE | |
| LOW | sky/global_user_state.py | 2655 | CODE | |
| LOW | sky/skypilot_config.py | 621 | CODE | |
| LOW | sky/skypilot_config.py | 1072 | CODE | |
| LOW | sky/skypilot_config.py | 1266 | CODE | |
| LOW | sky/core.py | 560 | CODE | |
| LOW | sky/core.py | 1667 | CODE | |
| LOW | sky/authentication.py | 102 | CODE | |
| LOW | sky/authentication.py | 249 | CODE | |
| LOW | sky/optimizer.py | 1548 | CODE | |
| LOW | sky/optimizer.py | 1617 | CODE | |
| LOW | sky/optimizer.py | 1671 | CODE | |
| LOW | sky/optimizer.py | 239 | CODE | |
| LOW | sky/optimizer.py | 429 | CODE | |
| LOW | sky/optimizer.py | 738 | CODE | |
| LOW | sky/optimizer.py | 999 | CODE | |
| LOW | sky/optimizer.py | 1094 | CODE | |
| LOW | sky/optimizer.py | 1262 | CODE | |
| LOW | sky/optimizer.py | 1312 | CODE | |
| LOW | sky/optimizer.py | 1381 | CODE | |
| 644 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements-dev.txt | 1 | # formatting | COMMENT |
| LOW | requirements-dev.txt | 41 | # For mocking AWS | COMMENT |
| LOW | requirements-dev.txt | 61 | grpcio-tools==1.63.0 | COMMENT |
| LOW | format.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | llm/train-eval-jobgroup/train-eval-jobgroup.yaml | 1 | # Parallel Training and Evaluation with Shared Volume | COMMENT |
| LOW | llm/train-eval-jobgroup/train-eval-ckpts-volume.yaml | 1 | # Volume definition for train-eval-jobgroup shared checkpoint storage | COMMENT |
| LOW | …/rl-post-training-jobgroup/rlhf-math-jobgroup-cpu.yaml | 1 | # RLHF Math Training with Job Groups - CPU Test Version | COMMENT |
| LOW | llm/rl-post-training-jobgroup/rlhf-math-jobgroup.yaml | 1 | # RLHF Math Training with Job Groups | COMMENT |
| LOW | llm/rl-post-training-jobgroup/rlhf-math-jobgroup.yaml | 21 | # cache-aware load balancing across all SGLang instances for optimal KV cache reuse. | COMMENT |
| LOW | llm/rl-post-training-jobgroup/rlhf-policy-volume.yaml | 1 | # Volume definition for rl-post-training-jobgroup shared policy weights. | COMMENT |
| LOW | llm/vicuna-llama-2/scripts/hardcoded_questions.py | 1 | # This code is based on lmsys-org/fastchat. Below is the original copyright: | COMMENT |
| LOW | llm/vicuna-llama-2/scripts/train_xformers.py | 1 | # This code is based on lmsys-org/fastchat. Below is the original copyright: | COMMENT |
| LOW | llm/vicuna-llama-2/scripts/xformers_patch.py | 1 | # This code is based on lmsys-org/fastchat. Below is the original copyright: | COMMENT |
| LOW | llm/vicuna-llama-2/scripts/train.py | 1 | # This code is based on tatsu-lab/stanford_alpaca. Below is the original copyright: | COMMENT |
| LOW | llm/vicuna-llama-2/scripts/train.py | 21 | # Licensed under the Apache License, Version 2.0 (the "License"); | COMMENT |
| LOW | llm/llama-3_2/llama3_2-vision-11b.yaml | 1 | # Serving Meta Llama 3.2 on your own infra. | COMMENT |
| LOW | llm/llama-3_2/llama3_2-vision-11b.yaml | 21 | # }, | COMMENT |
| LOW | llm/llama-3_2/llama3_2-vision-11b.yaml | 41 | # curl -L $ENDPOINT/v1/models | COMMENT |
| LOW | llm/llama-3_2/llama3_2.yaml | 1 | # Serving Meta Llama 3.2 on your own infra. | COMMENT |
| LOW | llm/llama-3_2/llama3_2.yaml | 21 | # }, | COMMENT |
| LOW | llm/llama-3_2/llama3_2.yaml | 41 | # curl -L $ENDPOINT/v1/models | COMMENT |
| LOW | llm/llama-3/llama3.yaml | 1 | # Serving Meta Llama-3 on your own infra. | COMMENT |
| LOW | llm/llama-3/llama3.yaml | 21 | # }, | COMMENT |
| LOW | llm/llama-3/llama3.yaml | 41 | # curl -L $ENDPOINT/v1/models | COMMENT |
| LOW | llm/llama-3/gui.yaml | 1 | # Starts a GUI server that connects to the Llama-3 OpenAI API server. | COMMENT |
| LOW | llm/qwen/gui.yaml | 1 | # Starts a GUI server that connects to the Qwen OpenAI API server. | COMMENT |
| LOW | llm/llama-3_1-finetuning/configs/8B-lora.yaml | 1 | # Config for multi-device LoRA finetuning in lora_finetune_distributed.py | COMMENT |
| LOW | llm/verl/multinode.yaml | 1 | # Multi-node distributed training with Verl (Volcano Engine Reinforcement Learning) framework. | COMMENT |
| LOW | llm/verl/multinode.yaml | 161 | trainer.resume_mode=auto 2>&1 | tee verl_training.log | COMMENT |
| LOW | …rch-tooling/verl-search-interaction-google-search.yaml | 1 | # Search Tool Interaction Inference (Google Search backend) | COMMENT |
| LOW | …search-tooling/verl-search-interaction-rl-trainer.yaml | 1 | # Search Tool Interaction Training with VERL (RL Trainer) | COMMENT |
| LOW | llm/verl/search-tooling/verl-search-interaction.yaml | 1 | # Search Tool Interaction Training with VERL | COMMENT |
| LOW | llm/verl/search-tooling/verl-search-interaction.yaml | 141 | # conda init | COMMENT |
| LOW | …verl/search-tooling/verl-search-interaction-infer.yaml | 1 | # Search Tool Interaction Inference | COMMENT |
| LOW | …/search-tooling/verl-search-interaction-retrieval.yaml | 1 | # Search Tool Retrieval Service | COMMENT |
| LOW | llm/dbrx/dbrx.yaml | 1 | # Serving Databricks DBRX on your own infra. | COMMENT |
| LOW | llm/dbrx/dbrx.yaml | 21 | # "role": "user", | COMMENT |
| LOW | llm/rl-code-execution-sandbox/rl-code-jobgroup.yaml | 1 | # RL Code-Execution Training with Job Groups (sandbox-backed reward) | COMMENT |
| LOW | llm/rl-code-execution-sandbox/rl-code-jobgroup.yaml | 21 | # | COMMENT |
| LOW | llm/rl-code-execution-sandbox/rl-code-jobgroup-cpu.yaml | 1 | # RL Code-Execution Training with Job Groups - CPU Test Version | COMMENT |
| LOW | llm/rl-code-execution-sandbox/rl-code-volume.yaml | 1 | # Volume definition for rl-code-execution-sandbox shared policy weights. | COMMENT |
| LOW | llm/llama-4-finetuning/llama-4-maverick.yaml | 21 | # /checkpoints directory to write checkpoints, which writes to local disk first | COMMENT |
| LOW | llm/llama-4-finetuning/llama-4-scout-sft.yaml | 21 | # /checkpoints directory to write checkpoints, which writes to local disk first | COMMENT |
| LOW | llm/llama-4-finetuning/llama-4-maverick-lora.yaml | 21 | COMMENT | |
| LOW | llm/llama-4-finetuning/llama-4-maverick-sft.yaml | 21 | # /checkpoints directory to write checkpoints, which writes to local disk first | COMMENT |
| LOW | llm/llama-4-finetuning/configs/llama4_lora_sft.yaml | 41 | ddp_timeout: 180000000 | COMMENT |
| LOW | …4-finetuning/configs/llama4_maverick_full_sft_cpu.yaml | 41 | bf16: true | COMMENT |
| LOW | llm/ollama/ollama.yaml | 1 | # Run LLMs on CPUs with Ollama | COMMENT |
| LOW | llm/fairseq2/sft.sky.yaml | 1 | # Fairseq2: Instruction Fine-tuning LLMs on SkyPilot | COMMENT |
| LOW | llm/fairseq2/multinode.sky.yaml | 1 | # Fairseq2: Multi-node Fine-tuning on SkyPilot | COMMENT |
| LOW | llm/falcon/train.py | 1 | # Adapted from https://gist.github.com/pacman100/1731b41f7a90a87b457e8c5415ff1c14 | COMMENT |
| LOW | llm/llama-3_1/llama-3_1.yaml | 1 | # Serving Meta Llama-3.1 on your own infra. | COMMENT |
| LOW | llm/llama-3_1/llama-3_1.yaml | 21 | # "role": "system", | COMMENT |
| LOW | llm/llama-3_1/llama-3_1.yaml | 41 | # ENDPOINT=$(sky serve status --endpoint llama31) | COMMENT |
| LOW | sky/task.py | 721 | # Unlike envs, a null-valued secret in dict form (e.g. ``API_KEY:`` | COMMENT |
| LOW | sky/task.py | 921 | COMMENT | |
| LOW | sky/task.py | 1621 | return self.set_storage_mounts(task_storage_mounts) | COMMENT |
| LOW | sky/cloud_stores.py | 181 | class AzureBlobCloudStorage(CloudStorage): | COMMENT |
| LOW | sky/execution.py | 401 | if controller_utils.high_availability_specified(cluster_name): | COMMENT |
| LOW | sky/execution.py | 841 | # concurrent calls from queueing up many sequential reprovision | COMMENT |
| 363 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm/gpt-oss/README.md | 15 | ## Step 0: Setup infrastructure | COMMENT |
| LOW | llm/gpt-oss/README.md | 32 | ## Step 1: Run gpt-oss models | COMMENT |
| LOW | llm/gpt-oss/README.md | 48 | ## Step 2: Get results | COMMENT |
| LOW | llm/gpt-oss/README.md | 103 | ## Step 3: Scale with SkyServe | COMMENT |
| LOW | llm/gemma3/README.md | 22 | ## Step 0: Setup | COMMENT |
| LOW | llm/gemma3/README.md | 41 | ## Step 1: Run it with SkyPilot | COMMENT |
| LOW | llm/gemma3/README.md | 53 | ## Step 2: Get Results | COMMENT |
| LOW | llm/rag/README.md | 27 | ## Step 0: Set Up The Environment | COMMENT |
| LOW | llm/rag/README.md | 39 | ## Step 1: Compute Embeddings from Legal Documents | COMMENT |
| LOW | llm/rag/README.md | 109 | ## Step 2: Build RAG with Vector Database | COMMENT |
| LOW | llm/rag/README.md | 123 | ## Step 3: Serve the RAG | COMMENT |
| LOW | llm/rag/scripts/templates/index.html | 296 | // Step 1: Get documents first | COMMENT |
| LOW | llm/rag/scripts/templates/index.html | 340 | // Step 2: Start the LLM reasoning process in the background | COMMENT |
| LOW | llm/gpt-oss-finetuning/README.md | 15 | ## Step 0: Setup infrastructure | COMMENT |
| LOW | llm/gpt-oss-finetuning/README.md | 44 | ## Step 1: Run gpt-oss models | COMMENT |
| LOW | llm/gpt-oss-finetuning/README.md | 122 | ## Step 2: Monitor and get results | COMMENT |
| LOW | llm/falcon_h1/Readme.md | 20 | ## Step 0: Install SkyPilot | COMMENT |
| LOW | llm/falcon_h1/Readme.md | 34 | ## Step 1: Run it with SkyPilot | COMMENT |
| LOW | llm/falcon_h1/Readme.md | 62 | ## Step 2: Get Results | COMMENT |
| LOW | llm/deepseek-r1-distilled/README.md | 19 | ## Step 0: Bring any infra | COMMENT |
| LOW | llm/deepseek-r1-distilled/README.md | 43 | ## Step 1: Run it with SkyPilot | COMMENT |
| LOW | llm/deepseek-r1-distilled/README.md | 72 | ## Step 2: Get Results | COMMENT |
| LOW | llm/deepseek-janus/README.md | 13 | ## Step 0: Bring any infra | COMMENT |
| LOW | llm/deepseek-janus/README.md | 29 | ## Step 1: Run it with SkyPilot | COMMENT |
| LOW | llm/deepseek-janus/README.md | 74 | ## Step 2: Access the deployed server | COMMENT |
| LOW | llm/llama-3_1/README.md | 38 | ### Step 0: Bring your infra | COMMENT |
| LOW | llm/llama-3_1/README.md | 69 | ### Step 1: Get a GPU dev node (pod or VM) | COMMENT |
| LOW | llm/llama-3_1/README.md | 91 | ### Step 2: Inside the dev node, test serving | COMMENT |
| LOW | llm/llama-3_1/README.md | 152 | ### Step 3: Package and deploy using SkyPilot | COMMENT |
| LOW | sky/optimizer.py | 1105 | # Step 1: Get feasible resources for each task | COMMENT |
| LOW | sky/optimizer.py | 1130 | # Step 2: Find common cloud+region combinations | COMMENT |
| LOW | sky/optimizer.py | 1141 | # Step 3: Select best infra based on minimize target | COMMENT |
| LOW | sky/optimizer.py | 1163 | # Step 4: Assign resources for each task on the selected infra | COMMENT |
| LOW | sky/optimizer.py | 1196 | # Step 5: Print optimizer table for job groups | COMMENT |
| LOW | sky/provision/nebius/utils.py | 383 | # Step 1: kick off async deletion of all rules. | COMMENT |
| LOW | sky/provision/nebius/utils.py | 400 | # Step 2: delete the SG with retry-on-dependency. | COMMENT |
| LOW | sky/catalog/data_fetchers/fetch_seeweb.py | 71 | # Step 1: Try to get from config file | COMMENT |
| LOW | sky/catalog/data_fetchers/fetch_seeweb.py | 82 | # Step 2: Try environment variable | COMMENT |
| LOW | sky/ssh_node_pools/deploy/deploy.py | 478 | # Step 1: Install k3s on the head node | COMMENT |
| LOW⚡ | sky/ssh_node_pools/deploy/deploy.py | 654 | # Step 3: Configure local kubectl to connect to the cluster | STRING |
| LOW⚡ | sky/ssh_node_pools/deploy/deploy.py | 965 | # Step 1: Get the selector labels from the dcgm-exporter DaemonSet | STRING |
| LOW | sky/ssh_node_pools/deploy/deploy.py | 602 | # Step 2: Install k3s on worker nodes and join them to the master node | STRING |
| LOW | sky/ssh_node_pools/deploy/deploy.py | 992 | # Step 2: Create the Service with the discovered selector | STRING |
| LOW⚡ | sky/utils/git.py | 264 | # Step 2: Try with token if provided | COMMENT |
| LOW⚡ | sky/utils/git.py | 283 | # Step 3: Try SSH access with available keys | COMMENT |
| LOW⚡ | sky/utils/git.py | 385 | # Step 1: Check provided SSH key path first | COMMENT |
| LOW⚡ | sky/utils/git.py | 416 | # Step 2: Check SSH config for host-specific configuration | COMMENT |
| LOW⚡ | sky/utils/git.py | 427 | # Step 3: Search for default SSH keys | COMMENT |
| LOW | sky/utils/git.py | 237 | # Step 1: Try public access first (most common case) | COMMENT |
| LOW | sky/utils/command_runner.py | 882 | # Step 1: Transfer the script to remote machine using rsync | COMMENT |
| LOW | sky/utils/command_runner.py | 893 | # Step 2: Execute the script on remote machine | COMMENT |
| LOW | sky/utils/controller_utils.py | 1102 | # Step 1: Translate the workdir to SkyPilot storage. | COMMENT |
| LOW | sky/utils/controller_utils.py | 1136 | # Step 2: Translate the local file mounts with folder in src to SkyPilot | COMMENT |
| LOW | sky/utils/controller_utils.py | 1164 | # Step 3: Translate local file mounts with file in src to SkyPilot storage. | COMMENT |
| LOW | sky/utils/controller_utils.py | 1212 | # Step 4: Upload storage from sources | COMMENT |
| LOW | sky/utils/controller_utils.py | 1254 | # Step 5: Add the file download into the file mounts, such as | COMMENT |
| LOW | sky/utils/controller_utils.py | 1274 | # Step 6: Replace the source field that is local path in all storage_mounts | COMMENT |
| LOW | sky/utils/controller_utils.py | 1293 | # Step 7: Convert all `MOUNT` mode storages which don't specify a source | COMMENT |
| LOW | sky/dashboard/src/components/users.jsx | 1485 | // Step 1: Load users first and show them immediately | COMMENT |
| LOW | sky/dashboard/src/components/users.jsx | 1505 | // Step 2: Load clusters and jobs in background and update counts | COMMENT |
| 88 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | format.sh | 4 | # Usage: | COMMENT |
| LOW | llm/openrlhf/openrlhf_sft.yaml | 2 | # Usage: | COMMENT |
| LOW | llm/openrlhf/openrlhf_rm_training.yaml | 2 | # Usage: | COMMENT |
| LOW | llm/openrlhf/openrlhf_dpo.yaml | 2 | # Usage: | COMMENT |
| LOW | llm/gemma/serve.yaml | 2 | # Usage: | COMMENT |
| LOW | llm/localgpt/localgpt.yaml | 2 | # Usage: | COMMENT |
| LOW | llm/train-eval-jobgroup/train-eval-jobgroup.yaml | 17 | # Usage: | COMMENT |
| LOW | llm/mixtral/serve.yaml | 2 | # Usage: | COMMENT |
| LOW | …/rl-post-training-jobgroup/rlhf-math-jobgroup-cpu.yaml | 10 | # Usage: | COMMENT |
| LOW | llm/rl-post-training-jobgroup/rlhf-math-jobgroup.yaml | 24 | # Usage: | COMMENT |
| LOW | llm/codellama/gui.yaml | 4 | # Usage: | COMMENT |
| LOW | llm/codellama/endpoint.yaml | 2 | # Usage: | COMMENT |
| LOW | llm/codellama/tabby.yaml | 4 | # Usage: | COMMENT |
| LOW | llm/kimi-k2-thinking/kimi-k2-thinking.sky.yaml | 4 | # Usage: | COMMENT |
| LOW | …-k2-thinking/kimi-k2-thinking-high-throughput.sky.yaml | 4 | # Usage: | COMMENT |
| LOW | llm/llama-3_2/llama3_2-vision-11b.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/llama-3_2/llama3_2.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/llama-3/llama3.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/llama-3/gui.yaml | 6 | # Usage: | COMMENT |
| LOW | llm/qwen/gui.yaml | 5 | # Usage: | COMMENT |
| LOW | llm/llama-3_1-finetuning/serve.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/llama-3_1-finetuning/lora.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/tgi/serve.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/verl/verl-grpo.yaml | 1 | # Usage: | COMMENT |
| LOW | llm/verl/multinode.yaml | 11 | # Usage: | COMMENT |
| LOW | llm/verl/verl-ppo.yaml | 1 | # Usage: | COMMENT |
| LOW | …rch-tooling/verl-search-interaction-google-search.yaml | 7 | # Usage: | COMMENT |
| LOW | …search-tooling/verl-search-interaction-rl-trainer.yaml | 10 | # Usage: | COMMENT |
| LOW | llm/verl/search-tooling/verl-search-interaction.yaml | 8 | # Usage: | COMMENT |
| LOW | …verl/search-tooling/verl-search-interaction-infer.yaml | 7 | # Usage: | COMMENT |
| LOW | …/search-tooling/verl-search-interaction-retrieval.yaml | 6 | # Usage: | COMMENT |
| LOW | llm/dbrx/dbrx.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/rl-code-execution-sandbox/rl-code-jobgroup.yaml | 28 | # Usage: | COMMENT |
| LOW | llm/rl-code-execution-sandbox/rl-code-jobgroup-cpu.yaml | 17 | # Usage: | COMMENT |
| LOW | llm/llama-4-finetuning/llama-4-maverick.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/llama-4-finetuning/llama-4-scout-sft.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/llama-4-finetuning/llama-4-maverick-lora.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/llama-4-finetuning/llama-4-maverick-sft.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/nemorl/nemorl.sky.yaml | 5 | # Usage: | COMMENT |
| LOW | llm/ollama/ollama.yaml | 3 | # Usage: | COMMENT |
| LOW | llm/fairseq2/sft.sky.yaml | 6 | # Usage: | COMMENT |
| LOW | llm/fairseq2/multinode.sky.yaml | 6 | # Usage: | COMMENT |
| LOW | llm/kimi-k2/kimi-k2.sky.yaml | 4 | # Usage: | COMMENT |
| LOW | llm/axolotl/axolotl.yaml | 1 | # Usage: | COMMENT |
| LOW | llm/axolotl/axolotl-spot.yaml | 1 | # Usage: | COMMENT |
| LOW | llm/axolotl/axolotl-docker.yaml | 1 | # Usage: | COMMENT |
| LOW | llm/llama-3_1/llama-3_1.yaml | 3 | # Usage: | COMMENT |
| LOW | sky/skylet/constants.py | 19 | # Example usage: | COMMENT |
| LOW | sky/utils/kubernetes/generate_kubeconfig.sh | 17 | # Usage: | COMMENT |
| LOW | tests/test_smoke.py | 3 | # Example usage: | COMMENT |
| LOW | tests/test_yamls/test_serve_autoscaler.yaml | 3 | # Usage: | COMMENT |
| LOW | tests/smoke_tests/test_basic.py | 3 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/test_cluster_job.py | 3 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/test_managed_job.py | 3 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/test_images.py | 3 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/test_sky_serve.py | 3 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/test_mount_and_storage.py | 3 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/smoke_tests_utils.py | 972 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/test_quick_tests_core.py | 7 | # Example usage: | COMMENT |
| LOW | tests/smoke_tests/test_region_and_zone.py | 3 | # Example usage: | COMMENT |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm/rag/scripts/templates/index.html | 296 | // Step 1: Get documents first | COMMENT |
| LOW | llm/rag/scripts/templates/index.html | 340 | // Step 2: Start the LLM reasoning process in the background | COMMENT |
| LOW | sky/cloud_stores.py | 240 | # If there are more, we need to check if it is a directory or a file. | COMMENT |
| LOW | sky/optimizer.py | 1105 | # Step 1: Get feasible resources for each task | COMMENT |
| LOW | sky/optimizer.py | 1130 | # Step 2: Find common cloud+region combinations | COMMENT |
| LOW | sky/optimizer.py | 1141 | # Step 3: Select best infra based on minimize target | COMMENT |
| LOW | sky/optimizer.py | 1163 | # Step 4: Assign resources for each task on the selected infra | COMMENT |
| LOW | sky/optimizer.py | 1196 | # Step 5: Print optimizer table for job groups | COMMENT |
| LOW | sky/provision/nebius/utils.py | 383 | # Step 1: kick off async deletion of all rules. | COMMENT |
| LOW | sky/provision/nebius/utils.py | 400 | # Step 2: delete the SG with retry-on-dependency. | COMMENT |
| LOW | sky/catalog/data_fetchers/fetch_seeweb.py | 71 | # Step 1: Try to get from config file | COMMENT |
| LOW | sky/catalog/data_fetchers/fetch_seeweb.py | 82 | # Step 2: Try environment variable | COMMENT |
| LOW | sky/ssh_node_pools/deploy/deploy.py | 478 | # Step 1: Install k3s on the head node | COMMENT |
| LOW⚡ | sky/ssh_node_pools/deploy/deploy.py | 654 | # Step 3: Configure local kubectl to connect to the cluster | STRING |
| LOW⚡ | sky/ssh_node_pools/deploy/deploy.py | 965 | # Step 1: Get the selector labels from the dcgm-exporter DaemonSet | STRING |
| LOW | sky/ssh_node_pools/deploy/deploy.py | 602 | # Step 2: Install k3s on worker nodes and join them to the master node | STRING |
| LOW | sky/ssh_node_pools/deploy/deploy.py | 992 | # Step 2: Create the Service with the discovered selector | STRING |
| LOW⚡ | sky/utils/git.py | 264 | # Step 2: Try with token if provided | COMMENT |
| LOW⚡ | sky/utils/git.py | 283 | # Step 3: Try SSH access with available keys | COMMENT |
| LOW⚡ | sky/utils/git.py | 385 | # Step 1: Check provided SSH key path first | COMMENT |
| LOW⚡ | sky/utils/git.py | 416 | # Step 2: Check SSH config for host-specific configuration | COMMENT |
| LOW⚡ | sky/utils/git.py | 427 | # Step 3: Search for default SSH keys | COMMENT |
| LOW | sky/utils/git.py | 237 | # Step 1: Try public access first (most common case) | COMMENT |
| LOW | sky/utils/command_runner.py | 882 | # Step 1: Transfer the script to remote machine using rsync | COMMENT |
| LOW | sky/utils/command_runner.py | 893 | # Step 2: Execute the script on remote machine | COMMENT |
| LOW | sky/utils/controller_utils.py | 1102 | # Step 1: Translate the workdir to SkyPilot storage. | COMMENT |
| LOW | sky/utils/controller_utils.py | 1136 | # Step 2: Translate the local file mounts with folder in src to SkyPilot | COMMENT |
| LOW | sky/utils/controller_utils.py | 1164 | # Step 3: Translate local file mounts with file in src to SkyPilot storage. | COMMENT |
| LOW | sky/utils/controller_utils.py | 1212 | # Step 4: Upload storage from sources | COMMENT |
| LOW | sky/utils/controller_utils.py | 1254 | # Step 5: Add the file download into the file mounts, such as | COMMENT |
| LOW | sky/utils/controller_utils.py | 1274 | # Step 6: Replace the source field that is local path in all storage_mounts | COMMENT |
| LOW | sky/utils/controller_utils.py | 1293 | # Step 7: Convert all `MOUNT` mode storages which don't specify a source | COMMENT |
| LOW | sky/dashboard/src/components/users.jsx | 1485 | // Step 1: Load users first and show them immediately | COMMENT |
| LOW | sky/dashboard/src/components/users.jsx | 1505 | // Step 2: Load clusters and jobs in background and update counts | COMMENT |
| LOW⚡ | sky/dashboard/src/components/users.jsx | 2874 | // Step 1: Fetch service account tokens (using cache) | COMMENT |
| LOW⚡ | sky/dashboard/src/components/users.jsx | 2878 | // Step 2: Fetch clusters and jobs data in parallel | COMMENT |
| LOW⚡ | sky/dashboard/src/components/users.jsx | 2882 | // Step 3: Calculate counts for each service account | COMMENT |
| LOW | sky/dashboard/src/components/infra.jsx | 1439 | // Step 1: Call sshDownNodePool to get request_id for streaming | COMMENT |
| LOW | sky/dashboard/src/components/infra.jsx | 1460 | // Step 2: After streaming completes, call the parent's delete handler | COMMENT |
| LOW | sky/dashboard/src/data/connectors/clusters.jsx | 338 | // Step 1: schedule server-side download; result is a mapping job_id -> folder path on API server | COMMENT |
| LOW | sky/dashboard/src/data/connectors/clusters.jsx | 353 | // Step 2: request the zip and trigger browser download | COMMENT |
| LOW | sky/dashboard/src/data/connectors/jobs.jsx | 865 | // Step 1: dispatch the request and grab its server-side ID. | COMMENT |
| LOW | sky/dashboard/src/data/connectors/jobs.jsx | 906 | // Step 2: long-poll /api/get, retrying on edge-timeout responses. | COMMENT |
| LOW⚡ | sky/dashboard/src/data/connectors/infra.jsx | 234 | // Step 1: Get all accessible workspaces for the user (use cache for performance) | COMMENT |
| LOW | sky/dashboard/src/data/connectors/infra.jsx | 264 | // Step 2: Fetch expanded clouds for all workspaces in a single batch call | COMMENT |
| LOW | sky/dashboard/src/data/connectors/infra.jsx | 313 | // Step 3: Get detailed GPU information for all contexts | COMMENT |
| LOW | sky/dashboard/src/data/connectors/infra.jsx | 377 | // Step 1: Get all accessible workspaces for the user (use cache for performance) | COMMENT |
| LOW | sky/dashboard/src/data/connectors/infra.jsx | 389 | // Step 2: Fetch expanded clouds for all workspaces in a single batch call | COMMENT |
| LOW⚡ | sky/dashboard/src/data/connectors/workspaces.jsx | 5 | // Step 1: Call the /workspaces endpoint to schedule the task | COMMENT |
| LOW⚡ | sky/dashboard/src/data/connectors/workspaces.jsx | 13 | // Step 2: Get the request_id from the response headers or body | COMMENT |
| LOW | sky/dashboard/src/data/connectors/workspaces.jsx | 59 | // Step 3: Poll the /api/get endpoint with the request_id. | COMMENT |
| LOW | sky/dashboard/src/data/connectors/workspaces.jsx | 97 | // Step 4: Check task status and return the actual workspace data | COMMENT |
| LOW | sky/dashboard/src/data/connectors/workspaces.jsx | 195 | // Step 1: Call the /enabled_clouds endpoint to schedule the task | COMMENT |
| LOW | sky/dashboard/src/data/connectors/workspaces.jsx | 216 | // Step 2: Get the request_id from the response headers or body | COMMENT |
| LOW | sky/dashboard/src/data/connectors/workspaces.jsx | 256 | // Step 3: Poll the /api/get endpoint with the request_id. | COMMENT |
| LOW | tests/smoke_tests/test_mount_and_storage.py | 606 | # For Azure, we need to check if the output is empty list, as it returns [] | COMMENT |
| LOW⚡ | tests/unit_tests/test_sky/test_cli_infra_override.py | 164 | # Step 1: Parse infra string through CLI handler | COMMENT |
| LOW⚡ | tests/unit_tests/test_sky/test_cli_infra_override.py | 168 | # Step 2: Process through override params parser | COMMENT |
| LOW⚡ | tests/unit_tests/test_sky/test_cli_infra_override.py | 244 | # Step 1: CLI processing should convert gcp/* to proper parameters | COMMENT |
| LOW⚡ | tests/unit_tests/test_sky/test_cli_infra_override.py | 253 | # Step 2: Override params should convert '*' to None for proper override | COMMENT |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm/rag/scripts/serve_rag.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm/rag/scripts/compute_embeddings.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | llm/rag/scripts/build_rag.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/global_user_state.py | 1758 | def set_cluster_info(cluster_name: str, metadata: Dict[str, Any]) -> None: | CODE |
| LOW | sky/global_user_state.py | 2740 | def set_allowed_clouds(allowed_clouds: List[str], workspace: str) -> None: | CODE |
| LOW | sky/global_user_state.py | 3025 | def update_volume_config(name: str, config: models.VolumeConfig) -> None: | CODE |
| LOW | sky/global_user_state.py | 3223 | def update_service_account_token_last_used(token_id: str) -> None: | CODE |
| LOW | sky/global_user_state.py | 3380 | def set_cluster_yaml(cluster_name: str, yaml_str: str) -> None: | CODE |
| LOW | sky/global_user_state.py | 3474 | def set_system_config(config_key: str, config_value: str) -> None: | CODE |
| LOW⚡ | sky/skypilot_config.py | 254 | def _set_loaded_config_path_serialized(path: Optional[str]) -> None: | CODE |
| LOW⚡ | sky/skypilot_config.py | 262 | def _set_config_overridden(config_overridden: bool) -> None: | CODE |
| LOW⚡ | sky/skypilot_config.py | 1187 | def update_to_none_if_set(keys: Tuple[str, ...]) -> None: | CODE |
| LOW | sky/skypilot_config.py | 231 | def _set_loaded_config(config: config_utils.Config) -> None: | CODE |
| LOW | sky/skypilot_config.py | 1266 | def update_api_server_config_no_lock(config: config_utils.Config) -> None: | CODE |
| LOW | sky/dag.py | 99 | def set_execution(self, execution: 'DagExecution') -> None: | CODE |
| LOW | sky/__init__.py | 53 | def _set_http_proxy_env_vars() -> None: | CODE |
| LOW | sky/__init__.py | 177 | __all__ = [ | CODE |
| LOW | sky/resources.py | 832 | def set_requires_fuse(self, value: bool) -> None: | CODE |
| LOW | sky/resources.py | 1093 | def _set_priority(self, priority: Optional[int]) -> None: | CODE |
| LOW | sky/resources.py | 1108 | def _set_priority_class(self, priority_class: Optional[str]) -> None: | CODE |
| LOW | sky/resources.py | 1201 | def _set_local_disk(self, local_disk: Optional[str]) -> None: | CODE |
| LOW | sky/provision/slurm/config.py | 6 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | sky/provision/paperspace/utils.py | 126 | def set_sky_key_script(self, public_key: str) -> None: | CODE |
| LOW | sky/provision/gcp/config.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/provision/scp/instance.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/provision/kubernetes/config.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/skylet/configs.py | 62 | def set_config(key: str, value: Union[bytes, str]) -> None: | CODE |
| LOW | sky/skylet/job_lib.py | 416 | def set_log_dir_no_lock(job_id: int, log_dir: str) -> None: | CODE |
| LOW | sky/skylet/job_lib.py | 448 | def update_job_metadata(job_id: int, updates: Dict[str, Any]) -> None: | CODE |
| LOW | sky/skylet/job_lib.py | 484 | def _set_status_no_lock(job_id: int, status: JobStatus) -> None: | CODE |
| LOW | sky/skylet/job_lib.py | 509 | def set_status(job_id: int, status: JobStatus) -> None: | CODE |
| LOW | sky/skylet/job_lib.py | 517 | def set_exit_codes(job_id: int, exit_codes: List[int]) -> None: | CODE |
| LOW | sky/skylet/job_lib.py | 552 | def set_job_started(job_id: int) -> None: | CODE |
| LOW | sky/skylet/job_lib.py | 998 | def update_status() -> None: | STRING |
| LOW | sky/skylet/autostop_lib.py | 232 | def set_autostopping_started() -> None: | CODE |
| LOW | sky/skylet/autostop_lib.py | 334 | def set_hooks(hooks: Optional[List[Dict[str, Any]]]) -> None: | CODE |
| LOW | sky/skylet/autostop_lib.py | 367 | def set_last_active_time_to_now() -> None: | CODE |
| LOW | sky/skylet/providers/ibm/node_provider.py | 455 | def set_node_tags(self, node_id, tags) -> None: | CODE |
| LOW | sky/backends/__init__.py | 11 | __all__ = [ | CODE |
| LOW | sky/backends/cloud_vm_ray_backend.py | 2058 | def update_ssh_ports(self, max_attempts: int = 1) -> None: | CODE |
| LOW | sky/backends/cloud_vm_ray_backend.py | 2382 | def _set_skylet_ssh_tunnel(self, tunnel: Optional[SSHTunnelInfo]) -> None: | CODE |
| LOW | sky/backends/cloud_vm_ray_backend.py | 3960 | def _setup_node(node_id: int) -> None: | CODE |
| LOW⚡ | sky/backends/playground/demo_dockerutils.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/catalog/__init__.py | 386 | __all__ = [ | CODE |
| LOW | sky/catalog/oci_catalog.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/catalog/data_fetchers/fetch_vsphere.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/catalog/data_fetchers/fetch_nebius.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | sky/catalog/data_fetchers/fetch_mithril.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | sky/ssh_node_pools/core.py | 46 | def update_pools(self, pools_config: Dict[str, Any]) -> None: | CODE |
| LOW | sky/ssh_node_pools/core.py | 119 | def update_pools(pools_config: Dict[str, Any]) -> None: | CODE |
| LOW | sky/ssh_node_pools/deploy/__init__.py | 4 | __all__ = ['run'] | CODE |
| LOW⚡ | sky/server/versions.py | 60 | def set_remote_api_version(api_version: int) -> None: | CODE |
| LOW⚡ | sky/server/versions.py | 68 | def set_remote_version(version: str) -> None: | CODE |
| LOW | sky/server/clean_env.py | 36 | def set_clean_server_env(env: Dict[str, str]) -> None: | CODE |
| LOW | sky/server/state.py | 17 | def set_block_requests(shutting_down: bool) -> None: | CODE |
| LOW | sky/server/requests/log_provider.py | 127 | def set_log_provider(lp: LogProvider) -> None: | CODE |
| LOW | sky/server/requests/storage.py | 213 | def set_request_backend(backend: RequestBackend) -> None: | CODE |
| LOW | sky/server/requests/process.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | sky/server/requests/requests.py | 1128 | def set_exception_stacktrace(e: BaseException) -> None: | CODE |
| LOW⚡ | sky/server/requests/requests.py | 1134 | def set_request_failed(request_id: str, e: BaseException) -> None: | CODE |
| 65 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm/verl/code/preprocess_rstar_coder.py | 62 | CODE | |
| LOW | llm/batch_inference/scripts/text_vector_processor.py | 30 | CODE | |
| LOW | llm/distributed-rl-eval/src/eval_head.py | 688 | CODE | |
| LOW | sky/task.py | 321 | CODE | |
| LOW | sky/execution.py | 202 | CODE | |
| LOW | sky/execution.py | 688 | CODE | |
| LOW | sky/resources.py | 161 | CODE | |
| LOW | sky/provision/mithril/utils.py | 715 | CODE | |
| LOW | sky/provision/paperspace/utils.py | 218 | CODE | |
| LOW | sky/provision/gcp/config.py | 1000 | CODE | |
| LOW | sky/provision/gcp/config.py | 1016 | CODE | |
| LOW | sky/provision/gcp/config.py | 1084 | CODE | |
| LOW | sky/provision/gcp/config.py | 1129 | CODE | |
| LOW | sky/provision/gcp/config.py | 1145 | CODE | |
| LOW | sky/provision/gcp/config.py | 1164 | CODE | |
| LOW | sky/provision/runpod/api/commands.py | 28 | CODE | |
| LOW | sky/provision/runpod/api/pods.py | 23 | CODE | |
| LOW | sky/provision/primeintellect/utils.py | 290 | CODE | |
| LOW | sky/skylet/log_lib.py | 158 | CODE | |
| LOW | sky/backends/cloud_vm_ray_backend.py | 5938 | CODE | |
| LOW | sky/catalog/verda_catalog.py | 47 | CODE | |
| LOW | sky/catalog/yotta_catalog.py | 45 | CODE | |
| LOW | sky/catalog/vsphere_catalog.py | 71 | CODE | |
| LOW | sky/catalog/vast_catalog.py | 63 | CODE | |
| LOW | sky/catalog/vast_catalog.py | 87 | CODE | |
| LOW | sky/catalog/scp_catalog.py | 54 | CODE | |
| LOW | sky/catalog/lambda_catalog.py | 59 | CODE | |
| LOW | sky/catalog/nebius_catalog.py | 54 | CODE | |
| LOW | sky/catalog/azure_catalog.py | 117 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 37 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 48 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 62 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 69 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 85 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 72 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 117 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 148 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 153 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 188 | CODE | |
| LOW | sky/catalog/seeweb_catalog.py | 209 | CODE | |
| LOW | sky/catalog/paperspace_catalog.py | 51 | CODE | |
| LOW | sky/catalog/aws_catalog.py | 255 | CODE | |
| LOW | sky/catalog/__init__.py | 57 | CODE | |
| LOW | sky/catalog/__init__.py | 217 | CODE | |
| LOW | sky/catalog/__init__.py | 266 | CODE | |
| LOW | sky/catalog/gcp_catalog.py | 282 | CODE | |
| LOW | sky/catalog/slurm_catalog.py | 28 | CODE | |
| LOW | sky/catalog/runpod_catalog.py | 46 | CODE | |
| LOW | sky/catalog/oci_catalog.py | 104 | CODE | |
| LOW | sky/catalog/ibm_catalog.py | 100 | CODE | |
| LOW | sky/catalog/mithril_catalog.py | 71 | CODE | |
| LOW | sky/catalog/hyperbolic_catalog.py | 68 | CODE | |
| LOW | sky/catalog/shadeform_catalog.py | 98 | CODE | |
| LOW | sky/catalog/fluidstack_catalog.py | 53 | CODE | |
| LOW | sky/catalog/do_catalog.py | 51 | CODE | |
| LOW | sky/catalog/primeintellect_catalog.py | 42 | CODE | |
| LOW | sky/catalog/cudo_catalog.py | 52 | CODE | |
| LOW | sky/usage/usage_lib.py | 679 | CODE | |
| LOW | sky/utils/command_runner.py | 201 | CODE | |
| LOW | sky/utils/command_runner.py | 606 | CODE | |
| 74 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | llm/falcon/train.py | 35 | # by using the RewardTrainer from trl, we will leverage PEFT library to finetune | COMMENT |
| MEDIUM | sky/task.py | 656 | # More robust handling for 'envs': explicitly convert keys and values to | COMMENT |
| MEDIUM | sky/task.py | 669 | # More robust handling for 'secrets': explicitly convert keys and values | COMMENT |
| MEDIUM | sky/cloud_stores.py | 188 | # does not leverage AzCopy's efficient multi-threaded capabilities, leading | COMMENT |
| MEDIUM | sky/provision/gcp/constants.py | 417 | # robust. | STRING |
| LOW | sky/provision/kubernetes/utils.py | 5101 | # If we have already converted the same kubeconfig before, just return. | COMMENT |
| MEDIUM | sky/provision/kubernetes/debug.py | 469 | # error). Per-item isolation would be more robust but noisier; revisit if a | COMMENT |
| MEDIUM | sky/skylet/constants.py | 70 | # Python 3.11 for a more robust setup. | COMMENT |
| MEDIUM | sky/catalog/data_fetchers/fetch_gcp.py | 179 | # TODO(woosuk): Make this more robust. | STRING |
| LOW | sky/ssh_node_pools/deploy/deploy.py | 711 | # Initially just set to the effective master IP | STRING |
| MEDIUM | sky/utils/message_utils.py | 12 | """Encode a payload to make it more robust for parsing. | STRING |
| MEDIUM⚡ | sky/utils/git.py | 375 | """Get SSH key path and content using comprehensive strategy. | STRING |
| MEDIUM | sky/utils/git.py | 218 | """Validate the repository access with comprehensive authentication | STRING |
| MEDIUM | sky/utils/resources_utils.py | 464 | # to the zones in the same region in order to leverage the region-level | COMMENT |
| LOW | sky/utils/controller_utils.py | 506 | # use a broad except and just return None. | COMMENT |
| LOW | sky/utils/db/db_utils.py | 601 | # so we should not put it in the cache. Instead, just return. | COMMENT |
| MEDIUM | sky/dashboard/src/components/infra.jsx | 3186 | // TODO: Add back when SSH Node Pool add operation is more robust | COMMENT |
| MEDIUM | sky/adaptors/slurm.py | 481 | # TODO(kevin): Use json output for more robust parsing. | COMMENT |
| LOW | sky/recipes/db.py | 412 | # No updates requested, just return current state | COMMENT |
| MEDIUM | sky/serve/replica_managers.py | 844 | # It should be robust enough for `execution.launch` to handle cases | COMMENT |
| MEDIUM | sky/jobs/job_group_networking.py | 683 | # TODO(zhwu): The current handling is not robust against the case where | STRING |
| LOW | sky/jobs/utils.py | 524 | # handle.cluster_yaml is None, we will just return an empty dict | COMMENT |
| LOW | sky/jobs/utils.py | 2214 | # just return. | COMMENT |
| LOW | sky/jobs/utils.py | 2286 | # aren't following, just return. | COMMENT |
| MEDIUM | sky/data/mounting_utils.py | 35 | # Creates a fusermount3 soft link on older (<22) Ubuntu systems to utilize | COMMENT |
| MEDIUM | sky/client/sdk.py | 109 | # The overloads are not comprehensive - e.g. get_result Literal[False] could be | COMMENT |
| MEDIUM | tests/smoke_tests/test_managed_job.py | 805 | # 2. A short prefix is robust against provisioning backends that | COMMENT |
| MEDIUM | tests/smoke_tests/smoke_tests_utils.py | 299 | # than a fixed column index. This keeps the wait robust regardless of which | COMMENT |
| MEDIUM | tests/smoke_tests/test_region_and_zone.py | 274 | # TODO(zpoint): this is a temporary fix. We should make it more robust. | STRING |
| MEDIUM | tests/smoke_tests/test_lifecycle_hooks.py | 902 | # is robust to that variation. ``kubectl exec`` against a missing | COMMENT |
| MEDIUM | tests/unit_tests/test_serve_utils.py | 344 | # by message content so the assertion stays robust to other | COMMENT |
| MEDIUM | …nit_tests/test_sky/skylet/test_managed_jobs_service.py | 78 | """Seed the database with test jobs in various states for comprehensive testing.""" | STRING |
| MEDIUM⚡ | …t_tests/test_sky/backends/test_cloud_vm_ray_backend.py | 264 | # Create a comprehensive task | COMMENT |
| LOW | …s/unit_tests/test_sky/server/requests/test_requests.py | 558 | # Don't loop - just return after one iteration | COMMENT |
| LOW⚡ | …tils/kubernetes/test_skypilot_config_configmap_sync.py | 75 | # Should not raise any exceptions, just return early | COMMENT |
| LOW | tests/unit_tests/test_sky/volumes/test_k8s_volume.py | 2038 | # Should not raise, just return empty dict | COMMENT |
| MEDIUM | tests/unit_tests/test_sky/jobs/test_jobs_state.py | 50 | """Seed the database with test jobs in various states for comprehensive testing.""" | STRING |
| MEDIUM | tests/unit_tests/kubernetes/test_kubernetes_utils.py | 995 | """Test pod with comprehensive Kubernetes features.""" | STRING |
| MEDIUM | tests/load_tests/db_scale_tests/run_scale_test.py | 199 | """Run the comprehensive scale tests manually.""" | STRING |
| LOW⚡ | …/load_tests/db_scale_tests/inject_postgres_clusters.py | 73 | # If unpickling fails, just return the original blob | COMMENT |
| MEDIUM | tests/load_tests/db_scale_tests/scale_test_utils.py | 420 | # callers (including the bash test harness) previously masked | COMMENT |
| MEDIUM | charts/skypilot/values.yaml | 503 | # For GKE, use backend service-based external passthrough Network Load Balancer as per best practices. | COMMENT |
| MEDIUM | …training_network_storage_benchmarks/e2e/e2e_network.py | 108 | """Log comprehensive training time statistics.""" | STRING |
| MEDIUM | .github/workflows/release-build.yml | 140 | # Use Python for robust version comparison | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | llm/codellama/tabby.yaml | 9 | # After the Tabby server is started, you can add the endpoint (URL:port) to VSCode | COMMENT |
| MEDIUM | llm/vicuna/dummy.json | 45 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 58 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 110 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 123 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 175 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 188 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 240 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 253 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 305 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 318 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 370 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 383 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 435 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 448 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 500 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 513 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna/dummy.json | 565 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a | CODE |
| MEDIUM | llm/vicuna/dummy.json | 578 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O | CODE |
| MEDIUM | llm/vicuna-llama-2/scripts/hardcoded_questions.py | 64 | f"You can call me {name}, and I was trained by {org} researchers as a language model based on {base} using SkyPi | CODE |
| MEDIUM | llm/vicuna-llama-2/scripts/hardcoded_questions.py | 65 | f"As a language model, I go by the name {name} and was trained on {base} by researchers from {org} using SkyPilo | CODE |
| MEDIUM | llm/ollama/ollama.yaml | 33 | # accelerators: L4:1 # No GPUs necessary for Ollama, but you can use them to run inference faster | COMMENT |
| LOW | sky/provision/azure/instance.py | 1011 | # resource group at ~/.sky/config. So we make sure to check for the | COMMENT |
| LOW | sky/provision/kubernetes/instance.py | 321 | # successfully scheduled. In this case, we make sure to not surface | COMMENT |
| MEDIUM | sky/backends/cloud_vm_ray_backend.py | 623 | # {'code': 8, 'message': 'There is no more capacity in the zone "europe-west4-a"; you can try in another | STRING |
| LOW | sky/server/stream_utils.py | 284 | # We will only hit this path once, but we should make sure to | COMMENT |
| LOW | sky/server/requests/executor.py | 745 | # We do this in two steps because we should make sure to restore the | COMMENT |
| LOW | sky/jobs/constants.py | 84 | # WARNING: If you update this due to a codegen change, make sure to make the | COMMENT |
| MEDIUM | charts/skypilot/values.yaml | 115 | # In such case, you can add the config via the dashboard once the API server is deployed. | COMMENT |
| LOW | examples/containerized_app.py | 13 | # LocalDockerBackend, make sure you run these commands locally on your machine | COMMENT |
| MEDIUM | examples/resnet_app_storage_spot.yaml | 14 | # This bucket is for demonstration purposes only. | COMMENT |
| MEDIUM | examples/nemo/nemo_gpt_preprocessing.yaml | 5 | # This YAML is for demonstration purposes and is not a necessary step before | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AGENTS.md | 21 | │ ├── core.py # Core orchestration logic | CODE |
| MEDIUM | CLAUDE.md | 21 | │ ├── core.py # Core orchestration logic | CODE |
| MEDIUM | llm/gpt-oss/README.md | 135 | - [**OpenAI Agents SDK**](https://openai.github.io/openai-agents-python/): For agentic workflows | CODE |
| MEDIUM | llm/skyrl/README.md | 3 | [SkyRL](https://github.com/NovaSky-AI/SkyRL) is a modular, performant reinforcement learning library for LLMs, designed | CODE |
| MEDIUM | llm/kimi-k2-thinking/kimi-k2-thinking.sky.yaml | 2 | # This model supports deep thinking & tool orchestration with reasoning capabilities. | COMMENT |
| MEDIUM | llm/rag/README.md | 109 | ## Step 2: Build RAG with Vector Database | COMMENT |
| MEDIUM | llm/rag/README.md | 123 | ## Step 3: Serve the RAG | COMMENT |
| MEDIUM | llm/rag/serve_rag.yaml | 27 | # Install dependencies for RAG service | COMMENT |
| MEDIUM | llm/rag/serve_rag.yaml | 71 | # Start RAG service | COMMENT |
| MEDIUM⚡ | sky/batch/coordinator.py | 740 | # Dispatch orchestration | COMMENT |
| MEDIUM | docs/source/examples/models/gpt-oss.md | 135 | - [**OpenAI Agents SDK**](https://openai.github.io/openai-agents-python/): For agentic workflows | CODE |
| MEDIUM | examples/redisvl-vector-search/search_api.yaml | 22 | # Pre-download the embedding model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | sky/authentication.py | 350 | runpod.runpod.cli.groups.ssh.functions.add_ssh_key(public_key) | CODE |
| CRITICAL⚡ | …ts/test_sky/test_global_user_state_service_accounts.py | 217 | mock_session.query.return_value.filter_by.return_value.update.assert_called_once( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | llm/nemorl/nemorl.sky.yaml | 6 | # HF_TOKEN=<YOUR_TOKEN> sky exec -c nemo nemorl.sky.yaml --secret HF_TOKEN | COMMENT |
| HIGH | sky/provision/yotta/yotta_utils.py | 81 | '\'apikey=<your_api_key>\'.') | CODE |
| HIGH | sky/adaptors/verda.py | 91 | ' "client_id": "your-api-key",\n' | CODE |
| HIGH | sky/adaptors/verda.py | 104 | ' "client_id": "your-api-key",\n' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sky/dashboard/src/components/clusters.jsx | 2 | * This code was generated by v0 by Vercel. | COMMENT |
| HIGH | sky/dashboard/src/components/jobs.jsx | 2 | * This code was generated by v0 by Vercel. | COMMENT |
| HIGH | sky/dashboard/src/components/infra.jsx | 2 | * This code was generated by v0 by Vercel. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | addons/fuse-proxy/cmd/fusermount-wrapper/main.go | 42 | placeholder = flag.StringP("placeholder", "p", "{}", placeholderDescription) | CODE |
| LOW | tests/test_jobs_state_async_vs_sync.py | 187 | original_user_yaml_content='dummy_user.yaml', | CODE |
| LOW | tests/test_global_user_state.py | 160 | 'ssh_private_key': '/tmp/fake_key' | CODE |
| LOW | tests/test_global_user_state.py | 211 | 'ssh_private_key': '/tmp/fake_key' | CODE |
| LOW | tests/smoke_tests/test_basic.py | 3387 | fake_token = 'dckr_pat_fakefakefake' | STRING |
| LOW | tests/smoke_tests/test_basic.py | 3400 | SKYPILOT_DOCKER_PASSWORD: {fake_token} | STRING |
| LOW | tests/smoke_tests/test_basic.py | 3413 | f's=$(sky launch -y -c {name} {f.name} -y 2>&1); echo "$s"; ! echo "$s" | grep -q "{fake_token}"', | STRING |
| LOW | tests/unit_tests/test_sky/test_git_commit_metadata.py | 17 | subprocess.run(['git', 'config', 'user.email', 'test@test.com'], | CODE |
| LOW⚡ | …t_tests/test_sky/provision/slurm/test_sbatch_config.py | 145 | 'mail-user': 'user@example.com', | CODE |
| LOW | tests/unit_tests/test_sky/server/test_config.py | 548 | request.headers = {'X-Auth-Request-Email': 'user@example.com'} | CODE |
| LOW | tests/unit_tests/test_sky/server/test_config.py | 559 | assert user.name == 'user@example.com' | CODE |
| LOW⚡ | …s/unit_tests/test_sky/server/auth/test_oauth2_proxy.py | 366 | response.headers = {'X-Auth-Request-Email': 'user@example.com'} | CODE |
| LOW⚡ | …s/unit_tests/test_sky/server/auth/test_oauth2_proxy.py | 371 | assert user.name == 'user@example.com' | CODE |
| LOW⚡ | …s/unit_tests/test_sky/server/requests/test_executor.py | 962 | fake_user = mock.Mock() | CODE |
| LOW⚡ | …s/unit_tests/test_sky/server/requests/test_executor.py | 963 | fake_user.id = 'client-user-id' | CODE |
| LOW⚡ | …s/unit_tests/test_sky/server/requests/test_executor.py | 964 | fake_user.name = 'client-user' | CODE |
| LOW⚡ | …s/unit_tests/test_sky/server/requests/test_executor.py | 968 | return True, fake_user | CODE |
| LOW | examples/serve/llama2/chat.py | 13 | openai.api_key = 'placeholder' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sky/utils/benchmark_utils.py | 30 | def my_function(): | STRING |
| LOW | sky/batch/remote.py | 26 | def process_data(): | STRING |
| LOW⚡ | tests/unit_tests/test_batch.py | 36 | def helper(x): | CODE |
| LOW⚡ | tests/unit_tests/test_batch.py | 239 | def helper(x): | CODE |
| LOW | tests/unit_tests/test_batch.py | 300 | def helper(x): | CODE |
| LOW⚡ | tests/unit_tests/test_sky/server/test_versions.py | 284 | def test_function(arg1, arg2=None): | CODE |
| LOW⚡ | tests/unit_tests/test_sky/server/test_versions.py | 298 | def test_function(arg1): | CODE |
| LOW⚡ | tests/unit_tests/test_sky/server/test_versions.py | 402 | def test_function(*args, **kwargs): | CODE |
| LOW | tests/unit_tests/test_sky/server/test_versions.py | 318 | def test_function(): | CODE |
| LOW | tests/unit_tests/test_sky/server/test_versions.py | 341 | def test_function(param1, param2): | CODE |
| LOW | tests/unit_tests/test_sky/server/test_versions.py | 383 | def test_function(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sky/provision/primeintellect/instance.py | 109 | # TODO: implement rename pod | COMMENT |