Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BeastyZ/ConvSearch-R1
/ functions
Functions
1,207 in github.com/BeastyZ/ConvSearch-R1
⨍
Functions
1,207
◇
Types & classes
166
↳
Endpoints
40
Function
process_fn
(example, idx)
verl/examples/data_preprocess/qrecc_sft.py:46
Function
process_one_shard
(rank)
verl/scripts/model_merger.py:85
Method
prompt_length
(self)
verl/tests/e2e/envs/digit_completion/task.py:69
Function
put_data
(index, data)
verl/verl/utils/ray_utils.py:25
Function
qwen2_attn_forward
Adapted from transformers 4.49.0 to support Ulysses sequence parallelism for transformers >= 4.48.0. NOTE: This function has been tested onl
verl/verl/models/transformers/qwen2.py:148
Function
qwen2_flash_attn_forward
Adapted from transformers 4.47.1 to support Ulysses sequence parallelism. NOTE: This function is only tested on transformers versions betwee
verl/verl/models/transformers/qwen2.py:29
Function
register
(dispatch_mode=Dispatch.ALL_TO_ALL, execute_mode=Execute.ALL, blocking=True, materialize_futures=True)
verl/verl/single_controller/base/decorator.py:394
Function
register_empty_parameter
(module, name, param)
verl/verl/utils/fsdp_utils.py:188
Function
remote_call_wg
(worker_names)
verl/tests/ray/test_worker_group_basics.py:69
Function
remove_boxed
(s)
verl/verl/utils/reward_score/prime_math/__init__.py:323
Function
remove_pad_token
Remove the pad token. Args: input_ids shape: [bs, seq_length] attention_mask shape: [bs, seq_length] Returns: no_pad
verl/verl/utils/torch_functional.py:302
Method
rename
Note that this function only rename the key in the batch
verl/verl/protocol.py:405
Method
response_length
(self)
verl/tests/e2e/envs/digit_completion/task.py:73
Method
retrieve
(self, qid2emb)
index/dense/libs.py:203
Function
retrieve_endpoint
Endpoint that accepts queries and performs retrieval. Input format: { "queries": ["What is Python?", "Tell me about neural networks
src/retrieval/server.py:301
Method
sample_batch_str_prompts
(self, batch_size)
verl/tests/e2e/envs/digit_completion/task.py:100
Method
save_checkpoint
(self, *args, **kwargs)
verl/verl/utils/checkpoint/checkpoint_manager.py:60
Method
save_checkpoint
(self, checkpoint_path, hdfs_path=None, **kwargs)
verl/verl/workers/megatron_workers.py:449
Method
save_checkpoint
(self, checkpoint_path, hdfs_path=None, **kwargs)
verl/verl/workers/megatron_workers.py:658
Method
save_checkpoint
(self, local_path, hdfs_path=None, global_step=0, remove_previous_ckpt=False)
verl/verl/workers/fsdp_workers.py:596
Function
save_to_hdfs
(data: io.BytesIO, name, hdfs_dir, verbose)
verl/verl/utils/debug/trajectory_tracker.py:33
Method
series_to_item
(ls)
verl/verl/utils/dataset/sft_dataset.py:75
Method
set_additional_resource
(self, additional_resource)
verl/verl/single_controller/ray/base.py:156
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:539
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl/verl/models/llama/megatron/modeling_llama_megatron.py:538
Function
signal_handler
(signum, frame)
verl/verl/utils/reward_score/prime_math/grader.py:347
Function
split_and_padding_neighbor
(batch_tensor, batch_len)
index/dense/utils.py:38
Method
spread
(self)
verl/verl/utils/seqlen_balancing.py:60
Function
squeeze
(x)
verl/verl/utils/model.py:38
Method
store
(self)
verl/verl/single_controller/base/worker_group.py:47
Method
supported_type
(precision: Union[str, int])
verl/verl/utils/torch_dtypes.py:43
Method
supported_types
()
verl/verl/utils/torch_dtypes.py:47
Function
test
()
verl/tests/ray/test_high_level_scheduling_api.py:33
Function
test
()
verl/tests/ray/test_driverfunc_to_worker.py:55
Method
test
(self)
verl/tests/ray/test_rvdz.py:31
Function
test_all_gather_torch
In this test, we instantiate 4 GPUs in a group and test the all_gather
verl/tests/ray/test_worker_group_torch.py:69
Function
test_all_gather_torch_v2
In this test, we instantiate 4 GPUs in a group and test the all_gather
verl/tests/ray/test_worker_group_torch.py:93
Function
test_check_correctness
()
verl/tests/sandbox/test_sandbox.py:127
Function
test_chunk_concat
()
verl/tests/utility/test_tensor_dict_utilities.py:110
Function
test_colocated_workers
()
verl/tests/ray/test_colocated_workers.py:49
Function
test_data_transfer
()
verl/tests/ray/test_data_transfer.py:52
Function
test_dataproto_fold_unfold
()
verl/tests/utility/test_tensor_dict_utilities.py:224
Function
test_dataproto_pad_unpad
()
verl/tests/utility/test_tensor_dict_utilities.py:172
Function
test_dependencies_consistent
()
verl/tests/distro/requirements.py:71
Function
test_flash_attn_cross_entropy
()
verl/tests/gpu_utility/test_ops.py:16
Function
test_import
()
verl/tests/sanity/test_import.py:16
Function
test_len
()
verl/tests/utility/test_tensor_dict_utilities.py:263
Function
test_log_probs_from_logits_response_rmpad
()
verl/tests/gpu_utility/test_torch_functional.py:21
Function
test_logprobs_from_logits_v2
(dtype)
verl/tests/gpu_utility/test_torch_functional.py:54
Function
test_lr_scheduler
()
verl/tests/gpu_utility/test_torch_functional.py:72
Function
test_parallelism
Test if process pool works properly
verl/tests/sandbox/test_sandbox.py:92
Function
test_pop
()
verl/tests/utility/test_tensor_dict_utilities.py:134
Function
test_prime_code
Test PRIME code sandbox.
verl/tests/sandbox/test_sandbox.py:117
Function
test_prime_math
()
verl/tests/sandbox/test_sandbox.py:135
Function
test_reorder
()
verl/tests/utility/test_tensor_dict_utilities.py:99
Function
test_repeat
()
verl/tests/utility/test_tensor_dict_utilities.py:147
Function
test_rl_dataset
()
verl/tests/verl/utils/dataset/test_rl_dataset.py:29
Function
test_rm_dataset
()
verl/tests/verl/utils/dataset/test_rm_dataset.py:30
Function
test_rvdz
()
verl/tests/ray/test_rvdz.py:37
Function
test_seqlen_balancing
()
verl/tests/utility/test_tensor_dict_utilities.py:283
Function
test_sft_cot_dataset
()
verl/tests/verl/utils/dataset/test_sft_dataset.py:29
Function
test_sft_dataset
()
verl/tests/verl/utils/dataset/test_sft_dataset.py:46
Function
test_sglang_spmd
()
verl/tests/rollout/test_sglang_spmd.py:100
Function
test_single_controller_import
()
verl/tests/sanity/test_import.py:21
Function
test_tensor_dict_constructor
()
verl/tests/utility/test_tensor_dict_utilities.py:56
Function
test_tensor_dict_make_iterator
()
verl/tests/utility/test_tensor_dict_utilities.py:70
Function
test_torch_save_data_proto
()
verl/tests/utility/test_tensor_dict_utilities.py:247
Function
test_union_tensor_dict
()
verl/tests/utility/test_tensor_dict_utilities.py:26
Function
test_vllm_spmd
()
verl/tests/rollout/test_vllm_spmd.py:70
Function
test_vllm_with_hf
()
verl/tests/rollout/test_vllm_hf_loader.py:72
Method
this_rank_models
(self)
verl/verl/workers/sharding_manager/megatron_vllm.py:207
Function
timeout
(timeout_seconds: int = 8)
verl/verl/utils/reward_score/prime_math/__init__.py:38
Function
timeout_handler
(signum, frame)
verl/verl/utils/reward_score/prime_code/testing_util.py:60
Function
tokenize_and_postprocess_data
input_data is the output from tokenizer.
verl/verl/utils/torch_functional.py:258
Function
top_p_filtering
Filter a distribution of logits using nucleus (top-p) filtering Args: logits: logits distribution shape (batch size x vocabulary
index/dense/utils.py:192
Method
tp_size
(self)
verl/verl/single_controller/base/megatron/worker_group.py:36
Function
two_to_all_dispatch_fn
Assume the input is a list of 2. Duplicate the input interleaved and pass to each worker.
verl/tests/ray/test_worker_group_basics.py:26
Function
ulysses_flash_attn_forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
verl/verl/models/transformers/qwen2_vl.py:218
Method
update
(self, current_kl, n_steps)
verl/verl/trainer/ppo/core_algos.py:39
Method
update_actor
(self, data: DataProto)
verl/verl/workers/megatron_workers.py:352
Method
update_critic
(self, data: DataProto)
verl/verl/workers/megatron_workers.py:640
Method
update_critic
Update the critic
verl/verl/workers/critic/base.py:38
Method
update_critic
(self, dataloader: Iterable[DataProto])
verl/verl/workers/critic/megatron_critic.py:207
Method
update_critic
(self, data: DataProto)
verl/verl/workers/critic/dp_critic.py:166
Function
update_dict_with_config
(dictionary: Dict, config: DictConfig)
verl/verl/utils/config.py:20
Function
update_kwargs_with_config
(dictionary: Dict, config: ModelParallelConfig)
verl/verl/utils/megatron/tensor_parallel.py:27
Method
update_policy
Update the policy with an iterator of DataProto Args: dataloader (Iterable[DataProto]): an iterator over the DataProto that retur
verl/verl/workers/actor/megatron_actor.py:358
Method
update_policy
(self, data: DataProto)
verl/verl/workers/actor/dp_actor.py:229
Method
update_rm
(self, data: DataProto)
verl/recipe/prime/prime_fsdp_workers.py:288
Method
update_this_rank_models
(self, new_models)
verl/verl/workers/sharding_manager/megatron_vllm.py:202
Method
validate_input
(keys)
verl/verl/protocol.py:410
Method
verify
(self, data)
verl/verl/workers/reward_manager/naive.py:29
Function
vocab_parallel_log_probs_from_logits_response_rmpad
Similar to log_probs_from_logits_response_rmpad, but the logits_rmpad is now spliited across tensor parallel region. This will further reduce the
verl/verl/utils/megatron/tensor_parallel.py:146
Method
vocab_size
(self)
verl/tests/e2e/envs/digit_completion/tokenizer.py:86
Method
vocab_size
`int`: Size of the base vocabulary (without the added tokens).
verl/verl/workers/rollout/tokenizer.py:28
Function
wait
()
verl/verl/utils/ulysses.py:146
Method
wait_for_hdfs
(self)
verl/verl/utils/debug/trajectory_tracker.py:63
Method
weight_buffers
(self)
verl/verl/utils/memory_buffer.py:212
Method
worker_names
(self)
verl/verl/single_controller/ray/base.py:301
Method
workers
(self)
verl/verl/single_controller/ray/base.py:382
← previous
next →
1,101–1,200 of 1,207, ranked by callers