Skip to content

Commit

Permalink
Fix triton unittest (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred authored Mar 9, 2021
1 parent 77e487b commit 6588700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_triton_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_generate_triton_multihot(tmpdir):

# save workflow to triton / verify we see some expected output
repo = os.path.join(tmpdir, "models")
triton.generate_triton_model(workflow, "model", repo)
triton.generate_nvtabular_model(workflow, "model", repo)
workflow = None

assert os.path.exists(os.path.join(repo, "config.pbtxt"))
Expand All @@ -49,7 +49,7 @@ def test_generate_triton_model(tmpdir, engine, df):

# save workflow to triton / verify we see some expected output
repo = os.path.join(tmpdir, "models")
triton.generate_triton_model(workflow, "model", repo)
triton.generate_nvtabular_model(workflow, "model", repo)
workflow = None

assert os.path.exists(os.path.join(repo, "config.pbtxt"))
Expand Down

0 comments on commit 6588700

Please sign in to comment.