Sor0ush's picture
download
raw
733 Bytes
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "torch",
# "numpy",
# "scipy",
# "matplotlib",
# "tqdm",
# "pyyaml",
# ]
# ///
"""HF Jobs wrapper: Claim 5 / Corollary 4.10 variance sweep."""
from __future__ import annotations
import os
import runpy
import sys
from pathlib import Path
CODE = Path(os.environ.get("CODE_ROOT", "/data/code"))
OUT = Path(os.environ.get("OUT_ROOT", "/data/outputs"))
OUT.mkdir(parents=True, exist_ok=True)
sys.path.insert(0, str(CODE))
sys.path.insert(0, str(CODE / "experiments"))
os.chdir(CODE)
os.environ.setdefault("CLAIM5_ITERS", "300")
os.environ.setdefault("CLAIM5_BATCH", "8")
runpy.run_path(str(CODE / "repro_scripts" / "verify_claim5_gpu.py"), run_name="__main__")

Xet Storage Details

Size:
733 Bytes
·
Xet hash:
ae1112c48e63f8f508cf5189bb8d1ef042e0646e4ecd4a8fc52c293c961e615c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.