lmflow.utils.constants#

Commonly used constants.

Attributes#

Module Contents#

lmflow.utils.constants.TEXT_ONLY_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.TEXT_TO_SCORED_TEXTLIST_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.PAIRED_TEXT_TO_TEXT_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.TEXT_ONLY_DATASET_DETAILS[source]#
lmflow.utils.constants.TEXT2TEXT_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.CONVERSATION_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.PAIRED_CONVERSATION_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.TEXT_TO_TEXTLIST_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.TEXT2TEXT_DATASET_DETAILS[source]#
lmflow.utils.constants.FLOAT_ONLY_DATASET_DESCRIPTION[source]#
lmflow.utils.constants.TEXT_ONLY_DATASET_LONG_DESCRITION[source]#
lmflow.utils.constants.TEXT2TEXT_DATASET_LONG_DESCRITION[source]#
lmflow.utils.constants.DATASET_DESCRIPTION_MAP[source]#
lmflow.utils.constants.INSTANCE_FIELDS_MAP[source]#
lmflow.utils.constants.CONVERSATION_ROLE_NAMES[source]#
lmflow.utils.constants.CONTROLLER_HEART_BEAT_EXPIRATION = 30[source]#
lmflow.utils.constants.WORKER_HEART_BEAT_INTERVAL = 15[source]#
lmflow.utils.constants.LOGDIR = '.'[source]#
lmflow.utils.constants.IGNORE_INDEX[source]#
lmflow.utils.constants.IMAGE_TOKEN_INDEX[source]#
lmflow.utils.constants.DEFAULT_IMAGE_TOKEN = '<image>'[source]#
lmflow.utils.constants.DEFAULT_IMAGE_PATCH_TOKEN = '<im_patch>'[source]#
lmflow.utils.constants.DEFAULT_IM_START_TOKEN = '<im_start>'[source]#
lmflow.utils.constants.DEFAULT_IM_END_TOKEN = '<im_end>'[source]#
lmflow.utils.constants.LMFLOW_LORA_TARGET_MODULES_MAPPING[source]#
lmflow.utils.constants.MEMORY_SAFE_VLLM_INFERENCE_FINISH_FLAG = 'MEMORY_SAFE_VLLM_INFERENCE_DONE'[source]#
lmflow.utils.constants.RETURN_CODE_ERROR_BUFFER = [134][source]#
lmflow.utils.constants.MEMORY_SAFE_VLLM_INFERENCE_ENV_VAR_TO_REMOVE = ['OMP_NUM_THREADS', 'LOCAL_RANK', 'RANK', 'GROUP_RANK', 'ROLE_RANK', 'ROLE_NAME',...[source]#
lmflow.utils.constants.MEMORY_SAFE_DPOV2_ALIGN_ENV_VAR_TO_REMOVE = ['OMP_NUM_THREADS', 'LOCAL_RANK', 'RANK', 'GROUP_RANK', 'ROLE_RANK', 'ROLE_NAME',...[source]#