Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
mephisto install poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtaba-komeili committed Apr 19, 2023
1 parent f7dc171 commit 1c3bfb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Expand Up @@ -129,7 +129,7 @@ commands:
description: Install Mephisto
steps:
- restore_cache:
key: mephisto-20230419-{{ checksum "requirements.txt" }}
key: mephisto-poetry-20230419-{{ checksum "requirements.txt" }}
- run:
name: Install Mephisto
command: |
Expand All @@ -142,11 +142,12 @@ commands:
cd ..
git clone git@github.com:facebookresearch/Mephisto.git Mephisto
cd Mephisto
pip install .
pip install poetry
poetry install
# `echo` so that ENTER will be pressed at the prompt
echo | mephisto check
- save_cache:
key: mephisto-20230419-{{ checksum "requirements.txt" }}
key: mephisto-poetry-20230419-{{ checksum "requirements.txt" }}
paths:
- "~/venv/bin"
- "~/venv/lib"
Expand Down
1 change: 1 addition & 0 deletions tests/crowdsourcing/tasks/test_chat_demo.py
Expand Up @@ -251,6 +251,7 @@ def test_base_task(self):
'++num_turns=3',
'++turn_timeout=300',
]
breakpoint()
self._set_up_config(task_directory=TASK_DIRECTORY, overrides=overrides)

# Set up the operator and server
Expand Down

0 comments on commit 1c3bfb3

Please sign in to comment.