Skip to content

Commit

Permalink
Regenerate Manifest.toml with Julia 1.9.2 (#394)
Browse files Browse the repository at this point in the history
* Regenerate Manifest.toml with Julia 1.9.1

* Fixes logistic regression tests

* Fix linear regression tutorial

* Loosen test tolerance

* Some updates

* Better debugging

* Update assertion

* Update threshold

* Update manifest files

* Update a few assertions

* Change assertions

* Some VI updates

* Update 09_variational-inference.jmd

* Update 09_variational-inference.jmd

* Sign treehashes

---------

Co-authored-by: Elliot Saba <[email protected]>
  • Loading branch information
devmotion and staticfloat authored Jul 10, 2023
1 parent 24d1d44 commit a85147f
Show file tree
Hide file tree
Showing 34 changed files with 12,530 additions and 7,739 deletions.
Binary file modified .buildkite/launch_tutorials.yml.signature
Binary file not shown.
4 changes: 2 additions & 2 deletions .buildkite/run_tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
- BUILDKITE_S3_SECRET_ACCESS_KEY="U2FsdGVkX1+SPF81nkK7KQ64DsafSl0qq2iG7BsQs1xlTYEtZV3MqQl3l/NWaiocaEywZZFbAB5zpnKPD0xHTQ=="
- BUILDKITE_S3_DEFAULT_REGION="U2FsdGVkX1/cORlxhXcxhja2JkqC0f8RmaGYxvGBbEg="
- JuliaCI/julia#v1:
version: 1.6
version: 1
- staticfloat/sandbox:
rootfs_url: "https://jc-rootfs-images.s3.amazonaws.com/aws_uploader-2021-11-12.x86_64.tar.gz"
rootfs_treehash: "986217e5b36efd3b3b91ed90df8e36d628cf543f"
Expand Down Expand Up @@ -62,7 +62,7 @@ steps:
files:
- .buildkite/ssh_deploy.key
- JuliaCI/julia#v1:
version: 1.6
version: 1
- staticfloat/sandbox:
rootfs_url: "https://jc-rootfs-images.s3.amazonaws.com/aws_uploader-2021-11-12.x86_64.tar.gz"
rootfs_treehash: "986217e5b36efd3b3b91ed90df8e36d628cf543f"
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/test_turing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ agents:
queue: "juliaecosystem"

steps:
- label: ":julia: Run tests on 1.6"
- label: ":julia: Run tests on Julia 1 (stable)"
plugins:
- JuliaCI/julia#v1:
version: 1.6
version: 1
- JuliaCI/julia-test#v1:
timeout_in_minutes: 20
artifact_paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/UpdateManifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
ssh-key: ${{ secrets.UPDATE_MANIFESTS_KEY }}
- uses: julia-actions/setup-julia@v1
with:
version: 1.6
version: 1
- uses: julia-actions/cache@v1
- name: "Update Manifest.toml files"
run: find tutorials/ -type f -name Manifest.toml -exec julia --color=yes -e "using Pkg; Pkg.activate(dirname(ARGS[1])); Pkg.instantiate(); Pkg.update()'" {} \;
Expand Down
2 changes: 1 addition & 1 deletion tutorials/00-introduction/00_introduction.jmd
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ histogram(chain)
Now we can build our plot:

```julia; echo=false
@assert isapprox(mean(chain, :p), 0.5; atol=0.1)
@assert isapprox(mean(chain, :p), 0.5; atol=0.1) "Estimated mean of parameter p: $(mean(chain, :p)) - not in [0.4, 0.6]!"
```

```julia
Expand Down
Loading

0 comments on commit a85147f

Please sign in to comment.