Function tfc::utils::TFCUtils::criuCheckpoint

Function tfc::utils::TFCUtils::criuCheckpoint#

Function Documentation#

tfc.utils.TFCUtils.criuCheckpoint(str dir="criu_checkpoint", bool user_mode=False)#
Use CRIU to create a checkpoint of your program.
WARNING: You must ensure no external sockets are used, i.e., via matplotlib.
WARNING: GPU memory cannot be mapped for all GPUs.
WARNING: user_mode is a work in progress and is not full featured yet.

Parameters
----------
dir : str
    Directory where the CRIU checkpoint will be created.
user_mode : bool
    Whether to use user mode or not. (Default value = False)