Skip to content

Commit

Permalink
Merge pull request #110 from Siyuexi/main
Browse files Browse the repository at this point in the history
Add missing requirements (openai, tiktoken)
  • Loading branch information
PinjiaHe authored Jan 9, 2024
2 parents 6736b7f + 0e85060 commit 32d0c14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Conditional requirements:
+ If using SLCT: `gcc`
+ If using LogCluster: `perl`
+ If using NuLog: `torch`, `torchvision`, `keras_preprocessing`
+ If using DivLog: `openai`, `tiktoken` (require python 3.8+)

### Get started

Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ scikit-learn
tqdm
nltk
deap
openai
tiktoken
2 changes: 1 addition & 1 deletion tests/test_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ echo "=== Testing Spell ===" && cd $home/Spell && python demo.py && \
echo "=== Testing logmatch ===" && cd $home/logmatch && python demo.py &&\
# echo "=== Testing NuLog ===" && cd $home/NuLog && python demo.py &&\
echo "=== Testing Brain ===" && cd $home/Brain && python demo.py &&\
echo "=== Testing DivLog ===" && cd $home/DivLog && python demo.py &&\
# echo "=== Testing DivLog ===" && cd $home/DivLog && python demo.py &&\
echo "All tests succeed!"

0 comments on commit 32d0c14

Please sign in to comment.