Skip to content

Commit

Permalink
run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikKaum committed Aug 15, 2024
1 parent e519761 commit 34ad1d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ docs/build
*.gguf
.venv
benchmarks/results
**/target/
**/target/
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

## structure

- `outlines-core/` can be consumed as an independent low-level package
- `outlines-core/` can be consumed as an independent low-level package
- `bindings/` contains the API exposed to other languages, in this case only python

## developing

- build only the outlines-core package `cd outlines-core && cargo build`
- dev build of python bindings `cd bindings/python && maturin develop`. If you have the conda `outlines-dev` environment activated, the outlines-core module is installed within the env automatically
- build only the outlines-core package `cd outlines-core && cargo build`
- dev build of python bindings `cd bindings/python && maturin develop`. If you have the conda `outlines-dev` environment activated, the outlines-core module is installed within the env automatically

There's also a [justfile](https://github.com/casey/just) for running these easier:
- `just dev-core`
- `just dev-python`

2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dev-core:
cd outlines-core && cargo build

dev-python:
cd bindings/python && maturin develop
cd bindings/python && maturin develop

0 comments on commit 34ad1d1

Please sign in to comment.