File size: 5,692 Bytes
cbf1d02
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
  "schema": "medotter/graph-provenance/v1",
  "source": {
    "file": "ACDC.pth",
    "sha256": "3427e8c552a7167cc4a5dfc61486e1a124e397af102afdb3b19525f48338487e",
    "reference": "ACDC.pth",
    "model": "Swin_umambaD",
    "declaration_source": "sidecar",
    "declaration": [
      {
        "file": "ACDC.pth.config.json",
        "sha256": "c8e4377b1970747a210071f4c035159077f1a4a7d46c82447932f655400fd61e"
      }
    ],
    "float32_vs_float64": {
      "shape": [
        1,
        3,
        256,
        256
      ],
      "torch": "ok",
      "float64": "ok",
      "threads": 8,
      "max_abs_diff": 7.037860967784582e-06,
      "scale": 9.683180101997637,
      "rel_diff": 7.268129781385222e-07,
      "kernel_noise_rel": 1.1326087919988574e-06
    }
  },
  "graph": {
    "kind": "onnx",
    "file": "ACDC.onnx",
    "sha256": "a2f6271021482b1bf219c1b33b8de44b4d2335819be26c779e2341a43d2c8581",
    "bytes": 113621608,
    "opset": 17,
    "dynamic": false,
    "reason": "trace_specialised",
    "input": "image",
    "output": "logits",
    "input_channel": 3,
    "num_classes": 4,
    "size": [
      256,
      256
    ]
  },
  "exporter": {
    "api": "torch.onnx.export",
    "name": "torchscript",
    "dynamo": false,
    "registered_symbolics": {
      "aten::_convolution_mode": 17,
      "aten::add": 17,
      "aten::roll": 17,
      "aten::rsub": 17,
      "aten::sub": 17,
      "aten::upsample_nearest2d": 17
    },
    "producer": "pytorch 2.13.0",
    "torch": "2.13.0+cpu",
    "onnx": "1.22.0",
    "onnxruntime": "1.29.0"
  },
  "verification_input": {
    "kind": "smooth_random_field",
    "distribution": "normal",
    "coarse_factor": 16,
    "min_coarse": 4,
    "interpolation": "bilinear",
    "align_corners": false,
    "seed": 0,
    "pixel_domain": null,
    "pixel_mean": null,
    "pixel_std": null,
    "through_contract": false
  },
  "attempts": [
    {
      "mode": "dynamic",
      "exporter": "torchscript",
      "outcome": "fell_back",
      "reason": "trace_specialised",
      "error": null,
      "verification": [
        {
          "shape": [
            1,
            3,
            256,
            256
          ],
          "torch": "ok",
          "graph": "ok",
          "max_abs_diff": 1.1444091796875e-05,
          "scale": 9.68317985534668,
          "rel_diff": 1.181852652520547e-06
        },
        {
          "shape": [
            1,
            3,
            320,
            320
          ],
          "torch": "ok",
          "graph": "ok",
          "max_abs_diff": 0.35497546195983887,
          "scale": 9.628925323486328,
          "rel_diff": 0.03686553276033857
        },
        {
          "shape": [
            1,
            3,
            224,
            224
          ],
          "torch": "ok",
          "graph": "ok",
          "max_abs_diff": 6.67572021484375e-06,
          "scale": 9.571128845214844,
          "rel_diff": 6.974851475519866e-07
        },
        {
          "shape": [
            1,
            3,
            512,
            512
          ],
          "torch": "ok",
          "graph": "ok",
          "max_abs_diff": 0.8136811256408691,
          "scale": 9.701133728027344,
          "rel_diff": 0.08387484890452339
        },
        {
          "shape": [
            2,
            3,
            256,
            256
          ],
          "torch": "ok",
          "graph": "ok",
          "max_abs_diff": 9.5367431640625e-06,
          "scale": 9.683180809020996,
          "rel_diff": 9.848771134354867e-07
        }
      ]
    },
    {
      "mode": "static",
      "exporter": "torchscript",
      "outcome": "kept",
      "reason": "trace_specialised",
      "error": null,
      "verification": [
        {
          "shape": [
            1,
            3,
            256,
            256
          ],
          "torch": "ok",
          "graph": "ok",
          "max_abs_diff": 1.1444091796875e-05,
          "scale": 9.68317985534668,
          "rel_diff": 1.181852652520547e-06
        }
      ]
    }
  ],
  "verification": [
    {
      "shape": [
        1,
        3,
        256,
        256
      ],
      "torch": "ok",
      "graph": "ok",
      "max_abs_diff": 1.1444091796875e-05,
      "scale": 9.68317985534668,
      "rel_diff": 1.181852652520547e-06
    }
  ],
  "exported_at": "2026-09-10T05:12:13+00:00",
  "release": {
    "repo": "MedOtter/Swin_umambaD",
    "revision": "c9dad9526b44d1ef6825178c95277fe03db5990b",
    "pth_file": "ACDC.pth",
    "pth_sha256": "3427e8c552a7167cc4a5dfc61486e1a124e397af102afdb3b19525f48338487e",
    "sidecar_sha256": "9867fc324419b3f483f4f5b56708a3271f503d4c68bf7fdb4c768189884baefb",
    "sidecar_source": "hub",
    "group": "checkout_only",
    "reason": "trace_specialised",
    "dynamic_attempt": null,
    "reference_check": {
      "dataset": "ACDC",
      "split": "test",
      "samples": 4,
      "reproducible": true,
      "status": "pass",
      "sizes": [
        {
          "size": [
            256,
            256
          ],
          "predict_masks_equal": 4,
          "pixels": 262144,
          "disagreeing_pixels": 0,
          "unexplained_pixels": 0,
          "max_abs_diff": 6.198883056640625e-06,
          "scale": 9.608024597167969,
          "rel_diff": 6.451776839193135e-07,
          "float32_vs_float64": {
            "max_abs_diff": 6.485605160477803e-06,
            "scale": 9.608025274628691,
            "rel_diff": 6.750195773947362e-07,
            "samples": 4,
            "of": 4,
            "complete": true
          }
        }
      ]
    },
    "tool": "tools/hf_onnx_export.py",
    "stamped_at": "2026-09-10T05:21:06+00:00"
  }
}