ggml_library_flutter 0.0.7
ggml_library_flutter: ^0.0.7 copied to clipboard
GGML Is Library machine learning in dart with special feature speed up inference model in cpu only or any gpu
Ggml Library #
Ggml Library Is library Machine Learning
Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER
đī¸ Docs #
- Documentation
- Youtube
- Telegram Support Group
- Contact Developer (check social media or readme profile github)
đī¸ Features #
- â đąī¸ Cross Platform support (Device, Edge Severless functions)
- â đī¸ Standarization Style Code
- â â¨ī¸ Cli (Terminal for help you use this library or create project)
- â đĨī¸ Api (If you developer bot / userbot you can use this library without interact cli just add library and use đī¸)
- â đ§Šī¸ Customizable Extension (if you want add extension so you can more speed up on development)
- â â¨ī¸ Pretty Information (user friendly for newbie)
âī¸ Fun Fact #
This library 100% use on every my create project (App, Server, Bot, Userbot)
đī¸ Proggres #
- 10-02-2025 Starting Release Stable With core Features
đĨī¸ Install Library #
- Dart
dart pub add ggml_library_dart
- Flutter
flutter pub add ggml_library_flutter
đī¸ Quick Start #
Example Quickstart script minimal for insight you or make you use this library because very simple
import 'dart:io';
import 'package:ffi/ffi.dart';
import "dart:ffi";
import 'package:ggml_library/core/ggml/ffi/bindings.dart';
import 'package:ggml_library/ggml_library.dart';
void main(List<String> args) async {
print("start");
final GgmlLibrary ggmlLibrary = GgmlLibrary(
libraryGgmlPath: "libggml.so",
);
await ggmlLibrary.ensureInitialized();
final Pointer<ggml_init_params> params = calloc<ggml_init_params>();
params.ref.no_alloc = false;
final Pointer<ggml_context> ggmlContext = ggmlLibrary.ggmlLibrarySharedBindingsByGeneralDeveloper.ggml_init(params.ref);
ggmlLibrary.ggmlLibrarySharedBindingsByGeneralDeveloper.ggml_free(ggmlContext);
exit(0);
}
Examples #
Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER