Skip to content

Releases: ashleykleynhans/runpod-worker-inswapper

3.0.0

29 Nov 07:31
ba8221f
Compare
Choose a tag to compare
  • Bumped CUDA to version 12.1.1.
  • Bumped to torch to version 2.4.0.
  • Pinned RunPod SDK to version 1.6.2.

2.0.0

11 Mar 21:54
c3b5ba7
Compare
Choose a tag to compare
  • Removed the option to use a Network Volume because it doesn't make any sense and is significantly slower.
  • Added the job id to all of the logs where the job id is known.

1.5.0

13 Feb 14:41
cd37526
Compare
Choose a tag to compare
  • Cache the models outside of the handler so that they aren't loaded on every request.
  • Download the models and weights using wget so that the handler doesn't need to be invoked to download them.
  • Clean up temporary files on successful as well as failed requests, not only successful requests.
  • Added timer to the test scripts.
  • Bumped RunPod SDK to version 1.6.2.

1.4.4

07 Feb 22:13
14c64cf
Compare
Choose a tag to compare
  • Use CUDAExecutionProvider for insightface Face Analysis.
  • Improved error handling.

1.4.0

07 Feb 19:58
43698ab
Compare
Choose a tag to compare
  • Upgraded to Torch 2.2.0.
  • Changed the logic so that if a source image only contains a single face, and the target image contains multiple faces, only the first face in the target image is swapped with the face from the source image (previously the face from the source image would be swapped into all of the faces in the target image).
  • Improved logging for the various different types of logic.
  • Added installation script for Network Volumes.
  • Updated installation instructions for Network Volumes.
  • Attempted to add CUDAExecutionProvider to insightface FaceAnalysis but unfortunately its still not using it.
  • Updated RunPod SDK to 1.6.0.

1.2.2

01 Dec 08:25
dd5682a
Compare
Choose a tag to compare
  • Improved error handling.
  • Refresh worker when there is an exception.
  • Bumped to latest RunPod SDK version.
  • Changed CMD to ENTRYPOINT to suppress spammy Nvidia notice.

1.2.1

24 Oct 17:58
a52bc4f
Compare
Choose a tag to compare
  • Improved error handling.

1.2.0

27 Jul 07:55
d16d6fa
Compare
Choose a tag to compare
  • Added support for providing specific face indexes of the faces to swap in the source and target images.
  • Added support for either enabling or disabling face restoration.
  • Added support for either enabling or disabling face upsampling.
  • Added support for either enabling or disabling background enhancement.
  • Added support for specifying an upscale value.
  • Added support for specifying CodeFormer fidelity.
  • Added support for specifying the output format (JPEG/PNG).

1.1.1

24 Jul 11:42
bd18d2e
Compare
Choose a tag to compare
  • Support swapping multiple faces from a single source image into multiple faces in a target image.

1.1.0

22 Jul 18:01
a9558e3
Compare
Choose a tag to compare
  • Added support for swapping all faces in a target image that contains multiple faces with the image in the source image.
  • Added support for providing target_index in the input field to specify the index of the face (left to right) that should be swapped in the target image if the target image contains multiple faces, where 0 is the first face, 1 is the second face, and so on.
  • Restructured the documentation, improved the examples and added a list of RunPod statuses.