Spaces:
Paused
Paused
AdriBat1
Add Deep-NanoGPT experiment (Phase 1 & 2): resumable training, inference, 72-layer models
671ce97 | import os | |
| import sys | |
| from antigravity_sdk.client import RemoteGPU | |
| SCRIPT_PATH = "examples/inference_deep.py" | |
| def main(): | |
| if not os.path.exists(SCRIPT_PATH): | |
| print(f"โ Script not found: {SCRIPT_PATH}") | |
| sys.exit(1) | |
| with open(SCRIPT_PATH, 'r') as f: | |
| code = f.read() | |
| print("๐ฎ Running Deep-NanoGPT Inference...") | |
| gpu = RemoteGPU() | |
| result = gpu.run(code, download_files=False, verbose=True) | |
| print("\n" + "="*60) | |
| print("๐ GENERATION RESULTS") | |
| print("="*60) | |
| print(result.output) | |
| if __name__ == "__main__": | |
| main() | |