Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AMAP-ML/Thinking-with-Map
/ functions
Functions
4,735 in github.com/AMAP-ML/Thinking-with-Map
⨍
Functions
4,735
◇
Types & classes
687
↳
Endpoints
185
Method
setup_method
Set up test environment before each test method.
verl/tests/interactions/test_gsm8k_interaction.py:27
Function
sft_loss
(config: ActorConfig, model_output, data: TensorDict, dp_group=None)
verl/verl/workers/roles/utils/losses.py:27
Function
sglang_test_model_path
Provide a test model path for SGLang tests. This can be overridden by environment variable SGLANG_TEST_MODEL_PATH for tests that need a real
verl/tests/workers/rollout/rollout_sglang/test_http_server_engine.py:203
Function
shard_placement_fn
(param)
verl/verl/utils/fsdp_utils.py:543
Method
should_load_extra
Returns True if 'extra' is in checkpoint_load_contents, indicating the extra state should be loaded.
verl/verl/utils/checkpoint/checkpoint_manager.py:115
Method
should_load_model
Returns True if 'model' is in checkpoint_load_contents, indicating the model state should be loaded.
verl/verl/utils/checkpoint/checkpoint_manager.py:101
Method
should_load_optimizer
Returns True if 'optimizer' is in checkpoint_load_contents, indicating the optimizer state should be loaded.
verl/verl/utils/checkpoint/checkpoint_manager.py:108
Method
should_save_extra
Returns True if 'extra' is in checkpoint_save_contents, indicating the extra state should be saved.
verl/verl/utils/checkpoint/checkpoint_manager.py:86
Method
should_save_hf_model
Returns True if 'hf_model' is in checkpoint_save_contents, indicating the model should be converted to hf model and saved.
verl/verl/utils/checkpoint/checkpoint_manager.py:93
Method
should_save_model
Returns True if 'model' is in checkpoint_save_contents, indicating the model state should be saved.
verl/verl/utils/checkpoint/checkpoint_manager.py:72
Method
should_save_optimizer
Returns True if 'optimizer' is in checkpoint_save_contents, indicating the optimizer state should be saved.
verl/verl/utils/checkpoint/checkpoint_manager.py:79
Method
shutdown
Shutdown queue (async)
verl/recipe/fully_async_policy/message_queue.py:240
Function
side_effect
(*args, **kwargs)
verl/tests/utils/reward_score/reward_score/test_sandbox_fusion_on_cpu.py:261
Function
silu_forward
NPU optimized silu
verl/verl/models/transformers/npu_patch.py:70
Function
skip_if_valid_sandbox
(url)
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:136
Method
sleep
(self)
verl/verl/workers/megatron_workers.py:917
Method
sleep
(self)
verl/verl/workers/fsdp_workers.py:1936
Method
sleep
Context switch from rollout mode to trainer mode.
verl/verl/workers/engine_workers.py:149
Method
sleep
(self)
verl/verl/workers/rollout/vllm_rollout/vllm_async_server.py:446
Method
sort_by_scores
(self, query: str, docs: List[Record], ma
demo/qwen_agent/tools/search_tools/front_page_search.py:30
Method
sort_by_scores
(self, query: str, docs: List[Record], **kwargs)
demo/qwen_agent/tools/search_tools/hybrid_search.py:35
Method
sort_by_scores
(self, query: str, docs: List[Record], **kwargs)
demo/qwen_agent/tools/search_tools/vector_search.py:28
Method
sort_changed
(self, event)
verl/scripts/rollout_viewer.py:407
Function
split_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
verl/verl/utils/torch_functional.py:300
Method
spread
(self)
verl/verl/utils/seqlen_balancing.py:85
Function
squeeze
(x)
verl/verl/utils/model.py:55
Method
start
(self, **kwargs)
verl/verl/utils/profiler/profile.py:224
Method
start
(self, **kwargs)
verl/verl/utils/profiler/profile.py:264
Method
start
(self, **kwargs)
verl/verl/utils/profiler/profile.py:313
Method
start_interaction
( self, instance_id: Optional[str] = None, ground_truth: Optional[str] = None, **kwargs )
verl/verl/interactions/weather_interaction.py:39
Method
start_interaction
( self, instance_id: Optional[str] = None, ground_truth: Optional[str] = None, **kwargs )
verl/verl/interactions/gsm8k_interaction.py:43
Method
start_loop
(self)
demo/qwen_agent/tools/mcp_manager.py:72
Method
start_profile
Start profiling for the current rank in the current training step.
verl/verl/utils/profiler/profile.py:364
Method
start_profile
Start profiling for the current rank in the current training step.
verl/verl/workers/megatron_workers.py:885
Function
state_dict
(self, *args, **kwargs)
verl/verl/models/transformers/monkey_patch.py:285
Method
step_changed
(self, event)
verl/scripts/rollout_viewer.py:395
Method
stop
(self)
verl/verl/utils/profiler/profile.py:227
Method
stop
(self)
verl/verl/utils/profiler/profile.py:267
Method
stop
(self)
verl/verl/utils/profiler/profile.py:323
Method
stop_profile
Stop profiling for the current rank in the current training step.
verl/verl/utils/profiler/profile.py:369
Method
stop_profile
Stop profiling for the current rank in the current training step.
verl/verl/workers/megatron_workers.py:890
Method
support_audio_input
(self)
demo/qwen_agent/llm/transformers_llm.py:78
Method
support_audio_input
(self)
demo/qwen_agent/llm/base.py:75
Method
support_audio_input
(self)
demo/qwen_agent/llm/qwenomni_oai.py:25
Method
support_multimodal_input
(self)
demo/qwen_agent/llm/qwenvl_oai.py:33
Method
support_multimodal_input
(self)
demo/qwen_agent/llm/transformers_llm.py:74
Method
support_multimodal_input
(self)
demo/qwen_agent/llm/qwenvl_dashscope.py:35
Method
support_multimodal_input
(self)
demo/qwen_agent/llm/base.py:65
Method
support_multimodal_input
(self)
demo/qwen_agent/llm/qwenaudio_dashscope.py:25
Method
support_multimodal_output
(self)
demo/qwen_agent/llm/base.py:70
Method
supported_type
(precision: str | int)
verl/verl/utils/torch_dtypes.py:42
Method
supported_types
()
verl/verl/utils/torch_dtypes.py:46
Function
symbolic_equal
(a, b)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:553
Function
sync_cache_endpoint
(background: bool = True)
verl/tool_server/api_server_redis.py:599
Method
sync_rollout_weights
(self)
verl/recipe/one_step_off_policy/megatron_workers.py:81
Method
sync_rollout_weights
(self)
verl/recipe/one_step_off_policy/fsdp_workers.py:84
Method
sync_rollout_weights
(self)
verl/recipe/fully_async_policy/megatron_worker.py:67
Method
sync_weights
Sync weights between trainer and rollouter, and update parameter version
verl/recipe/fully_async_policy/param_sync.py:78
Function
task_raises_value_error
A task that intentionally raises a ValueError.
verl/tests/utils/test_timeout_decorator_cpu.py:44
Method
tearDown
(self)
verl/tests/trainer/ppo/test_core_algos_on_cpu.py:48
Method
tearDown
Clean up test fixtures
verl/tests/workers/critic/test_special_dp_critic.py:88
Method
tearDown
(self)
verl/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:471
Method
tearDownClass
Clean up distributed environment
verl/tests/workers/critic/test_special_dp_critic.py:52
Method
tearDownClass
Clean up distributed environment
verl/tests/workers/actor/test_special_dp_actor.py:99
Method
tensor_pop
Tensor pop.
verl/verl/utils/activation_offload.py:210
Method
tensor_pop
Tensor pop.
verl/verl/utils/activation_offload.py:285
Method
tensor_push
Tensor push.
verl/verl/utils/activation_offload.py:195
Method
tensor_push
(self, tensor: torch.Tensor, **kwargs)
verl/verl/utils/activation_offload.py:263
Function
test
()
verl/tests/single_controller/test_high_level_scheduling_api.py:33
Function
test
()
verl/tests/single_controller/test_driverfunc_to_worker.py:54
Method
test
(self)
verl/tests/single_controller/test_rvdz.py:31
Function
test_activation_offloading
(world_size, strategy, tmp_path)
verl/tests/utils/test_activation_offload.py:163
Method
test_actor_config_from_yaml
Test creating ActorConfig from YAML file.
verl/tests/workers/config/test_actor_config_on_cpu.py:66
Method
test_actor_config_validate_method_exceptions
Test that ActorConfig.validate() raises appropriate validation exceptions.
verl/tests/workers/config/test_actor_config_on_cpu.py:233
Method
test_actor_config_validation_exceptions
Test that ActorConfig.__post_init__ raises appropriate validation exceptions.
verl/tests/workers/config/test_actor_config_on_cpu.py:171
Function
test_actor_engine
(strategy)
verl/tests/models/test_engine.py:48
Function
test_actor_rollout_ref_worker_actor_ref_model
Test specifying different reference/actor model
verl/tests/workers/test_fsdp_workers.py:21
Function
test_add_tool_response_messages_image_delta
()
verl/tests/workers/rollout/test_sglang_async_rollout_multimodal_delta.py:157
Function
test_add_tool_response_messages_image_delta_resize_image
()
verl/tests/workers/rollout/test_sglang_async_rollout_multimodal_delta.py:179
Method
test_advantage_estimator_with_cfg
Test integration with advantage estimators from core_algos.
verl/tests/trainer/config/test_algo_config_on_cpu.py:157
Function
test_agent_loop_compute_score
()
verl/tests/experimental/agent_loop/test_agent_loop_reward.py:29
Function
test_agent_loop_compute_score_with_model
()
verl/tests/experimental/agent_loop/test_agent_loop_reward_model.py:29
Function
test_agent_loop_reward_manager
()
verl/tests/experimental/reward/test_agent_loop_reward_manager.py:27
Function
test_agent_loop_reward_manager
()
verl/tests/experimental/reward/test_agent_reward_loop_colocate.py:31
Method
test_all_aggregation_levels
Test all aggregation levels (token, sequence for IS; geometric for RS).
verl/tests/trainer/ppo/test_rollout_corr_integration.py:121
Function
test_all_gather_torch
In this test, we instantiate 4 GPUs in a group and test the all_gather
verl/tests/single_controller/test_worker_group_torch.py:67
Function
test_all_gather_torch_v2
In this test, we instantiate 4 GPUs in a group and test the all_gather
verl/tests/single_controller/test_worker_group_torch.py:91
Function
test_always_recopy_flag
(tmp_path, monkeypatch)
verl/tests/utils/test_fs_on_cpu.py:66
Method
test_annotate_decorator
(self)
verl/tests/utils/test_nvtx_profile.py:119
Method
test_annotate_decorator_applied_correctly
(self)
verl/tests/utils/test_special_mstx_profile.py:138
Method
test_annotate_discrete_mode_enabled
(self)
verl/tests/utils/test_special_mstx_profile.py:211
Method
test_annotate_when_profiler_disabled
(self)
verl/tests/utils/test_special_mstx_profile.py:165
Method
test_annotate_when_this_step_disabled
(self)
verl/tests/utils/test_special_mstx_profile.py:188
Method
test_annotate_with_default_message
(self)
verl/tests/utils/test_special_mstx_profile.py:249
Function
test_as_torch_index_basic_integers
()
verl/tests/utils/test_groupwise.py:27
Function
test_as_torch_index_factorization_mixed
()
verl/tests/utils/test_groupwise.py:43
Function
test_as_torch_index_near_integer_floats
()
verl/tests/utils/test_groupwise.py:36
Function
test_assert_case_success
Tests successful execution for assert case. from KodCode
verl/tests/utils/reward_score/reward_score/test_sandbox_fusion_on_cpu.py:696
Function
test_assign_non_tensor_handles_wrappers
()
verl/tests/test_protocol_v2_on_cpu.py:754
Function
test_assign_non_tensor_stack_batch_size_check
()
verl/tests/test_protocol_v2_on_cpu.py:769
← previous
next →
4,101–4,200 of 4,735, ranked by callers