Skip to content

Commit

Permalink
feat: optimize cuda for vapoursynth
Browse files Browse the repository at this point in the history
  • Loading branch information
Tohrusky committed Dec 10, 2024
1 parent a1b86d4 commit 87f9fc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/vapoursynth.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# --- sisr, use fp16 to inference (vs.RGBH)

model: BaseModelInterface = AutoModel.from_pretrained(
pretrained_model_name=ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x
pretrained_model_name=ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x, tile=None
)

clip = core.bs.VideoSource(source="s.mp4")
Expand All @@ -25,6 +25,7 @@
# model: BaseModelInterface = AutoModel.from_pretrained(
# pretrained_model_name=ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x,
# fp16=False,
# tile=None
# )
#
# clip = core.bs.VideoSource(source="s.mp4")
Expand Down

0 comments on commit 87f9fc1

Please sign in to comment.