generalized packing & fix #6343

Former-commit-id: 3b1e4194616cacd5c24f08b328e31a008bddcf29
This commit is contained in:
hiyouga
2024-12-17 10:26:19 +00:00
parent 6522467ddb
commit d670d62a66
4 changed files with 10 additions and 57 deletions

View File

@@ -81,19 +81,6 @@ TRAINING_STAGES = {
STAGES_USE_PAIR_DATA = {"rm", "dpo"}
SUPPORTED_CLASS_FOR_BLOCK_DIAG_ATTN = {
"cohere",
"falcon",
"gemma",
"gemma2",
"llama",
"mistral",
"phi",
"phi3",
"qwen2",
"starcoder2",
}
SUPPORTED_CLASS_FOR_S2ATTN = {"llama"}
VIDEO_PLACEHOLDER = os.environ.get("VIDEO_PLACEHOLDER", "<video>")