Commit f2e31c7
Create v1 ocp.load_checkpointables backwards compatibility tests against static v0 and v1 checkpoints.
PiperOrigin-RevId: 8757256091 parent 74e1b99 commit f2e31c7
File tree
523 files changed
+2441
-306
lines changed- checkpoint/orbax/checkpoint/experimental/v1/_src
- context
- handlers
- layout
- loading
- metadata
- saving
- serialization
- testing
- compatibility
- checkpoints
- v0_checkpoints
- composite_checkpoint
- checkpoint_metadata_missing
- pytree_checkpointable_has_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- pytree_checkpointable_missing_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- checkpoint_metadata_present
- pytree_checkpointable_has_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- pytree_checkpointable_missing_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- critical_metadata_alterations
- missing_pytree_data_dir_d
- metadata
- state
- array_metadatas
- ocdbt.process_0
- d
- missing_pytree_data_dir_ocdbt.process_0
- metadata
- state
- array_metadatas
- d
- missing_pytree_data_file_manifest.ocdbt
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- non_critical_metadata_alterations
- missing_commit_timestamp_nsecs_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_custom_metadata_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_init_timestamp_nsecs_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_item_handlers_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_metrics_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_performance_metrics_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_pytree_data_dir_array_metadatas
- metadata
- state
- d
- ocdbt.process_0
- d
- missing_pytree_data_file__sharding
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- direct_checkpoint
- checkpoint_metadata_missing
- pytree_checkpointable_has_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- pytree_checkpointable_missing_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- checkpoint_metadata_present
- pytree_checkpointable_has_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- pytree_checkpointable_missing_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- critical_metadata_alterations
- missing_pytree_data_dir_d
- array_metadatas
- ocdbt.process_0
- d
- missing_pytree_data_dir_ocdbt.process_0
- array_metadatas
- d
- missing_pytree_data_file_manifest.ocdbt
- array_metadatas
- d
- ocdbt.process_0
- d
- non_critical_metadata_alterations
- missing_commit_timestamp_nsecs_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_custom_metadata_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_init_timestamp_nsecs_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_item_handlers_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_metrics_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_performance_metrics_metadata
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_pytree_data_dir_array_metadatas
- d
- ocdbt.process_0
- d
- missing_pytree_data_file__sharding
- array_metadatas
- d
- ocdbt.process_0
- d
- v1_checkpoints/composite_checkpoint
- checkpoint_metadata_missing
- pytree_checkpointable_has_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- pytree_checkpointable_missing_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- checkpoint_metadata_present
- pytree_checkpointable_has_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- pytree_checkpointable_missing_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- critical_general_alterations/dummy_checkpointable_added
- dummy
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- critical_metadata_alterations
- missing_pytree_data_dir_d
- metadata
- state
- array_metadatas
- ocdbt.process_0
- d
- missing_pytree_data_dir_ocdbt.process_0
- metadata
- state
- array_metadatas
- d
- missing_pytree_data_file_manifest.ocdbt
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- non_critical_general_alterations/deleted_checkpointable
- metadata
- non_critical_metadata_alterations
- missing_commit_timestamp_nsecs_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_custom_metadata_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_init_timestamp_nsecs_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_item_handlers_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_metrics_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_performance_metrics_metadata
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- missing_pytree_data_dir_array_metadatas
- metadata
- state
- d
- ocdbt.process_0
- d
- missing_pytree_data_file__sharding
- metadata
- state
- array_metadatas
- d
- ocdbt.process_0
- d
- training
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
523 files changed
+2441
-306
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | | - | |
45 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
46 | 62 | | |
47 | 63 | | |
48 | 64 | | |
49 | 65 | | |
50 | 66 | | |
51 | 67 | | |
52 | 68 | | |
53 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
54 | 76 | | |
55 | 77 | | |
56 | 78 | | |
0 commit comments