Skip to content

Distribute and run LLMs with a single file.

build(install): install transcribefile so it ships as a release artifact (#1035) (#1036)

Tai An52b7727d67af
diff --git a/Makefile b/Makefile
index e342c411..ea73cd35 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,7 @@ install: o/$(MODE)/llamafile/llamafile \
$(INSTALL) o/$(MODE)/llamafile/llamafile $(PREFIX)/bin/llamafile
$(INSTALL) o/$(MODE)/whisperfile/whisperfile $(PREFIX)/bin/whisperfile
$(INSTALL) o/$(MODE)/diffusionfile/diffusionfile $(PREFIX)/bin/diffusionfile
+ $(INSTALL) o/$(MODE)/transcribefile/transcribefile $(PREFIX)/bin/transcribefile
$(INSTALL) o/$(MODE)/third_party/zipalign/zipalign $(PREFIX)/bin/zipalign
mkdir -p $(PREFIX)/share/man/man1
$(INSTALL) -m 0644 whisperfile/whisperfile.1 $(PREFIX)/share/man/man1/whisperfile.1
diff --git a/RELEASE.md b/RELEASE.md
index 109d13d6..965df50a 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -48,7 +48,9 @@ The zip is structured as follows.
llamafile-<version>
|-- README.md
|-- bin
+| |-- diffusionfile
| |-- llamafile
+| |-- transcribefile
| |-- whisperfile
| `-- zipalign
`-- share
@@ -73,8 +75,10 @@ After you have built the zip it is quite easy to create the release binaries.
The following binaries are part of the release:
- `llamafile`
-- `whisperfile`
- `zipalign`
+- `whisperfile`
+- `diffusionfile`
+- `transcribefile`
You can use the script to create the appropriately named binaries: