Skip to content

Commit

Permalink
Reducing DKN batch size to 200
Browse files Browse the repository at this point in the history
Signed-off-by: miguelgfierro <[email protected]>
  • Loading branch information
miguelgfierro committed Mar 19, 2024
1 parent b255fae commit 85899cf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/functional/examples/test_notebooks_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ def test_wide_deep_functional(
os.path.join("tests", "resources", "deeprec", "slirec"),
10,
400,
{"auc": 0.7183}, # Don't do logloss check as SLi-Rec uses ranking loss, not a point-wise loss
{
"auc": 0.7183
}, # Don't do logloss check as SLi-Rec uses ranking loss, not a point-wise loss
42,
)
],
Expand Down Expand Up @@ -278,7 +280,7 @@ def test_slirec_quickstart_functional(
results = read_notebook(output_notebook)

assert results["auc"] == pytest.approx(expected_values["auc"], rel=TOL, abs=ABS_TOL)


@pytest.mark.gpu
@pytest.mark.notebooks
Expand Down Expand Up @@ -567,7 +569,7 @@ def test_dkn_quickstart_functional(notebooks, output_notebook, kernel_name):
notebook_path,
output_notebook,
kernel_name=kernel_name,
parameters=dict(EPOCHS=5, BATCH_SIZE=500),
parameters=dict(EPOCHS=5, BATCH_SIZE=200),
)
results = read_notebook(output_notebook)

Expand Down

0 comments on commit 85899cf

Please sign in to comment.