File size: 3,024 Bytes
7596cc4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
  "model": "realesr_x4v3",
  "upstream": {
    "model": "xinntao/Real-ESRGAN realesr-general-x4v3 (GitHub release v0.2.5.0)",
    "weights": {
      "repo": "clavidk/realesr-general-x4v3",
      "revision": "6aecc46ba1fc8cfdfe8643f090782e2e62c044cd",
      "file": "realesr-general-x4v3.pth",
      "sha256": "8dc7edb9ac80ccdc30c3a5dca6616509367f05fbc184ad95b731f05bece96292",
      "official": false,
      "note": "community mirror of the official GitHub release asset; GitHub is not reachable from the export host"
    },
    "architecture_source": {
      "url": "https://files.pythonhosted.org/packages/b2/3e/e2f79917a04991b9237df264f7abab2b58cf94748e7acfb6677b55232ca1/realesrgan-0.3.0-py3-none-any.whl",
      "sha256": "59336c16c30dd5130eff350dd27424acb9b7281d18a6810130e265606c9a6088",
      "member": "realesrgan/archs/srvgg_arch.py",
      "package": "realesrgan==0.3.0 (PyPI, BSD-3-Clause)"
    },
    "license": "BSD-3-Clause"
  },
  "versions": {
    "python": "3.12.15+meta",
    "torch": "2.14.1+cpu",
    "torchao": "0.18.0+cpu",
    "executorch": "1.5.1+cpu",
    "executorch_git": "3b60683923245cf472b7323426920e15623ba361",
    "transformers": "5.19.0",
    "huggingface_hub": "2.2.0"
  },
  "export": {
    "api": "torch.export.export(strict=False) -> to_edge_transform_and_lower(partitioner=[WebGPUPartitioner()]) -> to_executorch()",
    "partitioner": "executorch.backends.webgpu.partitioner.WebGPUPartitioner() (default compile options; wraps VulkanPartitioner)",
    "inputs": [
      {
        "shape": [
          1,
          3,
          64,
          64
        ],
        "dtype": "float32",
        "layout": "NCHW"
      }
    ],
    "outputs": [
      {
        "shape": [
          1,
          3,
          256,
          256
        ],
        "dtype": "float32"
      }
    ],
    "dtype": "float32",
    "quantization": "none (fp32)",
    "preprocessing_outside_graph": "RGB / 255 -> [0, 1]",
    "postprocessing_outside_graph": "clamp to [0, 1], * 255",
    "scale": 4
  },
  "files": {
    "realesr_x4v3_webgpu.pte": {
      "bytes": 4913472,
      "sha256": "a4c40616767829cf6d3dab2c272b147764db1e2a01d610b2a4178e9153a66e5d"
    },
    "realesr_x4v3_portable.pte": {
      "bytes": 4897984,
      "sha256": "2cc91b1e2f4ddbbd904c8e397534f37ec0bf880b27f85d8b7da50a15dd7b83ec",
      "note": "CPU-only validation artifact (portable kernels, no delegate); not for release"
    }
  },
  "graph": {
    "non_delegated_kernels": {},
    "delegates": [
      {
        "id": "VulkanBackend",
        "ops": {
          "et_vk.prepack.default": 33,
          "aten.convolution.default": 34,
          "aten.view_copy.default": 33,
          "aten.gt.Scalar": 33,
          "aten.mul.Tensor": 33,
          "aten.where.self": 33,
          "aten.pixel_shuffle.default": 1,
          "aten.upsample_nearest2d.vec": 1,
          "aten.add.Tensor": 1
        },
        "inputs": 1,
        "outputs": 1
      }
    ]
  },
  "command": "python recipes/real-esrgan.py --out out/real-esrgan"
}