Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/modelSampler/BaseModelSampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from modules.util.enum.VideoFormat import VideoFormat

import torch
from torchvision.io import write_video

#from torchvision.io import write_video
from PIL import Image


Expand Down Expand Up @@ -95,6 +95,6 @@ def save_sampler_output(
elif sampler_output.file_type == FileType.VIDEO:
if video_format is None:
raise ValueError("Video format required for sampling a video")
write_video(destination + video_format.extension(), options={"crf": "17"}, video_array=sampler_output.data, fps=24)
#write_video(destination + video_format.extension(), options={"crf": "17"}, video_array=sampler_output.data, fps=24) #FIXME
Comment thread
dxqb marked this conversation as resolved.
elif sampler_output.file_type == FileType.AUDIO:
pass # TODO
4 changes: 2 additions & 2 deletions requirements-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pytorch
--extra-index-url https://download.pytorch.org/whl/cu128
torch==2.9.1+cu128
torchvision==0.24.1+cu128
torch==2.11.0+cu128
torchvision==0.26.0+cu128
onnxruntime-gpu==1.23.2
nvidia-nccl-cu12==2.27.5; sys_platform == "linux"
triton-windows==3.5.1.post24; sys_platform == "win32"
Expand Down
4 changes: 2 additions & 2 deletions requirements-default.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pytorch
torch==2.9.1
torchvision==0.24.1
torch==2.11.0
torchvision==0.26.0
onnxruntime==1.23.2

# optimizers
Expand Down
4 changes: 2 additions & 2 deletions requirements-rocm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

# pytorch
--extra-index-url https://download.pytorch.org/whl/rocm6.3
torch==2.9.1+rocm6.3
torchvision==0.24.1+rocm6.3
torch==2.11.0+rocm6.3
torchvision==0.26.0+rocm6.3
onnxruntime==1.23.2

# optimizers
Expand Down