Skip to content

tinker checkpoint delete unexpected args #24

@mzio

Description

@mzio

For tinker version 0.16.1, when trying to delete checkpoints via the checkpoint paths, e.g.,

tinker checkpoint delete tinker://5f2d7413-3980-502a-b012-9b7e122b3305:train:0/sampler_weights/final

we get the following error:

Usage: tinker [OPTIONS]
Try 'tinker --help' for help.

Error: Got unexpected extra argument (tinker://5f2d7413-3980-502a-b012-9b7e122b3305:train:0/sampler_weights/final)

Fwiw, deleting via --run-id works:

tinker checkpoint delete --run-id 5f2d7413-3980-502a-b012-9b7e122b3305:train:0
Will delete 2 checkpoint(s):
  - tinker://5f2d7413-3980-502a-b012-9b7e122b3305:train:0/weights/final (812.7 MB, created 1 week ago)
  - tinker://5f2d7413-3980-502a-b012-9b7e122b3305:train:0/sampler_weights/final (271.1 MB, created 1 week ago)

Total size: 1.1 GB
WARNING: This action is permanent and cannot be undone.
Are you sure you want to delete 2 checkpoint(s)? [y/N]: y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions