Skip to content

Commit

Permalink
fix cpu string (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
fehiepsi authored Jul 21, 2021
1 parent 339e0c0 commit b33f808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpyro/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from jax.tree_util import tree_flatten, tree_map

_DISABLE_CONTROL_FLOW_PRIM = False
_CHAIN_RE = re.compile(r"(?<=_)\d+$") # e.g. get '3' from 'TFRT_CPU_3'
_CHAIN_RE = re.compile(r"\d+$") # e.g. get '3' from 'TFRT_CPU_3'


def set_rng_seed(rng_seed):
Expand Down

0 comments on commit b33f808

Please sign in to comment.