Datasets:
Formats:
csv
Languages:
English
Size:
< 1K
Tags:
research
ai-hardware
near-memory-computing
computation-in-memory
executable-weights
quantization
File size: 856 Bytes
ecdbd89 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/usr/bin/env python3
"""Verify the prepared repository and its unchanged source without network I/O."""
from pathlib import Path
import subprocess
import sys
from upload_to_hf import load_release, ReleaseError
ROOT = Path(__file__).resolve().parents[1]
def main():
try:
payload = load_release(ROOT)
except (ReleaseError, OSError) as error:
print(f"FAIL: {error}", file=sys.stderr)
return 1
print(f"PASS: {len(payload)} prepared files match the complete upload inventory.")
result = subprocess.run([sys.executable, str(ROOT / 'research/verify_release.py')], check=False)
if result.returncode:
return result.returncode
print("PASS: preserved original research and prepared repository both verify. No network access performed.")
return 0
if __name__ == '__main__':
raise SystemExit(main())
|