Skip to content

Commit 5842d1e

Browse files
committed
use cpu
1 parent 1ededf4 commit 5842d1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lectures/career.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ from quantecon.distributions import BetaBinomial
6565
from scipy.special import binom, beta
6666
from mpl_toolkits.mplot3d.axes3d import Axes3D
6767
from matplotlib import cm
68+
69+
# Set JAX to use CPU
70+
jax.config.update('jax_platform_name', 'cpu')
6871
```
6972

7073
### Model features

0 commit comments

Comments
 (0)