Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Physical-Intelligence/openpi
/ functions
Functions
694 in github.com/Physical-Intelligence/openpi
⨍
Functions
694
◇
Types & classes
190
Method
sample_actions
Do a full inference forward and compute the action (batch_size x num_steps x num_motors)
src/openpi/models_pytorch/pi0_pytorch.py:377
Method
sample_actions
( self, rng: at.KeyArrayLike, observation: _model.Observation, *, max_
src/openpi/models/pi0_fast.py:236
Method
sample_actions
(self, rng: at.KeyArrayLike, observation: Observation, **kwargs)
src/openpi/models/model.py:283
Function
save
Save the normalization stats to a directory.
src/openpi/shared/normalize.py:134
Function
save_assets
(directory: epath.Path)
src/openpi/training/checkpoints.py:71
Function
save_state
( checkpoint_manager: ocp.CheckpointManager, state: training_utils.TrainState, data_loader: _data_
src/openpi/training/checkpoints.py:65
Method
scaling_value
(self)
src/openpi/models/lora.py:29
Method
set_decoder
(self, decoder)
src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:588
Method
set_decoder
(self, decoder)
src/openpi/models_pytorch/transformers_replace/models/paligemma/modeling_paligemma.py:407
Method
set_input_embeddings
(self, value)
src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:441
Method
set_input_embeddings
(self, value)
src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:579
Method
set_input_embeddings
(self, value)
src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:702
Method
set_input_embeddings
(self, value)
src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:801
Method
set_input_embeddings
(self, value)
src/openpi/models_pytorch/transformers_replace/models/paligemma/modeling_paligemma.py:398
Method
set_input_embeddings
(self, value)
src/openpi/models_pytorch/transformers_replace/models/siglip/modeling_siglip.py:709
Function
set_low_pid_gains
(bot)
examples/aloha_real/robot_utils.py:232
Function
set_mesh
Plumbing the mesh deep into the module tree is extremely cumbersome; until the JAX team lands a better API, a custom context manager like this one
src/openpi/training/sharding.py:27
Function
set_openpi_data_home
(tmp_path_factory)
src/openpi/shared/download_test.py:9
Method
set_output_embeddings
(self, new_embeddings)
src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:585
Method
set_output_embeddings
(self, new_embeddings)
src/openpi/models_pytorch/transformers_replace/models/paligemma/modeling_paligemma.py:404
Function
set_standard_pid_gains
(bot)
examples/aloha_real/robot_utils.py:227
Method
setup
(self)
src/openpi/models/gemma.py:141
Method
setup
(self)
src/openpi/models/gemma.py:350
Method
setup
(self)
src/openpi/models/gemma_fast.py:108
Method
setup
(self)
src/openpi/models/gemma_fast.py:137
Method
setup
(self)
src/openpi/models/gemma_fast.py:242
Method
setup
(self)
src/openpi/models/lora.py:43
Method
setup
(self)
src/openpi/models/lora.py:96
Method
setup
(self)
src/openpi/models/utils/fsq_tokenizer.py:84
Method
setup
(self)
src/openpi/models/utils/fsq_tokenizer.py:185
Method
setup
(self)
src/openpi/models/utils/fsq_tokenizer.py:403
Function
setup_master_bot
(bot)
examples/aloha_real/robot_utils.py:221
Function
setup_puppet_bot
(bot)
examples/aloha_real/robot_utils.py:214
Function
sinusoidal_pe_init
(_, shape: tuple[int, int])
src/openpi/models/utils/fsq_tokenizer.py:327
Method
slicer
(x)
packages/openpi-client/src/openpi_client/action_chunk_broker.py:32
Function
state_map
Apply a function to the leaves of the state that match the filter.
src/openpi/shared/nnx_utils.py:66
Method
state_proj_func
(state)
src/openpi/models_pytorch/pi0_pytorch.py:249
Method
step
(carry)
src/openpi/models/pi0_fast.py:273
Function
sync_puppet_to_master
(master_bot_left, master_bot_right, puppet_bot_left, puppet_bot_right)
examples/aloha_real/robot_utils.py:248
Function
test_absolute_actions
()
src/openpi/transforms_test.py:42
Function
test_absolute_actions_noop
()
src/openpi/transforms_test.py:52
Function
test_broker
()
src/openpi/policies/policy_test.py:21
Function
test_delta_actions
()
src/openpi/transforms_test.py:19
Function
test_delta_actions_noop
()
src/openpi/transforms_test.py:29
Function
test_download_fsspec
()
src/openpi/shared/download_test.py:47
Function
test_download_gs
()
src/openpi/shared/download_test.py:37
Function
test_download_gs_dir
()
src/openpi/shared/download_test.py:27
Function
test_download_local
(tmp_path: pathlib.Path)
src/openpi/shared/download_test.py:16
Function
test_extract_prompt_from_task
()
src/openpi/transforms_test.py:114
Function
test_fast_tokenizer
()
src/openpi/models/tokenizer_test.py:14
Function
test_infer
()
src/openpi/policies/policy_test.py:10
Function
test_lora_einsum_params_shape
()
src/openpi/models/lora_test.py:8
Function
test_lora_einsum_same_output
()
src/openpi/models/lora_test.py:34
Function
test_lora_ffn_params_shape
()
src/openpi/models/lora_test.py:53
Function
test_lora_ffn_same_output
()
src/openpi/models/lora_test.py:77
Function
test_make_bool_mask
()
src/openpi/transforms_test.py:65
Function
test_model_restore
()
src/openpi/models/model_test.py:79
Function
test_multiple_batch_dimensions
()
src/openpi/shared/normalize_test.py:28
Function
test_normalize_update
()
src/openpi/shared/normalize_test.py:6
Function
test_pack_unpack
(data)
packages/openpi-client/src/openpi_client/msgpack_numpy_test.py:42
Function
test_pi0_action_expert_lora
()
src/openpi/models/pi0_test.py:29
Function
test_pi0_all_lora
()
src/openpi/models/pi0_test.py:40
Function
test_pi0_fast_lora_model
()
src/openpi/models/model_test.py:57
Function
test_pi0_fast_model
()
src/openpi/models/model_test.py:42
Function
test_pi0_full_finetune
()
src/openpi/models/pi0_test.py:14
Function
test_pi0_gemma_lora
()
src/openpi/models/pi0_test.py:20
Function
test_pi0_lora_model
()
src/openpi/models/model_test.py:27
Function
test_pi0_model
()
src/openpi/models/model_test.py:12
Function
test_repack_transform
()
src/openpi/transforms_test.py:8
Function
test_resize_with_pad_shapes
()
packages/openpi-client/src/openpi_client/image_tools_test.py:6
Function
test_resize_with_pad_shapes
()
src/openpi/shared/image_tools_test.py:6
Function
test_serialize_deserialize
()
src/openpi/shared/normalize_test.py:18
Function
test_tokenize
()
src/openpi/models/tokenizer_test.py:6
Function
test_tokenize_no_prompt
()
src/openpi/transforms_test.py:81
Function
test_tokenize_prompt
()
src/openpi/transforms_test.py:70
Function
test_torch_data_loader
()
src/openpi/training/data_loader_test.py:10
Function
test_torch_data_loader_infinite
()
src/openpi/training/data_loader_test.py:26
Function
test_torch_data_loader_parallel
()
src/openpi/training/data_loader_test.py:37
Function
test_train
(tmp_path: pathlib.Path, config_name: str)
scripts/train_test.py:15
Function
test_transform_dict
()
src/openpi/transforms_test.py:88
Function
test_with_fake_dataset
()
src/openpi/training/data_loader_test.py:50
Function
test_with_real_dataset
()
src/openpi/training/data_loader_test.py:65
Method
time_mlp_func
(time_emb)
src/openpi/models_pytorch/pi0_pytorch.py:290
Method
to_tuple
(self)
src/openpi/models_pytorch/transformers_replace/models/siglip/modeling_siglip.py:205
Method
tokenize
Tokenize a prompt and state into a sequence of tokens. Args: prompt: The text prompt to tokenize. state: The state ar
src/openpi/models/tokenizer.py:164
Method
tokenize
( self, action: jnp.ndarray, *, obs: jnp.ndarray | None = None, train: bool = False )
src/openpi/models/utils/fsq_tokenizer.py:430
Method
torch_loader
(self)
src/openpi/training/data_loader.py:449
Function
train_step
( config: _config.TrainConfig, rng: at.KeyArrayLike, state: training_utils.TrainState, batch:
scripts/train.py:137
Method
trainable_filter
Get the filter for the trainable parameters.
src/openpi/training/config.py:550
Function
transform_dict
Transform the structure of a nested dictionary using a set of patterns. The transformation is defined using the `patterns` dictionary. The keys a
src/openpi/transforms.py:350
Function
typecheck
(t: T)
src/openpi/shared/array_typing.py:52
Function
unpack_array
(obj)
packages/openpi-client/src/openpi_client/msgpack_numpy.py:43
Method
vocab_size
(self)
src/openpi/models/utils/fsq_tokenizer.py:400
Function
wrapper
(*args: P.args, **kwargs: P.kwargs)
src/openpi/shared/nnx_utils.py:40
← previous
601–694 of 694, ranked by callers