Skip to content

chore(scripts): remove LazyTurtle lifecycle profiler left behind by #6473 - #6551

Merged
Qubitium merged 1 commit into
mainfrom
fix/remove-stale-lazy-turtle-profiler
Dec 1, 2026
Merged

Qubitium merged 1 commit into
mainfrom
fix/remove-stale-lazy-turtle-profiler

Conversation

@Qubitium

@Qubitium Qubitium commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes #6550

scripts/profile_lazy_turtle_lifecycle.py imports gptqmodel.utils.structure.LazyTurtle, which #6473 removed (replaced by CheckpointSource). The script crashes on import, and three tests/test_cli_entry_points.py nodes are red on main.

What Changed

  • Deleted scripts/profile_lazy_turtle_lifecycle.py. It only profiled the removed LazyTurtle lifecycle. No other file references it.
  • Out of scope: a CheckpointSource lifecycle profiler.

Tests

# main c649fcb5f
python scripts/profile_lazy_turtle_lifecycle.py --help
# ImportError: cannot import name 'LazyTurtle' from 'gptqmodel.utils.structure'
pytest -q tests/test_cli_entry_points.py
# 3 failed, 290 passed, 67 skipped, 3 xfailed

# this PR
pytest -q tests/test_cli_entry_points.py
# 289 passed, 67 skipped, 3 xfailed

The existing test_cli_entry_points.py checks are the regression guard: they import every shipped script.

Measured Impact / Model Support / AWQ / Logic Flow / Kernel Accuracy

Not applicable (removes an obsolete developer script).

Review Requirements

  • Reviewed this PR.
  • grep -rn profile_lazy_turtle_lifecycle finds no remaining references.

Notes

Found during a release-readiness test sweep of origin/main c649fcb.

🤖 Generated with Claude Code

… LazyTurtle

#6473 replaced LazyTurtle with CheckpointSource and deleted its tests,
but scripts/profile_lazy_turtle_lifecycle.py still imported it and
crashed on import, failing three test_cli_entry_points nodes.

Fixes #6550

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Qubitium
Qubitium marked this pull request as ready for review December 1, 2026 02:46
@Qubitium
Qubitium merged commit a771386 into main Dec 1, 2026
6 checks passed
@Qubitium
Qubitium deleted the fix/remove-stale-lazy-turtle-profiler branch December 1, 2026 02:46
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.

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

1 participant