File Formats
We will talk about a few different file formats in this document and in our tools. They are:
fqir pickles - my_model.pt
femtofiles - my_model.femto
program files - 0PROG_A, 0PROG_D
memory image zip - bitfile.zip
FQIR Pickles
Femtosense Quantized Intermediate Representation. These are torch models that have been quantized through the Femtosense tooling. They are contain the model information and the weights and can be used to generate all the other formats. This is the most general format of your model in quantized form.
Femtofiles
Femtofiles are the new compiled format for models. Using our new firmware these contain the model weights and the low level instructions for your model to run on SPU-001. You cannot get FQIR back from these files as they are a compiled format to run on SPU-001. You can run them on SPU-001 and send inputs and get outputs.
Program Files
This is the old format for our compiled models. They are equivalent to femtofiles but less efficient. They will be deprecated soon.
Memory Image Zip
The bitfile.zip are for femtosense debugging and not common for customers.