Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Prepare for release #81

Merged
merged 19 commits into from
Apr 2, 2023
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[workspace]
members = [
"ggml-raw",
"ggml-sys",
"ggml",
"llama-rs",
"llama-cli"
]

resolver = "2"

[workspace.package]
version = "0.1.0"

[workspace.dependencies]
rand = "0.8.5"
4 changes: 2 additions & 2 deletions ggml-raw/Cargo.toml → ggml-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ version = "^1.0"
description = "Low level bindings for ggml"
edition = "2021"
license = "MIT"
name = "ggml-raw"
version = "0.1.0"
name = "ggml-sys"
version = { workspace = true }
2 changes: 2 additions & 0 deletions ggml-raw/build.rs → ggml-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ fn main() {
// the host and target are the same. If they are not, it will turn off auto-feature-detection,
// and you will need to manually specify target features through target-features.

println!("cargo:rerun-if-changed=ggml");

let ggml_src = ["ggml/ggml.c"];

let mut builder = cc::Build::new();
Expand Down
2 changes: 1 addition & 1 deletion ggml-raw/ggml/CREDITS.txt → ggml-sys/ggml/CREDITS.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Vendored version: https://github.com/ggerganov/llama.cpp/commit/367946c668757532deed929e1d78673c6ac6bcb8
Vendored version: https://github.com/ggerganov/llama.cpp/commit/b51c717d5cf9181c33afcb84554e47f6d539c891

The ggml.c and ggml.h files are distributed under the terms of the MIT license.
Credit goes to the original authors: Copyright (c) 2023 Georgi Gerganov
Loading