about gpu usage in CoreML

#1
by altunenes - opened

Hello, thank you for this great work! It works really well in macOS M3 CPU (3 seconds). I tried to run it locally via CoreML, but it's not using GPU. Is this related to ONNX? Have you tested it with CoreML?
My concern is that fastVLM's ONNX operations might not be supported by CoreML's neural engine

Okay, I tried to create logs about that issue. Maybe give some additional insights

The most critical log messages indicating the problem are:

For vision_encoder.onnx:

INFO ort::logging: CoreMLExecutionProvider::GetCapability, number of partitions supported by CoreML: 0 number of nodes in the graph: 794 number of nodes supported by CoreML: 0

For embed_tokens.onnx, we see a specific reason for the failure:

WARN ort::logging: CoreML does not support input dim > 16384. Input:weight, shape: {151680,896}
INFO ort::logging: CoreMLExecutionProvider::GetCapability, number of partitions supported by CoreML: 0 number of nodes in the graph: 1 number of nodes supported by CoreML: 0

For decoder_model_merged.onnx:

INFO ort::logging: CoreMLExecutionProvider::GetCapability, number of partitions supported by CoreML: 0 number of nodes in the graph: 445 number of nodes supported by CoreML: 0

Full logs:

(Cant upload my txt file but you can find it on here)

https://github.com/altunenes/calcarine/pull/2#issuecomment-3254128556

Creating vertex buffer
Creating render pipeline
2025-09-04T14:30:04.861767Z  WARN egui_wgpu::renderer: Detected a linear (sRGBA aware) framebuffer Bgra8UnormSrgb. egui prefers Rgba8Unorm or Bgra8Unorm
πŸ”§ Initializing FastVLM...
πŸ” Searching for FastVLM models...
2025-09-04T14:30:04.862363Z  INFO calcarine: πŸ” Searching for FastVLM models...
πŸ” Checking path "/Users/enes/Library/Caches/Calcarine/models": βœ… Found all models
2025-09-04T14:30:04.862757Z  INFO calcarine: πŸ” Checking path "/Users/enes/Library/Caches/Calcarine/models": βœ… Found all models
2025-09-04T14:30:04.862761Z  INFO calcarine: Found FastVLM data directory at: "/Users/enes/Library/Caches/Calcarine/models"
2025-09-04T14:30:04.863516Z  INFO calcarine::fastvlm::fastvlm: Initializing FastVLM...
2025-09-04T14:30:04.863670Z  INFO calcarine::fastvlm::fastvlm: Using CoreML execution provider.
2025-09-04T14:30:05.010340Z DEBUG ort::environment: Environment created env_ptr="0x60001945daf0"
2025-09-04T14:30:05.010370Z  INFO calcarine::fastvlm::fastvlm: Loading model: vision_encoder.onnx
2025-09-04T14:30:05.010699Z  INFO ort::execution_providers: Successfully registered CoreMLExecutionProvider source=environment
2025-09-04T14:30:05.011374Z  INFO ort::logging: Session Options { execution_mode:0 execution_order:DEFAULT enable_profiling:0 optimized_model_filepath:"" enable_mem_pattern:1 enable_mem_reuse:1 enable_cpu_mem_arena:1 profile_file_prefix:onnxruntime_profile_ session_logid: session_log_severity_level:-1 session_log_verbosity_level:0 max_num_graph_transformation_steps:10 graph_optimization_level:3 intra_op_param:OrtThreadPoolParams { thread_pool_size: 0 auto_set_affinity: 0 allow_spinning: 1 dynamic_block_base_: 0 stack_size: 0 affinity_str: set_denormal_as_zero: 0 } inter_op_param:OrtThreadPoolParams { thread_pool_size: 0 auto_set_affinity: 0 allow_spinning: 1 dynamic_block_base_: 0 stack_size: 0 affinity_str: set_denormal_as_zero: 0 } use_per_session_threads:1 thread_pool_allow_spinning:1 use_deterministic_compute:0 ep_selection_policy:0 config_options: { ep.coremlexecutionprovider.RequireStaticInputShapes: 1 ep.coremlexecutionprovider.MLComputeUnits: CPUAndGPU } }
2025-09-04T14:30:05.011383Z  INFO ort::logging: Flush-to-zero and denormal-as-zero are off
2025-09-04T14:30:05.011387Z  INFO ort::logging: Creating and using per session threadpools since use_per_session_threads_ is true
2025-09-04T14:30:05.011391Z  INFO ort::logging: Dynamic block base set to 0
2025-09-04T14:30:05.167608Z  INFO ort::logging: Initializing session.
2025-09-04T14:30:05.167631Z  INFO ort::logging: Adding default CPU execution provider.
2025-09-04T14:30:05.167977Z  INFO ort::logging: Creating BFCArena for Cpu with following configs: initial_chunk_size_bytes: 1048576 max_dead_bytes_per_chunk: 134217728 initial_growth_chunk_size_bytes: 2097152 max_power_of_two_extend_bytes: 1073741824 memory limit: 18446744073709551615 arena_extend_strategy: 0
2025-09-04T14:30:05.177278Z  INFO ort::logging: This model does not have any local functions defined. AOT Inlining is not performed
2025-09-04T14:30:05.177352Z  INFO ort::logging: GraphTransformer EnsureUniqueDQForNodeUnit modified: 0 with status: OK
2025-09-04T14:30:05.177593Z  INFO ort::logging: GraphTransformer Level1_RuleBasedTransformer modified: 0 with status: OK
2025-09-04T14:30:05.177644Z  INFO ort::logging: GraphTransformer DoubleQDQPairsRemover modified: 0 with status: OK
2025-09-04T14:30:05.177763Z  INFO ort::logging: GraphTransformer ConstantSharing modified: 0 with status: OK
2025-09-04T14:30:05.178062Z  INFO ort::logging: GraphTransformer CommonSubexpressionElimination modified: 0 with status: OK
2025-09-04T14:30:05.244464Z  INFO ort::logging: GraphTransformer ConstantFolding modified: 1 with status: OK
2025-09-04T14:30:05.246784Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.3.token_mixer.proj.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246797Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.0.token_mixer.proj.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246802Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.3.norm.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246806Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.1.norm.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246812Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.2.norm.bias'. It is no longer used by any node.
2025-09-04T14:30:05.246817Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.0.norm.bias'. It is no longer used by any node.
2025-09-04T14:30:05.246821Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.0.token_mixer.qkv.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246825Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.1.token_mixer.qkv.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246828Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.0.token_mixer.qkv.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246833Z  INFO ort::logging: Removing initializer 'mm_projector.0.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246837Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.1.norm.bias'. It is no longer used by any node.
2025-09-04T14:30:05.246841Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.2.token_mixer.qkv.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246844Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.1.token_mixer.proj.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246847Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.0.norm.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246850Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.1.token_mixer.proj.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246854Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.1.norm.bias'. It is no longer used by any node.
2025-09-04T14:30:05.246856Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.1.token_mixer.qkv.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246860Z  INFO ort::logging: Removing initializer 'mm_projector.2.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246872Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.0.token_mixer.proj.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246874Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.10.1.norm.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246877Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.2.token_mixer.proj.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246880Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.3.norm.bias'. It is no longer used by any node.
2025-09-04T14:30:05.246882Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.0.norm.bias'. It is no longer used by any node.
2025-09-04T14:30:05.246885Z  INFO ort::logging: Removing initializer 'node_Unsqueeze_996_axes'. It is no longer used by any node.
2025-09-04T14:30:05.246888Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.2.norm.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246891Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.3.token_mixer.qkv.weight'. It is no longer used by any node.
2025-09-04T14:30:05.246893Z  INFO ort::logging: Removing initializer 'vision_model.vision_tower.model.network.7.0.norm.weight'. It is no longer used by any node.
2025-09-04T14:30:05.248596Z  INFO ort::logging: GraphTransformer MatMulAddFusion modified: 0 with status: OK
2025-09-04T14:30:05.251394Z  INFO ort::logging: GraphTransformer ReshapeFusion modified: 0 with status: OK
2025-09-04T14:30:05.251406Z  INFO ort::logging: GraphTransformer FreeDimensionOverrideTransformer modified: 0 with status: OK
2025-09-04T14:30:05.251412Z  INFO ort::logging: GraphTransformer GeluFusionL1 modified: 0 with status: OK
2025-09-04T14:30:05.251488Z  INFO ort::logging: GraphTransformer LayerNormFusionL1 modified: 0 with status: OK
2025-09-04T14:30:05.251535Z  INFO ort::logging: GraphTransformer QDQPropagationTransformer modified: 0 with status: OK
2025-09-04T14:30:05.251588Z  INFO ort::logging: GraphTransformer WeightBiasQuantization modified: 0 with status: OK
2025-09-04T14:30:05.251629Z  INFO ort::logging: GraphTransformer EnsureUniqueDQForNodeUnit modified: 0 with status: OK
2025-09-04T14:30:05.251667Z  INFO ort::logging: GraphTransformer RocmBlasAltImpl modified: 0 with status: OK
2025-09-04T14:30:05.252305Z  INFO ort::logging: GraphTransformer TransposeOptimizer modified: 1 with status: OK
2025-09-04T14:30:05.254559Z  INFO ort::logging: Removing NodeArg 'Transpose_token_36_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254563Z  INFO ort::logging: Removing NodeArg 'Transpose_token_32_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254566Z  INFO ort::logging: Removing NodeArg 'Transpose_token_29_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254570Z  INFO ort::logging: Removing NodeArg 'Transpose_token_27_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254573Z  INFO ort::logging: Removing NodeArg 'Transpose_token_19_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254581Z  INFO ort::logging: Removing NodeArg 'Transpose_token_18_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254584Z  INFO ort::logging: Removing NodeArg 'Transpose_token_15_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254587Z  INFO ort::logging: Removing NodeArg 'Transpose_token_6_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254589Z  INFO ort::logging: Removing NodeArg 'Transpose_token_5_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254592Z  INFO ort::logging: Removing NodeArg 'Transpose_token_2_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254595Z  INFO ort::logging: Removing NodeArg 'Transpose_token_13_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254599Z  INFO ort::logging: Removing NodeArg 'Transpose_token_20_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254602Z  INFO ort::logging: Removing NodeArg 'Transpose_token_33_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254605Z  INFO ort::logging: Removing NodeArg 'Transpose_token_26_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254609Z  INFO ort::logging: Removing NodeArg 'Transpose_token_8_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254615Z  INFO ort::logging: Removing NodeArg 'Transpose_token_11_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254619Z  INFO ort::logging: Removing NodeArg 'Transpose_token_4_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254624Z  INFO ort::logging: Removing NodeArg 'Transpose_token_25_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254627Z  INFO ort::logging: Removing NodeArg 'Transpose_token_39_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254631Z  INFO ort::logging: Removing NodeArg 'Transpose_token_22_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254636Z  INFO ort::logging: Removing NodeArg 'Transpose_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254638Z  INFO ort::logging: Removing NodeArg 'Transpose_token_12_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254642Z  INFO ort::logging: Removing NodeArg 'Transpose_token_34_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254646Z  INFO ort::logging: Removing NodeArg 'Transpose_token_0_out0'. It is no longer used by any node.
2025-09-04T14:30:05.254792Z  INFO ort::logging: GraphTransformer Level1_RuleBasedTransformer modified: 0 with status: OK
2025-09-04T14:30:05.254833Z  INFO ort::logging: GraphTransformer DoubleQDQPairsRemover modified: 0 with status: OK
2025-09-04T14:30:05.255116Z  INFO ort::logging: GraphTransformer CommonSubexpressionElimination modified: 0 with status: OK
2025-09-04T14:30:05.255166Z  INFO ort::logging: GraphTransformer ConstantFolding modified: 0 with status: OK
2025-09-04T14:30:05.255207Z  INFO ort::logging: GraphTransformer MatMulAddFusion modified: 0 with status: OK
2025-09-04T14:30:05.255251Z  INFO ort::logging: GraphTransformer ReshapeFusion modified: 0 with status: OK
2025-09-04T14:30:05.255254Z  INFO ort::logging: GraphTransformer FreeDimensionOverrideTransformer modified: 0 with status: OK
2025-09-04T14:30:05.255261Z  INFO ort::logging: GraphTransformer GeluFusionL1 modified: 0 with status: OK
2025-09-04T14:30:05.255305Z  INFO ort::logging: GraphTransformer LayerNormFusionL1 modified: 0 with status: OK
2025-09-04T14:30:05.255349Z  INFO ort::logging: GraphTransformer QDQPropagationTransformer modified: 0 with status: OK
2025-09-04T14:30:05.255398Z  INFO ort::logging: GraphTransformer WeightBiasQuantization modified: 0 with status: OK
2025-09-04T14:30:05.255438Z  INFO ort::logging: GraphTransformer EnsureUniqueDQForNodeUnit modified: 0 with status: OK
2025-09-04T14:30:05.255477Z  INFO ort::logging: GraphTransformer RocmBlasAltImpl modified: 0 with status: OK
2025-09-04T14:30:05.257149Z  INFO ort::logging: CoreMLExecutionProvider::GetCapability, number of partitions supported by CoreML: 0 number of nodes in the graph: 794 number of nodes supported by CoreML: 0
2025-09-04T14:30:05.259573Z  INFO ort::logging: GraphTransformer Level2_RuleBasedTransformer modified: 0 with status: OK
2025-09-04T14:30:05.259824Z  INFO ort::logging: GraphTransformer TransposeOptimizer_CPUExecutionProvider modified: 0 with status: OK
2025-09-04T14:30:05.259956Z  INFO ort::logging: GraphTransformer QDQSelectorActionTransformer modified: 0 with status: OK
2025-09-04T14:30:05.259995Z  INFO ort::logging: GraphTransformer GemmActivationFusion modified: 0 with status: OK
2025-09-04T14:30:05.260042Z  INFO ort::logging: GraphTransformer MatMulIntegerToFloatFusion modified: 0 with status: OK
2025-09-04T14:30:05.260080Z  INFO ort::logging: GraphTransformer DynamicQuantizeMatMulFusion modified: 0 with status: OK
2025-09-04T14:30:05.260170Z  INFO ort::logging: GraphTransformer ConvActivationFusion modified: 1 with status: OK
2025-09-04T14:30:05.262507Z  INFO ort::logging: GraphTransformer GeluFusionL2 modified: 0 with status: OK
2025-09-04T14:30:05.262511Z  INFO ort::logging: GraphTransformer LayerNormFusionL2 modified: 0 with status: OK
2025-09-04T14:30:05.262556Z  INFO ort::logging: GraphTransformer SimplifiedLayerNormFusion modified: 0 with status: OK
2025-09-04T14:30:05.262596Z  INFO ort::logging: GraphTransformer AttentionFusion modified: 0 with status: OK
2025-09-04T14:30:05.262790Z  INFO ort::logging: GraphTransformer EmbedLayerNormFusion modified: 0 with status: OK
2025-09-04T14:30:05.262912Z  INFO ort::logging: GraphTransformer GatherSliceToSplitFusion modified: 0 with status: OK
2025-09-04T14:30:05.262952Z  INFO ort::logging: GraphTransformer GatherToSliceFusion modified: 0 with status: OK
2025-09-04T14:30:05.263064Z  INFO ort::logging: GraphTransformer MatmulTransposeFusion modified: 1 with status: OK
2025-09-04T14:30:05.265447Z  INFO ort::logging: GraphTransformer BiasGeluFusion modified: 0 with status: OK
2025-09-04T14:30:05.265489Z  INFO ort::logging: GraphTransformer GroupQueryAttentionFusion modified: 0 with status: OK
2025-09-04T14:30:05.265528Z  INFO ort::logging: GraphTransformer SkipLayerNormFusion modified: 0 with status: OK
2025-09-04T14:30:05.265598Z  INFO ort::logging: GraphTransformer FastGeluFusion modified: 0 with status: OK
2025-09-04T14:30:05.265659Z  INFO ort::logging: GraphTransformer QuickGeluFusion modified: 0 with status: OK
2025-09-04T14:30:05.265708Z  INFO ort::logging: GraphTransformer BiasSoftmaxFusion modified: 0 with status: OK
2025-09-04T14:30:05.265756Z  INFO ort::logging: GraphTransformer BiasDropoutFusion modified: 0 with status: OK
2025-09-04T14:30:05.265819Z  INFO ort::logging: GraphTransformer MatMulScaleFusion modified: 1 with status: OK
2025-09-04T14:30:05.267981Z  INFO ort::logging: Removing initializer 'val_670'. It is no longer used by any node.
2025-09-04T14:30:05.268081Z  INFO ort::logging: GraphTransformer MatMulActivationFusion modified: 0 with status: OK
2025-09-04T14:30:05.268137Z  INFO ort::logging: GraphTransformer MatMulNBitsFusion modified: 0 with status: OK
2025-09-04T14:30:05.268179Z  INFO ort::logging: GraphTransformer QDQFinalCleanupTransformer modified: 0 with status: OK
2025-09-04T14:30:05.268222Z  INFO ort::logging: GraphTransformer Level2_RuleBasedTransformer modified: 0 with status: OK
2025-09-04T14:30:05.268353Z  INFO ort::logging: GraphTransformer QDQSelectorActionTransformer modified: 0 with status: OK
2025-09-04T14:30:05.268393Z  INFO ort::logging: GraphTransformer GemmActivationFusion modified: 0 with status: OK
2025-09-04T14:30:05.268439Z  INFO ort::logging: GraphTransformer MatMulIntegerToFloatFusion modified: 0 with status: OK
2025-09-04T14:30:05.268478Z  INFO ort::logging: GraphTransformer DynamicQuantizeMatMulFusion modified: 0 with status: OK
2025-09-04T14:30:05.268557Z  INFO ort::logging: GraphTransformer ConvActivationFusion modified: 0 with status: OK
2025-09-04T14:30:05.268636Z  INFO ort::logging: GraphTransformer GeluFusionL2 modified: 0 with status: OK
2025-09-04T14:30:05.268639Z  INFO ort::logging: GraphTransformer LayerNormFusionL2 modified: 0 with status: OK
2025-09-04T14:30:05.268685Z  INFO ort::logging: GraphTransformer SimplifiedLayerNormFusion modified: 0 with status: OK
2025-09-04T14:30:05.268725Z  INFO ort::logging: GraphTransformer AttentionFusion modified: 0 with status: OK
2025-09-04T14:30:05.268764Z  INFO ort::logging: GraphTransformer EmbedLayerNormFusion modified: 0 with status: OK
2025-09-04T14:30:05.268861Z  INFO ort::logging: GraphTransformer GatherSliceToSplitFusion modified: 0 with status: OK
2025-09-04T14:30:05.268899Z  INFO ort::logging: GraphTransformer GatherToSliceFusion modified: 0 with status: OK
2025-09-04T14:30:05.268949Z  INFO ort::logging: GraphTransformer MatmulTransposeFusion modified: 0 with status: OK
2025-09-04T14:30:05.268998Z  INFO ort::logging: GraphTransformer BiasGeluFusion modified: 0 with status: OK
2025-09-04T14:30:05.269038Z  INFO ort::logging: GraphTransformer GroupQueryAttentionFusion modified: 0 with status: OK
2025-09-04T14:30:05.269077Z  INFO ort::logging: GraphTransformer SkipLayerNormFusion modified: 0 with status: OK
2025-09-04T14:30:05.269145Z  INFO ort::logging: GraphTransformer FastGeluFusion modified: 0 with status: OK
2025-09-04T14:30:05.269205Z  INFO ort::logging: GraphTransformer QuickGeluFusion modified: 0 with status: OK
2025-09-04T14:30:05.269255Z  INFO ort::logging: GraphTransformer BiasSoftmaxFusion modified: 0 with status: OK
2025-09-04T14:30:05.269295Z  INFO ort::logging: GraphTransformer BiasDropoutFusion modified: 0 with status: OK
2025-09-04T14:30:05.269351Z  INFO ort::logging: GraphTransformer MatMulScaleFusion modified: 0 with status: OK
2025-09-04T14:30:05.269390Z  INFO ort::logging: GraphTransformer MatMulActivationFusion modified: 0 with status: OK
2025-09-04T14:30:05.269446Z  INFO ort::logging: GraphTransformer MatMulNBitsFusion modified: 0 with status: OK
2025-09-04T14:30:05.269488Z  INFO ort::logging: GraphTransformer QDQFinalCleanupTransformer modified: 0 with status: OK
2025-09-04T14:30:05.269654Z  INFO ort::logging: GraphTransformer NhwcTransformer modified: 0 with status: OK
2025-09-04T14:30:05.269717Z  INFO ort::logging: GraphTransformer ConvAddActivationFusion modified: 0 with status: OK
2025-09-04T14:30:05.270021Z  INFO ort::logging: GraphTransformer RemoveDuplicateCastTransformer modified: 0 with status: OK
2025-09-04T14:30:05.270030Z  INFO ort::logging: GraphTransformer CastFloat16Transformer modified: 0 with status: OK
2025-09-04T14:30:05.270050Z  INFO ort::logging: GraphTransformer MemcpyTransformer modified: 0 with status: OK
2025-09-04T14:30:05.272922Z  INFO ort::logging: Use DeviceBasedPartition as default
2025-09-04T14:30:05.274741Z  INFO ort::logging: Saving initialized tensors.
2025-09-04T14:30:05.274792Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:9 (requested) num_bytes: 147456 (actual) rounded_bytes:147456
2025-09-04T14:30:05.274796Z  INFO ort::logging: Extended allocation by 1048576 bytes.
2025-09-04T14:30:05.274799Z  INFO ort::logging: Total allocated bytes: 1048576
2025-09-04T14:30:05.274802Z  INFO ort::logging: Allocated memory at 0x158320000 to 0x158420000
2025-09-04T14:30:05.275024Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:0 (requested) num_bytes: 8 (actual) rounded_bytes:256
2025-09-04T14:30:05.275027Z  INFO ort::logging: Extended allocation by 2097152 bytes.
2025-09-04T14:30:05.275030Z  INFO ort::logging: Total allocated bytes: 3145728
2025-09-04T14:30:05.275033Z  INFO ort::logging: Allocated memory at 0x158428000 to 0x158628000
2025-09-04T14:30:05.275043Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:15 (requested) num_bytes: 9437184 (actual) rounded_bytes:9437184
2025-09-04T14:30:05.275047Z  INFO ort::logging: Extended allocation by 16777216 bytes.
2025-09-04T14:30:05.275049Z  INFO ort::logging: Total allocated bytes: 19922944
2025-09-04T14:30:05.275051Z  INFO ort::logging: Allocated memory at 0x11d404000 to 0x11e404000
2025-09-04T14:30:05.276170Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:13 (requested) num_bytes: 2359296 (actual) rounded_bytes:2359296
2025-09-04T14:30:05.276175Z  INFO ort::logging: Extended allocation by 16777216 bytes.
2025-09-04T14:30:05.276177Z  INFO ort::logging: Total allocated bytes: 36700160
2025-09-04T14:30:05.276180Z  INFO ort::logging: Allocated memory at 0x11b900000 to 0x11c900000
2025-09-04T14:30:05.278033Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:15 (requested) num_bytes: 9437184 (actual) rounded_bytes:9437184
2025-09-04T14:30:05.278043Z  INFO ort::logging: Extended allocation by 33554432 bytes.
2025-09-04T14:30:05.278046Z  INFO ort::logging: Total allocated bytes: 70254592
2025-09-04T14:30:05.278057Z  INFO ort::logging: Allocated memory at 0x16ec20000 to 0x170c20000
2025-09-04T14:30:05.281624Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:13 (requested) num_bytes: 2359296 (actual) rounded_bytes:2359296
2025-09-04T14:30:05.281639Z  INFO ort::logging: Extended allocation by 67108864 bytes.
2025-09-04T14:30:05.281642Z  INFO ort::logging: Total allocated bytes: 137363456
2025-09-04T14:30:05.281645Z  INFO ort::logging: Allocated memory at 0x170c24000 to 0x174c24000
2025-09-04T14:30:05.291192Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:17 (requested) num_bytes: 37748736 (actual) rounded_bytes:37748736
2025-09-04T14:30:05.291209Z  INFO ort::logging: Extended allocation by 134217728 bytes.
2025-09-04T14:30:05.291212Z  INFO ort::logging: Total allocated bytes: 271581184
2025-09-04T14:30:05.291215Z  INFO ort::logging: Allocated memory at 0x174c28000 to 0x17cc28000
2025-09-04T14:30:05.308075Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:13 (requested) num_bytes: 2359296 (actual) rounded_bytes:2359296
2025-09-04T14:30:05.308094Z  INFO ort::logging: Extended allocation by 268435456 bytes.
2025-09-04T14:30:05.308096Z  INFO ort::logging: Total allocated bytes: 540016640
2025-09-04T14:30:05.308099Z  INFO ort::logging: Allocated memory at 0x300000000 to 0x310000000
2025-09-04T14:30:05.347649Z  INFO ort::logging: Extending BFCArena for Cpu. bin_num:4 (requested) num_bytes: 6144 (actual) rounded_bytes:6144
2025-09-04T14:30:05.347671Z  INFO ort::logging: Extended allocation by 536870912 bytes.
2025-09-04T14:30:05.347674Z  INFO ort::logging: Total allocated bytes: 1076887552
2025-09-04T14:30:05.347678Z  INFO ort::logging: Allocated memory at 0x310004000 to 0x330004000
2025-09-04T14:30:05.353026Z  INFO ort::logging: Done saving initialized tensors
2025-09-04T14:30:05.355137Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 2359296
2025-09-04T14:30:05.356035Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 2359296
2025-09-04T14:30:05.356881Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 2359296
2025-09-04T14:30:05.357694Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 2359296
2025-09-04T14:30:05.358631Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 9437184
2025-09-04T14:30:05.362045Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 9437184
2025-09-04T14:30:05.365504Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 3211264
2025-09-04T14:30:05.366590Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 7077888
2025-09-04T14:30:05.369604Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 7077888
2025-09-04T14:30:05.372650Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 7077888
2025-09-04T14:30:05.375564Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 7077888
2025-09-04T14:30:05.378469Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 28311552
2025-09-04T14:30:05.389013Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 28311552
2025-09-04T14:30:05.398988Z  INFO ort::logging: Reserving memory in BFCArena for Cpu size: 11010048
2025-09-04T14:30:05.403423Z  INFO ort::logging: Session successfully initialized.
2025-09-04T14:30:05.403455Z  INFO calcarine::fastvlm::fastvlm: Loading model: embed_tokens.onnx
2025-09-04T14:30:05.403498Z  INFO ort::execution_providers: Successfully registered CoreMLExecutionProvider

Sign up or log in to comment