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

↓ 7 callersMethod__init__
( self, in_channels: int = 3, out_channels: int = 3, down_block_types: Tuple[s
FTsvd/diffusers-private/diffusers/models/autoencoders/vae.py:71
↓ 7 callersMethod_build_user_message
Create a single 'user'-role OpenAI message with one prompt followed by N media items. Emits `image_url` for images and `video_url` fo
downstream/prompts.py:171
↓ 7 callersMethod_get_variance
(self, timestep, prev_timestep)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_tcd.py:318
↓ 7 callersMethod_pack_latents
(latents, batch_size, num_channels_latents, height, width)
FTsvd/diffusers-private/diffusers/pipelines/flux/pipeline_flux_controlnet_inpainting.py:537
↓ 7 callersMethod_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
FTsvd/diffusers-private/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:331
↓ 7 callersMethodact
(self, observation, user_instruction, avg_obj_coord, task_variation, query_num=1, temperature=None, last_act=N
downstream/world-in-world-manip/wiw_manip/planner/vlm_planner.py:517
↓ 7 callersMethodapply_overlay
r""" Applies an overlay of the mask and the inpainted image on the original image. Args: mask (`PIL.Image.Image`):
FTsvd/diffusers-private/diffusers/image_processor.py:773
↓ 7 callersFunctionconvert_state_dict_to_peft
r""" Converts a state dict to the PEFT format The state dict can be from previous diffusers format (`OLD_DIFFUSERS`), or new diffusers format
FTsvd/diffusers-private/diffusers/utils/state_dict_utils.py:174
↓ 7 callersMethodfrom_pretrained
r""" Instantiate a pretrained `MultiAdapter` model from multiple pre-trained adapter models. The model is set in evaluation mode by d
FTsvd/diffusers-private/diffusers/models/adapter.py:148
↓ 7 callersMethodget_command
(self, token)
FTsvd/diffusers-private/diffusers/pipelines/kolors/tokenizer.py:136
↓ 7 callersFunctionget_logger
Return a logger with the specified name. This function is not supposed to be directly accessed unless you are writing a custom diffusers mod
FTsvd/diffusers-private/diffusers/utils/logging.py:113
↓ 7 callersFunctionimages_to_tensor
Convert a batch of per‑frame PIL images to BxTxCxHxW float tensors. pipe_images : List[List[PIL.Image]] Outer list over batch, inner
downstream/api_models/__init__.py:113
↓ 7 callersFunctionis_bitsandbytes_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:447
↓ 7 callersFunctionis_sentencepiece_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:455
↓ 7 callersFunctionlocal_image_to_data_url
(image_path)
downstream/world-in-world-manip/wiw_manip/planner/utils/planner_utils.py:348
↓ 7 callersMethodnumpy_to_pt
r""" Convert a NumPy image to a PyTorch tensor. Args: images (`np.ndarray`): The NumPy image array to con
FTsvd/diffusers-private/diffusers/image_processor.py:177
↓ 7 callersMethodpreprocess_video
r""" Preprocesses input video(s). Args: video (`List[PIL.Image]`, `List[List[PIL.Image]]`, `torch.Tensor`, `np.array`, `L
FTsvd/diffusers-private/diffusers/video_processor.py:28
↓ 7 callersFunctionprocess_output_dict
(b_action, save_dirs, return_objects, video_tensors, model_type="default")
downstream/api_models/__init__.py:226
↓ 7 callersMethodrun
(self, origin_offset=None)
downstream/world-in-world-manip/wiw_manip/envs/tools/grasploc.py:26
↓ 7 callersFunctionsave_img
Save an image (RGB, RGBA, depth, or semantic) to the specified path. Args: img (torch.Tensor or np.ndarray): The image data. Accepted
data_filtering/filter_util.py:109
↓ 7 callersMethodsuccess
If the task is currently successful. :return: Tuple containing 2 bools: first specifies if the task is currently successful, seco
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:412
↓ 6 callersMethod__init__
(self, in_dim, out_dim, hidden_dim, drop_p=0.1, eps=1e-12)
FTsvd/diffusers-private/diffusers/pipelines/blip_diffusion/modeling_blip2.py:340
↓ 6 callersMethod__init__
(self)
FTsvd/diffusers-private/diffusers/pipelines/shap_e/renderer.py:490
↓ 6 callersMethod__init__
(self, in_channels, out_channels, mode, enabled=True)
FTsvd/diffusers-private/diffusers/models/unets/unet_stable_cascade.py:114
↓ 6 callersMethod__init__
(self, hidden_dim, logscale=True)
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_oobleck.py:35
↓ 6 callersFunction_chunked_feed_forward
(ff: nn.Module, hidden_states: torch.Tensor, chunk_dim: int, chunk_size: int)
FTsvd/diffusers-private/diffusers/models/attention.py:31
↓ 6 callersFunction_copy_linear
(hf_linear, pt_linear)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:752
↓ 6 callersFunction_get
(obj, name)
downstream/world-in-world-manip/wiw_manip/planner/utils/planner_utils.py:87
↓ 6 callersMethod_request
(self, method, path, payload=None, timeout=300)
downstream/world-in-world-manip/wiw_manip/envs/LiberoEnv.py:63
↓ 6 callersMethod_upload_folder
Uploads all files in `working_dir` to `repo_id`.
FTsvd/diffusers-private/diffusers/utils/hub_utils.py:522
↓ 6 callersMethodassemble_messages
Build the *complete* message list in a readable, linear flow.
downstream/prompts.py:232
↓ 6 callersFunctionbroadcast_to_shape_from_left
(x: jnp.ndarray, shape: Tuple[int])
FTsvd/diffusers-private/diffusers/schedulers/scheduling_utils_flax.py:189
↓ 6 callersFunctioncompare_versions
Compares a library version to some requirement using a given operation. Args: library_or_version (`str` or `packaging.version.Versio
FTsvd/diffusers-private/diffusers/utils/import_utils.py:669
↓ 6 callersFunctionconvert_state_dict_to_diffusers
r""" Converts a state dict to new diffusers format. The state dict can be from previous diffusers format (`OLD_DIFFUSERS`), or PEFT format (`P
FTsvd/diffusers-private/diffusers/utils/state_dict_utils.py:201
↓ 6 callersFunctionconvert_unet_state_dict_to_peft
r""" Converts a state dict from UNet format to diffusers format - i.e. by removing some keys
FTsvd/diffusers-private/diffusers/utils/state_dict_utils.py:248
↓ 6 callersMethodenable_model_cpu_offload
r""" Offloads all models to CPU using accelerate, reducing memory usage with a low impact on performance. Compared to `enable_sequenti
FTsvd/diffusers-private/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:410
↓ 6 callersFunctionformat_time
format eta and time elapsed
downstream/utils/util.py:434
↓ 6 callersMethodget_message_visual_icl
(self, images, first_prompt, task_prompt, task_variation, messages=[])
downstream/world-in-world-manip/wiw_manip/planner/vlm_planner.py:344
↓ 6 callersFunctionget_sensors
(s, prefix)
downstream/simulator.py:91
↓ 6 callersFunctionis_k_diffusion_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:395
↓ 6 callersFunctionload_model_dict_into_meta
( model, state_dict: OrderedDict, device: Optional[Union[str, torch.device]] = None, dtype: Op
FTsvd/diffusers-private/diffusers/models/model_loading_utils.py:170
↓ 6 callersFunctionmean_flat
Take the mean over all non-batch dimensions.
downstream/api_models/nwm/diffusion/gaussian_diffusion.py:22
↓ 6 callersMethodpost_init
r""" Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.
FTsvd/diffusers-private/diffusers/quantizers/quantization_config.py:297
↓ 6 callersMethodquery_VLM
(self, messages, tobe_filled={}, query_num=1)
downstream/prompts.py:390
↓ 6 callersFunctionrenew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:79
↓ 6 callersMethodreset
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/robot.py:18
↓ 6 callersMethodsave_config
Save a configuration object to the directory specified in `save_directory` so that it can be reloaded using the [`~ConfigMixin.from_c
FTsvd/diffusers-private/diffusers/configuration_utils.py:145
↓ 6 callersMethodsave_state
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/robot.py:25
↓ 6 callersMethodset_progress_bar_config
(self, **kwargs)
FTsvd/diffusers-private/diffusers/pipelines/pipeline_utils.py:1570
↓ 6 callersFunctionswap_scale_shift
(weight, dim)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:1674
↓ 6 callersFunctiontext_encoder_attn_modules
(text_encoder)
FTsvd/diffusers-private/diffusers/loaders/__init__.py:33
↓ 6 callersFunctiontext_encoder_mlp_modules
(text_encoder)
FTsvd/diffusers-private/diffusers/models/lora.py:55
↓ 6 callersMethodto_tuple
Convert self to a tuple containing all the attributes/keys that are not `None`.
FTsvd/diffusers-private/diffusers/utils/outputs.py:133
↓ 6 callersFunctionupfirdn2d_native
( tensor: torch.Tensor, kernel: torch.Tensor, up: int = 1, down: int = 1, pad: Tuple[int,
FTsvd/diffusers-private/diffusers/models/upsampling.py:415
↓ 6 callersMethodwrite_lora_layers
( state_dict: Dict[str, torch.Tensor], save_directory: str, is_main_process: bool,
FTsvd/diffusers-private/diffusers/loaders/lora_base.py:720
↓ 6 callersFunctionzero_module
(module: nn.Module)
FTsvd/diffusers-private/diffusers/models/controlnet_sparsectrl.py:785
↓ 5 callersMethod__init__
(self, config: LDMBertConfig)
FTsvd/diffusers-private/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:720
↓ 5 callersMethod__init__
(self, dim: int)
FTsvd/diffusers-private/diffusers/pipelines/unidiffuser/modeling_uvit.py:123
↓ 5 callersMethod__init__
( self, height=224, width=224, patch_size=16, in_channels=3, e
FTsvd/diffusers-private/diffusers/models/transformers/auraflow_transformer_2d.py:50
↓ 5 callersMethod_fetch_state_dict
( cls, pretrained_model_name_or_path_or_dict, weight_name, use_safetensors,
FTsvd/diffusers-private/diffusers/loaders/lora_base.py:237
↓ 5 callersMethod_pack_latents
(latents, batch_size, num_channels_latents, height, width)
FTsvd/diffusers-private/diffusers/pipelines/flux/pipeline_flux_inpaint.py:515
↓ 5 callersMethod_sigma_to_alpha_sigma_t
(self, sigma)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py:291
↓ 5 callersMethodadd_new_state
(self, new_state_dict: Dict[str, str], state_imgs: Dict[str, Callable] = None)
downstream/utils/state_traj.py:74
↓ 5 callersFunctionannotate_frame
( image, text, text_color="red", bg_color="white", font_size=20, title_height=30,
downstream/world-in-world-manip/wiw_manip/planner/utils/visualize.py:155
↓ 5 callersMethodapply
(self, val: np.ndarray)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/sim2real/domain_randomization.py:36
↓ 5 callersMethodapply_watermark
(self, images: torch.Tensor)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_xl/watermark.py:24
↓ 5 callersFunctioncall_openai_api
( messages: list, model: str = "gpt-4", seed: Optional[int] = None, max_tokens: int = 32,
subtrees/open-eqa/openeqa/utils/openai_utils.py:61
↓ 5 callersFunctioncheck_peft_version
r""" Checks if the version of PEFT is compatible. Args: version (`str`): The version of PEFT to check against.
FTsvd/diffusers-private/diffusers/utils/peft_utils.py:278
↓ 5 callersMethodclean_up_history
Cleans up the history for the specified key by set all the values to pd none in the column.
downstream/world-in-world-manip/wiw_manip/planner/utils/state_traj.py:173
↓ 5 callersMethodclear
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/spawn_boundary.py:190
↓ 5 callersMethodcondition_met
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/conditions.py:12
↓ 5 callersMethodcrop
(self, im, new_width, new_height)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen.py:514
↓ 5 callersMethoddisable_slicing
r""" Disable sliced VAE decoding. If `enable_slicing` was previously enabled, this method will go back to computing decoding in one st
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_kl.py:166
↓ 5 callersMethodenable_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_kl.py:159
↓ 5 callersMethodenable_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and en
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_kl.py:144
↓ 5 callersMethodencode_event
Encode an event to an index.
FTsvd/diffusers-private/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:185
↓ 5 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_diffedit/pipeline_stable_diffusion_diffedit.py:408
↓ 5 callersMethodexpand_tensor_or_array
Expand a tensor or array to a specified number of images.
FTsvd/diffusers-private/diffusers/pipelines/marigold/marigold_image_processing.py:32
↓ 5 callersMethodexport_state
(self)
downstream/world-in-world-manip/wiw_manip/envs/libero_env_core.py:680
↓ 5 callersFunctionfetch_diffusers_config
(checkpoint)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:549
↓ 5 callersMethodget_low_dim_data
Gets a 1D array of all the low-dimensional obseervations. :return: 1D array of observations.
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/observation.py:72
↓ 5 callersMethodget_observations
(self, sim, position, rotation)
downstream/solver_base.py:117
↓ 5 callersMethodget_path
(self, ignore_collisions=False)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/waypoints.py:95
↓ 5 callersMethodget_planner_output_path
(self, datum, ith_action, action_num, postfix="")
downstream/utils/saver.py:70
↓ 5 callersMethodget_prompt_object_entries
(self)
downstream/world-in-world-manip/wiw_manip/envs/libero_env_core.py:260
↓ 5 callersFunctionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: Create sinusoidal timestep embeddings. Args timesteps (
FTsvd/diffusers-private/diffusers/models/embeddings.py:27
↓ 5 callersMethodhalf
(self, *args)
FTsvd/diffusers-private/diffusers/models/modeling_utils.py:1034
↓ 5 callersFunctionimage_to_float_array
Recovers the depth values from an image. Reverses the depth to image conversion performed by FloatArrayToRgbImage or FloatArrayToGrayImage. Th
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/utils.py:155
↓ 5 callersFunctionis_torchsde_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:423
↓ 5 callersMethodmode
(self)
FTsvd/diffusers-private/diffusers/models/autoencoders/vae.py:819
↓ 5 callersFunctionmodulate
(x, shift, scale)
downstream/api_models/nwm/diffusion/cdit.py:18
↓ 5 callersMethodnumpy_to_pt
Convert a NumPy image to a PyTorch tensor.
FTsvd/diffusers-private/diffusers/pipelines/marigold/marigold_image_processing.py:59
↓ 5 callersMethodpost_process_latents
(self, prior_latents)
FTsvd/diffusers-private/diffusers/models/transformers/prior_transformer.py:378
↓ 5 callersFunctionprocess_input_dict
Process the input_dict to extract b_action, save_dirs, return_objects, txt_list, img_list.
downstream/api_models/__init__.py:185
↓ 5 callersMethodpt_to_numpy
Convert a PyTorch tensor to a NumPy image.
FTsvd/diffusers-private/diffusers/pipelines/marigold/marigold_image_processing.py:51
↓ 5 callersFunctionrearrange_dims
(tensor: torch.Tensor)
FTsvd/diffusers-private/diffusers/models/resnet.py:377
↓ 5 callersMethodreset
(self)
downstream/world-in-world-manip/wiw_manip/envs/LiberoEnv.py:130
↓ 5 callersMethodresize_antialias
( image: torch.Tensor, size: Tuple[int, int], mode: str, is_aa: Optional[bool] = None )
FTsvd/diffusers-private/diffusers/pipelines/marigold/marigold_image_processing.py:74
↓ 5 callersFunctionrgb_handles_to_mask
(rgb_coded_handles)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/utils.py:206
↓ 5 callersMethodsample
(self, generator: Optional[torch.Generator] = None)
FTsvd/diffusers-private/diffusers/models/autoencoders/vae.py:780
← previousnext →201–300 of 7,952, ranked by callers