Datasets:
Formats:
csv
Languages:
English
Size:
< 1K
Tags:
research
ai-hardware
near-memory-computing
computation-in-memory
executable-weights
quantization
Download scripts/verify_package.py from PureOne/saelqir-m1-executable-weight-memory-v1.0: direct link, hf CLI and curl.
- Browser
- Download file 856 Bytes
-
https://huggingface.co/datasets/PureOne/saelqir-m1-executable-weight-memory-v1.0/resolve/main/scripts/verify_package.py
- Command line
-
hf download hf://datasets/PureOne/saelqir-m1-executable-weight-memory-v1.0/scripts/verify_package.py
-
curl -L -o verify_package.py https://huggingface.co/datasets/PureOne/saelqir-m1-executable-weight-memory-v1.0/resolve/main/scripts/verify_package.py
856 Bytes
| #!/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()) | |