mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2026-11-05 01:07:23 +00:00
[GH-ISSUE #25] Transformers does not recognize this architecture #22
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-VL2#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DeadLining on GitHub (Dec 27, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/25
The version of Transformers is 4.47.1, but ms-swift raise the following error:
ValueError: The checkpoint you are trying to load has model typedeepseek_vl2but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.ms-swift:
CUDA_VISIBLE_DEVICES=0,1,2,3 \ VIDEO_MAX_PIXELS=50176 \ swift sft \ --model /gpu/nfs/raymodel/deepseek-ai/deepseek-vl2-small \ --train_type lora \ --dataset accident/train.jsonl \ --num_train_epochs 10 \ --per_device_train_batch_size 2 \ --learning_rate 1e-4 \ --lora_rank 8 \ --lora_alpha 32 \ --gradient_accumulation_steps 16 \ --eval_steps 50 \ --save_steps 50 \ --save_total_limit 2 \ --logging_steps 10 \ --target_modules all-linear \ --freeze_llm false \ --freeze_vit false \ --freeze_aligner false@Alane-Henry commented on GitHub (Feb 12, 2025):
Hi, how did you solve this problem?
@VineethKrishnaAvadhanam commented on GitHub (Feb 12, 2025):
Well I am stuck here , What is the Solution ?