MCPcopy Create free account

hub / github.com/World-In-World/world-in-world / functions

Functions7,952 in github.com/World-In-World/world-in-world

↓ 15 callersFunctionload_prompt_from
(relative_path)
downstream/prompts.py:89
↓ 15 callersMethodstep
Called each time the simulation is stepped. Can usually be left.
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:181
↓ 15 callersFunctionworker_main
Process loop executed by one worker thread or process. Parameters ---------- pipe_fd : int File descriptor opened by the parent (w
downstream/utils/worker_manager.py:660
↓ 14 callersFunctionReadCustomDataBlock
(objectHandle, tagName)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/utils.py:278
↓ 14 callersMethod_apply_perturbed_attention_guidance
r""" Apply perturbed attention guidance to the noise prediction. Args: noise_pred (torch.Tensor): The noise prediction te
FTsvd/diffusers-private/diffusers/pipelines/pag/pag_utils.py:101
↓ 14 callersMethod_set_pag_attn_processor
r""" Set the attention processor for the PAG layers.
FTsvd/diffusers-private/diffusers/pipelines/pag/pag_utils.py:36
↓ 14 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:450
↓ 14 callersMethodfuse_projections
(self, fuse=True)
FTsvd/diffusers-private/diffusers/models/attention_processor.py:671
↓ 14 callersMethodinference_batch
Run batched inference over a batch of trajectories, and generate predictions either as a rollout or at specific time checkpoints.
downstream/api_models/nwm_model.py:433
↓ 14 callersMethodset_pag_applied_layers
r""" Set the the self-attention layers to apply PAG. Raise ValueError if the input is invalid. Args: pag_applied_layers (
FTsvd/diffusers-private/diffusers/pipelines/pag/pag_utils.py:152
↓ 14 callersMethodto
r""" Performs Pipeline dtype and/or device conversion. A torch.dtype and torch.device are inferred from the arguments of `self.to(*arg
FTsvd/diffusers-private/diffusers/pipelines/pipeline_utils.py:321
↓ 14 callersFunctionzero_module
(module)
FTsvd/diffusers-private/diffusers/models/controlnet.py:867
↓ 13 callersMethod__init__
(self, dim, eps: float, elementwise_affine: bool = True)
FTsvd/diffusers-private/diffusers/models/normalization.py:489
↓ 13 callersFunction_get_library_root_logger
()
FTsvd/diffusers-private/diffusers/utils/logging.py:73
↓ 13 callersFunction_get_model_file
( pretrained_model_name_or_path: Union[str, Path], *, weights_name: str, subfolder: Optional[s
FTsvd/diffusers-private/diffusers/utils/hub_utils.py:281
↓ 13 callersMethod_get_signature_keys
(cls, obj)
FTsvd/diffusers-private/diffusers/pipelines/pipeline_utils.py:1486
↓ 13 callersFunctionassign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and take
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:168
↓ 13 callersMethoddevice
r""" Returns: `torch.device`: The torch device on which the pipeline is located.
FTsvd/diffusers-private/diffusers/pipelines/pipeline_utils.py:472
↓ 13 callersMethodpack_weights
(layers, prefix)
FTsvd/diffusers-private/diffusers/loaders/lora_base.py:714
↓ 13 callersMethodsort
(a, b)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_dpmsolver_sde.py:82
↓ 12 callersMethod_assert_action_space
(self, action, expected_shape)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:112
↓ 12 callersMethodadd_to_recent_state
Update the *latest row* of ``self.state_traj`` at column ``key``. mode : {'replace', 'extend'}, default 'replace' - repla
downstream/utils/state_traj.py:90
↓ 12 callersMethoddecode
(self, token_ids)
downstream/vlm.py:104
↓ 12 callersMethodencode
(self, text)
downstream/vlm.py:101
↓ 12 callersMethodflush
(self)
utils/logger.py:45
↓ 12 callersMethodget_base
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:467
↓ 12 callersFunctionis_note_seq_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:399
↓ 12 callersFunctionis_peft_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:431
↓ 12 callersMethodprogress_bar
(self, iterable=None, total=None)
FTsvd/diffusers-private/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:206
↓ 11 callersMethod__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
FTsvd/diffusers-private/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:1789
↓ 11 callersFunction_json_response
(handler, payload, status=200)
downstream/world-in-world-manip/scripts/libero_env_server.py:35
↓ 11 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_deis_multistep.py:360
↓ 11 callersMethoddownsample
Downsamples the provided mask tensor to match the expected dimensions for scaled dot-product attention. If the aspect ratio of the ma
FTsvd/diffusers-private/diffusers/image_processor.py:1150
↓ 11 callersMethodenable_sequential_cpu_offload
r""" Offloads all models to CPU using 🤗 Accelerate, significantly reducing memory usage. When called, the state dicts of all `torch.nn
FTsvd/diffusers-private/diffusers/pipelines/pipeline_utils.py:1092
↓ 11 callersMethodget_datum_path_pref
(self, datum)
downstream/utils/saver.py:38
↓ 11 callersMethodget_from_history
Fetches all the values from the specified state column, and filter out empty values.
downstream/world-in-world-manip/wiw_manip/planner/utils/state_traj.py:141
↓ 11 callersMethodprogress_bar
(self, iterable=None, total=None)
FTsvd/diffusers-private/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:193
↓ 11 callersMethodset_chunk_feed_forward
(self, chunk_size: Optional[int], dim: int = 0)
FTsvd/diffusers-private/diffusers/models/transformers/hunyuan_transformer_2d.py:161
↓ 10 callersMethod__init__
(self, config: ChatGLMConfig, device=None)
FTsvd/diffusers-private/diffusers/pipelines/kolors/text_encoder.py:441
↓ 10 callersMethod_build_user_message
Create a single “user”-role OpenAI message with **one prompt** (may be empty) followed by N images.
downstream/world-in-world-manip/wiw_manip/planner/igenex_planner.py:353
↓ 10 callersFunction_convert_to_ai_toolkit
(sds_sd, ait_sd, sds_key, ait_key)
FTsvd/diffusers-private/diffusers/loaders/lora_conversion_utils.py:337
↓ 10 callersMethodclose
(self)
utils/logger.py:51
↓ 10 callersMethodget_action_path_pref
(self, datum, ith_action: int)
downstream/utils/saver.py:51
↓ 10 callersFunctionget_adapter_name
(model)
FTsvd/diffusers-private/diffusers/utils/peft_utils.py:195
↓ 10 callersFunctionget_peft_kwargs
(rank_dict, network_alpha_dict, peft_state_dict, is_unet=True)
FTsvd/diffusers-private/diffusers/utils/peft_utils.py:150
↓ 10 callersMethodget_state
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:471
↓ 10 callersFunctionis_librosa_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:383
↓ 10 callersMethodput
Splits 'input_dict' into smaller batches and puts them into input_queue. Assumes all lists in 'input_dict' have the same length and
downstream/utils/worker.py:226
↓ 10 callersMethodshutdown
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/environment.py:169
↓ 10 callersMethodstep
(self, action, collision_checking=None, use_auto_move=True, recorder=None, need_grasp_obj=None)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:235
↓ 9 callersFunction_add_variant
(weights_name: str, variant: Optional[str] = None)
FTsvd/diffusers-private/diffusers/utils/hub_utils.py:271
↓ 9 callersFunction_configure_library_root_logger
()
FTsvd/diffusers-private/diffusers/utils/logging.py:77
↓ 9 callersMethod_optionally_disable_offloading
Optionally removes offloading in case the pipeline has been already sequentially offloaded to CPU. Args: _pipeline (`Dif
FTsvd/diffusers-private/diffusers/loaders/lora_base.py:202
↓ 9 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:357
↓ 9 callersFunctionapply_freeu
Applies the FreeU mechanism as introduced in https: //arxiv.org/abs/2309.11497. Adapted from the official code repository: https://github.com/Chen
FTsvd/diffusers-private/diffusers/utils/torch_utils.py:124
↓ 9 callersMethodfetch_current_state_obs
Returns the current state observation.
downstream/utils/state_traj.py:120
↓ 9 callersFunctionget_1d_rotary_pos_embed
Precompute the frequency tensor for complex exponentials (cis) with given dimensions. This function calculates a frequency tensor with compl
FTsvd/diffusers-private/diffusers/models/embeddings.py:631
↓ 9 callersMethodget_crop_region
r""" Finds a rectangular region that contains all masked ares in an image, and expands region to match the aspect ratio of the origina
FTsvd/diffusers-private/diffusers/image_processor.py:293
↓ 9 callersMethodget_default_height_width
r""" Returns the height and width of the image, downscaled to the next integer multiple of `vae_scale_factor`. Args: imag
FTsvd/diffusers-private/diffusers/image_processor.py:540
↓ 9 callersMethodget_observation
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:109
↓ 9 callersFunctionis_accelerate_version
Compares the current Accelerate version to a given reference with an operation. Args: operation (`str`): A string repres
FTsvd/diffusers-private/diffusers/utils/import_utils.py:718
↓ 9 callersFunctionload_state_dict
Reads a checkpoint file, returning properly formatted errors if they arise.
FTsvd/diffusers-private/diffusers/models/model_loading_utils.py:131
↓ 9 callersFunctionlog_metric
(metrics_path, content)
downstream/utils/util.py:441
↓ 9 callersMethodscale_noise
Forward process in flow-matching Args: sample (`torch.FloatTensor`): The input sample. times
FTsvd/diffusers-private/diffusers/schedulers/scheduling_flow_match_heun_discrete.py:110
↓ 8 callersMethod__init__
(self)
downstream/world-in-world-manip/wiw_manip/envs/utils.py:808
↓ 8 callersMethod__init__
( self, in_channels: int = 3, channels: List[int] = [320, 640, 1280, 1280], nu
FTsvd/diffusers-private/diffusers/models/adapter.py:245
↓ 8 callersMethod__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
FTsvd/diffusers-private/diffusers/models/unets/unet_motion_model.py:778
↓ 8 callersMethod__init__
( self, in_channels: int = 4, time_embedding_dim: int = 1536, groups: int = 32
FTsvd/diffusers-private/diffusers/models/unets/unet_kandinsky3.py:51
↓ 8 callersMethod__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py:567
↓ 8 callersMethod_apply_free_init
( self, latents: torch.Tensor, free_init_iteration: int, num_inference_steps:
FTsvd/diffusers-private/diffusers/pipelines/free_init_utils.py:138
↓ 8 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_unipc_multistep.py:444
↓ 8 callersFunctionannotate_frame
( image, text, text_color="red", bg_color="white", font_size=20, title_height=30,
downstream/visualize.py:155
↓ 8 callersMethodclean_up_history
Cleans up the history for the specified key by set all the values to pd none in the column.
downstream/utils/state_traj.py:173
↓ 8 callersFunctionconvert_equi2per
( equi_img, h_pers: int = 512, w_pers: int = 512, fov_x: float = 90.0 )
habitat_data/equi2cube/convert_equi2per.py:130
↓ 8 callersMethodencode
(self, token_ids)
FTsvd/diffusers-private/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:127
↓ 8 callersFunctionfast_path_test
(point, robot)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/unit_tasks.py:25
↓ 8 callersFunctionfind_largest_factor
(number, max_factor)
FTsvd/diffusers-private/diffusers/models/controlnet_xs.py:1937
↓ 8 callersMethodfrom_unet2d
( cls, unet: UNet2DConditionModel, motion_adapter: Optional[MotionAdapter] = None,
FTsvd/diffusers-private/diffusers/models/unets/unet_motion_model.py:1630
↓ 8 callersMethodget_action_path_pref
(self, datum, ith_action: int)
downstream/world-in-world-manip/wiw_manip/planner/utils/saver.py:51
↓ 8 callersMethodget_action_traj
Returns the action trajectory list.
downstream/utils/state_traj.py:206
↓ 8 callersFunctionget_down_block
( down_block_type: str, num_layers: int, in_channels: int, out_channels: int, temb_channel
FTsvd/diffusers-private/diffusers/models/unets/unet_1d_blocks.py:626
↓ 8 callersMethodget_metric_path
Determine the metric file path based on whether we have a datum (episode-level file) or a parallel_ith scenario (global worker-level
downstream/utils/saver.py:111
↓ 8 callersMethodget_task
(self, task_class: Type[Task])
downstream/world-in-world-manip/wiw_manip/envs/amsolver/environment.py:174
↓ 8 callersFunctionget_up_block
( up_block_type: str, num_layers: int, in_channels: int, out_channels: int, temb_channels: int, add_upsamp
FTsvd/diffusers-private/diffusers/models/unets/unet_1d_blocks.py:651
↓ 8 callersFunctionis_torch_npu_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:351
↓ 8 callersMethodlaunch
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/environment.py:134
↓ 8 callersFunctionload_prompt
(name: str)
subtrees/open-eqa/openeqa/utils/prompt_utils.py:21
↓ 8 callersMethodnormalize
(self, x_in, key)
FTsvd/diffusers-private/diffusers/experimental/rl/value_guided_sampling.py:71
↓ 8 callersMethodrecover_state
(self, saved_states, release=False)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/robot.py:30
↓ 8 callersFunctionrotate_by_degrees
Rotates the input tensor by performing a cyclic horizontal shift along its width dimension. - 0 or 360°: no shift. - ±22.5°:
utils/svd_utils.py:86
↓ 8 callersMethodsample
returns a position within the specified boundary. Calculated using a weighted percentage. set ignore_collisions if you ar
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/spawn_boundary.py:156
↓ 8 callersMethodset_all
(self, value: bool)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/observation_config.py:29
↓ 8 callersMethodstep
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/scene.py:320
↓ 8 callersFunctiontest_reachability
(arm: Arm, pose, try_ik_sampling=False, linear=False, ignore_collisions=False)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/utils.py:306
↓ 8 callersMethodvariation_count
Number of variations for the task. Can be determined dynamically. :return: Number of variations for this task.
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:78
↓ 7 callersMethod__init__
( self, query_dim: int, cross_attention_dim: Optional[int] = None, heads: int
FTsvd/diffusers-private/diffusers/models/attention_processor.py:96
↓ 7 callersMethod__init__
( self, conditioning_channels: int = 3, conditioning_channel_order: str = "rgb",
FTsvd/diffusers-private/diffusers/models/controlnet_xs.py:293
↓ 7 callersMethod__init__
( self, dim: int, dim_out: Optional[int] = None, mult: int = 4, dropou
FTsvd/diffusers-private/diffusers/models/attention.py:1199
↓ 7 callersMethod__init__
( self, inp_channels: int, out_channels: int, kernel_size: Union[int, Tuple[in
FTsvd/diffusers-private/diffusers/models/resnet.py:400
↓ 7 callersMethod__init__
Construct a layernorm module in the T5 style. No bias and no subtraction of mean.
FTsvd/diffusers-private/diffusers/models/transformers/t5_film_transformer.py:383
← previousnext →101–200 of 7,952, ranked by callers