BSD Ports

misc/ggml 0.27.0 FreeBSD

Tensor library for machine learning

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
a35cb9be08
License
MIT
Categories
misc
Package size
8044.5 KiB, 58008.6 KiB installed

Description

ggml is a tensor library for machine learning.

Features: * Written in C * 16-bit float support * Integer quantization support (4-bit, 5-bit, 8-bit, etc.) * Automatic differentiation * ADAM and L-BFGS optimizers * Optimized for Apple Silicon * On x86 architectures utilizes AVX / AVX2 intrinsics * On ppc64 architectures utilizes VSX intrinsics * No third-party dependencies * Zero memory allocations during runtime

In the other systems

SystemPortVersion
FreeBSDmisc/ggml0.27.0
NetBSDmath/ggml0.23.0

Install

Binary package:

pkg install ggml

From the ports tree:

cd /usr/ports/misc/ggml/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ggml>0:misc/ggml
LIB_DEPENDS=	libggml-base.so:misc/ggml

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.23.0.38_10.23.0.38_1---
FreeBSD:14:quarterly0.23.0.38_10.23.0.38_1n/a--
FreeBSD:15:latest0.23.0.38_10.27.0n/a--
FreeBSD:15:quarterly0.23.0.38_10.23.0.38_1n/an/an/a
FreeBSD:16:latest0.23.0.38_10.27.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 33
Run dependencies 19

Configuration

Options name: misc_ggml

OptionDefaultDescription
VULKANonVulkan GPU support
USES
cmake:testing compiler:c++17-lang llvm:build,min=22 python:run shebangfix
Service scripts
none

Files

pkg-plist 33
  • include/ggml-alloc.h
  • include/ggml-backend.h
  • include/ggml-blas.h
  • include/ggml-cann.h
  • include/ggml-cpp.h
  • include/ggml-cpu.h
  • include/ggml-cuda.h
  • include/ggml-metal.h
  • include/ggml-openvino.h
  • include/ggml-opt.h
  • include/ggml-rpc.h
  • include/ggml-sycl.h
  • include/ggml-virtgpu.h
  • include/ggml-vulkan.h
  • include/ggml-webgpu.h
  • include/ggml-zendnn.h
  • include/ggml.h
  • include/gguf.h
  • lib/cmake/ggml/ggml-config-version.cmake
  • lib/cmake/ggml/ggml-config.cmake
  • lib/libggml-base.so
  • lib/libggml-base.so.0
  • lib/libggml-base.so.
  • lib/libggml-cpu.so
  • lib/libggml-cpu.so.0
  • lib/libggml-cpu.so.
  • lib/libggml-vulkan.so
  • lib/libggml-vulkan.so.0
  • lib/libggml-vulkan.so.
  • lib/libggml.so
  • lib/libggml.so.0
  • lib/libggml.so.
  • libdata/pkgconfig/ggml.pc
distinfo 1
FileSizeSHA256
ggml-org-ggml-v0.27.0_GH0.tar.gz4.303837e+06a4bec5021627a204984f8abd34781eb3bf5dee586b6337246c952d2103d7ef45

Commit history 4

DateCommitCreditsLog message
a35cb9be08 Yuri Victorovich misc/ggml: update 0.26.0 → 0.27.0
fc2d9770b2 Yuri Victorovich misc/ggml: update 0.23.0-38 → 0.26.0
8242a5e679 Yuri Victorovich misc/ggml: Fix plist when VULKAN=OFF
PR: 298391 Reported by: Alexey Vyskubov <[email protected]>
30ea7983a1 Yuri Victorovich misc/ggml: update 0.13.1 → 0.23.0-38-g7840aaba