From 05e00ac213d91cfa0e31bd8e36299936353a5c30 Mon Sep 17 00:00:00 2001 From: Theia Vogel Date: Fri, 13 Dec 2024 22:12:35 -0800 Subject: [PATCH] release 0.4.0 (#58) --- CHANGELOG | 7 ++++++- README.md | 1 + pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 219b1aa..9712c35 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,11 @@ # Changelog -## Unreleased +## 0.4.0 - 2024-12-13 + +* SAE support! See `notebooks/sae.ipynb` for an example. (#49) +* Fixes for models in `bfloat16`. (#49) +* `accelerate` removed from project dependencies, please install it manually with `pip install accelerate` if you need `device_map="auto"` or other `accelerate` features. (#56) +* (for devs) Migrate project to `uv` and `ruff` from `poetry` and `black`. (#56) ## 0.3.1 - 2024-07-01 diff --git a/README.md b/README.md index 6f7cd04..9bc17b2 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ For a more detailed explanation of how the library works and what it can do, see * For a list of changes by version, see the [CHANGELOG](https://github.com/vgel/repeng/blob/main/CHANGELOG). * For quantized use, you may be interested in [llama.cpp#5970](https://github.com/ggerganov/llama.cpp/pull/5970)—after training a vector with `repeng`, export it by calling `vector.export_gguf(filename)` and then use it in `llama.cpp` with any quant! * Vector training *currently does not work* with MoE models (such as Mixtral). (This is theoretically fixable with some work, let me know if you're interested.) +* Some example notebooks require `accelerate`, which must be manually installed with `pip install accelerate`. (This can also be done in the notebook with the IPython magic `%pip install accelerate`.) ## Notice diff --git a/pyproject.toml b/pyproject.toml index 2b534ea..e0d7e0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "repeng" -version = "0.3.1" +version = "0.4.0" description = "representation engineering / control vectors" authors = [{ name = "Theia Vogel", email = "theia@vgel.me" }] readme = "README.md"