FL4Health icon indicating copy to clipboard operation
FL4Health copied to clipboard

Fixing the tests for Mk-MMD loss such that they still pass properly on a GPU and CPU

Open emersodb opened this issue 1 year ago • 0 comments

PR Type

Fix

Short Description

Clickup Ticket(s): Link

The Tests for Mk-MMD loss were not properly handling device allocation if run on a GPU. This PR fixes that issue along with a small device bug in the loss function when a tensor of gammas were manually provided rather than created by default.

Tests Added

N/A

emersodb avatar Oct 10 '24 22:10 emersodb