Commit Graph

24 Commits

Author SHA1 Message Date
Alan Jean 8d6908d663 chore(inference): follow the pattern of splitting base-env and prod stage 🐋 2023-01-29 05:30:00 +04:00
Alan Jean d9dac3fe1a feat(inference): add a prod stage to the worker's dockerfile 🐋 2023-01-29 05:30:00 +04:00
Alan Jean 6ae6ff51d5 feat(inference): add a prod stage to the server's dockerfile 🐋 2023-01-29 05:30:00 +04:00
Alan Jean 6b3fe78693 feat(inference): add Dockerfile for the inference stack's text client 🐋
Initial definition of the inference stack's text client container image.
2023-01-29 05:30:00 +04:00
Alan Jean fef871161c feat(inference): add Dockerfile for the inference stack's worker 🐋
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
2023-01-29 05:30:00 +04:00
Alan Jean 4a7a1513a7 feat(inference): add Dockerfile for the inference stack's orchestrator image 🐋
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
2023-01-29 05:30:00 +04:00
Andreas Köpf 314c590dd2 include import.py in backend docker image 2023-01-28 16:18:31 +01:00
Yannic Kilcher 3749791bce moved oasst-postgres 2023-01-17 12:25:26 +01:00
Yannic Kilcher 8ed80525c1 updated backup script 2023-01-17 12:23:42 +01:00
Yannic Kilcher 8b291fb29a fixed pre-commit 2023-01-17 12:22:01 +01:00
Yannic Kilcher 4379aadd87 added backup script 2023-01-17 12:21:16 +01:00
Yannic Kilcher 137f733fef added oasst postgres 2023-01-17 11:30:52 +01:00
Yannic Kilcher 4285438fe7 added postgres dockerfile 2023-01-17 11:15:35 +01:00
Yannic Kilcher ab90d7810a added postgres dockerfile 2023-01-17 11:13:43 +01:00
Ken Tsui 043b5eff5a Add DEBUG_USD_SEED_DATA_PATH in config to make seed data flexible (#395)
* Add DEBUG_USD_SEED_DATA_PATH in config to make seed data flexible

* reformat

* Copy test_data folder in Dockerfile.backend, correct DEBUG_USE_SEED_DATA_PATH in cofig

* - make DEBUG_USE_SEED_DATA_PATH to absolute path
- correct test_data path in  Dockerfile.backend
2023-01-07 14:37:30 +01:00
Keith Stevens 527aca676f linting the copilot configs 2023-01-03 08:36:27 +09:00
onegunsamurai aa2d426bbc Add oasst-shared folder to discord-bot container (#241)
* Add oasst-shared folder to discord-bot container

- Container was missing oasst-shared folder, thus was failing, due to missing package error.
- Add bash code block to README.MD (Co-authored-by: Vladyslav <v.bukhantsov@dexilon.io>)
2023-01-01 18:57:45 +01:00
Keith Stevens cfa5e44482 Adding some helpful documentation 2022-12-26 14:55:55 +09:00
Keith Stevens 87342053ea Adding documentation for how to prep and use copilot for deployment 2022-12-26 14:49:47 +09:00
Keith Stevens 8ffaf71aa7 Tweaking the docker files and prisma to prepare for reliable aws deployments 2022-12-26 12:07:40 +09:00
Keith Stevens c6b00365fd Simplifying the end to end docker setup to ensure it prepares the web database properly before the website starts. 2022-12-21 12:17:08 +09:00
Keith Stevens 98fe656f7d Dropping some unused copies from the website dockerfile 2022-12-20 20:30:49 +09:00
Keith Stevens c056a31d2f Ensuring the website can be built and deployed fully in docker. This includes an end to end docker-compose configuration as a simple demonstration. 2022-12-20 20:28:53 +09:00
Yannic Kilcher b34ef75423 started re-working python code 2022-12-19 18:00:09 +01:00