Required tools for playing around with memory:
hexdumpobjdumpreadelfxxdgcore
| """ | |
| The most atomic way to train and inference a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| import os | |
| import sys | |
| import re | |
| import hashlib | |
| import csv | |
| import time | |
| import locale | |
| import getopt |
opkg install kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage e2fsprogs fdisk usbutils mount-utils block-mount kmod-fs-ext4 kmod-fs-vfat kmod-nls-utf-8 kmod-nls-cp437 kmod-nls-iso8859-1
rebootblkid, run opkg update && opkg install blkid;block.sh to directory /lib/functions;10-mount and 20-swap to directory /etc/hotplug.d/block;logread -f command then plug in a USB stick to test.