mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Don't run torch models on 3.12 yet
This commit is contained in:
parent
c5f2a69d9c
commit
cb1f49e81c
|
@ -27,6 +27,9 @@ def is_arm() -> bool:
|
|||
def can_run_model(model: str) -> None:
|
||||
is_pytorch_model = 'Reinforcement' in model or 'PyTorch' in model
|
||||
|
||||
if is_py12() and is_pytorch_model:
|
||||
pytest.skip("Model not supported on python 3.12 yet.")
|
||||
|
||||
if is_arm() and "Catboost" in model:
|
||||
pytest.skip("CatBoost is not supported on ARM.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user