Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 2.24 KB

CONTRIBUTING.md

File metadata and controls

53 lines (41 loc) · 2.24 KB

Contributors Guide

The purpose of this document is to make it easy for open-source community members to contribute to this project. We'd love to discuss your contributions with you via a GitHub Issue or Discussion, or on Discord!

Checking Changes

This project uses a GitHub workflow to enforce code standards.

The rusty-hook project is used to run a similar set of checks automatically before committing. If you would like to run these checks locally, use cargo run -p precommit-check.

Regenerating GGML Bindings

Follow these steps to update the GGML submodule and regenerate the Rust bindings (this is only necessary if your changes depend on new GGML features):

git submodule update --remote
cargo run --release --package generate-ggml-bindings

Debugging

This repository includes a launch.json file that can be used for debugging with Visual Studio Code - this file will need to be updated to reflect where models are stored on your system. Debugging with Visual Studio Code requires a language extension that depends on your operating system. Keep in mind that debugging text generation is extremely slow, but debugging model loading is not.

LLM References

Here are some tried-and-true references for learning more about large language models: