Initial definition of the inference stack's worker container image.
Notes:
- The oasst-shared package is installed as root as a workaround: it seems
that python 3.10+ doesn't pick up on a .egg-link file installed on the
PYTHONPATH anywhere other than at a global site-package directory.
This quirk is similar to the behaviour described here
https://groups.google.com/g/python-virtualenv/c/sKVq_6gG5z4.
- pydantic 1.9.1 (specified by oasst-shared) is incompatible with python 3.11,
and needs to be upgraded. For now, this image uses python 3.10, as
specified by the .python-version file
Initial definition of the inference stack's coordination/orchestration
server container image.
Notes:
- The base layer uses python:3-slim to avoid having to install cargo on
top of alpine. Cargo is required to install orjson, which is in turns a
dependency of fastapi[all].
- The oasst-shared package is installed as root as a workaround: it seems
that python 3.10+ doesn't pick up on a .egg-link file installed on the
PYTHONPATH anywhere other than at a global site-package directory.
This quirk is similar to the behaviour described here
https://groups.google.com/g/python-virtualenv/c/sKVq_6gG5z4.
- pydantic 1.9.1 (specified by oasst-shared) is incompatible with python 3.11,
and needs to be upgraded. For now, this image uses python 3.10, as
specified by the .python-version file
* website: Support new widget types for labelling
Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels.
Also cleaned up the Task component to fix some rerender issues.
* website: Fix some UI text, adjust yes/no button alignment
* website: Remove left over console.log
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
---------
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
* add new backlog_ranking tree state
* add first version of import script
* allow activation of trees during import
* add min_active_rankings_per_lang config param
* add settings docstring
* added changes for user specific message dumplication filter, added error codes, and settings variable as described in Draft PR #926, ran precommit
* removed debug statements
* add missing await to async_managed_tx_method
* add 2nd missing await to async_managed_tx_method
* added changes for user specific message dumplication filter, added error codes, and settings variable as described in Draft PR #926, ran precommit
* removed debug statements
* assert task user matches prompt_repository user
* removed assert statments
* moved duplicate_message_filter and message_length check into store_text_reply
* removed old checks in tree_manager