Skip to content

Commit

Permalink
chore: Remove unused code for teach, dynamodb and the aws sdk (#12)
Browse files Browse the repository at this point in the history
* Remove teach related code

* Remove observability logging

* Remove the dynamodb code
  • Loading branch information
MalvinaNikandrou committed Dec 3, 2023
1 parent 1c06985 commit 34134d4
Show file tree
Hide file tree
Showing 25 changed files with 316 additions and 2,290 deletions.
45 changes: 0 additions & 45 deletions docker/teach-inference.Dockerfile

This file was deleted.

801 changes: 206 additions & 595 deletions poetry.lock

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ cmd = "pytest -v --durations=40 --color=yes --junitxml=pytest.xml --cov=src -m '
python = ">=3.9,<3.10"
torch = ">=1.13.1,<2"
rich = ">=12.5.1"
boto3 = "1.23.3"
Pillow = ">=9.2.0"
httpx = ">=0.23.0"
orjson = ">=3.8.0"
Expand Down Expand Up @@ -61,10 +60,6 @@ isort = ">=5.10.1"
pytest-cases = ">=3.6.13"
pytest-xdist = ">=2.5.0"
pytest-cov = ">=3.0.0"
boto3-stubs = { extras = [
"essential",
"secretsmanager",
], version = ">=1.26.27" }
moto = { extras = ["all"], version = ">=4.0.5" }
pytest-httpx = ">=0.21.0"
types-pyyaml = ">=6.0.12.1"
Expand Down
144 changes: 0 additions & 144 deletions scripts/setup-ec2-instance.sh

This file was deleted.

4 changes: 0 additions & 4 deletions src/emma_experience_hub/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
from emma_experience_hub.commands.simbot.cli import app as simbot_cli


# from emma_experience_hub.commands.teach import app as teach_cli


app = typer.Typer(
add_completion=False,
no_args_is_help=True,
Expand All @@ -15,7 +12,6 @@

app.add_typer(simbot_cli, name="simbot")

# app.add_typer(teach_cli, name="teach")

if __name__ == "__main__":
app()
1 change: 0 additions & 1 deletion src/emma_experience_hub/api/clients/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from emma_experience_hub.api.clients.confirmation_response_classifier import (
ConfirmationResponseClassifierClient,
)
from emma_experience_hub.api.clients.dynamo_db import DynamoDbClient
from emma_experience_hub.api.clients.emma_policy import EmmaPolicyClient
from emma_experience_hub.api.clients.feature_extractor import FeatureExtractorClient
from emma_experience_hub.api.clients.out_of_domain_detector import OutOfDomainDetectorClient
Expand Down
18 changes: 0 additions & 18 deletions src/emma_experience_hub/api/clients/dynamo_db.py

This file was deleted.

1 change: 0 additions & 1 deletion src/emma_experience_hub/api/clients/simbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
from emma_experience_hub.api.clients.simbot.placeholder_vision import SimBotPlaceholderVisionClient
from emma_experience_hub.api.clients.simbot.qa_intent import SimBotQAIntentClient
from emma_experience_hub.api.clients.simbot.session_db import SimBotSessionDbClient
from emma_experience_hub.api.clients.simbot.session_local_db import SimBotSQLLiteClient
Loading

0 comments on commit 34134d4

Please sign in to comment.