Skip to content
Discussion options

You must be logged in to vote

I think move_metrics_to_cpu does not move the state of the metric modules but just the logged values.

cc @tchaton for confirmation.

@SkafteNicki @tchaton should we maybe extend this? I see that this can be misleading.

@MeteorsHub The issue we do it that way is mainly to avoid having the same thing in memory twice. But I think especially for metrics like AP the only option would be to manually move it to cpu (since this will be moved to gpu together with the model). This will introduce some synchronization points though and might slow down your training!

Replies: 1 comment 1 reply

Comment options

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

Answer selected by Borda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment