From 0b588c03acf360b71f64934e6b6f35d804057965 Mon Sep 17 00:00:00 2001 From: radu_dell Date: Wed, 18 Nov 2026 14:39:21 +0100 Subject: [PATCH] Defaults jax to use cpu --- drone_estimators/ros/node.py | 1 + 1 file changed, 1 insertion(+) diff --git a/drone_estimators/ros/node.py b/drone_estimators/ros/node.py index 4f34b08..20cd63a 100644 --- a/drone_estimators/ros/node.py +++ b/drone_estimators/ros/node.py @@ -29,6 +29,7 @@ # Note: All ros nodes started after this line will also only publish locally! # Identical console command: ROS_AUTOMATIC_DISCOVERY_RANGE="LOCALHOST" os.environ["ROS_AUTOMATIC_DISCOVERY_RANGE"] = "LOCALHOST" +os.environ["JAX_PLATFORMS"] = "cpu" import jax import numpy as np