iamtalwinder / gif-maker

An awesome tool to convert video files to animated gifs.
https://gif-maker-livid.vercel.app/
MIT License
25 stars 4 forks source link

use GPU if True else CPU #2

Open NitkarshChourasia opened 8 months ago

NitkarshChourasia commented 8 months ago

If GPU is available in the machine of the user. Instead of using CPU for processing the gif(s) files, using GPU would prove a much more efficient and effective solution in terms of time complexity.

https://github.com/PromtEngineer/localGPT This repository was forked and was made into something special. The repository it was forked from was using CPU for generation of prompts from the LLM models. This fork instead of using CPU's calculating and processing power used GPU's if it was available in the user's machine else CPU. Why GPU? Because it is much faster and efficient then CPU for this task.

If I get the time in future, I'll try to pull request this feature. Thank you. @NitkarshChourasia

WofWca commented 2 months ago

Is this available in ffmpeg.wasm?