Skip to content

Commit

Permalink
Fix CI (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeurerkellner committed Oct 10, 2023
1 parent 8fa7f65 commit 42ed255
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@

patchPhase = ''
find . -type d -name browser-build -exec rm -rf -- {} +
rm -f -- public/doc-snippets
'';

DISABLE_ESLINT_PLUGIN = "true";
Expand Down
3 changes: 3 additions & 0 deletions scripts/browser-build/wheels/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.whl
*.tar.gz
*.zip
19 changes: 19 additions & 0 deletions scripts/browser-build/wheels/get-wheels.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
if [ ! -f "astunparse-1.6.3-py2.py3-none-any.whl" ]; then
wget https://files.pythonhosted.org/packages/2b/03/13dde6512ad7b4557eb792fbcf0c653af6076b81e5941d36ec61f7ce6028/astunparse-1.6.3-py2.py3-none-any.whl
fi

if [ ! -f "comma-fix.zip" ]; then
# get GH https://github.com/lbeurerkellner/gpt3-tokenizer/archive/refs/heads/comma-fix.zip
wget https://github.com/lbeurerkellner/gpt3-tokenizer/archive/refs/heads/comma-fix.zip
fi
rm -rf gpt3-tokenizer-comma-fix
# unzip comma-fix.zip
unzip comma-fix.zip
# make new archive with gpt3-tokenizer-comma-fix/* files
pushd gpt3-tokenizer-comma-fix
zip -r ../gpt3-tokenizer.zip *
popd

pushd ../
bash package.sh openai
popd
1 change: 0 additions & 1 deletion src/lmql/ui/playground/public/doc-snippets

This file was deleted.

0 comments on commit 42ed255

Please sign in to comment.