From 1b66ad4603d78fa659decc3880a6ffd64cc9c7d5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 6 May 2024 18:26:55 +0200 Subject: [PATCH] Keep torch at 2.2.2 for macos x86 versions --- requirements-freqai-rl.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-freqai-rl.txt b/requirements-freqai-rl.txt index bcb08032f..c278716fb 100644 --- a/requirements-freqai-rl.txt +++ b/requirements-freqai-rl.txt @@ -2,7 +2,8 @@ -r requirements-freqai.txt # Required for freqai-rl -torch==2.3.1 +torch==2.3.1; sys_platform != 'darwin' or platform_machine != 'x86_64' +torch==2.2.2; sys_platform == 'darwin' and platform_machine == 'x86_64' gymnasium==0.29.1 stable_baselines3==2.3.2 sb3_contrib>=2.2.1