try even more deactivation
This commit is contained in:
@@ -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,
|
def get_tb_logger(model_type: str, path: Path, activate: bool) -> Union[TBLogger,
|
||||||
BaseTensorboardLogger]:
|
BaseTensorboardLogger]:
|
||||||
tb_logger: Union[TBLogger, BaseTensorboardLogger]
|
tb_logger: Union[TBLogger, BaseTensorboardLogger]
|
||||||
if model_type == "pytorch":
|
if model_type == "pytorch" and activate:
|
||||||
tb_logger = TBLogger(path, activate)
|
tb_logger = TBLogger(path, activate)
|
||||||
else:
|
else:
|
||||||
tb_logger = BaseTensorboardLogger(path, activate)
|
tb_logger = BaseTensorboardLogger(path, activate)
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ def can_run_model(model: str) -> None:
|
|||||||
pytest.skip("Reinforcement learning / PyTorch module not available on intel based Mac OS.")
|
pytest.skip("Reinforcement learning / PyTorch module not available on intel based Mac OS.")
|
||||||
|
|
||||||
if "XGBoost" in model and is_mac():
|
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', [
|
@pytest.mark.parametrize('model, pca, dbscan, float32, can_short, shuffle, buffer', [
|
||||||
|
|||||||
Reference in New Issue
Block a user