LogicGoInfotechSpaces commited on
Commit
451eefd
·
verified ·
1 Parent(s): 7c9bfc8

Update utils/dataops.py

Browse files
Files changed (1) hide show
  1. utils/dataops.py +1 -0
utils/dataops.py CHANGED
@@ -47,6 +47,7 @@ def auto_split_upscale(
47
  current_tile: int = 1, # Tracks the current tile being processed
48
  total_tiles: int = 1, # Total number of tiles at this depth level
49
  ):
 
50
  # --- Step 0: Handle CPU-only environment ---
51
  # The entire splitting logic is designed to overcome GPU VRAM limitations.
52
  # If no CUDA-enabled GPU is present, this logic is unnecessary and adds overhead.
 
47
  current_tile: int = 1, # Tracks the current tile being processed
48
  total_tiles: int = 1, # Total number of tiles at this depth level
49
  ):
50
+ scale = int(scale)
51
  # --- Step 0: Handle CPU-only environment ---
52
  # The entire splitting logic is designed to overcome GPU VRAM limitations.
53
  # If no CUDA-enabled GPU is present, this logic is unnecessary and adds overhead.