Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests on 1.8 #128

Merged
merged 2 commits into from
Aug 21, 2022
Merged

Fix tests on 1.8 #128

merged 2 commits into from
Aug 21, 2022

Conversation

mcabbott
Copy link
Member

For #125, this replaces the method definitions for cat functions with slightly less crazy loops, which have fewer ambiguities. In any cat(A,B,Cs...), one of the first two must be a tracked type, no longer one of the first 3, as this shortens the list.

The other failure was depthwiseconv. This is depends on the random number seed, it doesn't consistently fail, I have not investigated whether this is a numerical problem or a gradient problem.

@coveralls
Copy link

coveralls commented Aug 21, 2022

Pull Request Test Coverage Report for Build 2898925212

  • 14 of 17 (82.35%) changed or added relevant lines in 2 files are covered.
  • 9 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.7%) to 71.385%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/lib/array.jl 13 16 81.25%
Files with Coverage Reduction New Missed Lines %
src/lib/array.jl 9 66.67%
Totals Coverage Status
Change from base Build 1896746788: 0.7%
Covered Lines: 469
Relevant Lines: 657

💛 - Coveralls

@codecov-commenter
Copy link

codecov-commenter commented Aug 21, 2022

Codecov Report

Merging #128 (f885295) into master (84ff74d) will increase coverage by 0.70%.
The diff coverage is 82.35%.

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
+ Coverage   70.67%   71.38%   +0.70%     
==========================================
  Files           9        9              
  Lines         648      657       +9     
==========================================
+ Hits          458      469      +11     
+ Misses        190      188       -2     
Impacted Files Coverage Δ
src/lib/array.jl 66.66% <81.25%> (+1.05%) ⬆️
src/numeric.jl 100.00% <100.00%> (ø)
src/back.jl 90.38% <0.00%> (+0.09%) ⬆️
src/forward.jl 85.71% <0.00%> (+0.86%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ToucheSir
Copy link
Member

If you're running tests with >1 threads, that's a long-standing NNlib issue and I'm not sure where it comes from :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants