Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
79bc9e7
Initial commit
Tohrusky Jun 21, 2023
ec50f53
Update README.md
Tohrusky Jun 21, 2023
3088325
init
Tohrusky Jun 21, 2023
ba09366
i
Tohrusky Jun 21, 2023
117f472
i
Tohrusky Jun 21, 2023
7fbacc8
i
Tohrusky Jun 21, 2023
e95bc8d
i
Tohrusky Jun 21, 2023
50842e7
update
Tohrusky Jun 22, 2023
603215a
update
Tohrusky Jun 22, 2023
0c97fe3
update
Tohrusky Jun 22, 2023
914c6e2
update
Tohrusky Jun 22, 2023
da44554
update test
Tohrusky Jun 22, 2023
dfa6a05
update test
Tohrusky Jun 23, 2023
65b7df9
update test
Tohrusky Jun 23, 2023
5f8e21b
Create CI-test.yml
Tohrusky Jun 23, 2023
5811f45
update ci
Tohrusky Jun 23, 2023
ce0df9e
update ci
Tohrusky Jun 23, 2023
9558512
update ci
Tohrusky Jun 23, 2023
99fba04
update ci
Tohrusky Jun 23, 2023
e5163a7
update cpu test
Tohrusky Jun 23, 2023
43517ae
CI build
Tohrusky Jun 23, 2023
35c9c33
fix CI build
Tohrusky Jun 23, 2023
0cd9112
fix CI build
Tohrusky Jun 23, 2023
845f3f0
fix CI build
Tohrusky Jun 23, 2023
880da86
fix CI build
Tohrusky Jun 23, 2023
ed39c3a
fix CI build
Tohrusky Jun 23, 2023
bdecbd2
ADD Waifu2x ncnn
Tohrusky Jun 23, 2023
0c6123b
ADD SRMD ncnn
Tohrusky Jun 23, 2023
ef677d8
ADD Github Action Release
Tohrusky Jun 23, 2023
3d5d927
ADD README and Test Case
Tohrusky Jun 24, 2023
c4c4605
update README
Tohrusky Jun 24, 2023
5767da9
Update README.md
Tohrusky Jun 24, 2023
17fe507
remove unused lib
Tohrusky Jun 24, 2023
f24beab
update log
Tohrusky Jun 24, 2023
3779dd6
Update README.md
Tohrusky Jun 24, 2023
620cf74
Update README.md
Tohrusky Jun 24, 2023
2945d59
Update README.md
Tohrusky Jun 26, 2023
4f1aa5f
update log
Tohrusky Jun 26, 2023
21fed26
Merge remote-tracking branch 'origin/main'
Tohrusky Jun 26, 2023
3e9c3e8
update CI test and add auto open folder
Tohrusky Jun 26, 2023
2be03ed
FIX prefix-name error when target scale <= 0
Tohrusky Jun 27, 2023
211224a
update Log progress
Tohrusky Jun 28, 2023
c3a5be5
Update README.md
Tohrusky Jun 28, 2023
4c4e3ea
create PYPI Package. try import
Tohrusky Jun 29, 2023
74ac5d5
upload PYPI
Tohrusky Jun 29, 2023
ec411f3
upload PYPI
Tohrusky Jun 29, 2023
ad3dea1
upload pip test
Tohrusky Jun 29, 2023
57ada68
update pip ver
Tohrusky Jun 29, 2023
de229de
Update README.md
Tohrusky Jun 29, 2023
09a62a9
update pip CI test
Tohrusky Jun 29, 2023
56440e2
Merge remote-tracking branch 'origin/main'
Tohrusky Jun 29, 2023
f74d1e4
update pip CI test
Tohrusky Jun 29, 2023
b3264dc
Update README.md
Tohrusky Jun 29, 2023
8cae599
Update README.md
Tohrusky Jun 29, 2023
42580f3
update CI-test
Tohrusky Jun 29, 2023
fa24008
Merge remote-tracking branch 'origin/main'
Tohrusky Jun 29, 2023
4a1b834
Update README.md
Tohrusky Jun 29, 2023
96ff511
Update CItestpip.py
Tohrusky Jun 29, 2023
7c8c610
waifu2x-cunet BOOM on ubuntu cpu action
Tohrusky Jun 29, 2023
cfa47d4
Update issue templates
Tohrusky Jun 29, 2023
c0af2cb
Update README.md
Tohrusky Jul 1, 2023
b863a90
update config set, add base64
Tohrusky Jul 5, 2023
710b1a9
update reqs, add vulkan-1.dll in windows release
Tohrusky Jul 5, 2023
e301891
Merge pull request #1 from SRVFI-Raws/main
Tohrusky Jul 5, 2023
b5d6b0b
Update README.md
Tohrusky Jul 6, 2023
badc8ef
Merge pull request #2 from SRVFI-Raws/main
Tohrusky Jul 6, 2023
7499069
Default disable log saving
Tohrusky Jul 8, 2023
c83951c
Merge pull request #3 from SRVFI-Raws/main
Tohrusky Jul 8, 2023
6c57660
support RGBA image
Tohrusky Jul 12, 2023
f6c4182
Merge pull request #4 from SRVFI-Raws/main
Tohrusky Jul 12, 2023
0464353
Update setup.py
Tohrusky Jul 12, 2023
8774f69
Merge pull request #5 from SRVFI-Raws/main
Tohrusky Jul 12, 2023
a9dfdfe
Update README.md
Tohrusky Jul 16, 2023
baf345b
Merge pull request #6 from SRVFI-Raws/main
Tohrusky Jul 16, 2023
93617df
Update README.md
Tohrusky Jul 16, 2023
302ca9a
Merge pull request #7 from SRVFI-Raws/main
Tohrusky Jul 16, 2023
ae09db3
update __init__.py, add import
Tohrusky Jul 17, 2023
4eadd17
Merge pull request #8 from SRVFI-Raws/main
Tohrusky Jul 17, 2023
b8bf930
Update README.md
Tohrusky Jul 20, 2023
c6bcd40
增加导出的方法注释, ver 1.0.4
Tohrusky Jul 22, 2023
311fa52
Merge pull request #9 from SRVFI-Raws/main
Tohrusky Jul 22, 2023
2671f6e
Update and rename PIP-test.yml to pip-test.yml
Tohrusky Jul 22, 2023
f0bc5ad
Update README.md
Tohrusky Jul 22, 2023
a1d2336
Update pip-test.yml
Tohrusky Jul 22, 2023
8f96599
Update pip-test.yml
Tohrusky Jul 22, 2023
a44ce9a
fix python >= 3.8
Tohrusky Jul 22, 2023
dec9bb7
Merge pull request #10 from SRVFI-Raws/main
Tohrusky Jul 22, 2023
c2c2d2b
Update requirements.txt
Tohrusky Aug 23, 2023
cbed95b
Update requirements.txt
Tohrusky Jan 1, 2024
1f17c2c
refactor: PDM (#12)
Tohrusky Jan 1, 2024
3c8a47d
ci: codecov (#13)
Tohrusky Jan 1, 2024
09be75f
ci: update pyinstaller (#14)
Tohrusky Jan 1, 2024
c1bf9ef
feat: add frozen flag (#15)
Tohrusky Jan 1, 2024
d4c9575
feat: Support Grayscale Image (#16)
Tohrusky Jan 1, 2024
792e90f
release: v2.0.0
Tohrusky Jan 1, 2024
4453f6f
Refactor auth models (#17)
Tohrusky Jun 28, 2024
2fa106f
feat: add new model APISR-RRDB (#18)
Tohrusky Jun 28, 2024
ce4ca12
fix: folder hash error (#19)
Tohrusky Jun 28, 2024
531b864
fix: github actions, build macos x64/arm64 (#20)
Tohrusky Jul 1, 2024
80d1be9
feat: option for not opening output folder (#21)
Tohrusky Sep 23, 2024
fea15f1
release: 2.1.0 (#22)
Tohrusky Sep 23, 2024
57cda8d
fix: test util (campare scale
Tohrusky Oct 1, 2024
e71ab61
refactor: use ccrestoration as core impl
Face1essboy Nov 8, 2024
3ba7874
fix: ci (#24)
Tohrusky Nov 8, 2024
9576fa6
build: bump ccrestoration to v0.1.2 (#25)
Tohrusky Nov 9, 2024
4fe1a73
release: v3.0.1 (#26)
Tohrusky Nov 9, 2024
0da0246
feat: reserve interface for other torch devices (#27)
Tohrusky Nov 19, 2024
69ad444
build: bump ccrestoration to v0.2.1 (#28)
routineLife1 Dec 14, 2024
022c05d
release: v3.1.0 (#29)
Tohrusky Dec 14, 2024
789fcb8
ci: update && drop support for macos x86 (#30)
Tohrusky Aug 1, 2025
da1ae8e
ci: update PyTorch version to 2.7.1 cu128 (support 50' series) (#31)
Tohrusky Aug 1, 2025
d507835
ci: update test_build (#32)
Tohrusky Aug 11, 2025
c2965de
version: 3.1.1 (#33)
Tohrusky Aug 12, 2025
504c851
Update README.md
Tohrusky Aug 12, 2025
6ec9b06
ci: fix actions/upload-artifact@v4 (#34)
Tohrusky Aug 12, 2025
882a4f3
feat: option for using tile (#35)
Tohrusky Aug 15, 2025
73605bd
feat: support more save format (#36)
Tohrusky Aug 15, 2025
09b6e56
version: 3.2.0 (#37)
Tohrusky Aug 15, 2025
28bb64f
chore: rename org (#39)
NULL204 Sep 9, 2025
7b0757c
build: bump ccrestoration to 0.2.2 (#40)
Tohrusky Sep 9, 2025
ce074c0
build: use uv as pkg manager (#41)
Tohrusky Sep 22, 2025
329f200
feat: replace ccrestoration with cccv (#42)
Tohrusky Sep 27, 2025
dfa4525
release: v4.0.0 (#43)
Tohrusky Sep 27, 2025
b904b89
feat: add precision option (fp32/fp16/bf16)
NULL204 Jun 16, 2026
e7fe1cb
feat: add precision option (fp32/fp16/bf16) in settings
NULL204 Jun 16, 2026
0442167
chore: import Final2x-core into monorepo
NULL204 Jul 11, 2026
2eaf132
refactor: build Final2x core from monorepo source
NULL204 Jul 11, 2026
dee213e
ci: release desktop and PyPI artifacts from one tag
NULL204 Jul 11, 2026
a2c722b
ci: use packageManager pnpm version in workflows
NULL204 Jul 11, 2026
3200491
style: align workspace lint configuration
NULL204 Jul 11, 2026
24d609e
fix: resolve PyInstaller inputs from repository root
NULL204 Jul 11, 2026
fcb2a4d
ci: publish only after all release builds pass
NULL204 Jul 11, 2026
75b2da0
fix: address core integration review feedback
NULL204 Jul 11, 2026
dc6aa75
fix: address Copilot review feedback
NULL204 Jul 12, 2026
ef49854
ci: make release validation fork-safe
NULL204 Jul 23, 2026
1cd7c2a
ci: split oversized Windows release archives
NULL204 Jul 23, 2026
bc40037
refactor: move core to top-level directory
NULL204 Aug 9, 2026
f2d1a0f
chore: unify repository lint commands
NULL204 Aug 9, 2026
b3b2554
fix: preserve core bundle symlinks
NULL204 Aug 9, 2026
668a6f0
refactor: align core packaging flow
NULL204 Aug 11, 2026
e0d2ced
ci: preserve unpacked archive layout
NULL204 Aug 11, 2026
169bb1e
ci: verify packaged core is self-contained
NULL204 Aug 11, 2026
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
194 changes: 99 additions & 95 deletions .github/workflows/CI-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,170 +2,174 @@ name: CI-build

on:
push:
branches:
- main
branches: [main]
paths-ignore:
- '**.md'
- LICENSE
pull_request:
branches: [main]
paths-ignore:
- '**.md'
- LICENSE
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ci-build-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
windows:
strategy:
fail-fast: false
matrix:
os-version: ['x64', 'arm64']

arch: [x64, arm64]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-node@v4
with:
node-version: 22

- uses: pnpm/action-setup@v4

- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: 10
version: 0.11.28
python-version: '3.11'
enable-cache: true
cache-dependency-glob: core/uv.lock

- name: build
- name: Install dependencies
run: |
pnpm install
pnpm fetchcore
pnpm run build:win-${{ matrix.os-version }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
pnpm install --frozen-lockfile
uv sync --project core --locked --no-default-groups --group dev

- name: zip-unpacked-x64
if: matrix.os-version == 'x64'
run: |
cd .\dist\win-unpacked
7z a -r Final2x-windows-${{ matrix.os-version }}-unpacked.7z *
- name: Build bundled core
run: pnpm run core:bundle

- name: zip-unpacked-arm64
if: matrix.os-version == 'arm64'
run: |
cd .\dist\win-arm64-unpacked
7z a -r Final2x-windows-${{ matrix.os-version }}-unpacked.7z *
- name: Copy bundled core
run: Copy-Item core\dist\Final2x-core resources\Final2x-core -Recurse

- name: upload-unpacked-x64
if: matrix.os-version == 'x64'
uses: actions/upload-artifact@v4
with:
name: Final2x-windows-${{ matrix.os-version }}-unpacked
path: dist/win-unpacked/*.7z
- name: Smoke-test bundled core
run: resources\Final2x-core\Final2x-core.exe -h

- name: upload-unpacked-arm64
if: matrix.os-version == 'arm64'
- name: Build desktop app
run: pnpm run build:win-${{ matrix.arch }}
env:
GH_TOKEN: ${{ github.token }}

- name: Archive unpacked app
shell: pwsh
run: |
$directory = if ('${{ matrix.arch }}' -eq 'x64') { 'dist/win-unpacked' } else { 'dist/win-arm64-unpacked' }
Push-Location $directory
7z a -mx=1 -r "Final2x-windows-${{ matrix.arch }}-unpacked.7z" *
Pop-Location

- name: Upload unpacked app
uses: actions/upload-artifact@v4
with:
name: Final2x-windows-${{ matrix.os-version }}-unpacked
path: dist/win-arm64-unpacked/*.7z
name: Final2x-windows-${{ matrix.arch }}-unpacked
path: |
dist/win-unpacked/Final2x-windows-${{ matrix.arch }}-unpacked.7z
dist/win-arm64-unpacked/Final2x-windows-${{ matrix.arch }}-unpacked.7z

macos:
strategy:
matrix:
os-version: ['arm64']

runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-node@v4
with:
node-version: 22

- uses: pnpm/action-setup@v4

- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: 10
version: 0.11.28
python-version: '3.11'
enable-cache: true
cache-dependency-glob: core/uv.lock

- name: build
- name: Install dependencies
run: |
pnpm install
pnpm fetchcore
pnpm run build:mac-${{ matrix.os-version }}
pnpm install --frozen-lockfile
uv sync --project core --locked --no-default-groups --group dev

- name: Build bundled core
run: pnpm run core:bundle

- name: Copy bundled core
run: cp -R core/dist/Final2x-core resources/

- name: Smoke-test bundled core
run: resources/Final2x-core/Final2x-core -h

- name: Build desktop app
run: pnpm run build:mac-arm64
env:
ARCH: ${{ matrix.os-version }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ github.token }}

- name: zip-unpacked-arm64
if: matrix.os-version == 'arm64'
- name: Smoke-test self-contained packaged core
run: |
cd ./dist/mac-arm64
7z a -r Final2x-macos-${{ matrix.os-version }}-unpacked.7z *
mv core/dist/Final2x-core "$RUNNER_TEMP/Final2x-core-build"
mv resources/Final2x-core "$RUNNER_TEMP/Final2x-core-staged"
dist/mac-arm64/Final2x.app/Contents/Resources/Final2x-core/Final2x-core -h

- name: upload-dmg
- name: Archive unpacked app
run: |
cd dist/mac-arm64
7z a -mx=1 -r Final2x-macos-arm64-unpacked.7z ./*

- name: Upload dmg
uses: actions/upload-artifact@v4
with:
name: Final2x-macos-${{ matrix.os-version }}-dmg
name: Final2x-macos-arm64-dmg
path: dist/*.dmg

- name: upload-unpacked-arm64
if: matrix.os-version == 'arm64'
- name: Upload unpacked app
uses: actions/upload-artifact@v4
with:
name: Final2x-macos-${{ matrix.os-version }}-unpacked
path: dist/mac-arm64/*.7z

linux-pip:
strategy:
matrix:
os-version: ['x64']
name: Final2x-macos-arm64-unpacked
path: dist/mac-arm64/Final2x-macos-arm64-unpacked.7z

linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-node@v4
with:
node-version: 22

- uses: pnpm/action-setup@v4
with:
version: 10

- name: build
run: |
pnpm install
pnpm run build:linux-${{ matrix.os-version }}
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build desktop app
run: pnpm run build:linux-x64
env:
SKIP_DOWNLOAD_CORE: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ github.token }}

- name: zip-unpacked
- name: Archive unpacked app
run: |
cd ./dist/linux-unpacked
7z a -r Final2x-linux-pip-${{ matrix.os-version }}-unpacked.7z *

- name: upload-snap
uses: actions/upload-artifact@v4
with:
name: Final2x-linux-pip-${{ matrix.os-version }}-snap
path: dist/*.snap

- name: upload-AppImage
uses: actions/upload-artifact@v4
with:
name: Final2x-linux-pip-${{ matrix.os-version }}-AppImage
path: dist/*.AppImage

- name: upload-deb
uses: actions/upload-artifact@v4
with:
name: Final2x-linux-pip-${{ matrix.os-version }}-deb
path: dist/*.deb
cd dist/linux-unpacked
7z a -mx=1 -r Final2x-linux-pip-x64-unpacked.7z ./*

- name: upload-unpacked
- name: Upload packages
uses: actions/upload-artifact@v4
with:
name: Final2x-linux-pip-${{ matrix.os-version }}-unpacked
path: dist/linux-unpacked/*.7z
name: Final2x-linux-pip-x64
path: |
dist/*.snap
dist/*.AppImage
dist/*.deb
dist/linux-unpacked/Final2x-linux-pip-x64-unpacked.7z
Loading
Loading