diff --git a/.dockerignore b/.dockerignore index 8a66279..d0b1763 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,5 @@ testdata +deployment **/.git **/__pycache__ diff --git a/Makefile b/Makefile index 1b1968b..d849eb2 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ $(PRE_COMMIT_HOOK): poetry run pre-commit install --install-hooks $(LOCAL_MODEL): - poetry run python tasks/converter/huggingface_gptneox_convert.py \ + poetry run python scripts/huggingface_gptneox_convert.py \ -in_file EleutherAI/pythia-70m-deduped \ -o $@ \ -i_g 1 -m_n tiny-70M -p 1 -w fp16 diff --git a/README.md b/README.md index 9869647..d5a083b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ An opensource / on-prem alternative to GitHub Copilot * [`admin`](./admin): Admin panel for monitoring / settings purpose. * [`server`](./server): API server for completion requests. It also logs users' selections (as feedback to model's quality). * [`deployment`](./deployment): Container related deployment configs. -* [`tasks`](./tasks): Various data processing scripts. ## Development diff --git a/deployment/Dockerfile b/deployment/Dockerfile index 08b06d2..c0412b0 100644 --- a/deployment/Dockerfile +++ b/deployment/Dockerfile @@ -2,6 +2,14 @@ FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime +# Install dagu (https://github.com/yohamta/dagu) +RUN <