Skip to content

Commit

Permalink
update to latest core
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Mar 8, 2024
1 parent 946819c commit 0157d52
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
sudo apt-get install libgl1-mesa-dev xorg-dev mesa-vulkan-drivers
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- run: go build ./...
- run: go test -tags=multinet -race ./...

Expand All @@ -38,7 +38,7 @@ jobs:
sudo apt-get install libgl1-mesa-dev xorg-dev mesa-vulkan-drivers
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- name: Generate coverage report
run: go test -tags=multinet ./... -coverprofile=coverage.txt -covermode=atomic -timeout=20m
- name: Upload coverage report
Expand Down
2 changes: 2 additions & 0 deletions examples/pcore_ds/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ var ParamSets = netparams.Sets{
"Layer.Learn.NeuroMod.BurstGain": "0.1", // 0.1 == 0.2 > 0.05 > 0.5 -- key lrate modulator
"Layer.Learn.RLRate.On": "true", // note: applied for tr update trials
"Layer.Learn.TrgAvgAct.On": "true", // true > false
"Layer.Acts.Mahp.Gbar": "0.0",
"Layer.Acts.Sahp.Gbar": "0.05", // todo test
},
Hypers: params.Hypers{
"Layer.Learn.NeuroMod.BurstGain": {"Tweak": "-"},
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/emer/axon/v2

go 1.21
go 1.22

require (
cogentcore.org/core v0.0.7-0.20240224002924-02e90b285442
cogentcore.org/core v0.0.8-0.20240307214857-ea8edef99371
github.com/alecthomas/assert/v2 v2.2.1
github.com/anthonynsimon/bild v0.13.0
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500
Expand Down Expand Up @@ -49,7 +49,7 @@ require (
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/jinzhu/copier v0.4.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.2-0.20240227203013-2b69615b5d55 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
golang.org/x/image v0.15.0 // indirect
golang.org/x/mod v0.14.0 // indirect
Expand Down
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cogentcore.org/core v0.0.7-0.20240224002924-02e90b285442 h1:eVPDQ4dghrT4bpuUjiMStEDADP1mJKEZbJXVbIaz75U=
cogentcore.org/core v0.0.7-0.20240224002924-02e90b285442/go.mod h1:q2sMuu0eWdsvhO04FfKs90VcptWoVjK/HuvO3TpaRFc=
cogentcore.org/core v0.0.8-0.20240307214857-ea8edef99371 h1:okqFIgpoBhDfjehCmb6xezV+bpB37xZsCeGudAzK9S4=
cogentcore.org/core v0.0.8-0.20240307214857-ea8edef99371/go.mod h1:86eoGoMKgZgLm1o/zEP5m3iRUb1+xLKX0+jLaTQKeBI=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8=
git.sr.ht/~sbinet/cmpimg v0.1.0 h1:E0zPRk2muWuCqSKSVZIWsgtU9pjsw3eKHi8VmQeScxo=
Expand Down Expand Up @@ -169,6 +171,7 @@ github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml/v2 v2.1.1 h1:LWAJwfNvjQZCFIDKWYQaM62NcYeYViCmWIwmOStowAI=
github.com/pelletier/go-toml/v2 v2.1.1/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc=
github.com/pelletier/go-toml/v2 v2.1.2-0.20240227203013-2b69615b5d55/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc=
github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY=
github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI=
github.com/pierrec/lz4/v4 v4.1.8 h1:ieHkV+i2BRzngO4Wd/3HGowuZStgq6QkPsD1eolNAO4=
Expand Down

0 comments on commit 0157d52

Please sign in to comment.