https://github.com/general-developer/ggml_library
GGML Is Library machine learning in dart with special feature speed up inference model in cpu only or any gpu
https://github.com/general-developer/ggml_library
ai dart flutter ggml gguf ml
Last synced: about 1 month ago
JSON representation
GGML Is Library machine learning in dart with special feature speed up inference model in cpu only or any gpu
- Host: GitHub
- URL: https://github.com/general-developer/ggml_library
- Owner: General-Developer
- License: apache-2.0
- Created: 2025-02-11T13:27:48.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-23T08:04:17.000Z (8 months ago)
- Last Synced: 2025-02-23T09:18:51.720Z (8 months ago)
- Topics: ai, dart, flutter, ggml, gguf, ml
- Language: C++
- Homepage:
- Size: 10.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Ggml Library
**Ggml Library** Is library Machine Learning[](https://www.youtube.com/@Global_Corporation)
**Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER**
## đī¸ Docs
1. [Documentation](https://youtube.com/@GENERAL_DEV)
2. [Youtube](https://youtube.com/@GENERAL_DEV)
3. [Telegram Support Group](https://t.me/DEVELOPER_GLOBAL_PUBLIC)
4. [Contact Developer](https://github.com/General-Developer) (check social media or readme profile github)## đī¸ Features
1. [x] đąī¸ **Cross Platform** support (Device, Edge Severless functions)
2. [x] đī¸ **Standarization** Style Code
3. [x] â¨ī¸ **Cli** (Terminal for help you use this library or create project)
4. [x] đĨī¸ **Api** (If you developer bot / userbot you can use this library without interact cli just add library and use đī¸)
5. [x] đ§Šī¸ **Customizable Extension** (if you want add extension so you can more speed up on development)
6. [x] â¨ī¸ **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**
```bash
dart pub add ggml_library_dart
```2. **Flutter**
```bash
flutter pub add ggml_library_flutter
```## đī¸ Quick Start
Example Quickstart script minimal for insight you or make you use this library because very simple
```dart
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 args) async {
print("start");
final GgmlLibrary ggmlLibrary = GgmlLibrary(
libraryGgmlPath: "libggml.so",
);
await ggmlLibrary.ensureInitialized();
final Pointer params = calloc();
params.ref.no_alloc = false;
final Pointer ggmlContext = ggmlLibrary.ggmlLibrarySharedBindingsByGeneralDeveloper.ggml_init(params.ref);
ggmlLibrary.ggmlLibrarySharedBindingsByGeneralDeveloper.ggml_free(ggmlContext);
exit(0);
}
```## Examples
- [Whisper Speech To Text / Transcribe From Audio Or Video](https://github.com/general-developer/whisper_library)
Minimal simple application example of using whisper library [Youtube Video](https://youtu.be/U-5EDMk0UgE)
| Mobile | Desktop |
|-----------------------------------------------------------------------------------------------------------------------------------------|---------|
| [](https://youtu.be/U-5EDMk0UgE) | [](https://youtu.be/U-5EDMk0UgE) |- [LLAMA Ai Edge / Local](https://github.com/general-developer/llama_library)
Minimal simple application example of using llama library [Youtube Video](https://youtu.be/U-5EDMk0UgE)
| Mobile | Desktop |
|-----------------------------------------------------------------------------------------------------------------------------------------|---------|
| [](https://youtu.be/U-5EDMk0UgE) | [](https://youtu.be/U-5EDMk0UgE) |- [Outetts Text To Speech](https://github.com/general-developer/outetts)
Minimal simple application example of using outetts [Youtube Video](https://youtu.be/U-5EDMk0UgE)
| Mobile | Desktop |
|-----------------------------------------------------------------------------------------------------------------------------------------|---------|
| [](https://youtu.be/U-5EDMk0UgE) | [](https://youtu.be/U-5EDMk0UgE) |- [Stable Diffusion](https://github.com/general-developer/stable_diffusion_library)
Minimal simple application example of Stable Diffusion [Youtube Video](https://youtu.be/U-5EDMk0UgE)
| Mobile | Desktop |
|-----------------------------------------------------------------------------------------------------------------------------------------|---------|
| [](https://youtu.be/U-5EDMk0UgE) | [](https://youtu.be/U-5EDMk0UgE) |**Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER**