Skip to content

Commit

Permalink
image_noiser -> image_normalizer comment (huggingface#2496)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamberman authored Feb 27, 2023
1 parent 6960e72 commit 7f43f65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def enable_sequential_cpu_offload(self, gpu_id=0):

device = torch.device(f"cuda:{gpu_id}")

# TODO: self.image_noiser.{scale,unscale} are not covered by the offload hooks, so they fails if added to the list
# TODO: self.image_normalizer.{scale,unscale} are not covered by the offload hooks, so they fails if added to the list
models = [
self.image_encoder,
self.text_encoder,
Expand Down

0 comments on commit 7f43f65

Please sign in to comment.