If you store the state_dict as described here 4 as the recommended way, the file would only contain all parameters and buffers.
The not recommended way would be to store the model directly, which wouldn’t store the computation graph or the architecture, but the Python objects with all parameters, so that you would have to restore the file and folder structure.
toch.jit.save 3 would save a scripted model, which can be used in another process without redefining the model structure.