Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /avinash-mall_CognitiveMemoryLayer /evaluation /scripts /validate_outputs.py
| #!/usr/bin/env python3 | |
| """Legacy wrapper for cml.eval validate command.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| def _bootstrap_import(): | |
| try: | |
| from cml.eval.cli import main_legacy_validate | |
| return main_legacy_validate | |
| except ImportError: | |
| repo_root = Path(__file__).resolve().parents[2] | |
| sdk_src = repo_root / "packages" / "py-cml" / "src" | |
| if sdk_src.exists(): | |
| sys.path.insert(0, str(sdk_src)) | |
| from cml.eval.cli import main_legacy_validate | |
| return main_legacy_validate | |
| if __name__ == "__main__": | |
| runner = _bootstrap_import() | |
| raise SystemExit(runner(sys.argv[1:])) | |
Xet Storage Details
- Size:
- 685 Bytes
- Xet hash:
- 58500974c08e3d70f5308b68fd32c7032c0e9cd6e0223e1bdab65c3b5f81721d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.