You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
258 B
8 lines
258 B
2 days ago
|
import pathlib
|
||
|
from tinygrad import Tensor, Device, Context
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
with Context(DEBUG=2):
|
||
|
disk_llama = Tensor(pathlib.Path("/raid/weights/LLaMA-3/8B/consolidated.00.pth"))
|
||
|
device_llama = disk_llama.to(Device.DEFAULT).realize()
|