Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/evidence/FLASH-NEXT-WEIGHT-WASTE-20261118/inventory.py # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / FLASH-NEXT-WEIGHT-WASTE-20261118 / inventory.py` 39 lines · 1983 bytes Raw Blame History 1 import json,subprocess,struct,collections,re,sys,hashlib 2 from concurrent.futures import ThreadPoolExecutor 3 REV=sys.argv[1] 4 B=f'https://huggingface.co/Qwen/Qwen3.8-Flash-Next-FP8/resolve/{REV}/' 5 ix=json.load(open('index.json'))['weight_map'] 6 shards=sorted(set(ix.values())) 7 def get(u,*a): 8 for _ in range(4): 9 r=subprocess.run(['curl','-sS','-L','-m','180',*a,u],capture_output=True) 10 if r.returncode==0 and r.stdout: return r.stdout 11 raise RuntimeError(u) 12 def hdr(sh): 13 n=struct.unpack('15d} B {n/2**30:8.3f} GiB {dict(dt[c])}') 38 print(f'{"TOTAL":28s} {tot:>15d} B {tot/2**30:8.3f} GiB') 39 json.dump({'revision':REV,'bytes':by,'dtypes':dt},open('inventory.json','w'),indent=1)