MCPcopy Create free account

hub / github.com/LukeBailey181/sgs / functions

Functions331 in github.com/LukeBailey181/sgs

↓ 1 callersMethod__init__
(self, trainer: "GroupedImportanceSampledWeightedTrainer")
sgs/training/custom_trainers.py:391
↓ 1 callersMethod_collect_gpu_samples
(self)
sgs/utils/monitor.py:396
↓ 1 callersMethod_collect_once
(self)
sgs/utils/monitor.py:432
↓ 1 callersMethod_create_app
(self)
sgs/utils/server.py:344
↓ 1 callersFunction_detect_cgroup_paths
()
sgs/utils/monitor.py:64
↓ 1 callersMethod_encode_length
(self, code)
sgs/verification/prover/algorithms/base.py:36
↓ 1 callersMethod_get_idx
(self, pos_info)
sgs/verification/prover/lean/proof.py:60
↓ 1 callersFunction_gid_to_i64
(gid: str)
sgs/training/custom_trainers.py:279
↓ 1 callersFunction_is_main_process
Check if this is the main process (rank 0) in distributed training
sgs/training/train_local.py:83
↓ 1 callersMethod_parse_full_code_lines
(self)
sgs/verification/prover/lean/proof.py:52
↓ 1 callersMethod_post_process
(self, data: dict, proof_code: str)
sgs/verification/prover/workers/search.py:35
↓ 1 callersFunction_safe_cmdline
(p: "psutil.Process")
sgs/utils/monitor.py:121
↓ 1 callersMethod_select_node
(self)
sgs/verification/prover/algorithms/rmax_tree_search.py:233
↓ 1 callersFunction_start_repl_process
(lake_path, lean_workspace, header)
sgs/verification/prover/lean/verifier.py:172
↓ 1 callersMethod_tree_new_child
(self, parent)
sgs/verification/prover/algorithms/rmax_tree_search.py:192
↓ 1 callersMethod_tree_setup
(self, data)
sgs/verification/prover/algorithms/rmax_tree_search.py:159
↓ 1 callersMethod_tree_step
(self, node, edge, code)
sgs/verification/prover/algorithms/rmax_tree_search.py:198
↓ 1 callersMethod_tree_update
(self, proof)
sgs/verification/prover/algorithms/rmax_tree_search.py:207
↓ 1 callersMethod_update_full_code
(self, full_code, _result_backup=None)
sgs/verification/prover/lean/proof.py:37
↓ 1 callersMethod_verify
(self, **task)
sgs/verification/prover/lean/verifier.py:615
↓ 1 callersFunctionadd_color
(info)
sgs/verification/prover/summarize.py:41
↓ 1 callersFunctionaggregate
(split, prob_type)
sgs/verification/prover/summarize.py:48
↓ 1 callersMethodcheck_if_datasets_exist
(self, checkpoint_dir: Path, iteration: int)
sgs/pipeline/full_pipeline.py:315
↓ 1 callersMethodcheck_if_models_exists
( self, prover_model_save_path: Path, conjecturer_model_save_path: Path, itera
sgs/pipeline/full_pipeline.py:335
↓ 1 callersMethodcomplete_job
(self, gamma, first_node=True)
sgs/verification/prover/algorithms/rmax_tree_search.py:102
↓ 1 callersFunctionconvert_raw_dict_to_statements
( raw_dict: List[dict], dataset: DatasetType )
sgs/data/load_dataset.py:8
↓ 1 callersFunctiondata_gen
Generate conjectures from seed theorems and proofs Args: conjectures_per_statement: Number of conjectures to generate per statement
sgs/pipeline/step1_data_gen.py:180
↓ 1 callersFunctiondefinition_instance
(file_content, declaration, tactics)
sgs/verification/prover/lean/ast_parser.py:883
↓ 1 callersFunctiondeterministic_epoch_batch
( items: Sequence[T], iteration: int, batch_size: int, seed: int, check_file_path: str, )
sgs/pipeline/step1_data_gen.py:132
↓ 1 callersFunctionextract_string_between_positions
(lines, byte_idx_1, byte_idx_2)
sgs/verification/prover/lean/ast_parser.py:32
↓ 1 callersFunctionfind_attributes_vals
(data)
sgs/verification/prover/lean/ast_parser.py:127
↓ 1 callersFunctionfind_doccomment_vals
(data)
sgs/verification/prover/lean/ast_parser.py:98
↓ 1 callersFunctionfind_free_port
()
sgs/utils/server.py:63
↓ 1 callersFunctionfind_kind_name_structure
(file_content, data)
sgs/verification/prover/lean/ast_parser.py:1056
↓ 1 callersFunctionfind_pripro_vals
(data)
sgs/verification/prover/lean/ast_parser.py:150
↓ 1 callersFunctionfind_proof_inductive
(file_content, declaration)
sgs/verification/prover/lean/ast_parser.py:1449
↓ 1 callersFunctionfind_proof_structure
(file_content, declaration)
sgs/verification/prover/lean/ast_parser.py:1202
↓ 1 callersFunctionfind_statement_def
(file_content, data)
sgs/verification/prover/lean/ast_parser.py:758
↓ 1 callersFunctionfind_statement_structure
(file_content, data)
sgs/verification/prover/lean/ast_parser.py:1143
↓ 1 callersFunctionfinetune_local
Finetune a local model on a dataset. Args: model_save_path: Path to save the finetuned model train_data: List of tuples of (
sgs/training/train_local.py:90
↓ 1 callersMethodget_conjecturer_model_name
(self, iteration: int, checkpoint_dir: str)
sgs/pipeline/full_pipeline.py:307
↓ 1 callersMethodget_done
(self)
sgs/utils/server.py:557
↓ 1 callersMethodget_extra_log_data_from_response
( self, responses: List[str], )
sgs/models/guide/llm_judge_guide.py:49
↓ 1 callersFunctionget_guide_prompt
(*, seed_theorem: str, conjecture: str)
sgs/utils/prompts.py:276
↓ 1 callersFunctionget_line
(lines, line_number)
sgs/verification/prover/lean/ast_parser.py:7
↓ 1 callersMethodget_llm_judge_config
(self)
sgs/models/guide/llm_judge_guide.py:34
↓ 1 callersMethodget_model_guide_prompt
( self, conjecture_prompt: str, statement_prompt: str, )
sgs/models/guide/llm_judge_guide.py:37
↓ 1 callersMethodget_prover_model_name
( self, iteration: int, checkpoint_dir: str, )
sgs/pipeline/full_pipeline.py:295
↓ 1 callersMethodget_query_resource_config
( self, )
sgs/models/guide/llm_judge_guide.py:56
↓ 1 callersMethodget_request_outputs
(self, request_id)
sgs/verification/prover/workers/scheduler.py:94
↓ 1 callersFunctionget_result_from_repl
(repl_result, code, start_time)
sgs/verification/prover/lean/verifier.py:137
↓ 1 callersMethodget_review_from_response
( self, response: str, )
sgs/models/guide/llm_judge_guide.py:44
↓ 1 callersMethodget_status
(self)
sgs/verification/prover/utils.py:109
↓ 1 callersFunctionglobal_group_check
Runtime check that each optimizer step contains *complete groups* globally. This is written to be safe even when `dataloader_drop_last=False`, i.
sgs/training/custom_trainers.py:284
↓ 1 callersMethodgraceful_exit
( self, monitor: ResourceMonitor | None, verifier_scheduler: Lean4ServerScheduler | No
sgs/verification/verify_local.py:89
↓ 1 callersMethodgraceful_exit
( self, monitor: ResourceMonitor | None, reason: Optional[str] = None, )
sgs/models/query_local.py:354
↓ 1 callersFunctionidxs_hash
(idxs: List[int])
sgs/pipeline/step1_data_gen.py:115
↓ 1 callersFunctioninductive
(file_content, declaration, tactics)
sgs/verification/prover/lean/ast_parser.py:1498
↓ 1 callersMethodis_result_ready
(self)
sgs/verification/prover/lean/proof.py:21
↓ 1 callersMethodkill_workers
This will clean up all the workers that the server launched. Important incase there are pending workers that never have to be used.
sgs/utils/server.py:142
↓ 1 callersFunctionlane_start_end
(job: Tuple[float, float, str, Optional[float], Optional[float]])
sgs/utils/monitor.py:998
↓ 1 callersMethodlaunch_master_worker
Launches a worker as a subprocess on the master machine.
sgs/verification/verify_server.py:42
↓ 1 callersMethodlaunch_workers
(self, num_workers: Optional[int] = None)
sgs/verification/verify_server.py:14
↓ 1 callersMethodlaunch_workers
(self, num_workers: Optional[int] = None)
sgs/models/query_server.py:11
↓ 1 callersFunctionload_check
(path: str)
sgs/pipeline/step1_data_gen.py:121
↓ 1 callersFunctionmake_inner_list
(info)
sgs/verification/prover/summarize.py:38
↓ 1 callersFunctionprepare_conjecturer_train_data
Prepare the train data for the conjecturer This is easier than preparing the prover dataset as we simply train on all of the conjectures
sgs/pipeline/step2_train.py:80
↓ 1 callersFunctionprepare_prover_train_data
Prepare the train data for the prover Args: prover_dataset_path: Path to dataset we use to train the prover so far iteration
sgs/pipeline/step2_train.py:331
↓ 1 callersFunctionprepare_torch_distributed_training
()
sgs/training/train_local.py:59
↓ 1 callersFunctionprune_dict
(d: Dict[str, Statement], num_examples: int)
sgs/pipeline/step2_train.py:686
↓ 1 callersFunctionquery_model_batch_local
( prompts: List[str], model_config: ModelConfig, )
sgs/models/query_local.py:156
↓ 1 callersFunctionread_from_repl
(proc)
sgs/verification/prover/lean/verifier.py:156
↓ 1 callersMethodreview
(self, conjectures: List[Conjecture])
sgs/models/guide/__init__.py:44
↓ 1 callersFunctionreview_conjectures
Review the conjectures
sgs/pipeline/step2_train.py:971
↓ 1 callersFunctionreview_conjectures_local
( conjectures: List[Conjecture], guide: Guide )
sgs/pipeline/step2_train.py:1006
↓ 1 callersMethodrun
(self)
sgs/verification/prover/workers/search.py:52
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/sgs_frozen_conjecturer.py:20
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/cispo_solver_only.py:19
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/ei_solver_only.py:19
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/sgs_no_problem_conditioning.py:23
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/test_sgs.py:22
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/standard_sgs.py:22
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/sgs_no_guide.py:20
↓ 1 callersFunctionrun_experiment
( checkpoint_dir: str, lr: float, wandb_tags: List[str], run_local: bool = False, )
scripts/cispo_sgs.py:21
↓ 1 callersMethodrun_iteration
(self, i: int)
sgs/pipeline/full_pipeline.py:278
↓ 1 callersFunctionrun_pipeline_proving_and_verification
Note that launching master workers will occur for query server equal to number of GPUs on master machine.
sgs/pipeline/pipeline_pv.py:30
↓ 1 callersFunctionsanity_check_training_args
( training_config: TrainingConfig, resources_config: ResourcesConfig )
sgs/training/train_local.py:37
↓ 1 callersMethodsave
(self, path: str)
sgs/data/dataset_types.py:189
↓ 1 callersFunctionsave_check
(path: str, d: Dict[str, Any])
sgs/pipeline/step1_data_gen.py:127
↓ 1 callersMethodsegmentation
(self, result=None)
sgs/verification/prover/lean/proof.py:63
↓ 1 callersMethodsize
(self)
sgs/verification/prover/workers/data_loader.py:44
↓ 1 callersFunctionsplit_snippet
From https://github.com/project-numina/kimina-lean-server/blob/main/server/split.py Splits a code snippet into a header (imports) and body.
sgs/verification/prover/lean/verifier.py:58
↓ 1 callersMethodstart
(self)
sgs/utils/monitor.py:187
↓ 1 callersFunctionstart_repl_process
(lake_path, lean_workspace, header = None)
sgs/verification/prover/lean/verifier.py:183
↓ 1 callersMethodstop
(self)
sgs/utils/server.py:226
↓ 1 callersFunctionstp_proof_length_reward
(proof_str: str)
sgs/pipeline/step2_train.py:75
↓ 1 callersFunctionstructure
(file_content, declaration, tactics)
sgs/verification/prover/lean/ast_parser.py:1250
↓ 1 callersFunctionsub_scores_to_review
( relevance_score: float, complexity_score: float, redundancy_score: float, )
sgs/models/guide/llm_judge_guide.py:172
↓ 1 callersMethodsubmit_request
(self, data)
sgs/verification/prover/workers/scheduler.py:75
↓ 1 callersMethodsubmit_util_report
(self, report: UtilizationReport)
sgs/utils/server.py:571
← previousnext →101–200 of 331, ranked by callers