Skip to content

fix(convert): look for assets inside checkpoint_dir#1000

Open
Bartok9 wants to merge 1 commit into
Physical-Intelligence:mainfrom
Bartok9:salvage/openpi-661-assets-path
Open

fix(convert): look for assets inside checkpoint_dir#1000
Bartok9 wants to merge 1 commit into
Physical-Intelligence:mainfrom
Bartok9:salvage/openpi-661-assets-path

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 11, 2026

Copy link
Copy Markdown

Summary

  • Copy assets from checkpoint_dir / \"assets\" instead of the parent directory when converting JAX→PyTorch.

Motivation

Fixes incorrect assets discovery (#638).

Salvage of #661 by @fecet — rebased to main (original remains open/mergeable; this is a clean single-commit restate if maintainers prefer a fresh branch).

Verification

  • One-line path fix in examples/convert_jax_model_to_pytorch.py

Attribution

Salvage of #661 by @fecet — rebased to main

Salvage of Physical-Intelligence#661 by @fecet — rebased to main.

Conversion copied assets from checkpoint_dir.parent / assets; checkpoints
store assets alongside weights under checkpoint_dir / assets (Physical-Intelligence#638).
@jimmyt857 jimmyt857 removed their request for review July 11, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant