There are 3 phases to upload ml models/data on the storage layer of the Cortex blockchain (see storage layer for more detail):
mI models and input data are treated as a special type of smart contract on the Cortex blockchain. Creators need to send a special transaction with a function call to advanced the upload progress. Each transaction will increase the file upload progress by 512K bytes, consuming the corresponding storage quota.
After the completion of the upload phase, the file preparation phase is entered. This phase lasts for 100 blocks (about 25 minutes).
After 100 blocks, the prepared files enter the mature phase. The model/data is saved on the storage layer of the Cortex blockchain. After mature phase, the file will completed broadcasting to the network to reach the entire distributed file system; otherwise, the network consensus will reject relevant contract calls.