devboxbackup / playground /inference /active_cases /logs /eval_phi4_multimodal.log
jasonfan's picture
Add files using upload-large-folder tool
cb5f642 verified
Model: phi4_multimodal
Model path: /mnt/bn/bohanzhainas1/jiashuo/models/Phi-4-multimodal-instruct
Model type: generic
Fine-tuned: False
[SKIP] 7582677198746750229_7602429433449893127 (no frames / failed extraction)
[SKIP] 7583417083719847190_7602908531787910422 (no frames / failed extraction)
[SKIP] 7584037444983459092_7593315053781241106 (no frames / failed extraction)
[SKIP] 7584733886580591880_7592782759857245447 (no frames / failed extraction)
[SKIP] 7585273467772194070_7593446635338763542 (no frames / failed extraction)
[SKIP] 7585621460966788374_7603473500816297238 (no frames / failed extraction)
[SKIP] 7586150189941935382_7593384463275461910 (no frames / failed extraction)
[SKIP] 7586597062821793046_7602700394216688918 (no frames / failed extraction)
[SKIP] 7587882760279231777_7593074162743217430 (no frames / failed extraction)
[SKIP] 7588180930066386198_7603412848949218582 (no frames / failed extraction)
[SKIP] 7588207905518767382_7602720790659992855 (no frames / failed extraction)
[SKIP] 7588859776717671702_7593296535866117378 (no frames / failed extraction)
[SKIP] 7589385196827462934_7603104546189036822 (no frames / failed extraction)
[SKIP] 7589913665097174294_7593039101570354454 (no frames / failed extraction)
[SKIP] 7589960687187725591_7593085871843314966 (no frames / failed extraction)
[SKIP] 7590468019252432150_7593407027062263062 (no frames / failed extraction)
[SKIP] 7591630202673974550_7593064619959405846 (no frames / failed extraction)
[SKIP] 7591836115888246038_7593080065173359894 (no frames / failed extraction)
[SKIP] 7591847133309930773_7593094663347768598 (no frames / failed extraction)
[SKIP] 7591874135001763094_7593341652392070432 (no frames / failed extraction)
[SKIP] 7591889069026659606_7593402590713416983 (no frames / failed extraction)
[SKIP] 7592192610349993224_7603422246249483542 (no frames / failed extraction)
[SKIP] 7592249912092298516_7592692430290423048 (no frames / failed extraction)
[SKIP] 7592292119172156694_7593344515516255510 (no frames / failed extraction)
[SKIP] 7592407303433850134_7593089551699086614 (no frames / failed extraction)
[SKIP] 7592438557940190472_7593320220027112712 (no frames / failed extraction)
[SKIP] 7592447930083118358_7593389460251888918 (no frames / failed extraction)
[SKIP] 7592579018231123222_7593140560538504470 (no frames / failed extraction)
[SKIP] 7592587710313827606_7593083922620189974 (no frames / failed extraction)
[SKIP] 7592606436027338006_7593094886673501462 (no frames / failed extraction)
[SKIP] 7592608349129018646_7593268938440576278 (no frames / failed extraction)
[SKIP] 7592638072890641686_7593021195084172566 (no frames / failed extraction)
[SKIP] 7592665489650846999_7593089848739646742 (no frames / failed extraction)
[SKIP] 7592684356397698336_7593071353121492246 (no frames / failed extraction)
[SKIP] 7592689445384490262_7593027488104795414 (no frames / failed extraction)
[SKIP] 7592706387596135702_7593112206011649302 (no frames / failed extraction)
[SKIP] 7592730883266858262_7593062110196681987 (no frames / failed extraction)
[SKIP] 7592949961030094102_7603492671742545174 (no frames / failed extraction)
[SKIP] 7592962410810461462_7593308664602135830 (no frames / failed extraction)
[SKIP] 7592969692319386902_7593341592568712470 (no frames / failed extraction)
[SKIP] 7592997884329512214_7593429334455618838 (no frames / failed extraction)
[SKIP] 7593023927065038102_7593407584388795670 (no frames / failed extraction)
[SKIP] 7593025085439560982_7593349087630691607 (no frames / failed extraction)
[SKIP] 7593042030754925846_7593114198452882720 (no frames / failed extraction)
[SKIP] 7593061563909606658_7593077514952510742 (no frames / failed extraction)
[SKIP] 7593070251244375318_7593078378312387862 (no frames / failed extraction)
[SKIP] 7593753670903270678_7602706264363142432 (no frames / failed extraction)
[SKIP] 7596084847773420823_7602772755599117590 (no frames / failed extraction)
[SKIP] 7596228877127634198_7602841595464994070 (no frames / failed extraction)
[SKIP] 7597475892209650975_7604100479915805972 (no frames / failed extraction)
[SKIP] 7597495313544400150_7603023470439484694 (no frames / failed extraction)
[SKIP] 7597873882174868758_7603005109261405462 (no frames / failed extraction)
[SKIP] 7598175222746877206_7603007093393624342 (no frames / failed extraction)
[SKIP] 7598472951473704214_7602725579322002710 (no frames / failed extraction)
[SKIP] 7598516119405726996_7603973426964925716 (no frames / failed extraction)
[SKIP] 7599677244956593430_7602460334779108630 (no frames / failed extraction)
[SKIP] 7599719725207145750_7602933646244285718 (no frames / failed extraction)
[SKIP] 7600336749038144788_7602748123613629718 (no frames / failed extraction)
[SKIP] 7600496386005536022_7603075447164914966 (no frames / failed extraction)
[SKIP] 7600813734570773782_7602429316919479574 (no frames / failed extraction)
[SKIP] 7600848290413825302_7602779112352025878 (no frames / failed extraction)
[SKIP] 7601220761646402838_7603018067106499863 (no frames / failed extraction)
[SKIP] 7601510305893534998_7602678212866477335 (no frames / failed extraction)
[SKIP] 7601613870863518994_7603563256304700688 (no frames / failed extraction)
[SKIP] 7601848515752398102_7602678382060571906 (no frames / failed extraction)
[SKIP] 7601913432597712150_7603131540138200342 (no frames / failed extraction)
[SKIP] 7601928286750379286_7602577786364120342 (no frames / failed extraction)
[SKIP] 7601933322196946198_7602754876120042774 (no frames / failed extraction)
[SKIP] 7601998610477190422_7602715371820338454 (no frames / failed extraction)
[SKIP] 7602130594893417735_7604578017720962311 (no frames / failed extraction)
[SKIP] 7602177500176796950_7602678869098827030 (no frames / failed extraction)
[SKIP] 7602247963691289878_7602952772085943574 (no frames / failed extraction)
[SKIP] 7602249398457847062_7602706438569381142 (no frames / failed extraction)
[SKIP] 7602252479589322006_7602710905004018966 (no frames / failed extraction)
[SKIP] 7602260906663300374_7603059444066389270 (no frames / failed extraction)
[SKIP] 7602271814382849302_7602882172822834454 (no frames / failed extraction)
[SKIP] 7602310864481357078_7602647922227907862 (no frames / failed extraction)
[SKIP] 7602312802610531592_7604593851096976660 (no frames / failed extraction)
[SKIP] 7602376297129561366_7602579472767847702 (no frames / failed extraction)
[SKIP] 7602380228945644822_7602998633562197270 (no frames / failed extraction)
[SKIP] 7602389798820564227_7602719197398912278 (no frames / failed extraction)
[SKIP] 7602393643793648918_7602510910665624854 (no frames / failed extraction)
[SKIP] 7602395422874717462_7602982547936611606 (no frames / failed extraction)
[SKIP] 7602402488028876054_7602916875302898976 (no frames / failed extraction)
[SKIP] 7602405874400759047_7602473421427019026 (no frames / failed extraction)
[SKIP] 7602411358860102934_7602747902141664534 (no frames / failed extraction)
[SKIP] 7602418496676498711_7603388889381735712 (no frames / failed extraction)
[SKIP] 7602423244649483542_7603035091178097942 (no frames / failed extraction)
[SKIP] 7602580322869366038_7602742455183707414 (no frames / failed extraction)
[SKIP] 7602594689996410134_7603071616582503702 (no frames / failed extraction)
[SKIP] 7602614247180356885_7602647330415709462 (no frames / failed extraction)
[SKIP] 7602629799265488131_7602679961081761046 (no frames / failed extraction)
[SKIP] 7602663072544722198_7602769847151250710 (no frames / failed extraction)
[SKIP] 7602698902118157590_7603048226572274966 (no frames / failed extraction)
[SKIP] 7602712165912513814_7602756998052039958 (no frames / failed extraction)
[SKIP] 7602716194466073858_7602731198116498711 (no frames / failed extraction)
[SKIP] 7602756717650251030_7603150900827491586 (no frames / failed extraction)
[SKIP] 7602761656724196630_7603069792135826710 (no frames / failed extraction)
[SKIP] 7602776772869983510_7602780713779334422 (no frames / failed extraction)
[SKIP] 7603023017689566486_7603400137217543446 (no frames / failed extraction)
[SKIP] 7603726508284185876_7604510815655300372 (no frames / failed extraction)
[SKIP] 7603982549580385544_7604135707203964181 (no frames / failed extraction)
[SKIP] 7604033909038304532_7604549104487861512 (no frames / failed extraction)
[SKIP] 7604197852574665992_7604504344976755988 (no frames / failed extraction)
[SKIP] 7604249600865701142_7604624761112644882 (no frames / failed extraction)
Loaded 133 samples from /mlx/users/jiashuo.fan/playground/inference/active_cases/frames_cache
Pending: 133
Loading generic model from /mnt/bn/bohanzhainas1/jiashuo/models/Phi-4-multimodal-instruct
/home/tiger/.local/lib/python3.11/site-packages/transformers/models/auto/image_processing_auto.py:647: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use `slow_image_processor_class`, or `fast_image_processor_class` instead
warnings.warn(
Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
`torch_dtype` is deprecated! Use `dtype` instead!
Encountered exception while importing peft: No module named 'peft'
AutoModelForCausalLM failed: This modeling file requires the following packages that were not found in your environment: peft. Run `pip install peft`
/home/tiger/.local/lib/python3.11/site-packages/transformers/models/auto/modeling_auto.py:2284: FutureWarning: The class `AutoModelForVision2Seq` is deprecated and will be removed in v5.0. Please use `AutoModelForImageTextToText` instead.
warnings.warn(
AutoModelForVision2Seq failed: Unrecognized configuration class <class 'transformers_modules.Phi_hyphen_4_hyphen_multimodal_hyphen_instruct.configuration_phi4mm.Phi4MMConfig'> for this kind of AutoModel: AutoModelForVision2Seq.
Model type should be one of BlipConfig, Blip2Config, ChameleonConfig, GitConfig, Idefics2Config, Idefics3Config, InstructBlipConfig, InstructBlipVideoConfig, Kosmos2Config, Kosmos2_5Config, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, Mistral3Config, MllamaConfig, Ovis2Config, PaliGemmaConfig, Pix2StructConfig, Qwen2_5_VLConfig, Qwen2VLConfig, Qwen3VLConfig, Qwen3VLMoeConfig, VideoLlavaConfig, VipLlavaConfig, VisionEncoderDecoderConfig.
AutoModel failed: Unrecognized configuration class <class 'transformers_modules.Phi_hyphen_4_hyphen_multimodal_hyphen_instruct.configuration_phi4mm.Phi4MMConfig'> for this kind of AutoModel: AutoModel.
Model type should be one of Aimv2Config, Aimv2VisionConfig, AlbertConfig, AlignConfig, AltCLIPConfig, ApertusConfig, ArceeConfig, AriaConfig, AriaTextConfig, ASTConfig, AutoformerConfig, AyaVisionConfig, BambaConfig, BarkConfig, BartConfig, BeitConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BlipConfig, Blip2Config, Blip2QFormerConfig, BloomConfig, BltConfig, BridgeTowerConfig, BrosConfig, CamembertConfig, CanineConfig, ChameleonConfig, ChineseCLIPConfig, ChineseCLIPVisionConfig, ClapConfig, CLIPConfig, CLIPTextConfig, CLIPVisionConfig, CLIPSegConfig, ClvpConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, Cohere2VisionConfig, ConditionalDetrConfig, ConvBertConfig, ConvNextConfig, ConvNextV2Config, CpmAntConfig, CsmConfig, CTRLConfig, CvtConfig, DFineConfig, DabDetrConfig, DacConfig, Data2VecAudioConfig, Data2VecTextConfig, Data2VecVisionConfig, DbrxConfig, DebertaConfig, DebertaV2Config, DecisionTransformerConfig, DeepseekV2Config, DeepseekV3Config, DeepseekVLConfig, DeepseekVLHybridConfig, DeformableDetrConfig, DeiTConfig, DepthProConfig, DetaConfig, DetrConfig, DiaConfig, DiffLlamaConfig, DinatConfig, Dinov2Config, Dinov2WithRegistersConfig, DINOv3ConvNextConfig, DINOv3ViTConfig, DistilBertConfig, DogeConfig, DonutSwinConfig, Dots1Config, DPRConfig, DPTConfig, EdgeTamConfig, EdgeTamVideoConfig, EdgeTamVisionConfig, EfficientFormerConfig, EfficientLoFTRConfig, EfficientNetConfig, ElectraConfig, Emu3Config, EncodecConfig, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, ErnieMConfig, EsmConfig, EvollaConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, FlaubertConfig, FlavaConfig, FlexOlmoConfig, Florence2Config, FNetConfig, FocalNetConfig, FSMTConfig, FunnelConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nAudioConfig, Gemma3nTextConfig, Gemma3nVisionConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, Glm4vConfig, Glm4vMoeConfig, Glm4vMoeTextConfig, Glm4vTextConfig, GLPNConfig, GotOcr2Config, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GPTSanJapaneseConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, GraphormerConfig, GroundingDinoConfig, GroupViTConfig, HeliumConfig, HGNetV2Config, HieraConfig, HubertConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, IBertConfig, IdeficsConfig, Idefics2Config, Idefics3Config, Idefics3VisionConfig, IJepaConfig, ImageGPTConfig, InformerConfig, InstructBlipConfig, InstructBlipVideoConfig, InternVLConfig, InternVLVisionConfig, JambaConfig, JanusConfig, JetMoeConfig, JukeboxConfig, Kosmos2Config, Kosmos2_5Config, KyutaiSpeechToTextConfig, LayoutLMConfig, LayoutLMv2Config, LayoutLMv3Config, LEDConfig, LevitConfig, Lfm2Config, Lfm2VlConfig, LightGlueConfig, LiltConfig, LlamaConfig, Llama4Config, Llama4TextConfig, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, LongcatFlashConfig, LongformerConfig, LongT5Config, LukeConfig, LxmertConfig, M2M100Config, MambaConfig, Mamba2Config, MarianConfig, MarkupLMConfig, Mask2FormerConfig, MaskFormerConfig, MaskFormerSwinConfig, MBartConfig, MCTCTConfig, MegaConfig, MegatronBertConfig, MetaClip2Config, MgpstrConfig, MimiConfig, MiniMaxConfig, MinistralConfig, MistralConfig, Mistral3Config, MixtralConfig, MLCDVisionConfig, MllamaConfig, MMGroundingDinoConfig, MobileBertConfig, MobileNetV1Config, MobileNetV2Config, MobileViTConfig, MobileViTV2Config, ModernBertConfig, ModernBertDecoderConfig, MoonshineConfig, MoshiConfig, MPNetConfig, MptConfig, MraConfig, MT5Config, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NatConfig, NemotronConfig, NezhaConfig, NllbMoeConfig, NystromformerConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OmDetTurboConfig, OneFormerConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, Ovis2Config, Owlv2Config, OwlViTConfig, PaliGemmaConfig, ParakeetCTCConfig, ParakeetEncoderConfig, PatchTSMixerConfig, PatchTSTConfig, PegasusConfig, PegasusXConfig, PerceiverConfig, TimmWrapperConfig, PerceptionLMConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PixtralVisionConfig, PLBartConfig, PoolFormerConfig, ProphetNetConfig, PvtConfig, PvtV2Config, QDQBertConfig, Qwen2Config, Qwen2_5_VLConfig, Qwen2_5_VLTextConfig, Qwen2AudioEncoderConfig, Qwen2MoeConfig, Qwen2VLConfig, Qwen2VLTextConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, Qwen3VLConfig, Qwen3VLMoeConfig, Qwen3VLMoeTextConfig, Qwen3VLTextConfig, RecurrentGemmaConfig, ReformerConfig, RegNetConfig, RemBertConfig, ResNetConfig, RetriBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RTDetrConfig, RTDetrV2Config, RwkvConfig, SamConfig, Sam2Config, Sam2HieraDetConfig, Sam2VideoConfig, Sam2VisionConfig, SamHQConfig, SamHQVisionConfig, SamVisionConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SeedOssConfig, SegformerConfig, SegGptConfig, SEWConfig, SEWDConfig, SiglipConfig, Siglip2Config, Siglip2VisionConfig, SiglipVisionConfig, SmolLM3Config, SmolVLMConfig, SmolVLMVisionConfig, Speech2TextConfig, SpeechT5Config, SplinterConfig, SqueezeBertConfig, StableLmConfig, Starcoder2Config, SwiftFormerConfig, SwinConfig, Swin2SRConfig, Swinv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, TableTransformerConfig, TapasConfig, TextNetConfig, TimeSeriesTransformerConfig, TimesFmConfig, TimesformerConfig, TimmBackboneConfig, TimmWrapperConfig, TrajectoryTransformerConfig, TransfoXLConfig, TvltConfig, TvpConfig, UdopConfig, UMT5Config, UniSpeechConfig, UniSpeechSatConfig, UnivNetConfig, VanConfig, VaultGemmaConfig, VideoLlavaConfig, VideoMAEConfig, ViltConfig, VipLlavaConfig, VisionTextDualEncoderConfig, VisualBertConfig, ViTConfig, ViTHybridConfig, ViTMAEConfig, ViTMSNConfig, VitDetConfig, VitsConfig, VivitConfig, VJEPA2Config, VoxtralConfig, VoxtralEncoderConfig, Wav2Vec2Config, Wav2Vec2BertConfig, Wav2Vec2ConformerConfig, WavLMConfig, WhisperConfig, XCLIPConfig, XcodecConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, YolosConfig, YosoConfig, ZambaConfig, Zamba2Config.
Traceback (most recent call last):
File "/mlx/users/jiashuo.fan/playground/inference/active_cases/eval_active_cases.py", line 1128, in <module>
main()
File "/mlx/users/jiashuo.fan/playground/inference/active_cases/eval_active_cases.py", line 1037, in main
model, processor = loader(model_path)
^^^^^^^^^^^^^^^^^^
File "/mlx/users/jiashuo.fan/playground/inference/active_cases/eval_active_cases.py", line 449, in load_generic
raise RuntimeError(f"Could not load model from {model_path} with any loader")
RuntimeError: Could not load model from /mnt/bn/bohanzhainas1/jiashuo/models/Phi-4-multimodal-instruct with any loader
Model: phi4_multimodal
Model path: /mnt/bn/bohanzhainas1/jiashuo/models/Phi-4-multimodal-instruct
Model type: generic
Fine-tuned: False
[SKIP] 7582677198746750229_7602429433449893127 (no frames / failed extraction)
[SKIP] 7583417083719847190_7602908531787910422 (no frames / failed extraction)
[SKIP] 7584037444983459092_7593315053781241106 (no frames / failed extraction)
[SKIP] 7584733886580591880_7592782759857245447 (no frames / failed extraction)
[SKIP] 7585273467772194070_7593446635338763542 (no frames / failed extraction)
[SKIP] 7585621460966788374_7603473500816297238 (no frames / failed extraction)
[SKIP] 7586150189941935382_7593384463275461910 (no frames / failed extraction)
[SKIP] 7586597062821793046_7602700394216688918 (no frames / failed extraction)
[SKIP] 7587882760279231777_7593074162743217430 (no frames / failed extraction)
[SKIP] 7588180930066386198_7603412848949218582 (no frames / failed extraction)
[SKIP] 7588207905518767382_7602720790659992855 (no frames / failed extraction)
[SKIP] 7588859776717671702_7593296535866117378 (no frames / failed extraction)
[SKIP] 7589385196827462934_7603104546189036822 (no frames / failed extraction)
[SKIP] 7589913665097174294_7593039101570354454 (no frames / failed extraction)
[SKIP] 7589960687187725591_7593085871843314966 (no frames / failed extraction)
[SKIP] 7590468019252432150_7593407027062263062 (no frames / failed extraction)
[SKIP] 7591630202673974550_7593064619959405846 (no frames / failed extraction)
[SKIP] 7591836115888246038_7593080065173359894 (no frames / failed extraction)
[SKIP] 7591847133309930773_7593094663347768598 (no frames / failed extraction)
[SKIP] 7591874135001763094_7593341652392070432 (no frames / failed extraction)
[SKIP] 7591889069026659606_7593402590713416983 (no frames / failed extraction)
[SKIP] 7592192610349993224_7603422246249483542 (no frames / failed extraction)
[SKIP] 7592249912092298516_7592692430290423048 (no frames / failed extraction)
[SKIP] 7592292119172156694_7593344515516255510 (no frames / failed extraction)
[SKIP] 7592407303433850134_7593089551699086614 (no frames / failed extraction)
[SKIP] 7592438557940190472_7593320220027112712 (no frames / failed extraction)
[SKIP] 7592447930083118358_7593389460251888918 (no frames / failed extraction)
[SKIP] 7592579018231123222_7593140560538504470 (no frames / failed extraction)
[SKIP] 7592587710313827606_7593083922620189974 (no frames / failed extraction)
[SKIP] 7592606436027338006_7593094886673501462 (no frames / failed extraction)
[SKIP] 7592608349129018646_7593268938440576278 (no frames / failed extraction)
[SKIP] 7592638072890641686_7593021195084172566 (no frames / failed extraction)
[SKIP] 7592665489650846999_7593089848739646742 (no frames / failed extraction)
[SKIP] 7592684356397698336_7593071353121492246 (no frames / failed extraction)
[SKIP] 7592689445384490262_7593027488104795414 (no frames / failed extraction)
[SKIP] 7592706387596135702_7593112206011649302 (no frames / failed extraction)
[SKIP] 7592730883266858262_7593062110196681987 (no frames / failed extraction)
[SKIP] 7592949961030094102_7603492671742545174 (no frames / failed extraction)
[SKIP] 7592962410810461462_7593308664602135830 (no frames / failed extraction)
[SKIP] 7592969692319386902_7593341592568712470 (no frames / failed extraction)
[SKIP] 7592997884329512214_7593429334455618838 (no frames / failed extraction)
[SKIP] 7593023927065038102_7593407584388795670 (no frames / failed extraction)
[SKIP] 7593025085439560982_7593349087630691607 (no frames / failed extraction)
[SKIP] 7593042030754925846_7593114198452882720 (no frames / failed extraction)
[SKIP] 7593061563909606658_7593077514952510742 (no frames / failed extraction)
[SKIP] 7593070251244375318_7593078378312387862 (no frames / failed extraction)
[SKIP] 7593753670903270678_7602706264363142432 (no frames / failed extraction)
[SKIP] 7596084847773420823_7602772755599117590 (no frames / failed extraction)
[SKIP] 7596228877127634198_7602841595464994070 (no frames / failed extraction)
[SKIP] 7597475892209650975_7604100479915805972 (no frames / failed extraction)
[SKIP] 7597495313544400150_7603023470439484694 (no frames / failed extraction)
[SKIP] 7597873882174868758_7603005109261405462 (no frames / failed extraction)
[SKIP] 7598175222746877206_7603007093393624342 (no frames / failed extraction)
[SKIP] 7598472951473704214_7602725579322002710 (no frames / failed extraction)
[SKIP] 7598516119405726996_7603973426964925716 (no frames / failed extraction)
[SKIP] 7599677244956593430_7602460334779108630 (no frames / failed extraction)
[SKIP] 7599719725207145750_7602933646244285718 (no frames / failed extraction)
[SKIP] 7600336749038144788_7602748123613629718 (no frames / failed extraction)
[SKIP] 7600496386005536022_7603075447164914966 (no frames / failed extraction)
[SKIP] 7600813734570773782_7602429316919479574 (no frames / failed extraction)
[SKIP] 7600848290413825302_7602779112352025878 (no frames / failed extraction)
[SKIP] 7601220761646402838_7603018067106499863 (no frames / failed extraction)
[SKIP] 7601510305893534998_7602678212866477335 (no frames / failed extraction)
[SKIP] 7601613870863518994_7603563256304700688 (no frames / failed extraction)
[SKIP] 7601848515752398102_7602678382060571906 (no frames / failed extraction)
[SKIP] 7601913432597712150_7603131540138200342 (no frames / failed extraction)
[SKIP] 7601928286750379286_7602577786364120342 (no frames / failed extraction)
[SKIP] 7601933322196946198_7602754876120042774 (no frames / failed extraction)
[SKIP] 7601998610477190422_7602715371820338454 (no frames / failed extraction)
[SKIP] 7602130594893417735_7604578017720962311 (no frames / failed extraction)
[SKIP] 7602177500176796950_7602678869098827030 (no frames / failed extraction)
[SKIP] 7602247963691289878_7602952772085943574 (no frames / failed extraction)
[SKIP] 7602249398457847062_7602706438569381142 (no frames / failed extraction)
[SKIP] 7602252479589322006_7602710905004018966 (no frames / failed extraction)
[SKIP] 7602260906663300374_7603059444066389270 (no frames / failed extraction)
[SKIP] 7602271814382849302_7602882172822834454 (no frames / failed extraction)
[SKIP] 7602310864481357078_7602647922227907862 (no frames / failed extraction)
[SKIP] 7602312802610531592_7604593851096976660 (no frames / failed extraction)
[SKIP] 7602376297129561366_7602579472767847702 (no frames / failed extraction)
[SKIP] 7602380228945644822_7602998633562197270 (no frames / failed extraction)
[SKIP] 7602389798820564227_7602719197398912278 (no frames / failed extraction)
[SKIP] 7602393643793648918_7602510910665624854 (no frames / failed extraction)
[SKIP] 7602395422874717462_7602982547936611606 (no frames / failed extraction)
[SKIP] 7602402488028876054_7602916875302898976 (no frames / failed extraction)
[SKIP] 7602405874400759047_7602473421427019026 (no frames / failed extraction)
[SKIP] 7602411358860102934_7602747902141664534 (no frames / failed extraction)
[SKIP] 7602418496676498711_7603388889381735712 (no frames / failed extraction)
[SKIP] 7602423244649483542_7603035091178097942 (no frames / failed extraction)
[SKIP] 7602580322869366038_7602742455183707414 (no frames / failed extraction)
[SKIP] 7602594689996410134_7603071616582503702 (no frames / failed extraction)
[SKIP] 7602614247180356885_7602647330415709462 (no frames / failed extraction)
[SKIP] 7602629799265488131_7602679961081761046 (no frames / failed extraction)
[SKIP] 7602663072544722198_7602769847151250710 (no frames / failed extraction)
[SKIP] 7602698902118157590_7603048226572274966 (no frames / failed extraction)
[SKIP] 7602712165912513814_7602756998052039958 (no frames / failed extraction)
[SKIP] 7602716194466073858_7602731198116498711 (no frames / failed extraction)
[SKIP] 7602756717650251030_7603150900827491586 (no frames / failed extraction)
[SKIP] 7602761656724196630_7603069792135826710 (no frames / failed extraction)
[SKIP] 7602776772869983510_7602780713779334422 (no frames / failed extraction)
[SKIP] 7603023017689566486_7603400137217543446 (no frames / failed extraction)
[SKIP] 7603726508284185876_7604510815655300372 (no frames / failed extraction)
[SKIP] 7603982549580385544_7604135707203964181 (no frames / failed extraction)
[SKIP] 7604033909038304532_7604549104487861512 (no frames / failed extraction)
[SKIP] 7604197852574665992_7604504344976755988 (no frames / failed extraction)
[SKIP] 7604249600865701142_7604624761112644882 (no frames / failed extraction)
Loaded 133 samples from /mlx/users/jiashuo.fan/playground/inference/active_cases/frames_cache
Pending: 133
Loading generic model from /mnt/bn/bohanzhainas1/jiashuo/models/Phi-4-multimodal-instruct
/home/tiger/.local/lib/python3.11/site-packages/transformers/models/auto/image_processing_auto.py:647: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use `slow_image_processor_class`, or `fast_image_processor_class` instead
warnings.warn(
Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
`torch_dtype` is deprecated! Use `dtype` instead!
AutoModelForCausalLM failed: No module named 'backoff'
/home/tiger/.local/lib/python3.11/site-packages/transformers/models/auto/modeling_auto.py:2284: FutureWarning: The class `AutoModelForVision2Seq` is deprecated and will be removed in v5.0. Please use `AutoModelForImageTextToText` instead.
warnings.warn(
AutoModelForVision2Seq failed: Unrecognized configuration class <class 'transformers_modules.Phi_hyphen_4_hyphen_multimodal_hyphen_instruct.configuration_phi4mm.Phi4MMConfig'> for this kind of AutoModel: AutoModelForVision2Seq.
Model type should be one of BlipConfig, Blip2Config, ChameleonConfig, GitConfig, Idefics2Config, Idefics3Config, InstructBlipConfig, InstructBlipVideoConfig, Kosmos2Config, Kosmos2_5Config, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, Mistral3Config, MllamaConfig, Ovis2Config, PaliGemmaConfig, Pix2StructConfig, Qwen2_5_VLConfig, Qwen2VLConfig, Qwen3VLConfig, Qwen3VLMoeConfig, VideoLlavaConfig, VipLlavaConfig, VisionEncoderDecoderConfig.
AutoModel failed: Unrecognized configuration class <class 'transformers_modules.Phi_hyphen_4_hyphen_multimodal_hyphen_instruct.configuration_phi4mm.Phi4MMConfig'> for this kind of AutoModel: AutoModel.
Model type should be one of Aimv2Config, Aimv2VisionConfig, AlbertConfig, AlignConfig, AltCLIPConfig, ApertusConfig, ArceeConfig, AriaConfig, AriaTextConfig, ASTConfig, AutoformerConfig, AyaVisionConfig, BambaConfig, BarkConfig, BartConfig, BeitConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BitConfig, BitNetConfig, BlenderbotConfig, BlenderbotSmallConfig, BlipConfig, Blip2Config, Blip2QFormerConfig, BloomConfig, BltConfig, BridgeTowerConfig, BrosConfig, CamembertConfig, CanineConfig, ChameleonConfig, ChineseCLIPConfig, ChineseCLIPVisionConfig, ClapConfig, CLIPConfig, CLIPTextConfig, CLIPVisionConfig, CLIPSegConfig, ClvpConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, Cohere2VisionConfig, ConditionalDetrConfig, ConvBertConfig, ConvNextConfig, ConvNextV2Config, CpmAntConfig, CsmConfig, CTRLConfig, CvtConfig, DFineConfig, DabDetrConfig, DacConfig, Data2VecAudioConfig, Data2VecTextConfig, Data2VecVisionConfig, DbrxConfig, DebertaConfig, DebertaV2Config, DecisionTransformerConfig, DeepseekV2Config, DeepseekV3Config, DeepseekVLConfig, DeepseekVLHybridConfig, DeformableDetrConfig, DeiTConfig, DepthProConfig, DetaConfig, DetrConfig, DiaConfig, DiffLlamaConfig, DinatConfig, Dinov2Config, Dinov2WithRegistersConfig, DINOv3ConvNextConfig, DINOv3ViTConfig, DistilBertConfig, DogeConfig, DonutSwinConfig, Dots1Config, DPRConfig, DPTConfig, EdgeTamConfig, EdgeTamVideoConfig, EdgeTamVisionConfig, EfficientFormerConfig, EfficientLoFTRConfig, EfficientNetConfig, ElectraConfig, Emu3Config, EncodecConfig, ErnieConfig, Ernie4_5Config, Ernie4_5_MoeConfig, ErnieMConfig, EsmConfig, EvollaConfig, Exaone4Config, FalconConfig, FalconH1Config, FalconMambaConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, FlaubertConfig, FlavaConfig, FlexOlmoConfig, Florence2Config, FNetConfig, FocalNetConfig, FSMTConfig, FunnelConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, Gemma3nConfig, Gemma3nAudioConfig, Gemma3nTextConfig, Gemma3nVisionConfig, GitConfig, GlmConfig, Glm4Config, Glm4MoeConfig, Glm4vConfig, Glm4vMoeConfig, Glm4vMoeTextConfig, Glm4vTextConfig, GLPNConfig, GotOcr2Config, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GptOssConfig, GPTJConfig, GPTSanJapaneseConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeHybridConfig, GraniteMoeSharedConfig, GraphormerConfig, GroundingDinoConfig, GroupViTConfig, HeliumConfig, HGNetV2Config, HieraConfig, HubertConfig, HunYuanDenseV1Config, HunYuanMoEV1Config, IBertConfig, IdeficsConfig, Idefics2Config, Idefics3Config, Idefics3VisionConfig, IJepaConfig, ImageGPTConfig, InformerConfig, InstructBlipConfig, InstructBlipVideoConfig, InternVLConfig, InternVLVisionConfig, JambaConfig, JanusConfig, JetMoeConfig, JukeboxConfig, Kosmos2Config, Kosmos2_5Config, KyutaiSpeechToTextConfig, LayoutLMConfig, LayoutLMv2Config, LayoutLMv3Config, LEDConfig, LevitConfig, Lfm2Config, Lfm2VlConfig, LightGlueConfig, LiltConfig, LlamaConfig, Llama4Config, Llama4TextConfig, LlavaConfig, LlavaNextConfig, LlavaNextVideoConfig, LlavaOnevisionConfig, LongcatFlashConfig, LongformerConfig, LongT5Config, LukeConfig, LxmertConfig, M2M100Config, MambaConfig, Mamba2Config, MarianConfig, MarkupLMConfig, Mask2FormerConfig, MaskFormerConfig, MaskFormerSwinConfig, MBartConfig, MCTCTConfig, MegaConfig, MegatronBertConfig, MetaClip2Config, MgpstrConfig, MimiConfig, MiniMaxConfig, MinistralConfig, MistralConfig, Mistral3Config, MixtralConfig, MLCDVisionConfig, MllamaConfig, MMGroundingDinoConfig, MobileBertConfig, MobileNetV1Config, MobileNetV2Config, MobileViTConfig, MobileViTV2Config, ModernBertConfig, ModernBertDecoderConfig, MoonshineConfig, MoshiConfig, MPNetConfig, MptConfig, MraConfig, MT5Config, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NatConfig, NemotronConfig, NezhaConfig, NllbMoeConfig, NystromformerConfig, OlmoConfig, Olmo2Config, Olmo3Config, OlmoeConfig, OmDetTurboConfig, OneFormerConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, Ovis2Config, Owlv2Config, OwlViTConfig, PaliGemmaConfig, ParakeetCTCConfig, ParakeetEncoderConfig, PatchTSMixerConfig, PatchTSTConfig, PegasusConfig, PegasusXConfig, PerceiverConfig, TimmWrapperConfig, PerceptionLMConfig, PersimmonConfig, PhiConfig, Phi3Config, Phi4MultimodalConfig, PhimoeConfig, PixtralVisionConfig, PLBartConfig, PoolFormerConfig, ProphetNetConfig, PvtConfig, PvtV2Config, QDQBertConfig, Qwen2Config, Qwen2_5_VLConfig, Qwen2_5_VLTextConfig, Qwen2AudioEncoderConfig, Qwen2MoeConfig, Qwen2VLConfig, Qwen2VLTextConfig, Qwen3Config, Qwen3MoeConfig, Qwen3NextConfig, Qwen3VLConfig, Qwen3VLMoeConfig, Qwen3VLMoeTextConfig, Qwen3VLTextConfig, RecurrentGemmaConfig, ReformerConfig, RegNetConfig, RemBertConfig, ResNetConfig, RetriBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RTDetrConfig, RTDetrV2Config, RwkvConfig, SamConfig, Sam2Config, Sam2HieraDetConfig, Sam2VideoConfig, Sam2VisionConfig, SamHQConfig, SamHQVisionConfig, SamVisionConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SeedOssConfig, SegformerConfig, SegGptConfig, SEWConfig, SEWDConfig, SiglipConfig, Siglip2Config, Siglip2VisionConfig, SiglipVisionConfig, SmolLM3Config, SmolVLMConfig, SmolVLMVisionConfig, Speech2TextConfig, SpeechT5Config, SplinterConfig, SqueezeBertConfig, StableLmConfig, Starcoder2Config, SwiftFormerConfig, SwinConfig, Swin2SRConfig, Swinv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, TableTransformerConfig, TapasConfig, TextNetConfig, TimeSeriesTransformerConfig, TimesFmConfig, TimesformerConfig, TimmBackboneConfig, TimmWrapperConfig, TrajectoryTransformerConfig, TransfoXLConfig, TvltConfig, TvpConfig, UdopConfig, UMT5Config, UniSpeechConfig, UniSpeechSatConfig, UnivNetConfig, VanConfig, VaultGemmaConfig, VideoLlavaConfig, VideoMAEConfig, ViltConfig, VipLlavaConfig, VisionTextDualEncoderConfig, VisualBertConfig, ViTConfig, ViTHybridConfig, ViTMAEConfig, ViTMSNConfig, VitDetConfig, VitsConfig, VivitConfig, VJEPA2Config, VoxtralConfig, VoxtralEncoderConfig, Wav2Vec2Config, Wav2Vec2BertConfig, Wav2Vec2ConformerConfig, WavLMConfig, WhisperConfig, XCLIPConfig, XcodecConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, xLSTMConfig, XmodConfig, YolosConfig, YosoConfig, ZambaConfig, Zamba2Config.
Traceback (most recent call last):
File "/mlx/users/jiashuo.fan/playground/inference/active_cases/eval_active_cases.py", line 1128, in <module>
main()
File "/mlx/users/jiashuo.fan/playground/inference/active_cases/eval_active_cases.py", line 1037, in main
model, processor = loader(model_path)
^^^^^^^^^^^^^^^^^^
File "/mlx/users/jiashuo.fan/playground/inference/active_cases/eval_active_cases.py", line 449, in load_generic
raise RuntimeError(f"Could not load model from {model_path} with any loader")
RuntimeError: Could not load model from /mnt/bn/bohanzhainas1/jiashuo/models/Phi-4-multimodal-instruct with any loader