I have tested it in iphone 13 128gb
ios: 18.3.1
flutter: [AI] Engine load failed: LlamaException: Failed to load model from /var/mobile/Containers/Data/Application/62C93405-097E-48E4-AC60-ACCA50C506DF/Documents/qwen2-0_5b-instruct-q4_0.gguf (Exception: Exception: Failed to create context)
flutter: [AI] Stack trace: #0 LlamaEngine.loadModel (package:llamadart/src/core/engine/engine.dart:178:7)
#1 Future.timeout. (dart:async/future_impl.dart:1061:7)
#2 AiInferenceNotifier.loadModel (package:flutter_water_level/data/providers/ai_inference_provider.dart:23:7)
#3 _DashboardShellState.initState. (package:flutter_water_level/presentation/views/dashboard_shell.dart:41:21)
I have reduced the context size to 256 and set threads limits to 2, but still failed creating context.
I have tested it in iphone 13 128gb
ios: 18.3.1
flutter: [AI] Engine load failed: LlamaException: Failed to load model from /var/mobile/Containers/Data/Application/62C93405-097E-48E4-AC60-ACCA50C506DF/Documents/qwen2-0_5b-instruct-q4_0.gguf (Exception: Exception: Failed to create context)
flutter: [AI] Stack trace: #0 LlamaEngine.loadModel (package:llamadart/src/core/engine/engine.dart:178:7)
#1 Future.timeout. (dart:async/future_impl.dart:1061:7)
#2 AiInferenceNotifier.loadModel (package:flutter_water_level/data/providers/ai_inference_provider.dart:23:7)
#3 _DashboardShellState.initState. (package:flutter_water_level/presentation/views/dashboard_shell.dart:41:21)
I have reduced the context size to 256 and set threads limits to 2, but still failed creating context.