Tinker Models on your device

by Samy (Kondasamy Jayaraman)

Larkspur mini at 16 bits: 102 KB of 2.00 GB free. It fits.

Larkspur mini at 16 bits. Each brick is a sixteenth of 2.00 GB. The handheld’s memory, battery and speed are Larkspur’s planning numbers.

Chapter 1 of 7

Will it fit?

Larkspur’s pickers ask the stock assistant from warehouse handhelds, but the back aisles have no signal. Could the model live on the handheld itself?

This chapter: Will a model fit in the handheld’s free memory?

About this chapter

You will learn

  • Weight memory: parameters times bytes per parameter
  • Why a 1B model at 16 bits already overflows the handheld
  • How phone models fit in a few GB

Words you’ll meet

Parameter
One number the model learned. A phone-sized model has one to a few billion.
Free memory
The memory the handheld leaves one app: a Larkspur planning number.

Step 1 of 4

Larkspur mini’s 51,072 , 2 bytes each at 16 bits, take one brick of the .

Pack the 1B model.

Model