Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/MojoLlama/blob/main/verify_phase4.py # MojoLlama Archived Mojo/MAX quantizer and serving research repository (read-only history) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `MojoLlama / verify_phase4.py` 32 lines · 824 bytes Raw Blame History 1 #!/usr/bin/env python3 2 """Verify all modified modules load correctly.""" 3 import sys 4 sys.path.insert(0, '/onedev-workspace/work/src') 5 6 errors = [] 7 8 try: 9 from mojollama.quantizer import _read_gguf_metadata 10 print("✓ quantizer.py - _read_gguf_metadata") 11 except Exception as e: 12 errors.append(f"quantizer.py: {e}") 13 14 try: 15 from mojollama.model.inference import LLMInference 16 print("✓ inference.py - LLMInference") 17 except Exception as e: 18 errors.append(f"inference.py: {e}") 19 20 try: 21 from mojollama.server import MojoLlamaHandler 22 print("✓ server.py - MojoLlamaHandler") 23 except Exception as e: 24 errors.append(f"server.py: {e}") 25 26 if errors: 27 print(f"\n❌ {len(errors)} errors:") 28 for e in errors: 29 print(f" {e}") 30 sys.exit(1) 31 else: 32 print("\n✅ All modules load successfully")