Skip to content

GGML Is Library machine learning in dart with special feature speed up inference model in cpu only or any gpu

License

Notifications You must be signed in to change notification settings

General-Developer/ggml_library

Ggml Library

Ggml Library Is library Machine Learning

Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER

📚️ Docs

  1. Documentation
  2. Youtube
  3. Telegram Support Group
  4. Contact Developer (check social media or readme profile github)

🔖️ Features

  1. 📱️ Cross Platform support (Device, Edge Severless functions)
  2. 📜️ Standarization Style Code
  3. ⌨️ Cli (Terminal for help you use this library or create project)
  4. 🔥️ Api (If you developer bot / userbot you can use this library without interact cli just add library and use 🚀️)
  5. 🧩️ Customizable Extension (if you want add extension so you can more speed up on development)
  6. ✨️ 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

  1. Dart
dart pub add ggml_library_dart
  1. 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

Minimal simple application example of using whisper library Youtube Video

Mobile Desktop

Minimal simple application example of using llama library Youtube Video

Mobile Desktop

Minimal simple application example of using outetts Youtube Video

Mobile Desktop

Minimal simple application example of Stable Diffusion Youtube Video

Mobile Desktop

Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER

About

GGML Is Library machine learning in dart with special feature speed up inference model in cpu only or any gpu

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  
  •  

Packages

No packages published

Languages