Skip to content

Commit 5147fe1

Browse files
physicsrobclaude
andcommitted
ci_smoke: import compile_hf_bundle from its defining module
mypy resolves the package-root re-export as `object`; the canonical import path (torchwright.compiler.hf) is what tests and examples use. Fixes the lint failure committed in the previous commit — the lint invocation piped through tail and lost the exit code. Test Suite Status: Unknown Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 863f728 commit 5147fe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ci_smoke.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
def main() -> int:
1818
from examples.binary_increment import D_HEAD, D_MODEL, create_network_parts
19-
from torchwright import compile_hf_bundle
19+
from torchwright.compiler.hf import compile_hf_bundle
2020

2121
output_node, embedding = create_network_parts()
2222
with tempfile.TemporaryDirectory() as tmp:

0 commit comments

Comments
 (0)