MCPcopy Create free account

hub / github.com/ALRhub/X_IL / functions

Functions1,241 in github.com/ALRhub/X_IL

Functionmlstm_recurrent_step__native
This is a single step of the mLSTM operation in recurrent form.
agents/backbones/xlstm/mlstm_kernels/jax/recurrent/native_step.py:79
Functionmlstm_recurrent_step__triton
This is a single step of the mLSTM operation in recurrent form.
agents/backbones/xlstm/mlstm_kernels/torch/recurrent/triton_step.py:139
Functionmlstm_recurrent_step__triton
This is a single step of the mLSTM operation in recurrent form.
agents/backbones/xlstm/mlstm_kernels/jax/recurrent/triton_step.py:113
Functionmlstm_recurrent_step__triton_alternate
This is a single step of the mLSTM operation in recurrent form.
agents/backbones/xlstm/mlstm_kernels/torch/recurrent/triton_step_alternate.py:181
Functionnamed_reduce
Reduces all tensors in nested dictionary or list or tuple at a dimension using a named reduction function. Args: x (dict or list
agents/utils/tensor_util.py:654
Methodnew_forward
( input_ids: torch.LongTensor, attention_mask: torch.Tensor | None = N
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/huggingface_model_benchmark.py:194
Functionnormalize_output
(q, k, o)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/simple_gla/chunk.py:14
Methodnum_patches
(self)
agents/encoders/siglip_encoder.py:84
Methodnum_patches_per_side
(self)
agents/encoders/siglip_encoder.py:80
Functionode_fn
(sigma, action)
agents/models/beso/models/edm_diffusion/gc_sampling.py:477
Methodon_train_batch_end
( self, trainer: Trainer, pl_module: LightningModule, outputs: Any, ba
agents/models/beso/utils/automatic_lang_annotator_mp.py:165
Methodon_train_batch_start
(self, batch: Any, batch_idx: int, unused: Optional[int] = 0)
agents/models/beso/utils/automatic_lang_annotator_mp.py:327
Methodon_train_epoch_end
(self, trainer: Trainer, pl_module: LightningModule, unused: Optional[int] = None)
agents/models/beso/utils/automatic_lang_annotator_mp.py:197
Methodon_train_start
(self, trainer: Trainer, pl_module: LightningModule)
agents/models/beso/utils/automatic_lang_annotator_mp.py:127
Methodon_validation_batch_end
( self, trainer: Trainer, pl_module: LightningModule, outputs: Any, ba
agents/models/beso/utils/automatic_lang_annotator_mp.py:131
Methodon_validation_epoch_end
(self, trainer: Trainer, pl_module: LightningModule, dataloader_idx: int)
agents/models/beso/utils/automatic_lang_annotator_mp.py:200
Methodon_validation_start
Called when the validation loop begins.
agents/models/beso/utils/automatic_lang_annotator_mp.py:122
Methodoutput_shape
(self)
agents/encoders/multi_image_obs_encoder.py:199
Methodoutput_shape
(self)
agents/models/beso/models/perceptual_encoders/multi_image_obs_encoder.py:197
Methodoutput_shape_in
Function to compute output shape from inputs to this module. Corresponds to the @forward_in operation, where raw inputs (usually obse
agents/encoders/crop_randomizer.py:41
Methodoutput_shape_out
Function to compute output shape from inputs to this module. Corresponds to the @forward_out operation, where processed inputs (usual
agents/encoders/crop_randomizer.py:62
Functionpad_sequence
Pad a nested dictionary or list or tuple of sequence tensors in the time dimension (dimension 1). Args: seq (dict or list or tuple):
agents/utils/tensor_util.py:797
Functionplot_mlstm_v1_v2_flop_comparison
( sequence_length: int, batch_size: int, chunk_size: int, model_size_keys: list[str], plot
agents/backbones/xlstm/mlstm_kernels/utils/flops/mlstm_flop_analysis.py:108
Functionplot_numerical_diffs
( pt_fp32_baseline, cu_fp32, cu_bf16, cu_half, title, vmin=0.0, vmax=1e-2, fig
agents/backbones/xlstm/mlstm_kernels/utils/plot/diff_imshow.py:60
Functionplot_runtime_results_fwbw
Similar to `plot_runtime_results`, but plots two figures side by side. Args: df_left: DataFrame with the data to plot on the left sid
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/plot_results.py:579
Functionprepare_qg_kg
( q, k, g, qg, kg, s_qk_h, s_qk_t, s_qk_d, B, H, T, scale,
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/gla/chunk_util.py:40
Methodprepool_im
Run until prepool and save intermediate features
agents/models/beso/models/networks/clip.py:191
Methodpreprocess_goals
(self, goals, states_length,uncond=False)
agents/models/beso/models/networks/mdt_transformer.py:270
Functionprint_system_env_info
()
agents/models/beso/utils/utils.py:129
Methodprocess_goal_embeddings
(self, goals, states)
agents/models/beso/models/networks/mdtv_transformer.py:277
Methodprocess_goal_embeddings
(self, goals, states)
agents/models/beso/models/networks/mdt_transformer.py:255
Functionprocess_image_input
(img_tensor)
simulation/libero_sim.py:23
Methodprocess_state_embeddings
(self, states)
agents/models/beso/models/networks/mdtv_transformer.py:269
Methodprocess_state_embeddings
(self, states)
agents/models/beso/models/networks/mdt_transformer.py:284
Functionquat2axisangle_numpy
Converts quaternions to axis-angle format. Returns unit vector directions scaled by their angles in radians. Args: quats (np.arr
utils/transform_utils.py:151
Functionquat2axisangle_torch
Converts quaternions to axis-angle format. Returns unit vector directions scaled by their angles in radians. Args: quats (torch.
utils/transform_utils.py:181
Functionquat2mat_numpy
Converts given quaternion(s) to matrix/matrices. Args: quaternions (np.ndarray): (x,y,z,w) vec4 float angles, shape (..., 4) Re
utils/transform_utils.py:29
Functionquat2mat_torch
Converts given quaternion(s) to matrix/matrices. Args: quaternions (torch.Tensor): (x,y,z,w) vec4 float angles, shape (..., 4)
utils/transform_utils.py:5
Functionrand_discrete
Draws samples from the given discrete values.
agents/models/beso/models/edm_diffusion/utils.py:194
Functionrand_log_logistic
Draws samples from an optionally truncated log-logistic distribution.
agents/models/beso/models/edm_diffusion/utils.py:159
Functionrand_log_normal
Draws samples from a lognormal distribution.
agents/models/beso/models/edm_diffusion/utils.py:154
Functionrand_log_uniform
Draws samples from an log-uniform distribution.
agents/models/beso/models/edm_diffusion/utils.py:169
Functionrand_split_log_normal
Draws samples from a split lognormal distribution.
agents/models/beso/models/edm_diffusion/utils.py:184
Functionrand_uniform
Draws samples from a uniform distribution.
agents/models/beso/models/edm_diffusion/utils.py:201
Functionrand_v_diffusion
Draws samples from a truncated v-diffusion training timestep distribution.
agents/models/beso/models/edm_diffusion/utils.py:176
Functionrc_context_wrapper
(func: Callable, **kwargs)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/plot_results.py:30
Methodreconstruct
Generate reconstructions of data through the model. Parameters ---------- data : torch.Tensor Data to be reconstr
agents/utils/visualizer.py:195
Methodreconstruct_image
Visualize the reconstructed images and save them side by side as a PNG file. Args: predictions (torch.Tensor): The recon
agents/models/beso/models/img_generation/masked_transformer_decoder.py:304
Functionrecurrent_cumsum_bwd_kernel
(ds, dz, s_s_h, s_s_t, T: tl.constexpr, S: tl.constexpr, BS: tl.constexpr)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:167
Functionrecurrent_cumsum_fwd_kernel
(s, z, s_s_h, s_s_t, T: tl.constexpr, S: tl.constexpr, BS: tl.constexpr)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:137
Functionrecurrent_reversed_cumsum_bwd_kernel
(ds, dz, s_s_h, s_s_t, T: tl.constexpr, S: tl.constexpr, BS: tl.constexpr)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:347
Functionrecurrent_reversed_cumsum_fwd_kernel
(s, z, s_s_h, s_s_t, T: tl.constexpr, S: tl.constexpr, BS: tl.constexpr)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:317
Functionrecurrent_step_fw_kernel
( matC_old, # (B, NH, DHQK, DHHV) vecN_old, # (B, NH, DHQK) scaM_old, # (B, NH, 1) vecQ, #
agents/backbones/xlstm/mlstm_kernels/triton/recurrent/fw_step_fused.py:19
Functionrecurrent_step_fw_kernel_C
( matC_old, # (B, NH, DHQK, DHV) vecN_old, # (B, NH, DHQK) scaM_old, # (B, NH, 1) vecK, #
agents/backbones/xlstm/mlstm_kernels/triton/recurrent/fw_step_alternate.py:63
Functionrecurrent_step_fw_kernel_H
( vecQ, # (B, NH, DHQK) vecH, # (B, NH, DHV) matC_new, # (B, NH, DHQK, DHV) vecN_new, # (B
agents/backbones/xlstm/mlstm_kernels/triton/recurrent/fw_step_alternate.py:166
Functionregister_scheduler
New scheduler types can be added to OpenSpeech with the :func:`register_scheduler` function decorator. For example:: @register_sched
agents/models/beso/utils/lr_schedulers/__init__.py:30
Functionregister_scheduler_cls
(cls)
agents/models/beso/utils/lr_schedulers/__init__.py:45
Functionrepeat_by_expand_at
Repeat a dimension by combining expand and reshape operations. Args: x (dict or list or tuple): a possibly nested dictionary or list
agents/utils/tensor_util.py:613
Methodreset
(self)
environments/wrappers/point_cloud_sampling_wrapper.py:18
Methodreset
(self)
environments/wrappers/point_cloud_wrapper.py:16
Methodreset
(self)
environments/wrappers/robosuite_wrapper.py:29
Methodreset_to
(self, state)
environments/wrappers/point_cloud_sampling_wrapper.py:25
Methodreset_to
(self, state)
environments/wrappers/point_cloud_wrapper.py:23
Methodreset_to
(self, state)
environments/wrappers/robosuite_wrapper.py:36
Methodrestore
Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without affecting the
agents/utils/ema.py:75
Methodrestore
Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without affecting the
agents/models/beso/utils/ema.py:75
Functionreturn_model_parameters_in_millions
(model)
agents/models/beso/models/networks/mdt_transformer.py:32
Functionreturn_time_sigma_embedding_model
Method returns an embedding model given the chosen type
agents/models/beso/models/edm_diffusion/utils.py:8
Methodrev_cumsum
(x)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/simple_gla/chunk.py:454
Methodrev_cumsum_exclusive
(x)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/gla/chunk_fuse.py:626
Methodreverse_rgb_channels
(self, test_img)
simulation/libero_sim.py:53
Functionreversed_cumsum
( s: torch.Tensor, dtype: torch.dtype | None = None, )
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:475
Methodrotate_queries_and_keys
(self, q, k, seq_dim = -2)
agents/models/beso/models/networks/transformers/position_embeddings.py:144
Functionrun_and_record_benchmarks
( benchmark_config: BenchmarkConfig, benchmark_creator: BenchmarkCreator, output_folder: Path,
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/run_benchmark.py:146
Methodrun_benchmark
( self, return_mode: Literal["mean"] | Literal["median"] = "mean", grad_to_none: tuple
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/interface.py:163
Functionrun_benchmarks
Runs the different kernel configurations and summarizes the results in a DataFrame. Args: benchmark_config: The benchmark configuration.
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/run_benchmark.py:22
Functionrun_model_benchmarks
Runs the different model configurations and summarizes the results in a DataFrame. This differs from the kernel benchmark in that way that the two
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/run_benchmark.py:72
Functionsave_executed_code
()
agents/models/beso/utils/utils.py:82
Methodsave_pretrained
Minimal implementation of save_pretrained for MambaLMHeadModel. Save the model and its configuration file to a directory.
agents/backbones/mamba/mamba.py:324
Methodsave_visualization_to_file
(self, pointcloud, file_path, color:tuple=None)
utils/visualizer/visualizer/pointcloud.py:168
Methodscale_input
(self, x)
agents/utils/scaler.py:158
Methodscale_output
Scales the output tensor `y` based on the defined scaling parameters. Args: y (torch.Tensor): The output tensor to be sca
agents/utils/scaler.py:54
Methodscale_output
(self, y)
agents/utils/scaler.py:255
Functionscan_fn
(carry, inputs)
agents/backbones/xlstm/mlstm_kernels/jax/recurrent/native_sequence_scan.py:89
Functionselect_columns
Select columns from a DataFrame and keep columns matching a regex.
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/plot_results.py:195
Methodset_scaler
(self, scaler)
agents/ddpm_agent.py:54
Methodsetup_benchmark
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/training_kernel_benchmarks.py:407
Methodsetup_benchmark
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/model_benchmarks.py:107
Methodsetup_benchmark
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/inference_kernel_benchmarks.py:61
Methodsetup_benchmark
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/inference_kernel_benchmarks.py:134
Methodsetup_benchmark
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/inference_kernel_benchmarks.py:214
Methodsetup_benchmark
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/huggingface_model_benchmark.py:279
Methodsetup_benchmark
(self)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/benchmarks/interface.py:138
Functionsetup_output_folder
( output_dir: str = "./outputs_kernel_benchmarks", name_suffix: str | None = None, log_level: int | str |
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/utils.py:7
Functionsimulate_CPU_devices
Simulate a CPU with a given number of devices. Args: device_count: The number of devices to simulate.
agents/backbones/xlstm/mlstm_kernels/jax/xla_utils.py:7
Functionsoftmax_bwd_kernel
(p, dp, ds, s_s_h, s_s_t, s_s_d, T: tl.constexpr, S: tl.constexpr, BT: tl.constexpr)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:106
Functionsoftmax_fwd_kernel
(s, p, s_s_h, s_s_t, s_s_d, T: tl.constexpr, S: tl.constexpr, BT: tl.constexpr)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/fla_utils.py:79
Methodstem
(x)
agents/models/beso/models/networks/clip.py:175
Methodstep
(self, action)
environments/wrappers/point_cloud_sampling_wrapper.py:12
Methodstep
(self, action)
environments/wrappers/point_cloud_wrapper.py:10
← previousnext →1,101–1,200 of 1,241, ranked by callers