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

↓ 5 callersMethodsave_mat_to_file
(self, matrix, filename)
subtrees/open-eqa/data/scannet/SensorData.py:168
↓ 5 callersFunctionset_cuda_devices
Set the CUDA devices for the workers. Args: num_workers (int): Number of workers. devices (str or None): Comma-separated stri
downstream/utils/workers_cfg.py:244
↓ 5 callersFunctionset_openai_key
(key: Optional[str] = None)
subtrees/open-eqa/openeqa/utils/openai_utils.py:15
↓ 5 callersMethodset_render_mode
(self, render_mode)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/observation_config.py:129
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:69
↓ 5 callersMethodstate_dict
r""" Returns the state of the ExponentialMovingAverage as a dict. This method is used by accelerate during checkpointing to save the e
FTsvd/diffusers-private/diffusers/training_utils.py:524
↓ 5 callersMethodstep
(self, action, debug_payload=None)
downstream/world-in-world-manip/wiw_manip/envs/LiberoEnv.py:136
↓ 5 callersMethodstep
(self, parameters: Iterable[torch.nn.Parameter])
FTsvd/diffusers-private/diffusers/training_utils.py:425
↓ 5 callersFunctiontask_file_to_task_class
(task_file, parent_folder = 'amsolver')
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/utils.py:197
↓ 5 callersFunctionupdate_unet_attention_ldm_to_diffusers
(ldm_keys, new_checkpoint, checkpoint, mapping)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:809
↓ 5 callersFunctionupdate_unet_resnet_ldm_to_diffusers
(ldm_keys, new_checkpoint, checkpoint, mapping=None)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:794
↓ 5 callersFunctionwrite_framed
(sock, obj)
downstream/utils/worker_manager.py:274
↓ 4 callersMethod__init__
( self, input_size=32, context_size=2, patch_size=2, in_channels=4,
downstream/api_models/nwm/diffusion/cdit.py:136
↓ 4 callersMethod__init__
(self, pr: PyRep, model_path: str, instance_id: int)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/unit_tasks.py:30
↓ 4 callersMethod__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
FTsvd/diffusers-private/diffusers/pipelines/audioldm2/modeling_audioldm2.py:1357
↓ 4 callersMethod__init__
(self, c, c_skip=0, kernel_size=3, dropout=0.0)
FTsvd/diffusers-private/diffusers/pipelines/wuerstchen/modeling_wuerstchen_common.py:29
↓ 4 callersMethod__init__
( self, channels: int, use_conv: bool = False, out_channels: Optional[int] = N
FTsvd/diffusers-private/diffusers/models/downsampling.py:42
↓ 4 callersMethod__init__
( self, channels: int, use_conv: bool = False, use_conv_transpose: bool = Fals
FTsvd/diffusers-private/diffusers/models/upsampling.py:42
↓ 4 callersMethod__init__
(self, dim_in: int, dim_out: int, approximate: str = "none", bias: bool = True)
FTsvd/diffusers-private/diffusers/models/activations.py:76
↓ 4 callersMethod__init__
( self, in_features: int, out_features: int, rank: int = 4, network_al
FTsvd/diffusers-private/diffusers/models/lora.py:196
↓ 4 callersMethod__init__
( self, channels, num_res_blocks: int, hidden_size, hidden_dropout,
FTsvd/diffusers-private/diffusers/models/unets/uvit_2d.py:308
↓ 4 callersMethod_combine
r""" Combines a latent iamge img_vae of shape (B, C, H, W) and a CLIP-embedded image img_clip of shape (B, 1, clip_img_dim) into a sin
FTsvd/diffusers-private/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:790
↓ 4 callersFunction_config_to_kwargs
(args)
FTsvd/diffusers-private/diffusers/pipelines/kolors/text_encoder.py:107
↓ 4 callersMethod_demo_record_step
(self, demo_list, record, func)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/scene.py:458
↓ 4 callersMethod_encode_prompt_free_noise
( self, prompt: Union[str, Dict[int, str]], num_frames: int, device: torch.dev
FTsvd/diffusers-private/diffusers/pipelines/free_noise_utils.py:256
↓ 4 callersMethod_get_clip_prompt_embeds
( self, prompt: Union[str, List[str]], num_images_per_prompt: int = 1, device:
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3.py:266
↓ 4 callersMethod_get_clip_prompt_embeds
( self, prompt: Union[str, List[str]], num_images_per_prompt: int = 1, device:
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_img2img.py:280
↓ 4 callersMethod_get_clip_prompt_embeds
( self, prompt: Union[str, List[str]], num_images_per_prompt: int = 1, device:
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_inpaint.py:286
↓ 4 callersMethod_get_clip_prompt_embeds
( self, prompt: Union[str, List[str]], num_images_per_prompt: int = 1, device:
FTsvd/diffusers-private/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet_inpainting.py:316
↓ 4 callersMethod_get_clip_prompt_embeds
( self, prompt: Union[str, List[str]], num_images_per_prompt: int = 1, device:
FTsvd/diffusers-private/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet.py:281
↓ 4 callersMethod_get_clip_prompt_embeds
( self, prompt: Union[str, List[str]], num_images_per_prompt: int = 1, device:
FTsvd/diffusers-private/diffusers/pipelines/pag/pipeline_pag_sd_3.py:281
↓ 4 callersMethod_get_init_keys
(input_class)
FTsvd/diffusers-private/diffusers/configuration_utils.py:460
↓ 4 callersMethod_get_manip_template
(self, task_variation=None)
downstream/world-in-world-manip/wiw_manip/planner/vlm_planner.py:174
↓ 4 callersMethod_path_action
(self, action, collision_checking=False, relative_to=None, recorder=None)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:166
↓ 4 callersMethod_prepare_common_data
Common preparation logic shared across all look_ahead_explore methods. Returns: tuple: (vis_path, action_ids_list, batch
downstream/solver_base.py:474
↓ 4 callersFunction_push
Accumulate possibly repeated keys into list.
utils/parser_additions.py:20
↓ 4 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_dpmsolver_sde.py:431
↓ 4 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:344
↓ 4 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:357
↓ 4 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_euler_discrete.py:452
↓ 4 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_dpmsolver_multistep.py:472
↓ 4 callersMethod_sync_state
(self, state)
downstream/world-in-world-manip/wiw_manip/envs/LiberoEnv.py:87
↓ 4 callersMethod_torque_action
(self, action)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:122
↓ 4 callersMethod_wrap_model
(self, model)
downstream/api_models/nwm/diffusion/respace.py:111
↓ 4 callersFunctionadd_noise_common
( state: CommonSchedulerState, original_samples: jnp.ndarray, noise: jnp.ndarray, timesteps: jnp.ndarray )
FTsvd/diffusers-private/diffusers/schedulers/scheduling_utils_flax.py:280
↓ 4 callersFunctionalpha_bar
(time_step)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_utils_flax.py:212
↓ 4 callersMethodboundary_root
An object that should act as the task root when randomly placing. Sometimes the task can involve a large appliance (e.g. dish washer)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:273
↓ 4 callersFunctioncheck_and_make
(dir)
downstream/world-in-world-manip/wiw_manip/envs/tools/test_config_generator.py:100
↓ 4 callersMethodcheck_latents_shape
(self, latents_name, latents, expected_shape)
FTsvd/diffusers-private/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:951
↓ 4 callersFunctionconstruct_action_space_text
(choice_format, include_stop=True)
downstream/prompts.py:46
↓ 4 callersFunctionconvert_format_2gemini
(messages)
downstream/world-in-world-manip/wiw_manip/planner/utils/planner_utils.py:288
↓ 4 callersFunctionconvert_ldm_clip_checkpoint
(checkpoint, remove_prefix=None)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:1298
↓ 4 callersFunctionconvert_state_dict
r""" Simply iterates over the state dict and replaces the patterns in `mapping` with the corresponding values. Args: state_dict (`dic
FTsvd/diffusers-private/diffusers/utils/state_dict_utils.py:141
↓ 4 callersFunctioncosine_distance
(image_embeds, text_embeds)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_safe/safety_checker.py:25
↓ 4 callersFunctioncosine_distance
(image_embeds, text_embeds)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/safety_checker.py:26
↓ 4 callersMethoddecode
(self, latents, deterministic: bool = True, return_dict: bool = True)
FTsvd/diffusers-private/diffusers/models/vae_flax.py:849
↓ 4 callersMethodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
FTsvd/diffusers-private/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:182
↓ 4 callersMethodenable_sequential_cpu_offload
r""" Offloads all models (`unet`, `text_encoder`, `vae`, and `safety checker` state dicts) to CPU using 🤗 Accelerate, significantly re
FTsvd/diffusers-private/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:196
↓ 4 callersMethodevent_type_range
Return [min_id, max_id] for an event type.
FTsvd/diffusers-private/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:200
↓ 4 callersMethodextract_init_dict
(cls, config_dict, **kwargs)
FTsvd/diffusers-private/diffusers/configuration_utils.py:464
↓ 4 callersFunctionformat_chat_dialog
Save a chat transcript in a clear, readable JSON file and return it. Parameters ---------- messages The list passed to ``ope
downstream/utils/saver.py:151
↓ 4 callersMethodfuse_lora
r""" Fuses the LoRA parameters into the original parameters of the corresponding blocks. <Tip warning={true}> This is an exp
FTsvd/diffusers-private/diffusers/loaders/lora_pipeline.py:1594
↓ 4 callersMethodgelu
(self, gate: torch.Tensor)
FTsvd/diffusers-private/diffusers/models/activations.py:81
↓ 4 callersMethodget
Return final output of a batch, if any.
downstream/utils/worker_manager.py:483
↓ 4 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
FTsvd/diffusers-private/diffusers/models/embeddings.py:162
↓ 4 callersFunctionget_2d_sincos_pos_embed
grid_size: int of the grid height and width return: pos_embed: [grid_size*grid_size, embed_dim] or [1+grid_size*grid_size, embed_dim] (w/ or
FTsvd/diffusers-private/diffusers/models/embeddings.py:128
↓ 4 callersFunctionget_3d_rotary_pos_embed
RoPE for video tokens with 3D structure. Args: embed_dim: (`int`): The embedding dimension size, corresponding to hidden_size_he
FTsvd/diffusers-private/diffusers/models/embeddings.py:499
↓ 4 callersMethodget_chat_log_output_path
(self, action_path)
downstream/utils/saver.py:76
↓ 4 callersMethodget_datum_states_path
(self, curr_episode_num=None)
downstream/world-in-world-manip/wiw_manip/envs/LiberoEnv.py:150
↓ 4 callersMethodget_input_embeddings
(self)
FTsvd/diffusers-private/diffusers/pipelines/kolors/text_encoder.py:812
↓ 4 callersFunctionget_llm_match_score
( question: str, answer: str, prediction: str, extra_answers: Optional[list] = None, opena
subtrees/open-eqa/openeqa/evaluation/llm_match.py:30
↓ 4 callersFunctionget_module_from_name
(module, tensor_name: str)
FTsvd/diffusers-private/diffusers/utils/loading_utils.py:141
↓ 4 callersMethodget_name
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:72
↓ 4 callersMethodget_observation
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/scene.py:178
↓ 4 callersFunctionget_perspective_views
Convert a panorama image to perspective views. Args: per_hfov (float): Horizontal field of view for the perspective views. pa
downstream/utils/igenex_util.py:450
↓ 4 callersMethodget_point_warrning
(self, waypoint, curr_position)
habitat_data/HabitatRender.py:409
↓ 4 callersMethodget_waypoints
(self, need_feasible=True)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:401
↓ 4 callersMethodinit_episode
Initialises the episode. Called each time the scene is reset. Here we usually define how the task changes across variations. Based on
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:66
↓ 4 callersFunctionis_bitsandbytes_version
Args: Compares the current bitsandbytes version to a given reference with an operation. operation (`str`): A string repre
FTsvd/diffusers-private/diffusers/utils/import_utils.py:748
↓ 4 callersFunctionis_clip_model
(checkpoint)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:389
↓ 4 callersFunctionis_open_clip_model
(checkpoint)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:410
↓ 4 callersFunctionis_xformers_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:387
↓ 4 callersFunctionname_to_task_class
(task_file: str, parent_folder = "vlm")
downstream/world-in-world-manip/wiw_manip/envs/amsolver/utils.py:23
↓ 4 callersMethodp_mean_variance
Apply the model to get p(x_{t-1} | x_t), as well as a prediction of the initial x, x_0. :param model: the model, which takes
downstream/api_models/nwm/diffusion/gaussian_diffusion.py:260
↓ 4 callersMethodperform_agent_move
(self, sim, action)
downstream/solver_base.py:241
↓ 4 callersMethodpil_to_numpy
r""" Convert a PIL image or a list of PIL images to NumPy arrays. Args: images (`PIL.Image.Image` or `List[PIL.Image.Imag
FTsvd/diffusers-private/diffusers/image_processor.py:157
↓ 4 callersFunctionprepare_openai_messages
(content: str)
subtrees/open-eqa/openeqa/utils/openai_utils.py:22
↓ 4 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/world-in-world-manip/wiw_manip/planner/utils/worker.py:226
↓ 4 callersMethodq_posterior_mean_variance
Compute the mean and variance of the diffusion posterior: q(x_{t-1} | x_t, x_0)
downstream/api_models/nwm/diffusion/gaussian_diffusion.py:238
↓ 4 callersFunctionread_framed
Reads a 4-byte length from sock, then that many bytes, unpickles.
downstream/utils/worker_manager.py:249
↓ 4 callersFunctionread_video_asframes
Reads one or more .mp4 videos from a list of file paths and separates them into frames. The function returns a numpy array with shape (B, num
downstream/world-in-world-manip/wiw_manip/planner/utils/visualize.py:37
↓ 4 callersFunctionrearrange_3
(tensor, f)
FTsvd/diffusers-private/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:62
↓ 4 callersFunctionrearrange_3
(tensor, f)
FTsvd/diffusers-private/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:38
↓ 4 callersFunctionrearrange_4
(tensor)
FTsvd/diffusers-private/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:68
↓ 4 callersFunctionrearrange_4
(tensor)
FTsvd/diffusers-private/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:43
↓ 4 callersMethodrecord_past_action
(self, new_action)
downstream/utils/state_traj.py:79
↓ 4 callersMethodregister_success_conditions
What conditions need to be met for the task to be a success. Note: this replaces any previously registered conditions! :param condit
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:313
↓ 4 callersFunctionrenew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:101
↓ 4 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
FTsvd/diffusers-private/diffusers/pipelines/flux/pipeline_flux_img2img.py:89
↓ 4 callersFunctionrotate_by_shift
Rotates the input tensor by performing a cyclic horizontal shift along its width dimension. Args: input_z (torch.Tensor): Input tenso
utils/svd_utils.py:129
← previousnext →301–400 of 7,952, ranked by callers