Dev (#135)
* remove logging best so far metric values from mnist model * update tests * update README.md * comment out wandb tests
This commit is contained in:
1 parent
4bdf4e62c6
commit
d5da445e8d
7 files changed
+64
-111
No files matched your search
@@ -1,6 +1,14 @@
|
||||
import pytest
|
||||
|
||||
from tests.helpers.run_command import run_command
|
||||
|
||||
"""
|
||||
Use the following command to skip slow tests:
|
||||
pytest -k "not slow"
|
||||
"""
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_default_sweep():
|
||||
"""Test default Hydra sweeper."""
|
||||
command = [
|
||||
@@ -14,6 +22,7 @@ def test_default_sweep():
|
||||
run_command(command)
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_optuna_sweep():
|
||||
"""Test Optuna sweeper."""
|
||||
command = [
|
||||
@@ -26,7 +35,9 @@ def test_optuna_sweep():
|
||||
run_command(command)
|
||||
|
||||
|
||||
# def test_ax_sweep():
|
||||
# """Test Ax sweeper."""
|
||||
# command = ["run.py", "-m", "hparams_search=mnist_ax", "trainer.fast_dev_run=true"]
|
||||
# run_command(command)
|
||||
@pytest.mark.skip(reason="TODO: Add Ax sweep config.")
|
||||
@pytest.mark.slow
|
||||
def test_ax_sweep():
|
||||
"""Test Ax sweeper."""
|
||||
command = ["run.py", "-m", "hparams_search=mnist_ax", "trainer.fast_dev_run=true"]
|
||||
run_command(command)
|
||||
Reference in new issue
Block a user