MCPcopy Create free account

hub / github.com/ALRhub/X_IL / functions

Functions1,241 in github.com/ALRhub/X_IL

↓ 2 callersFunction_mlstm_recurrent_sequence_loop_fw
Forward pass of the mLSTM cell in recurrent form on a full sequence. The recurrent loop is implemented using a for loop. Args: m
agents/backbones/xlstm/mlstm_kernels/jax/recurrent/native_sequence.py:13
↓ 2 callersFunction_mlstm_recurrent_sequence_loop_scan_fw
Forward pass of the mLSTM cell in recurrent form on a full sequence. This function uses jax.lax.scan to loop over the sequence. Args:
agents/backbones/xlstm/mlstm_kernels/jax/recurrent/native_sequence_scan.py:13
↓ 2 callersMethod_p_sample
Generated a denoised sample x_{t-1} given the trained model and noisy sample x_{t} :param x: noisy input action :param t:
agents/models/ddpm/ddpm.py:224
↓ 2 callersMethod_rms_normalize
(self, x: torch.Tensor)
agents/backbones/xlstm/components.py:84
↓ 2 callersFunction_transform
(n_px)
agents/models/beso/models/networks/clip.py:561
↓ 2 callersMethodannotate
(self, episode, dataset, collected_data, global_task_counter, num_samples)
agents/models/beso/utils/automatic_lang_annotator_mp.py:262
↓ 2 callersMethodavailable_kernels
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/training_kernel_benchmarks.py:114
↓ 2 callersMethodavailable_kernels
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/training_kernel_benchmarks.py:527
↓ 2 callersMethodavailable_kernels
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/inference_kernel_benchmarks.py:152
↓ 2 callersMethodavailable_kernels
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/huggingface_model_benchmark.py:457
↓ 2 callersFunctionavailable_models
Returns the names of available CLIP models
agents/models/beso/models/networks/clip.py:552
↓ 2 callersFunctionbuild_model
(state_dict: dict)
agents/models/beso/models/networks/clip.py:467
↓ 2 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means you
agents/models/beso/utils/clip_tokenizer.py:16
↓ 2 callersMethodcheck_done
(self, counter, num_samples, batch_idx, num_batches, mode)
agents/models/beso/utils/automatic_lang_annotator_mp.py:237
↓ 2 callersFunctionchunk_reversed_cumsum_fwd
( s: torch.Tensor, dtype: torch.dtype | None = None, )
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:433
↓ 2 callersFunctioncompile_kwargs_with_cuda_graphs
Compile the provided function with CUDA graphs. Args: fn: The function to compile. Should take no arguments. warmups: The nu
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/cuda_graphs.py:43
↓ 2 callersFunctioncompute_chunkwise_log_gates_vecB_vecA
( vecI: jax.Array, # (B, NH, S) vecF: jax.Array, # (B, NH, S) chunk_size: int, return_vecB_o
agents/backbones/xlstm/mlstm_kernels/jax/chunkwise/triton_xl_chunk/chunkwise_gates.py:13
↓ 2 callersMethodconfigure_optimizers
Initialize optimizers and learning rate schedulers based on model configuration.
agents/fm_agent.py:65
↓ 2 callersFunctioncosine_beta_schedule
cosine schedule as proposed in https://openreview.net/forum?id=-NEXDKk8gZ
agents/models/ddpm/utils.py:31
↓ 2 callersFunctioncreate_group_names_from_cols
Create group names from columns in a DataFrame.
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/plot_results.py:204
↓ 2 callersMethoddpm_solver_1_step
(self, state, action, goal, t, t_next, eps_cache=None)
agents/models/beso/models/edm_diffusion/gc_sampling.py:549
↓ 2 callersMethoddpm_solver_3_step
(self, state, action, goal, t, t_next, r1=1 / 3, r2=2 / 3, eps_cache=None)
agents/models/beso/models/edm_diffusion/gc_sampling.py:566
↓ 2 callersMethodelapsed_time
(self)
agents/backbones/xlstm/mlstm_kernels/utils/time.py:84
↓ 2 callersMethodencode
(self, text)
agents/models/beso/utils/clip_tokenizer.py:125
↓ 2 callersMethodencode_text
(self, text)
agents/models/beso/models/networks/clip.py:411
↓ 2 callersFunctionensure_list
(value)
agents/models/beso/models/perceptual_encoders/voltron_encoder.py:12
↓ 2 callersFunctionewma_vectorized
Calculates the exponential moving average over a vector. Will fail for large inputs. :param data: Input data :param alpha: scalar flo
agents/backbones/xlstm/mlstm_kernels/utils/plot/ewma.py:42
↓ 2 callersMethodfeature_select
(self, image_forward_outs)
agents/encoders/siglip_encoder.py:33
↓ 2 callersMethodforward
(self, t, cache_key = None)
agents/models/beso/models/networks/transformers/position_embeddings.py:174
↓ 2 callersMethodforward_enc_only
(self, states, actions=None, goals=None, sigma=None, uncond: Optional[bool] = False)
agents/models/beso/models/networks/mdtv_transformer.py:213
↓ 2 callersFunctionfused_recurrent_gla
( q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, gk: torch.Tensor = None, gv: torch.Te
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/gla/recurrent_fuse.py:387
↓ 2 callersFunctiongather_along_dim_with_dim_single
This function indexes out a target dimension of a tensor in a structured way, by allowing a different value to be selected for each member of
agents/utils/tensor_util.py:670
↓ 2 callersMethodget_all_actions
Returns all actions from all trajectories, concatenated on dim 0 (time).
environments/dataset/libero_dataset.py:175
↓ 2 callersFunctionget_all_checkpoints
(experiment_folder: Path)
agents/models/beso/utils/utils.py:64
↓ 2 callersMethodget_hf_model_registry
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/huggingface_model_benchmark.py:74
↓ 2 callersFunctionget_iddpm_sigmas
Constructs a continuous VP noise schedule.
agents/models/beso/models/edm_diffusion/gc_sampling.py:71
↓ 2 callersFunctionget_matching_keys_for
(regex: str, keys: list[str])
agents/backbones/xlstm/utils.py:13
↓ 2 callersFunctionget_mlstm_kernel
Get a mlstm sequence kernel function by name. Naming convention: name = "<module_name>--<backend_name>" module_name: The name of th
agents/backbones/xlstm/mlstm_kernels/torch/__init__.py:35
↓ 2 callersFunctionget_mlstm_step_kernel
Get a mlstm step kernel function by name. Naming convention: name = "<backend_name>" backend_name: The name of the kernel function
agents/backbones/xlstm/mlstm_kernels/torch/__init__.py:75
↓ 2 callersMethodget_noise_schedule
Get the noise schedule for the sampling steps. Describes the distribution over the noise levels from sigma_min to sigma_max.
agents/beso_agent.py:286
↓ 2 callersMethodget_noise_schedule
Get the noise schedule for the sampling steps. Describes the distribution over the noise levels from sigma_min to sigma_max.
agents/models/beso/beso.py:282
↓ 2 callersFunctionget_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
agents/models/beso/utils/clip_tokenizer.py:38
↓ 2 callersMethodget_param_dicts
Get all the parameter dictionaries for the benchmark.
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/param_handling.py:110
↓ 2 callersMethodget_seq_pos
(self, seq_len, device, dtype, offset = 0)
agents/models/beso/models/networks/transformers/position_embeddings.py:135
↓ 2 callersFunctionget_sigmas_exponential
Constructs an exponential noise schedule.
agents/models/beso/models/edm_diffusion/gc_sampling.py:35
↓ 2 callersFunctionget_sigmas_karras
Constructs the noise schedule of Karras et al. (2022).
agents/models/beso/models/edm_diffusion/gc_sampling.py:26
↓ 2 callersFunctionget_sigmas_linear
Constructs an linear noise schedule.
agents/models/beso/models/edm_diffusion/gc_sampling.py:41
↓ 2 callersFunctionget_sigmas_ve
Constructs a continuous VP noise schedule.
agents/models/beso/models/edm_diffusion/gc_sampling.py:61
↓ 2 callersFunctionget_sigmas_vp
Constructs a continuous VP noise schedule.
agents/models/beso/models/edm_diffusion/gc_sampling.py:84
↓ 2 callersFunctionget_xl_chunk_kernel_params
Validates the given kernel parameters or selects kernel params from heuristic. Either specify all kernel parameters or None. If None, the heuristi
agents/backbones/xlstm/mlstm_kernels/triton/chunkwise/xl_chunk/kernel_param_heuristics.py:126
↓ 2 callersMethodinit_vars
(self, trainer, pl_module)
agents/models/beso/utils/automatic_lang_annotator_mp.py:95
↓ 2 callersFunctionis_hip
()
agents/backbones/xlstm/mlstm_kernels/baselines/flash_attention/triton_tutorial.py:25
↓ 2 callersFunctionjoin_dimensions
Joins all dimensions between dimensions (@begin_axis, @end_axis) into a flat dimension, for all tensors in nested dictionary or list or tuple
agents/utils/tensor_util.py:537
↓ 2 callersMethodload_model
(self, device_map=None)
agents/encoders/siglip_encoder.py:22
↓ 2 callersMethodload_state_dict
(self, state_dict)
agents/models/beso/utils/ema.py:99
↓ 2 callersMethodloss
Compute the loss for the denoising process. Args: state: The input state. action: The input action.
agents/models/beso/models/edm_diffusion/score_wrappers.py:45
↓ 2 callersMethodloss_fn
(output: torch.Tensor)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/interface.py:129
↓ 2 callersFunctionmerge_data
(list_of_data)
agents/models/beso/utils/automatic_lang_annotator_mp.py:27
↓ 2 callersFunctionmlstm_chunkwise__recurrent_fw_C
( matK: torch.Tensor, # (B, NH, S, DHQK) matV: torch.Tensor, # (B, NH, S, DHHV) vecB: torch.Tens
agents/backbones/xlstm/mlstm_kernels/torch/chunkwise/triton_limit_chunk/fw_recurrent.py:12
↓ 2 callersFunctionmlstm_chunkwise__recurrent_fw_C
( matK: torch.Tensor, # (B, NH, S, DHQK) matV: torch.Tensor, # (B, NH, S, DHHV) vecF: torch.Tens
agents/backbones/xlstm/mlstm_kernels/torch/chunkwise/triton_xl_chunk/fw_recurrent.py:12
↓ 2 callersFunctionmlstm_chunkwise__recurrent_fw_C
( matK: torch.Tensor, # (B, NH, S, DHQK) matV: torch.Tensor, # (B, NH, S, DHHV) vecB: torch.Tens
agents/backbones/xlstm/mlstm_kernels/torch/chunkwise/native/fw.py:29
↓ 2 callersFunctionmlstm_chunkwise__recurrent_fw_C
Execute the recurrent forward kernel for the C computation in the mLSTM chunkwise formulation. This function defines the grid and block size
agents/backbones/xlstm/mlstm_kernels/jax/chunkwise/triton_limit_chunk/fw_recurrent.py:17
↓ 2 callersFunctionmlstm_chunkwise__recurrent_fw_C
Execute the recurrent forward kernel for the C computation in the mLSTM chunkwise formulation. This function defines the grid and block size
agents/backbones/xlstm/mlstm_kernels/jax/chunkwise/triton_xl_chunk/fw_recurrent.py:18
↓ 2 callersFunctionmlstm_chunkwise_fw
Computes the forward pass of the mLSTM chunkwise formulation. Args: matQ (jax.Array): The query matrix Q. Shape (B, NH, S, DHQK).
agents/backbones/xlstm/mlstm_kernels/jax/chunkwise/native/fw.py:254
↓ 2 callersFunctionmlstm_parallel_fw
( matQ: torch.Tensor, matK: torch.Tensor, matV: torch.Tensor, vecI: torch.Tensor, vecF: to
agents/backbones/xlstm/mlstm_kernels/torch/parallel/native_stablef/fw.py:15
↓ 2 callersFunctionmlstm_parallel_fw
( matQ: torch.Tensor, matK: torch.Tensor, matV: torch.Tensor, vecI: torch.Tensor, vecF: to
agents/backbones/xlstm/mlstm_kernels/torch/parallel/native/fw.py:15
↓ 2 callersFunctionmlstm_parallel_fw
( matQ: jax.Array, matK: jax.Array, matV: jax.Array, vecI: jax.Array, vecF: jax.Array,
agents/backbones/xlstm/mlstm_kernels/jax/parallel/native_stablef/fw.py:15
↓ 2 callersFunctionmlstm_parallel_fw
( matQ: jax.Array, matK: jax.Array, matV: jax.Array, vecI: jax.Array, vecF: jax.Array,
agents/backbones/xlstm/mlstm_kernels/jax/parallel/native/fw.py:15
↓ 2 callersFunctionmodulate
(x, shift, scale)
agents/backbones/xlstm/blocks.py:486
↓ 2 callersFunctionmodulate
(x, shift, scale)
agents/backbones/mamba/blocks.py:113
↓ 2 callersFunctionmodulate
(x, shift, scale)
agents/backbones/transformer/blocks.py:215
↓ 2 callersFunctionmodulate
(x, shift, scale)
agents/models/beso/models/networks/transformers/transformer_blocks.py:262
↓ 2 callersFunctionpad_sequence_single
Pad input tensor or array @seq in the time dimension (dimension 1). Args: seq (np.ndarray or torch.Tensor): sequence to be padded
agents/utils/tensor_util.py:761
↓ 2 callersFunctionpatch_device
(module)
agents/models/beso/models/networks/clip.py:633
↓ 2 callersFunctionpatch_float
(module)
agents/models/beso/models/networks/clip.py:657
↓ 2 callersMethodpatchify
Convert a batch of (0th + Kth frame) images to their patched equivalents by naive reshaping.
agents/models/beso/models/img_generation/masked_transformer_decoder.py:195
↓ 2 callersFunctionplot_numerical_diffs_per_batchhead
( baseline, target=None, title="", vmin=0.0, vmax=1e-2, figsize=(10, 6), rtol: flo
agents/backbones/xlstm/mlstm_kernels/utils/plot/diff_imshow.py:118
↓ 2 callersFunctionplot_result_table
( additional_exclude_col_regex: str, plot_name_suffix: str, y_label: str )
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/run_benchmark.py:189
↓ 2 callersFunctionplot_runtime_results
Plot runtime results from a DataFrame. Convenience function to create a bar or line plot for runtime results. Also sets the matplotlib rc para
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/plot_results.py:475
↓ 2 callersMethodprocess_sigma_embeddings
(self, sigma)
agents/models/beso/models/networks/mdtv_transformer.py:247
↓ 2 callersFunctionreturn_model_parameters_in_millions
(model)
agents/models/beso/models/networks/mdtv_transformer.py:29
↓ 2 callersMethodrotate_queries_or_keys
(self, t, seq_dim = -2, offset = 0)
agents/models/beso/models/networks/transformers/position_embeddings.py:138
↓ 2 callersFunctionsample_ddim
DPM-Solver 1( or DDIM sampler
agents/models/beso/models/edm_diffusion/gc_sampling.py:923
↓ 2 callersFunctionsample_dpm_2
A sampler inspired by DPM-Solver-2 and Algorithm 2 from Karras et al. (2022). SDE for S_churn!=0 and ODE otherwise 1. Last deno
agents/models/beso/models/edm_diffusion/gc_sampling.py:315
↓ 2 callersFunctionsample_dpm_2_ancestral
Ancestral sampling with DPM-Solver inspired second-order steps. Ancestral sampling is based on the DDPM paper (https://arxiv.org/abs/2006.11
agents/models/beso/models/edm_diffusion/gc_sampling.py:376
↓ 2 callersFunctionsample_dpm_adaptive
DPM-Solver-12 and 23 (adaptive step size). See https://arxiv.org/abs/2206.00927.
agents/models/beso/models/edm_diffusion/gc_sampling.py:834
↓ 2 callersFunctionsample_dpm_fast
DPM-Solver-Fast (fixed step size). See https://arxiv.org/abs/2206.00927.
agents/models/beso/models/edm_diffusion/gc_sampling.py:673
↓ 2 callersFunctionsample_dpmpp_2_with_lms
DPM-Solver++(2M).
agents/models/beso/models/edm_diffusion/gc_sampling.py:797
↓ 2 callersFunctionsample_dpmpp_2m
DPM-Solver++(2M).
agents/models/beso/models/edm_diffusion/gc_sampling.py:700
↓ 2 callersFunctionsample_dpmpp_2s
DPM-Solver++(2S) second-order steps.
agents/models/beso/models/edm_diffusion/gc_sampling.py:956
↓ 2 callersFunctionsample_dpmpp_2s_ancestral
Ancestral sampling combined with DPM-Solver++(2S) second-order steps.
agents/models/beso/models/edm_diffusion/gc_sampling.py:874
↓ 2 callersFunctionsample_dpmpp_sde
DPM-Solver++ (stochastic).
agents/models/beso/models/edm_diffusion/gc_sampling.py:737
↓ 2 callersFunctionsample_euler
Implements a variant of Algorithm 2 (Euler steps) from Karras et al. (2022). Stochastic sampler, which combines a first order ODE solver with
agents/models/beso/models/edm_diffusion/gc_sampling.py:165
↓ 2 callersFunctionsample_euler_ancestral
Ancestral sampling with Euler method steps. 1. compute dx_{i}/dt at the current timestep 2. get \sigma_{up} and \sigma_{down} from
agents/models/beso/models/edm_diffusion/gc_sampling.py:214
↓ 2 callersFunctionsample_heun
Implements Algorithm 2 (Heun steps) from Karras et al. (2022). For S_churn =0 this is an ODE solver otherwise SDE Every update consists o
agents/models/beso/models/edm_diffusion/gc_sampling.py:257
↓ 2 callersFunctionsample_lms
A linear multistep sampler. 1. compute x_{t-1} using the current noise level 2. compute dx/dt at x_{t-1} using the current noise level
agents/models/beso/models/edm_diffusion/gc_sampling.py:430
↓ 2 callersMethodsave_and_postprocess
(self, collected_data, lang_folder, mod, length)
agents/models/beso/utils/automatic_lang_annotator_mp.py:203
↓ 2 callersMethodset_lr
(optimizer, lr)
agents/models/beso/utils/lr_schedulers/lr_scheduler.py:42
↓ 2 callersMethodset_scaler
(self, scaler)
agents/base_agent.py:55
↓ 2 callersMethodsetup_benchmark
Sets up the benchmark function to run.
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/interface.py:53
← previousnext →101–200 of 1,241, ranked by callers