Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Sigmoid Cross-Entropy Loss: add GPU forward for full GPU mode speed-up #4908
Conversation
shelhamer
added the
speed-up
label
Oct 27, 2016
shelhamer
merged commit 6491504
into
BVLC:master
Oct 27, 2016
shelhamer
deleted the
shelhamer:sigce-gpu branch
Oct 27, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
shelhamer commentedOct 27, 2016
The sig-ce loss was somehow passed over when it came to GPU implementation, but this PR completes GPU mode by including GPU forward. This resolves a (perhaps surprisingly severe) performance penalty due to communication overhead. When the target is high-dimensional, say a whole image for an FCN, then the time to go back-and-forth could slow iterations by >10x. Not anymore!
Closes #3004.