24. Execution Statistics#

This table contains the latest execution statistics.

Document

Modified

Method

Run Time (s)

Status

aiyagari_jax

2024-05-19 08:16

cache

69.96

arellano

2024-05-19 08:16

cache

28.53

cake_eating_numerical

2024-05-19 08:17

cache

20.84

hopenhayn

2024-05-19 08:21

cache

232.97

ifp_egm

2024-05-19 08:24

cache

179.9

intro

2024-05-10 02:14

cache

4.02

inventory_dynamics

2024-05-19 08:25

cache

73.21

inventory_ssd

2024-05-19 09:14

cache

2972.1

jax_intro

2024-05-19 09:15

cache

26.49

job_search

2024-05-19 09:15

cache

14.33

kesten_processes

2024-05-19 09:16

cache

24.03

lucas_model

2024-05-19 09:16

cache

20.46

markov_asset

2024-05-19 09:16

cache

18.59

mle

2024-05-10 02:42

cache

16.03

newtons_method

2024-05-19 09:19

cache

163.97

opt_invest

2024-05-19 09:19

cache

20.86

opt_savings_1

2024-05-19 09:20

cache

55.83

opt_savings_2

2024-05-19 09:21

cache

21.02

overborrowing

2024-05-19 09:21

cache

56.04

short_path

2024-05-19 09:22

cache

6.76

status

2024-05-10 02:48

cache

4.32

troubleshooting

2024-05-10 02:14

cache

4.02

wealth_dynamics

2024-05-19 09:24

cache

158.07

zreferences

2024-05-10 02:14

cache

4.02

These lectures are built on linux instances through github actions and amazon web services (aws) to enable access to a gpu. These lectures are built on a p3.2xlarge that has access to 8 vcpu's, a V100 NVIDIA Tesla GPU, and 61 Gb of memory.

You can check the backend used by JAX using:

import jax
# Check if JAX is using GPU
print(f"JAX backend: {jax.devices()[0].platform}")
JAX backend: gpu

and the hardware we are running on:

!nvidia-smi
/opt/conda/envs/quantecon/lib/python3.11/pty.py:89: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
  pid, fd = os.forkpty()
Fri May 10 02:48:06 2024       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.182.03   Driver Version: 470.182.03   CUDA Version: 12.3     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla V100-SXM2...  Off  | 00000000:00:1E.0 Off |                    0 |
| N/A   38C    P0    39W / 300W |    310MiB / 16160MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+