try even more deactivation

This commit is contained in:
robcaulk
2023-05-14 15:44:41 +00:00
parent 73e9047cd5
commit 1ed084557a
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ def get_timerange_backtest_live_models(config: Config) -> str:
def get_tb_logger(model_type: str, path: Path, activate: bool) -> Union[TBLogger,
BaseTensorboardLogger]:
tb_logger: Union[TBLogger, BaseTensorboardLogger]
if model_type == "pytorch":
if model_type == "pytorch" and activate:
tb_logger = TBLogger(path, activate)
else:
tb_logger = BaseTensorboardLogger(path, activate)

View File

@@ -37,7 +37,7 @@ def can_run_model(model: str) -> None:
pytest.skip("Reinforcement learning / PyTorch module not available on intel based Mac OS.")
if "XGBoost" in model and is_mac():
pytest.skip("Mac doesn't tb callbacks?")
pytest.skip("Mac github CI does not have enough memory/threads to run this test.")
@pytest.mark.parametrize('model, pca, dbscan, float32, can_short, shuffle, buffer', [