Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LMIS-ORG/slime-agentic
/ functions
Functions
2,220 in github.com/LMIS-ORG/slime-agentic
⨍
Functions
2,220
◇
Types & classes
556
↳
Endpoints
12
↓ 2 callers
Method
get_domains
Get all registered Domains
agentic/ToolOrchestra/tau2/registry.py:171
↓ 2 callers
Function
get_environment
( db: Optional[TelecomDB] = None, user_db: Optional[TelecomUserDB] = None, solo_mode: bool = False
agentic/ToolOrchestra/tau2/domains/telecom/environment.py:115
↓ 2 callers
Function
get_expert_param
(args, name, param)
tools/convert_torch_dist_to_hf.py:66
↓ 2 callers
Function
get_global_user_sim_guidelines
Get the global user simulator guidelines. Args: use_tools: Whether to use the tools guidelines. Returns: The global use
agentic/ToolOrchestra/tau2/user/user_simulator.py:50
↓ 2 callers
Method
get_hash
Get the hash of the database.
agentic/ToolOrchestra/tau2/environment/db.py:45
↓ 2 callers
Function
get_host_info
()
slime/utils/http_utils.py:42
↓ 2 callers
Method
get_info
Returns information about the registry.
agentic/ToolOrchestra/tau2/registry.py:179
↓ 2 callers
Method
get_info
(env_id: str)
agentic/ToolOrchestra/tau2/orchestrator/environment_manager.py:185
↓ 2 callers
Function
get_log_probs_and_entropy
Compute per-token log-probabilities (and optionally entropy) on responses. For each sample, extracts response-aligned logits and tokens, then com
slime/backends/megatron_utils/loss.py:225
↓ 2 callers
Function
get_logprob_and_entropy
Compute log probabilities and entropy. Parameters: logits: Model output logits with shape [seq_len, vocab_size] target_tokens: Ta
slime/backends/fsdp_utils/actor.py:869
↓ 2 callers
Function
get_metrics_df
Convert the results to a dataframe and add a column for success. Checks that all simulations have the same number of trials. Returns the
agentic/ToolOrchestra/tau2/metrics/agent_metrics.py:66
↓ 2 callers
Function
get_minimum_num_micro_batch_size
(total_lengths, max_tokens_per_gpu)
slime/utils/data.py:270
↓ 2 callers
Method
get_model_cls
(self)
slime/backends/fsdp_utils/actor.py:156
↓ 2 callers
Function
get_model_provider_func
( args: argparse.Namespace, role: Literal["actor", "critic"] = "actor", )
slime/backends/megatron_utils/model_provider.py:57
↓ 2 callers
Function
get_new_p2pop_function
(func)
slime/utils/reloadable_process_group.py:102
↓ 2 callers
Method
get_next
Return the next micro-batch for the requested keys. - If `micro_batch_indices` is provided, selects rows according to the current i
slime/backends/megatron_utils/data.py:256
↓ 2 callers
Function
get_openai_token
(p_token_url, p_client_id, p_client_secret, p_scope, **kwargs)
agentic/ToolOrchestra/LLM_CALL.py:223
↓ 2 callers
Function
get_response_lengths
(loss_masks: list[list[int]])
slime/utils/mask_utils.py:4
↓ 2 callers
Method
get_response_lengths
(self, loss_masks: list[list[int]])
slime/utils/mask_utils.py:15
↓ 2 callers
Function
get_responses
Yield response-aligned `(logits_chunk, tokens_chunk)` pairs per sample. After squeezing batch dimension and applying temperature scaling, this
slime/backends/megatron_utils/loss.py:34
↓ 2 callers
Method
get_statistics
Get the statistics of the database.
agentic/ToolOrchestra/tau2/domains/telecom/data_model.py:247
↓ 2 callers
Method
get_statistics
Get the statistics of the database.
agentic/ToolOrchestra/tau2/domains/retail/data_model.py:238
↓ 2 callers
Method
get_statistics
Get the statistics of the database.
agentic/ToolOrchestra/tau2/domains/school/data_model.py:211
↓ 2 callers
Method
get_statistics
Get the statistics of the database.
agentic/ToolOrchestra/tau2/domains/airline/data_model.py:279
↓ 2 callers
Method
get_stats
Get cache statistics.
slime/router/middleware_hub/radix_tree.py:524
↓ 2 callers
Method
get_text_from_loss_mask
(self, token_ids: list[int], loss_masks: list[int])
slime/utils/mask_utils.py:169
↓ 2 callers
Function
grade_answer_mathd
(given_answer: str, ground_truth: str)
slime/rollout/rm_hub/math_utils.py:468
↓ 2 callers
Function
grade_answer_sympy
(given_answer: str, ground_truth: str)
slime/rollout/rm_hub/math_utils.py:429
↓ 2 callers
Method
has_text_content
Check if the message has text content.
agentic/ToolOrchestra/tau2/data_model/message.py:137
↓ 2 callers
Method
health_monitoring_pause
(self)
slime/ray/rollout.py:611
↓ 2 callers
Method
health_monitoring_resume
(self)
slime/ray/rollout.py:615
↓ 2 callers
Function
init
(args)
slime/backends/megatron_utils/initialize.py:56
↓ 2 callers
Function
init_session
Helper function to initialize or reset a session
agentic/ToolOrchestra/tau2/environment/utils/interface_agent.py:188
↓ 2 callers
Function
insert
(attempt=0)
docs/_static/js/lang-toggle.js:82
↓ 2 callers
Function
inverse_timer
(name)
slime/utils/timer.py:84
↓ 2 callers
Function
invoke_fused_moe_backward_kernel
Invoke the fused MOE backward kernels to compute gradients. Args: grad_output: Gradient of output, shape (num_tokens * topk, N) or (
slime/backends/fsdp_utils/kernels/fused_moe_triton_backward_kernels.py:399
↓ 2 callers
Method
is_done
(self)
agentic/ToolOrchestra/tau2_adapter.py:178
↓ 2 callers
Method
is_done
(self)
agentic/ToolOrchestra/eval_orchestra.py:418
↓ 2 callers
Function
is_megatron_main_rank
()
slime/backends/megatron_utils/initialize.py:108
↓ 2 callers
Function
is_port_available
Return whether a port is available.
slime/utils/http_utils.py:28
↓ 2 callers
Function
load_checkpoint
(ddp_model, optimizer, opt_param_scheduler, checkpointing_context, skip_load_to_model_and_opt)
slime/backends/megatron_utils/checkpoint.py:97
↓ 2 callers
Function
load_docs
(corpus, doc_idxs)
agentic/ToolOrchestra/retrieval_general_thought.py:44
↓ 2 callers
Function
load_tasks
Loads the tasks for the given domain.
agentic/ToolOrchestra/tau2/run.py:66
↓ 2 callers
Function
load_tasks
Load tasks from a data file, could be json, yaml or toml file.
agentic/ToolOrchestra/tau2/domains/telecom/environment.py:172
↓ 2 callers
Function
mathd_normalize_answer
(answer: str | None)
slime/rollout/rm_hub/math_utils.py:15
↓ 2 callers
Method
merge
(self, other)
slime/utils/seqlen_balancing.py:32
↓ 2 callers
Function
move_torch_optimizer
ref: https://github.com/volcengine/verl/blob/main/verl/utils/fsdp_utils.py
slime/backends/fsdp_utils/actor.py:918
↓ 2 callers
Function
normalize_answer
(s)
slime/rollout/rm_hub/f1.py:6
↓ 2 callers
Method
on_init_end
(self)
slime/utils/profile_utils.py:26
↓ 2 callers
Method
onload
Fire resume_memory_occupation on all engines (non-blocking). Returns a list of Ray ObjectRefs.
slime/ray/rollout.py:328
↓ 2 callers
Method
onload
(self, tags: list[str] | None = None)
slime/ray/rollout.py:576
↓ 2 callers
Function
pad_tokens
(tokens, pad)
slime/backends/megatron_utils/cp_utils.py:187
↓ 2 callers
Function
patch_rotary_embedding
(cls)
slime/backends/megatron_utils/__init__.py:29
↓ 2 callers
Method
pause
Pause health checking. Called when engines are offloaded.
slime/utils/health_monitor.py:84
↓ 2 callers
Function
process_rollout_data
(args, rollout_data_ref, dp_rank, dp_size)
slime/utils/data.py:284
↓ 2 callers
Function
process_vision_info
(prompt, processor)
slime/utils/processing_utils.py:55
↓ 2 callers
Function
quantize_params
(args, megatron_name, converted_named_params, quantization_config)
slime/backends/megatron_utils/megatron_to_hf/processors/__init__.py:8
↓ 2 callers
Function
read_file
(path)
slime/utils/data.py:25
↓ 2 callers
Method
record
(self, top_indices)
slime/utils/routing_replay.py:22
↓ 2 callers
Method
register_user
Decorator to register a new User implementation
agentic/ToolOrchestra/tau2/registry.py:81
↓ 2 callers
Method
reset
(self)
slime/rollout/sglang_rollout.py:87
↓ 2 callers
Method
resume
Resume health checking. Called when engines are onloaded.
slime/utils/health_monitor.py:92
↓ 2 callers
Method
run
(self, input_file, rollout_func, reward_func)
slime_plugins/rollout_buffer/generator/base_generator.py:192
↓ 2 callers
Method
run_env_function_calls
Run a list of environment function calls. If the function call is an assertion, an assertion check will be performed.
agentic/ToolOrchestra/tau2/environment/environment.py:223
↓ 2 callers
Method
search_forecasts
Search for forecasts for a specific location, optionally filtered by validity window and model. Args: location_id: The l
agentic/ToolOrchestra/tau2/domains/weather/tools.py:146
↓ 2 callers
Method
set_rollout_manager
(self, rollout_manager)
slime/ray/train_actor.py:132
↓ 2 callers
Method
set_seed
(self, seed: int)
agentic/ToolOrchestra/tau2/user/base.py:161
↓ 2 callers
Method
set_solo_mode
Set the solo mode of the environment.
agentic/ToolOrchestra/tau2/environment/environment.py:389
↓ 2 callers
Method
set_state
(env_id: str, request: SetStateRequest)
agentic/ToolOrchestra/tau2/orchestrator/environment_manager.py:171
↓ 2 callers
Function
setup
(app)
docs/conf.py:192
↓ 2 callers
Method
solve
(self, question: str, label: str | None = None)
agentic/agentflow/core/solver.py:65
↓ 2 callers
Function
split_tuple
Split the elements in a tuple/interval, while handling well-formatted commas in large numbers
slime/rollout/rm_hub/math_utils.py:365
↓ 2 callers
Method
start_engines
Create Ray actors, allocate ports, and fire ``engine.init()`` without waiting. Returns ``(init_handles, port_cursors)`` where *init_handles*
slime/ray/rollout.py:215
↓ 2 callers
Method
status
Health check endpoint
agentic/ToolOrchestra/tau2/orchestrator/environment_manager.py:159
↓ 2 callers
Method
stop
(self)
agentic/agentflow/eval_agentflow.py:157
↓ 2 callers
Method
stop
(self)
agentic/agentflow/eval_baseline.py:105
↓ 2 callers
Method
stop
(self)
slime/utils/profile_utils.py:99
↓ 2 callers
Function
sync_actor_critic_data
Broadcast `values` (from critic) and optionally `log_probs`/`ref_log_probs` (from actor) across PP ranks to align data dependencies. - V
slime/backends/megatron_utils/data.py:616
↓ 2 callers
Function
to_litellm_messages
Convert a list of Tau2 messages to a list of litellm messages.
agentic/ToolOrchestra/tau2/utils/llm_utils.py:439
↓ 2 callers
Function
token_perf
(response_lengths, non_generation_time, key="")
slime/ray/rollout.py:1190
↓ 2 callers
Function
train
Run training over a rollout consisting of multiple steps. The model is switched to train mode, training hooks are configured, and ``train_one
slime/backends/megatron_utils/model.py:489
↓ 2 callers
Method
train
(self, rollout_id: int, rollout_data_ref: Box)
slime/backends/megatron_utils/actor.py:352
↓ 2 callers
Function
unpack_sequences
Unpack sequences from a packed batch. Args: packed_batch: Packed batch Returns: List of unpacked batches
slime/backends/fsdp_utils/data_packing.py:124
↓ 2 callers
Method
update_db
Update the database of the ToolKit.
agentic/ToolOrchestra/tau2/environment/toolkit.py:153
↓ 2 callers
Function
update_weights_from_distributed
Send metadata (Ray), broadcast tensors (NCCL rank 0 → engines).
slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py:310
↓ 2 callers
Method
use_tool
Use a tool available to the assistant of the domain.
agentic/ToolOrchestra/tau2/environment/environment.py:130
↓ 2 callers
Method
validate_solo_mode
Validate the tool call in solo mode.
agentic/ToolOrchestra/tau2/environment/environment.py:397
↓ 2 callers
Function
vanilla_gae
( rewards: torch.Tensor, values: torch.Tensor, gamma: float, lambd: float, )
slime/utils/ppo_utils.py:482
↓ 2 callers
Method
wait_and_update_bucket_weights
(self, bucket)
slime/backends/fsdp_utils/update_weight_utils.py:76
↓ 2 callers
Function
write_jsonl
(path: Path, examples: list[dict])
agentic/ToolOrchestra/prepare_eval_data.py:257
↓ 1 callers
Method
__enter__
(self)
slime/rollout/rm_hub/math_dapo_utils.py:74
↓ 1 callers
Method
__exit__
(self, type, value, traceback)
slime/rollout/rm_hub/math_dapo_utils.py:78
↓ 1 callers
Method
__init__
( self, retrieval_method: str = "bm25", retrieval_topk: int = 10,
agentic/ToolOrchestra/retrieval_general_thought.py:269
↓ 1 callers
Method
__init__
(self)
agentic/ToolOrchestra/tau2/domains/telecom/tools.py:45
↓ 1 callers
Method
__init__
( self, args, config, layer_number: int, cp_comm_type: str = "p2p",
slime_plugins/models/qwen3_next.py:166
↓ 1 callers
Method
__init__
( self, config: MLATransformerConfig, submodules: DSASelfAttentionSubmodules,
slime_plugins/models/glm5/glm5.py:239
↓ 1 callers
Method
__init__
(self, args)
slime/utils/profile_utils.py:14
↓ 1 callers
Method
__init__
(self, fn, xs)
slime/backends/megatron_utils/update_weight/hf_weight_iterator_bridge.py:76
↓ 1 callers
Method
__init__
(self, num_experts: int, num_local_experts: int)
slime/backends/fsdp_utils/models/qwen3_moe.py:49
↓ 1 callers
Method
__init__
(self, args)
slime/rollout/data_source.py:51
← previous
next →
401–500 of 2,220, ranked by callers