You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scripts/profile_lazy_turtle_lifecycle.py imports LazyTurtle removed in #6473 (test_cli_entry_points red) #6550
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