Skip to content

Commit d8e1156

Browse files
authored
Bump to 0.13.0 (#1629)
* bump jax version to 0.4.14 * Bump to 0.13.0 * drop 3.8 in setup * update typing for python 3.9 * more typing from collections.abc
1 parent cc1ad02 commit d8e1156

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+81
-159
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [3.8]
17+
python-version: [3.9]
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -51,7 +51,7 @@ jobs:
5151
needs: lint
5252
strategy:
5353
matrix:
54-
python-version: [3.8]
54+
python-version: [3.9]
5555

5656
steps:
5757
- uses: actions/checkout@v2
@@ -81,7 +81,7 @@ jobs:
8181
needs: lint
8282
strategy:
8383
matrix:
84-
python-version: [3.8]
84+
python-version: [3.9]
8585

8686
steps:
8787
- uses: actions/checkout@v2
@@ -120,7 +120,7 @@ jobs:
120120
needs: lint
121121
strategy:
122122
matrix:
123-
python-version: [3.8]
123+
python-version: [3.9]
124124

125125
steps:
126126
- uses: actions/checkout@v2

examples/annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def main(args):
320320

321321

322322
if __name__ == "__main__":
323-
assert numpyro.__version__.startswith("0.12.1")
323+
assert numpyro.__version__.startswith("0.13.0")
324324
parser = argparse.ArgumentParser(description="Bayesian Models of Annotation")
325325
parser.add_argument("-n", "--num-samples", nargs="?", default=1000, type=int)
326326
parser.add_argument("--num-warmup", nargs="?", default=1000, type=int)

examples/ar2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def main(args):
114114

115115

116116
if __name__ == "__main__":
117-
assert numpyro.__version__.startswith("0.12.1")
117+
assert numpyro.__version__.startswith("0.13.0")
118118
parser = argparse.ArgumentParser(description="AR2 example")
119119
parser.add_argument("--num-data", nargs="?", default=142, type=int)
120120
parser.add_argument("-n", "--num-samples", nargs="?", default=1000, type=int)

examples/baseball.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def main(args):
210210

211211

212212
if __name__ == "__main__":
213-
assert numpyro.__version__.startswith("0.12.1")
213+
assert numpyro.__version__.startswith("0.13.0")
214214
parser = argparse.ArgumentParser(description="Baseball batting average using MCMC")
215215
parser.add_argument("-n", "--num-samples", nargs="?", default=3000, type=int)
216216
parser.add_argument("--num-warmup", nargs="?", default=1500, type=int)

examples/bnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def main(args):
160160

161161

162162
if __name__ == "__main__":
163-
assert numpyro.__version__.startswith("0.12.1")
163+
assert numpyro.__version__.startswith("0.13.0")
164164
parser = argparse.ArgumentParser(description="Bayesian neural network example")
165165
parser.add_argument("-n", "--num-samples", nargs="?", default=2000, type=int)
166166
parser.add_argument("--num-warmup", nargs="?", default=1000, type=int)

examples/covtype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def main(args):
206206

207207

208208
if __name__ == "__main__":
209-
assert numpyro.__version__.startswith("0.12.1")
209+
assert numpyro.__version__.startswith("0.13.0")
210210
parser = argparse.ArgumentParser(description="parse args")
211211
parser.add_argument(
212212
"-n", "--num-samples", default=1000, type=int, help="number of samples"

examples/funnel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def main(args):
139139

140140

141141
if __name__ == "__main__":
142-
assert numpyro.__version__.startswith("0.12.1")
142+
assert numpyro.__version__.startswith("0.13.0")
143143
parser = argparse.ArgumentParser(
144144
description="Non-centered reparameterization example"
145145
)

examples/gaussian_shells.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def main(args):
120120

121121

122122
if __name__ == "__main__":
123-
assert numpyro.__version__.startswith("0.12.1")
123+
assert numpyro.__version__.startswith("0.13.0")
124124
parser = argparse.ArgumentParser(description="Nested sampler for Gaussian shells")
125125
parser.add_argument("-n", "--num-samples", nargs="?", default=10000, type=int)
126126
parser.add_argument("--num-warmup", nargs="?", default=1000, type=int)

examples/gp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def main(args):
170170

171171

172172
if __name__ == "__main__":
173-
assert numpyro.__version__.startswith("0.12.1")
173+
assert numpyro.__version__.startswith("0.13.0")
174174
parser = argparse.ArgumentParser(description="Gaussian Process example")
175175
parser.add_argument("-n", "--num-samples", nargs="?", default=1000, type=int)
176176
parser.add_argument("--num-warmup", nargs="?", default=1000, type=int)

examples/hmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def main(args):
263263

264264

265265
if __name__ == "__main__":
266-
assert numpyro.__version__.startswith("0.12.1")
266+
assert numpyro.__version__.startswith("0.13.0")
267267
parser = argparse.ArgumentParser(description="Semi-supervised Hidden Markov Model")
268268
parser.add_argument("--num-categories", default=3, type=int)
269269
parser.add_argument("--num-words", default=10, type=int)

0 commit comments

Comments
 (0)