Skip to content

Commit

Permalink
undo adding a test
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-garvey committed Nov 13, 2023
1 parent e631023 commit 8ecf4ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
-r pytorch-cpu-requirements.txt \
-r torchvision-requirements.txt
pip install --upgrade -r requirements.txt
pip install --upgrade -r turbine-models-requirements.txt
pip install -e .[testing]
- name: Run tests
Expand Down
3 changes: 1 addition & 2 deletions python/turbine_models/model_builder.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from transformers import AutoModel, AutoTokenizer, AutoConfig
from abc import ABC, abstractmethod
import torch
import shark_turbine.aot as aot

class HFBuilder():
class TransformerBuilder():
"""
A model builder that uses Hugging Face's transformers library to build a PyTorch model.
Expand Down
2 changes: 0 additions & 2 deletions tests/examples/aot_mlp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ def _run(local_path: str):
path = REPO_DIR / local_path
subprocess.check_call([sys.executable, str(path)])


class AOTMLPTest(unittest.TestCase):
def testMLPExportSimple(self):
_run("examples/aot_mlp/mlp_export_simple.py")

def testMLPExportSimple(self):
_run("examples/aot_mlp/mlp_export_dynamic.py")


if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
unittest.main()

0 comments on commit 8ecf4ed

Please sign in to comment.