150 Commits
Author SHA1 Message Date
Bram 1238fe61cd Fixes the code action failing on Cloudron (#6974) 2026-12-02 20:07:44 +01:00
Bram 59fab074b5 Updated descriptions for 3.0 (#6979) 2026-12-01 20:37:32 +00:00
Bram 9d3d657b56 Prepare for 3.0.0 (#6961) 2026-12-01 19:18:09 +00:00
Bram 727772b03c Prepare for 2.4.3 (#6726) 2026-11-14 08:52:16 +00:00
Bram 8e797da4f7 feat: [4/5] GPU variant for the embeddings (#6524)
* Added embeddings GPU variant

* Fixed feedback
2026-11-12 13:24:51 +01:00
Bram 431c823fa8 Prepare for 2.4.2 (#6679) 2026-11-11 15:22:02 +01:00
Davide SilvestriandBram Wiepjes 7c3525dc1a chore(embeddings): update the embeddings server and release it as 1.1.0 (#6300)
* chore(embeddings): replace transformers with tokenizers and drop pip from the image

* chore(embeddings): fix the dev health check and docs, add a changelog entry

* chore(embeddings): port the dependency and threading updates from #6379

Brings over the changes from #6379 that this branch didn't have yet:

- onnxruntime 1.26.0, tokenizers 0.23.3, starlette 1.8.0 and uvicorn 0.54.0,
  plus huggingface_hub 2.2.0 and transformers 5.19.0 in the build stage.
- The model download is pinned to its current revision.
- Inference uses as many threads as the container's CPU limit, which
  EMBEDDINGS_NUM_THREADS overrides.
- Inference runs in a worker thread behind a lock, so /health answers during
  long batches.
- An empty texts list returns 400 instead of 500.
- Helm, its README, Cloudron and the README point to baserow/embeddings:1.1.0.

Co-authored-by: Bram Wiepjes <bramw@protonmail.com>

* chore(embeddings): address review feedback

- The build stage writes tokenizer.json with the 512-token truncation and
  per-batch padding, so app.py only loads it. The build stage uses the
  tokenizers library for this and no longer installs transformers.
- tokenizers is installed with --no-deps. Its only dependency,
  huggingface-hub, is used by from_pretrained, which the app never calls.
- The README's local run installs the image's packages, downloads the model
  with _download_model.py into EMBEDDINGS_MODEL_DIR (default /model), and
  its snippet posts texts instead of text.

* chore(embeddings): fix the issues found while verifying the image

- requirements.txt pins all 13 runtime packages and is installed with
  --no-deps, so rebuilds are reproducible. The builder no longer installs
  git, and the build fails if the app can't be imported.
- Requests are processed 8 texts at a time and limited to 256 texts and a
  1 MiB body, so a single request can't OOM-kill the container anymore.
- Inference holds a lock in its worker thread, and a queued request whose
  client has gone is skipped.
- Malformed input, including lone surrogates, returns 400 instead of 500.
- The app refuses to start with a tokenizer.json that doesn't truncate at
  512 tokens, or with EMBEDDINGS_NUM_THREADS below 1.
- _download_model.py can be re-run.
- The README, docs, Cloudron manifest and changelog match the code, and the
  Cloudron manifest gets a 1.5 GiB memory limit and the /health check.

* chore(embeddings): correct the response size per text in a comment

---------

Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
2026-10-15 14:18:02 +02:00
Bram 99e9f0a9ab Prepare for 2.4.1 (#6368) 2026-10-13 14:45:44 +00:00
Bram 8097dfc412 Prepare for 2.4.0 (#6206) 2026-09-29 20:32:59 +02:00
Bram c9459e9328 Prepared for 2.3.4 (#6092) 2026-09-15 14:19:59 +00:00
Bram 7b52576b7f Prepare for 2.3.3 release (#5756) 2026-07-21 14:46:32 +02:00
Bram 3aa9778502 Prepare for 2.3.2 (#5723) 2026-07-15 15:01:52 +02:00
Bram 875d477dc5 Prepare for 2.3.1 (#5697) 2026-07-09 18:04:32 +02:00
Bram 982c0edc24 Prepare for 2.3.0 release (#5672) 2026-07-07 21:42:14 +02:00
Bram 04174e75fb Prepare for 2.2.2 (#5271) 2026-04-28 18:39:44 +02:00
Bram f1cdb4d536 Prepare for 2.2.1 release (#5256) 2026-04-22 21:07:50 +02:00
Bram 9a6eefa666 Prepare for 2.2.0 (#5153) 2026-04-08 21:14:14 +02:00
Bram 5cdde98bd4 chore: Cloudron embeddings server instructions (#4938) 2026-03-24 11:49:51 +01:00
Bram 6725bd485e Prepare for 2.1.6 (#4977) 2026-03-13 14:47:25 +01:00
Bram 8c25ef6d60 Prepare for 2.1.5 (#4959) 2026-03-12 17:02:12 +01:00
Bram 0cd4125e47 Prepare for 2.1.4 (#4913) 2026-03-04 18:15:17 +01:00
Bram 01a1624151 Prepare for 2.1.3 (#4891) 2026-02-27 16:04:36 +01:00
Bram fed3d91ca1 Prepare for 2.1.2 (#4877) 2026-02-26 20:03:03 +01:00
Bram 489ac91b27 Prepare for 2.1.1 (#4852) 2026-02-23 16:04:30 +01:00
Bram 1a92615fe7 Prepare for 2.1.0 (#4833) 2026-02-19 22:35:32 +01:00
Davide Silvestri e25988ea0d chore: switch to uv and justfile (#4369)
* create backend justfile; switch to uv

* Add deploy and dc-deploy recipes to build images

* Add uv.lock for reproducible builds

* CI fixes + improvements

* Reduce build time

* improve CI caching

* Improve exit early conditions

* Set requires_python==3.11.*; add backend/media to gitignore

* Fix all-in-one Dockerfiles and some other fixes

* Introduce frontend justfile + some other useful recipes

* Fix permissions issue with dev containers

* Improve dockerfiles and docs on how to use the dev env

* Fix mjml-email-compiler service

* Update docs + address feedback

* Fix containers healthchecks

* Fix yarn test in dev container

* Minor fixes to docs and justfile attach command

* Address Petr's feedback

* Address additional feedback

* Add changelog entry

* Address feedback: Petr and Przemek

* address feedback + prepare for saas PR

* minor fixes

* Address Bram's feedback 2
2026-01-15 11:22:22 +01:00
Bram 22f9c3c0a7 Prepare for 2.0.6 (#4496) 2025-12-22 14:00:49 +01:00
Bram c1088ce21b Prepare for 2.0.5 (#4472) 2025-12-17 16:22:51 +01:00
Bram decacfbaeb Prepare for 2.0.4 (#4444) 2025-12-15 14:21:51 +01:00
Bram 6907800d00 Prepare for 2.0.3 (#4392) 2025-12-04 16:27:56 +01:00
Bram 51a7ccecc6 Prepare for 2.0.2 (#4344) 2025-11-27 13:12:54 +01:00
Bram b36a571b91 Prepare 2.0.1 (#4287) 2025-11-18 17:08:40 +01:00
Bram 87cf002b29 Prepare for 2.0.0 release (#4277) 2025-11-17 23:30:40 +01:00
Bram d311aec1bd Update README and replace GitLab with GitHub (#4091) 2025-10-19 22:45:31 +02:00
Bram Wiepjes b45f6f9798 Prepare for 1.35.3 2025-10-08 13:09:28 +00:00
Bram Wiepjes 411dd0b2a6 Prepare for 1.35.2 2025-09-30 14:40:04 +00:00
Bram Wiepjes a4c95e6188 Prepare for 1.35.1 2025-09-02 19:06:37 +00:00
Bram Wiepjes 0659170b2b Prepare for 1.35.0 release 2025-08-26 20:25:08 +00:00
Bram Wiepjes af99f9fe97 Prepare for 1.34.5 2025-07-23 18:31:08 +02:00
Bram Wiepjes d0ab6eb644 Prepare for 1.34.4 2025-07-22 22:21:19 +02:00
Bram Wiepjes 23c8e03497 Prepare for 1.34.3 2025-07-22 13:40:33 +00:00
Davide Silvestri bb248241dd Remove obsolete compose version 2025-07-16 16:00:27 +02:00
Bram Wiepjes 6784776492 Prepare for 1.34.2 2025-07-11 12:07:58 +02:00
Bram Wiepjes 0ed4ddfe04 Prepare for 1.34.1 release 2025-07-10 15:34:35 +00:00
Bram Wiepjes d383b714ff Prepare for 1.34.0 release 2025-07-09 18:12:25 +00:00
Bram Wiepjes 46b381d04c Prepare for 1.33.4 2025-06-03 20:46:23 +00:00
Bram Wiepjes a352296233 Prepare for 1.33.3 2025-05-19 15:50:07 +02:00
Bram Wiepjes 05631f476b Prepare for 1.33.2 2025-05-08 20:29:02 +00:00
Bram Wiepjes ef9cee56b8 Prepare for 1.33.1 2025-05-06 12:24:06 +00:00
Bram Wiepjes e0366383d7 Prepare for 1.33.0 2025-04-29 19:09:59 +00:00