Skip to content
Discussion options

You must be logged in to vote

Could you show loss plots?

If you want to enforce reproduction, you can add -DDEBUG to makefile:

CFLAGS = -std=c++14 -O3 $(CUDA_ARCH) -DDEBUG

Then

make clean
make -j 

But due to the use of atomicAdd() function, two trainings will gradaully (perhaps only slightly) diverge with increasing training steps.

Also, this will cause MD part to be deterministic too, which is usually not what you want. So usually you need to remove -DDEBUG to compile gpumd.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@davidndrio
Comment options

Answer selected by davidndrio
Comment options

You must be logged in to vote
1 reply
@davidndrio
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants