6fe5d4054d
date: 2026-03-13T21:04:16 master commit: 41994b1d27423e8a10008019a962417bf0f5f974
9 lines
314 B
Python
9 lines
314 B
Python
import pathlib
|
|
from tinygrad import Tensor, Device, Context
|
|
from tinygrad.helpers import getenv
|
|
|
|
if __name__ == "__main__":
|
|
with Context(DEBUG=2):
|
|
disk_llama = Tensor(pathlib.Path(getenv("TESTFILE", "/raid/weights/LLaMA-3/8B/consolidated.00.pth")))
|
|
device_llama = disk_llama.to(Device.DEFAULT).realize()
|