Skip to content

Commit

Permalink
Fix black formatting for utils
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator19941 committed Dec 4, 2023
1 parent 9e4a246 commit f76f73d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/turbine_models/custom_models/sd_inference/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import numpy as np
import safetensors


def save_external_weights(
mapper,
model,
Expand All @@ -20,4 +21,4 @@ def save_external_weights(
def largest_error(array1, array2):
absolute_diff = np.abs(array1 - array2)
max_error = np.max(absolute_diff)
return max_error
return max_error

0 comments on commit f76f73d

Please sign in to comment.