Skip to content

scripts/profile_lazy_turtle_lifecycle.py imports LazyTurtle removed in #6473 (test_cli_entry_points red) #6550

Done

Description

@Qubitium

Summary

scripts/profile_lazy_turtle_lifecycle.py crashes on import on main (c649fcb):

$ python scripts/profile_lazy_turtle_lifecycle.py --help
ImportError: cannot import name 'LazyTurtle' from 'gptqmodel.utils.structure'

#6473 removed LazyTurtle (replaced by CheckpointSource, see docs/lazy-checkpoint-materialization.md) and deleted its tests, but left this profiler, which only exercises the LazyTurtle turtle -> shell -> disk lifecycle. Three nodes of tests/test_cli_entry_points.py are red for this script: test_gptqmodel_imports_resolve, test_entry_point_imports, test_parse_args_help.

Fix

Remove the obsolete profiler. It measures a mechanism that no longer exists. A CheckpointSource lifecycle profiler would be a new tool and is out of scope here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions