Model Capacity Management

NSML is a platform for use with other hacker tone participants.Excessive use of capacity for model storage can result in a situation that can harm other participants.

Please keep track of the total model capacity by continuously deleting models that you have attempted to submit or that are no longer needed.If you keep the model capacity too large, we will inform you in advance that there may be disadvantages to use. We will regularly monitor and recommend to organize it.

Step 1. List the model to delete

nsml model ls SESSION_NAME

The size of each model can be found in the Size column on the right.

$ nsml model ls nsmlteam/mnist/4
Checkpoint    Last Modified    Elapsed    Summary                           Size
------------  ---------------  ---------  --------------------------------  ---------
0             32 minutes ago   3.785      epoch=0, loss=7.015200052175436   366.74 MB
1             31 minutes ago   25.032     epoch=1, loss=6.762363957929182   366.74 MB
2             31 minutes ago   24.942     epoch=2, loss=6.377185855899845   366.74 MB
3             30 minutes ago   25.053     epoch=3, loss=5.742813685992816   366.74 MB
4             30 minutes ago   24.971     epoch=4, loss=4.847646936640009   366.74 MB
11            29 minutes ago   25.032     epoch=1, loss=6.762363957929182   366.74 MB
21            29 minutes ago   24.942     epoch=2, loss=6.377185855899845   366.74 MB
31            28 minutes ago   25.053     epoch=3, loss=5.742813685992816   366.74 MB
41            28 minutes ago   24.971     epoch=4, loss=4.847646936640009   366.74 MB

Step 2. Delete model

nsml model rm SESSION_NAME CHECKPOINT

Please delete the model and confirm that it has been deleted as desired.

You can also click the Settings button after clicking on your profile picture image in the top right corner of the webpage, then you can easily view and delete the model in the Storage Management tab.

Example:

Delete all models in this session
$ nsml model rm nsmlteam/mnist/4 "*"
$ nsml model ls nsmlteam/mnist/4
Checkpoint    Last Modified    Elapsed    Summary                         Size
------------  ---------------  ---------  ------------------------------  ---------
Delete 1th to 35th models in session with bash script
$ for i in `seq 1 35`; do nsml model rm nsmlteam/mnist/$i "*" ; done
$ nsml model ls nsmlteam/mnist/35
Checkpoint    Last Modified    Elapsed    Summary                         Size
------------  ---------------  ---------  ------------------------------  ---------
Delet a single model
$ nsml model rm nsmlteam/mnist/4 0
$ nsml model ls nsmlteam/mnist/4
Checkpoint    Last Modified    Elapsed    Summary                         Size
------------  ---------------  ---------  -------------------------------  ---------
1             31 minutes ago   25.032     epoch=1, loss=6.762363957929182  366.74 MB
2             31 minutes ago   24.942     epoch=2, loss=6.377185855899845  366.74 MB
3             30 minutes ago   25.053     epoch=3, loss=5.742813685992816  366.74 MB
4             30 minutes ago   24.971     epoch=4, loss=4.847646936640009  366.74 MB
11            29 minutes ago   25.032     epoch=1, loss=6.762363957929182  366.74 MB
21            29 minutes ago   24.942     epoch=2, loss=6.377185855899845  366.74 MB
31            28 minutes ago   25.053     epoch=3, loss=5.742813685992816  366.74 MB
41            28 minutes ago   24.971     epoch=4, loss=4.847646936640009  366.74 MB