Commit Graph
45 Commits
Author SHA1 Message Date
b21ea7f2f1 chore(model-server): build on a Docker Hardened Image (full distroless) (#12636)
Co-authored-by: t <t@t.co>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 16:42:19 +00:00
Jamison LahmanandClaude Opus 4.8 d557bd3702 refactor(model-server): gate DISABLE_MODEL_SERVER in python entrypoint (#12754)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 23:48:13 +00:00
Jamison LahmanandClaude Opus 4.8 bb3b227a3f chore(deps): upgrade uv 0.9.9 -> 0.11.25 and digest-pin the image (#12520)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 18:55:13 +00:00
Jamison LahmanandClaude Opus 4.8 8ffafb0c8a build: upgrade Python from 3.11 to 3.13 (#11721)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 08:17:19 +00:00
Jamison LahmanandClaude Opus 4.8 033938f78f feat(ci): consume ECR pull-through cache for CI base images (#11600)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 21:24:46 +00:00
Jamison LahmanandClaude Opus 4.7 8777c54938 fix(utils): rename platform.py to avoid stdlib shadowing (#11150)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 20:46:34 +00:00
Jamison LahmanandClaude Opus 4.7 1fd8b738fc chore(deps): use --no-deps for uv pip install (#10815)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-04 21:47:44 +00:00
Jamison LahmanandClaude Opus 4.7 ffd983f776 chore(deps): pin uv pip installs to uv.lock via --require-hashes (#10800)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-04 18:31:46 +00:00
Jamison Lahman 20175bd22f chore(docker): drop python:3.11-slims OS suffix (#10741) 2026-04-30 21:30:16 +00:00
dependabot[bot]andJamison Lahman 2ec70a51ae chore(deps): bump huggingface-hub from 1.10.2 to 1.11.0 in /backend (#10659)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jamison Lahman <jamison@lahman.dev>
2026-04-27 23:19:43 +00:00
Jamison Lahman 0e7d46dd66 chore(docker): install torch into dedicated layer (#10604) 2026-04-24 21:05:04 +00:00
Jamison Lahman a3919e5e4d refactor(platform): env DANSWER_RUNNING_IN_DOCKER->ONYX_RUNNING_IN_DOCKER (#10442) 2026-04-22 16:55:49 +00:00
Nikolas Garza 1a88dea760 fix(model-server): add missing onyx/configs to Dockerfile for sentry support (#10236) 2026-04-15 22:42:00 +00:00
Jamison Lahman a427cb5b0c chore(deps): upgrade python patch version in docker (#10192) 2026-04-14 15:10:00 -07:00
acaprau 58b376d7b7 feat(opensearch): Add tenant ID to the document chunk ID (#8129) 2026-02-03 19:41:19 +00:00
Yuhong Sun 1dfb62bb69 chore: Remove unused resources from model server (#7094) 2025-12-29 16:18:37 -08:00
Jamison Lahman 1713c24080 chore(docker): breakup model-server model layers (#6370) 2025-11-21 03:47:47 +00:00
Jamison Lahman 98a7e8b7e2 chore(docker): avoid ONYX_VERSION invalidating the docker cache (#6288) 2025-11-17 17:10:54 +00:00
Jamison Lahman 940773b9c5 chore(deployments): fix cross-platform related issues (#6272) 2025-11-15 03:24:26 +00:00
trial2onyxandOnyx Trialee 2 464967340b chore(docker): prefer uv for installing python system packages (#5861)
Co-authored-by: Onyx Trialee 2 <onyxtrial2@Onyxs-MBP.attlocal.net>
2025-10-22 21:48:41 +00:00
trial2onyxandOnyx Trialee 2 2ee9f79f71 chore(docker): remove empty echo ONYX_VERSION layers (#5848)
Co-authored-by: Onyx Trialee 2 <onyxtrial2@Onyxs-MBP.attlocal.net>
2025-10-22 20:36:36 +00:00
trial2onyxandOnyx Trialee 2 5009dcf911 chore(docker): avoid duplicating cached models layer (#5845)
Co-authored-by: Onyx Trialee 2 <onyxtrial2@Onyxs-MBP.attlocal.net>
2025-10-22 19:56:42 +00:00
Chris Weaver 427945e757 fix: model server build (#5362) 2025-09-08 14:00:33 -07:00
Sam WaddellandPhil Critchfield 5867ab1d7d feat: add non-root user to backend and model-server images (#5134)
* feat: add non-root user to backend and model-server image

* feat: update values to support security context for index, inference, and celery_shared

* feat: add security context support for index and inference

* feat: add celery_shared security context support to celery worker templates

* fix: cache management strategy

* fix: update deployment files for volume mount

* fix: address comments

* fix: bump helm chart version for new security context template changes

* fix: bump helm chart version for new security context template changes

* feat: move useradd earlier in build for reduced image size

---------

Co-authored-by: Phil Critchfield <phil.critchfield@liatrio.com>
2025-08-20 13:49:50 -07:00
rkuo-danswerandRichard Kuo 81d04db08f Feature/request id middleware 2 (#4427)
* stubbing out request id

* passthru or create request id's in api and model server

* add onyx request id

* get request id logging into uvicorn

* no logs

* change prefixes

* fix comment

* docker image needs specific shared files

---------

Co-authored-by: Richard Kuo (Onyx) <rkuo@onyx.app>
2025-04-02 22:30:03 +00:00
joachim-danswer 463340b8a1 Reduce ranking scores for short chunks without actual information (#4098)
* remove title for slack

* initial working code

* simplification

* improvements

* name change to information_content_model

* avoid boost_score > 1.0

* nit

* EL comments and improvements

Improvements:
  - proper import of information content model from cache or HF
  - warm up for information content model

Other:
  - EL PR review comments

* nit

* requirements version update

* fixed docker file

* new home for model_server configs

* default off

* small updates

* YS comments - pt 1

* renaming to chunk_boost & chunk table def

* saving and deleting chunk stats in new table

* saving and updating chunk stats

* improved dict score update

* create columns for individual boost factors

* RK comments

* Update migration

* manual import reordering
2025-03-13 17:35:45 +00:00
rkuo-danswerandRichard Kuo 39465d3104 change default build info in dockerfile's to something more obviously source only (#4275)
Co-authored-by: Richard Kuo <rkuo@rkuo.com>
2025-03-13 09:42:10 -07:00
pablodanswer 0ba77963c4 update nit references 2024-12-13 11:49:27 -08:00
pablodanswer 21ec5ed795 welcome to onyx 2024-12-13 09:56:10 -08:00
pablodanswer ee1cb084ac modify default (#2856) 2024-10-19 19:12:42 +00:00
Richard Kuo (Danswer) a52485bda2 Fix all LegacyKeyValueFormat docker warnings 2024-10-07 15:22:28 -07:00
rkuo-danswer bb279a8580 add pip retries. should help with github's occasional flaky network during build/test (#2506) 2024-09-19 00:46:41 +00:00
pablodanswer fc98c560a4 Add fix for logging (#2431) 2024-09-13 11:27:20 -07:00
Yuhong Sun 3b035d791e Fix Model Server (#2191) 2024-08-20 17:57:09 -07:00
Yuhong Sun 7dcc42aa95 Intent Model Update (#2069) 2024-08-08 20:45:53 -07:00
hagen-danswer 1be1959d80 Changed default local model to nomic (#1943) 2024-07-31 18:54:02 -07:00
Yuhong Sun 58545ccf3a Pre download models (#1354) 2024-04-19 21:52:53 -07:00
Yuhong Sun d2d042a2cc Add Container Descriptions (#1326) 2024-04-13 12:10:46 -07:00
Yuhong Sun b59912884b Fix Model Server (#1320) 2024-04-10 23:13:22 -07:00
Yuhong Sun 2db906b7a2 Always Use Model Server (#1306) 2024-04-07 21:25:06 -07:00
Yuhong Sun 2e6be57880 Model Server CVEs (#898) 2023-12-29 21:14:08 -08:00
Yuhong Sun a6a444f365 Bump Python Version for security (#887) 2023-12-26 16:15:14 -08:00
Bryan Peterson aa2e859b46 add missing dependencies in model_server dockerfile (#752)
Thanks for catching this! Super helpful!
2023-11-21 17:59:28 -08:00
Yuhong Sun 4f64444f0f Fix Version from Tag not picked up (#705) 2023-11-06 20:01:20 -08:00
Yuhong Sun 7433dddac3 Model Server (#695)
Provides the ability to pull out the NLP models into a separate model server which can then be hosted on a GPU instance if desired.
2023-11-06 16:36:09 -08:00