Skip to content

Commit

Permalink
Merge pull request #13 from beacon-biosignals/hr/update-flux
Browse files Browse the repository at this point in the history
Bump Flux version to v0.11, Zygote to 0.5
  • Loading branch information
hannahilea authored Jul 23, 2020
2 parents eeec448 + 4caf131 commit 7e7854a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ before_script:
- julia --color=yes --project= -e 'using Pkg; Pkg.update()' # Install General
- git clone [email protected]:beacon-biosignals/BeaconRegistry.git ~/.julia/registries/Beacon
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("LighthouseFlux"); Pkg.test("LighthouseFlux"; coverage=true)'
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- travis_wait julia -e 'using Pkg; Pkg.build("LighthouseFlux"); Pkg.test("LighthouseFlux"; coverage=true)'
codecov: true
after_success:
- docs/build.sh
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name = "LighthouseFlux"
uuid = "56a5d6c5-c9a8-4db3-ae3d-7c3fdb50c563"
authors = ["Beacon Biosignals, Inc."]
version = "0.2.3"
version = "0.2.4"

[deps]
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
Lighthouse = "ac2c24cd-07f0-4848-96b2-1b82c3ea0e59"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
Flux = "0.10.4"
Flux = "0.10.4, 0.11"
Lighthouse = "0.8, 0.9"
Zygote = "0.4.13"
Zygote = "0.4.13, 0.5"
julia = "1.3"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "Random"]
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ end

(m::TestModel)(X) = m.chain(X)

Flux.@treelike TestModel (chain,)
Flux.@functor TestModel (chain,)

function LighthouseFlux.loss(m::TestModel, input_feature_batch, soft_label_batch)
return Flux.mse(m(input_feature_batch), soft_label_batch)
Expand Down

2 comments on commit 7e7854a

@hannahilea
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@beacon-buddy register

@beacon-buddy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: beacon-biosignals/BeaconRegistry/170

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.4 -m "<description of version>" 7e7854a4fdbdb7171ce090c8908dd838bad65290
git push origin v0.2.4

Please sign in to comment.