diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..869951b54cb51d4b31be0325c922aa2ed7c4b036 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,35 +1,13 @@ -*.7z filter=lfs diff=lfs merge=lfs -text -*.arrow filter=lfs diff=lfs merge=lfs -text +*.plan filter=lfs diff=lfs merge=lfs -text *.bin filter=lfs diff=lfs merge=lfs -text -*.bz2 filter=lfs diff=lfs merge=lfs -text -*.ckpt filter=lfs diff=lfs merge=lfs -text -*.ftz filter=lfs diff=lfs merge=lfs -text -*.gz filter=lfs diff=lfs merge=lfs -text -*.h5 filter=lfs diff=lfs merge=lfs -text -*.joblib filter=lfs diff=lfs merge=lfs -text -*.lfs.* filter=lfs diff=lfs merge=lfs -text -*.mlmodel filter=lfs diff=lfs merge=lfs -text -*.model filter=lfs diff=lfs merge=lfs -text -*.msgpack filter=lfs diff=lfs merge=lfs -text -*.npy filter=lfs diff=lfs merge=lfs -text -*.npz filter=lfs diff=lfs merge=lfs -text -*.onnx filter=lfs diff=lfs merge=lfs -text -*.ot filter=lfs diff=lfs merge=lfs -text -*.parquet filter=lfs diff=lfs merge=lfs -text -*.pb filter=lfs diff=lfs merge=lfs -text -*.pickle filter=lfs diff=lfs merge=lfs -text -*.pkl filter=lfs diff=lfs merge=lfs -text -*.pt filter=lfs diff=lfs merge=lfs -text -*.pth filter=lfs diff=lfs merge=lfs -text -*.rar filter=lfs diff=lfs merge=lfs -text -*.safetensors filter=lfs diff=lfs merge=lfs -text -saved_model/**/* filter=lfs diff=lfs merge=lfs -text -*.tar.* filter=lfs diff=lfs merge=lfs -text -*.tar filter=lfs diff=lfs merge=lfs -text -*.tflite filter=lfs diff=lfs merge=lfs -text -*.tgz filter=lfs diff=lfs merge=lfs -text -*.wasm filter=lfs diff=lfs merge=lfs -text -*.xz filter=lfs diff=lfs merge=lfs -text -*.zip filter=lfs diff=lfs merge=lfs -text -*.zst filter=lfs diff=lfs merge=lfs -text -*tfevents* filter=lfs diff=lfs merge=lfs -text +*.so filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.cubin binary +*.png binary +example/expected_0.png filter=lfs diff=lfs merge=lfs -text +example/expected_1.png filter=lfs diff=lfs merge=lfs -text +example/expected_2.png filter=lfs diff=lfs merge=lfs -text +data/kernels/k4f071f90f54f9ce0.cubin filter=lfs diff=lfs merge=lfs -text +data/kernels/k5cc48966ccd2942d.cubin filter=lfs diff=lfs merge=lfs -text +data/kernels/k6e3fb66aff962131.cubin filter=lfs diff=lfs merge=lfs -text +data/kernels/kc45d3a93621fc33d.cubin filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..c57b5a5ed8c152fa4f83ef629cc08ed0601120fa --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.venv/ +__pycache__/ +*.pyc +.pytest_cache/ +build/ +*.egg-info/ +dist/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..29ce710988fad6cd953824b6bd2ab80bbaeecbe1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +The runtime software newly authored for this bundle is licensed under +the Apache License, Version2.0. The complete text is in licenses/APACHE-2.0.txt. + +Generated and adapted third-party kernel code retains its applicable upstream +terms. See NOTICE and the license texts in licenses/ and third_party/. + +THIS RUNTIME LICENSE DOES NOT GRANT RIGHTS TO THE SYNCFIX MODEL WEIGHTS, +TENSORRT PLANS, OR OTHER MODEL-DERIVED ARTIFACTS. + +Model assets retain their respective upstream terms. Inherited SDXL components +are additionally subject to the included CreativeML Open RAIL++-M license. +See NOTICE for applicable attribution and licensing terms. diff --git a/MANIFEST.json b/MANIFEST.json new file mode 100644 index 0000000000000000000000000000000000000000..1a1954e5b72e4446eb39e197ff1d334acf3b201d --- /dev/null +++ b/MANIFEST.json @@ -0,0 +1,574 @@ +{ + "schema_version": 1, + "kind": "syncfix-h100-file-manifest", + "files": { + ".gitattributes": { + "bytes": 373, + "sha256": "6475d566b05225d58cebd5f6df49f1d78818df2353f0a35bc9d9c5fb3429c3a6" + }, + ".gitignore": { + "bytes": 66, + "sha256": "2934dee9eade1a659f7c7edf4b6ef8527317c4ea2f46295313666aea98d2e412" + }, + "LICENSE": { + "bytes": 639, + "sha256": "9ef0255aceef18b2585938890e167e94f9fbdcf61e88c638dc7efcb0fedeaaaf" + }, + "NOTICE": { + "bytes": 1166, + "sha256": "7ea5a12b153415cb70e08471e3814befeebae06e06a1a1ddae0af64f435c1b7d" + }, + "README.md": { + "bytes": 3721, + "sha256": "eed71bc211817776652a9b3baf92ffdc9847e660b297dbc88c3987c3ea9677ab" + }, + "bundle.json": { + "bytes": 22425, + "sha256": "39db8428c1236e6f406478cbb25e6984ffabdcca2ea691f43b573ffe440a8c20" + }, + "data/kernels/k06a11980b76ed72d.cubin": { + "bytes": 23344, + "sha256": "06a11980b76ed72d11d5bb51f2b1f153d4079ef5c317b41754ae8d2f2558f9b4" + }, + "data/kernels/k07712231a238b47e.cubin": { + "bytes": 6664, + "sha256": "07712231a238b47eb21f52101aba783eca8877bcfa0231e0887710844243f7f5" + }, + "data/kernels/k0fbadc80807d275f.cubin": { + "bytes": 45984, + "sha256": "0fbadc80807d275f4b68c88eb01885ad8e94a166dd68d5d75dca883a952268f4" + }, + "data/kernels/k1331b722f552a237.cubin": { + "bytes": 24480, + "sha256": "1331b722f552a2370a9d452c841bfd7a3794fd3a0416f830756c417960429689" + }, + "data/kernels/k142a6c21bf1f8185.cubin": { + "bytes": 44048, + "sha256": "142a6c21bf1f8185f3a03ab41cf2791bb417bcb953c37b0a0016356794006aba" + }, + "data/kernels/k1480dc2ccc5cb528.cubin": { + "bytes": 27320, + "sha256": "1480dc2ccc5cb528f2c6f0cda47aed673be7225ac295dfebbf7bdeb53651df99" + }, + "data/kernels/k18e80082c3cf8b24.cubin": { + "bytes": 9904, + "sha256": "18e80082c3cf8b24853a06892b76ef169003b960f8e9d2b61d5ba02dfedc5f09" + }, + "data/kernels/k1d38cc244fe0fc71.cubin": { + "bytes": 31168, + "sha256": "1d38cc244fe0fc7119b4a61265b1476b549a69095c3dd9acc11e4725c3848e55" + }, + "data/kernels/k1e087b3f9dfe1835.cubin": { + "bytes": 33568, + "sha256": "1e087b3f9dfe1835006e4c219352d20474b312059a2634cf62f0c71d5e9eb34e" + }, + "data/kernels/k1f868ddff2c13780.cubin": { + "bytes": 29496, + "sha256": "1f868ddff2c137803dcd4186140d797592ecdb6900541f1f645d3791abb59459" + }, + "data/kernels/k23c215ae8d54692b.cubin": { + "bytes": 19504, + "sha256": "23c215ae8d54692b6521685969dc2d08f54f90432d11f1140aaa0cbef1934013" + }, + "data/kernels/k25cf62ab1bec8951.cubin": { + "bytes": 38960, + "sha256": "25cf62ab1bec895100af4ec4cdcf27f09e3b37ca6926ac1406fc4aa417588bb6" + }, + "data/kernels/k29a9d1c90660c2bd.cubin": { + "bytes": 14000, + "sha256": "29a9d1c90660c2bd16d8a74826944d7c1e1c38a25022bde2a7c88b146e88f756" + }, + "data/kernels/k2a9cf52c283aa49d.cubin": { + "bytes": 22200, + "sha256": "2a9cf52c283aa49d2a5b1eda6e5731751ff53ca28d78518e108e14d52a4ade2c" + }, + "data/kernels/k2b3852e8a81db8c6.cubin": { + "bytes": 20128, + "sha256": "2b3852e8a81db8c6bcae119e6b17d98278beb157c87318b736f4ced77756f3ff" + }, + "data/kernels/k2b65710f0a57eb38.cubin": { + "bytes": 12072, + "sha256": "2b65710f0a57eb383ea4782c557ba0c04f7cec36cd262722ee1d03709f0a9997" + }, + "data/kernels/k2bfe23a8f3ab3bd1.cubin": { + "bytes": 21688, + "sha256": "2bfe23a8f3ab3bd1545170e5ef1204a62acf12b15fcd25ff74bc68de687aa3dd" + }, + "data/kernels/k2bff19dff7f67a42.cubin": { + "bytes": 51872, + "sha256": "2bff19dff7f67a4280239b19826a646351f159e8f42100ce5c5565b0a4b4c183" + }, + "data/kernels/k2fb476de8c736cf5.cubin": { + "bytes": 53696, + "sha256": "2fb476de8c736cf51b907eabd97b2a58bf46896d30d411b115933314ef9ec4db" + }, + "data/kernels/k3556a6814cae0b8e.cubin": { + "bytes": 16816, + "sha256": "3556a6814cae0b8ee07b463d0894bf740d17caf6b927a11c01eeb22d40dc18dc" + }, + "data/kernels/k3bab5fd7942d007f.cubin": { + "bytes": 49976, + "sha256": "3bab5fd7942d007f14fa031b5e57b02fd1af415403698d5fcd4b5c764fbb4834" + }, + "data/kernels/k3c2124db7e6745f3.cubin": { + "bytes": 69784, + "sha256": "3c2124db7e6745f3e31f77d805ab9cddaf3dbd08635efc2b8dd3488e9cc0549c" + }, + "data/kernels/k3c6b5de98b4a2f9b.cubin": { + "bytes": 66080, + "sha256": "3c6b5de98b4a2f9bbe00920556c9e6197406a10aae9a2c58f670da85fc906217" + }, + "data/kernels/k3cf514358fc927b2.cubin": { + "bytes": 18872, + "sha256": "3cf514358fc927b2e614d028a0c1775383d2097f16f517f00edf08a8f3b4b95c" + }, + "data/kernels/k41d9be2fa5a25ba9.cubin": { + "bytes": 54328, + "sha256": "41d9be2fa5a25ba9811b25e8050b5c373e521b2e384c9b57414ddc60d78465ac" + }, + "data/kernels/k42fea12aa4566f83.cubin": { + "bytes": 52800, + "sha256": "42fea12aa4566f837348e7002d0f82fdb92237a60bea2cf25e437220ef8209bf" + }, + "data/kernels/k454bf66d3a820343.cubin": { + "bytes": 11048, + "sha256": "454bf66d3a82034309921b467c8ed4afed060c90af0c363f86cb1e49e7752629" + }, + "data/kernels/k46a3a8f6de01561b.cubin": { + "bytes": 8360, + "sha256": "46a3a8f6de01561b335c644e9d828cc96fa9aaa235532d4a2698eb963c7f446e" + }, + "data/kernels/k48a7c52f83183fa2.cubin": { + "bytes": 8992, + "sha256": "48a7c52f83183fa279e229e90d73b26d373097b486fd5e5caf10d4c904faab18" + }, + "data/kernels/k490a3287d2c5867b.cubin": { + "bytes": 22568, + "sha256": "490a3287d2c5867bc9a62cda361fbfd2574a12f0f9b0667410bdbc9648404f44" + }, + "data/kernels/k49cf04acefb68280.cubin": { + "bytes": 38080, + "sha256": "49cf04acefb68280a11de65266296824dfd5d3f9021e3e46e6a3fd0783b699a4" + }, + "data/kernels/k49d18b17e0267dcf.cubin": { + "bytes": 45976, + "sha256": "49d18b17e0267dcf0fb7ba20d6a411c1344dbfc1b8e43cca422bbb85e6c6ee8b" + }, + "data/kernels/k4f071f90f54f9ce0.cubin": { + "bytes": 131928, + "sha256": "4f071f90f54f9ce0f71fb2fccf83eb7ad18f6ea9a203c1a7dd385bad5a26f46f" + }, + "data/kernels/k4f6ffeb7d8d294a9.cubin": { + "bytes": 53944, + "sha256": "4f6ffeb7d8d294a9ce687af70df2ec20d0beca6537b842fc857d98cbc1260144" + }, + "data/kernels/k5089d63539923526.cubin": { + "bytes": 15176, + "sha256": "5089d6353992352601aae66d8c2fbe534e31ec964bd12043f824ea4c72bfc9d7" + }, + "data/kernels/k57af082950f3547f.cubin": { + "bytes": 35488, + "sha256": "57af082950f3547f5a9fc1671a3d72e6b5a4b1b4db3ced839c546b6c19714928" + }, + "data/kernels/k59e07b7b2bc428d5.cubin": { + "bytes": 10160, + "sha256": "59e07b7b2bc428d5d6e01ff37ca4d8e3c5afea86b05d14a330bf03bc34c733fc" + }, + "data/kernels/k59f27926302a4996.cubin": { + "bytes": 12584, + "sha256": "59f27926302a49960152ed2816f9940fabb33e660f488cf3aeb92f1c2f3b0e60" + }, + "data/kernels/k5c3ba72c4dd18400.cubin": { + "bytes": 36512, + "sha256": "5c3ba72c4dd184006f63af56e5f77e073534dce001621578fbd97629b552b65e" + }, + "data/kernels/k5cc48966ccd2942d.cubin": { + "bytes": 132568, + "sha256": "5cc48966ccd2942de2388bcb26d9cbdec0314514f1fea5db9db4019f1795171d" + }, + "data/kernels/k5e792f984fcc4459.cubin": { + "bytes": 99760, + "sha256": "5e792f984fcc44596d47752b045eb0bd6fd0ded15e02304dd1d5cccfad270f54" + }, + "data/kernels/k6091ac5903a49fe7.cubin": { + "bytes": 22688, + "sha256": "6091ac5903a49fe78896a287291ba531c187cc07ee7b565bdfb9850c8e8000d4" + }, + "data/kernels/k61e5d8bce63125bd.cubin": { + "bytes": 59544, + "sha256": "61e5d8bce63125bd7bf243b3ab1762f804d001671b519f1cff312b9b36e0d689" + }, + "data/kernels/k658ff6e60d427c98.cubin": { + "bytes": 27184, + "sha256": "658ff6e60d427c989900be1bcff0026a0f03794c02db85057148140a8db89238" + }, + "data/kernels/k66f9a30694c1708d.cubin": { + "bytes": 7312, + "sha256": "66f9a30694c1708dc0ace5f35669e3622c6a0c9b271a8b0b6022afc7e8613265" + }, + "data/kernels/k6e3fb66aff962131.cubin": { + "bytes": 141464, + "sha256": "6e3fb66aff962131cd808cb39c222c44261e14dca73595516e4c81ae8a5b5055" + }, + "data/kernels/k6ee10c6a02bb18c4.cubin": { + "bytes": 41632, + "sha256": "6ee10c6a02bb18c4a7f6aecef0bae8453ec859c65671091890f688a7fd8a6d1d" + }, + "data/kernels/k71bae1c6b1c96e9b.cubin": { + "bytes": 22184, + "sha256": "71bae1c6b1c96e9ba7b13b6bf5d81c468c84cff0099289156f9cce7a22f10608" + }, + "data/kernels/k78fef3ea328b7e61.cubin": { + "bytes": 29864, + "sha256": "78fef3ea328b7e614bb8effe62a7fd9804746b189d298befa4328b5e420d6bfd" + }, + "data/kernels/k7cc5d925e0963247.cubin": { + "bytes": 96152, + "sha256": "7cc5d925e0963247e8d0e92fdd69872e43fe5efc0a66561aa63c564191ba82ea" + }, + "data/kernels/k7d815dbee0c85426.cubin": { + "bytes": 90904, + "sha256": "7d815dbee0c854266d67070eac96e8b482ef3eb07f208478af65ecdd7f5f3d65" + }, + "data/kernels/k800e8c9c4af72fb2.cubin": { + "bytes": 18608, + "sha256": "800e8c9c4af72fb283e5acf169c4c16e4c47ab2769cd03c83ff6908540f1396e" + }, + "data/kernels/k836b3be3eb751a14.cubin": { + "bytes": 42680, + "sha256": "836b3be3eb751a14932a1d9ec7c40f84264b74e74717d9b474fb27c4298f2876" + }, + "data/kernels/k83a9909d331cf7c4.cubin": { + "bytes": 57752, + "sha256": "83a9909d331cf7c4ae4c8a2a1cc4b106be00ef86ef4f841a3662469596e2e8de" + }, + "data/kernels/k855c87a1f6b212c2.cubin": { + "bytes": 29624, + "sha256": "855c87a1f6b212c25464fd1c62dee189e5cc15f3d781eef33ea514af15781fa6" + }, + "data/kernels/k87ed7cb3cac2c0e0.cubin": { + "bytes": 8744, + "sha256": "87ed7cb3cac2c0e0bc57d15652f21af120b56a2c396a769015f4e0634cad340d" + }, + "data/kernels/k9024653d3f4130fd.cubin": { + "bytes": 31824, + "sha256": "9024653d3f4130fd3d23a8b02ede0bb1912cf33e1d445fcfa22a3adec59bf9e0" + }, + "data/kernels/k92e73094701dfc64.cubin": { + "bytes": 10928, + "sha256": "92e73094701dfc649a012e0d4fc143dd40b2a37016f79d49befbd01b146cceab" + }, + "data/kernels/k932db95de012e93d.cubin": { + "bytes": 26792, + "sha256": "932db95de012e93d091ebf75601818f39b57cdcd38b85114ee7a96e067351a6e" + }, + "data/kernels/k98f9ac9d99eaa20c.cubin": { + "bytes": 17960, + "sha256": "98f9ac9d99eaa20cb4d1898e1b5c77a9b739e83242b94d0d0bdd9a6c0a9628c7" + }, + "data/kernels/k99352d845a5ff8f7.cubin": { + "bytes": 21576, + "sha256": "99352d845a5ff8f7393d04197e67a2af6ab83b3cd23707c85ad97ab0689cc083" + }, + "data/kernels/k9f5ee10dfba65cbf.cubin": { + "bytes": 10920, + "sha256": "9f5ee10dfba65cbf2d3798bfcf1617d64f5fc9f2ab50d8fd0b15df70ad96e7d7" + }, + "data/kernels/ka11e006b70dffa22.cubin": { + "bytes": 46352, + "sha256": "a11e006b70dffa2211586f115980c28229ee22465a39a4ddf53e3b96d3cfb886" + }, + "data/kernels/ka5be52defa59afd3.cubin": { + "bytes": 17448, + "sha256": "a5be52defa59afd38505bf5891218347b60c8cfc6a1f18e3334b7a6c37522885" + }, + "data/kernels/ka5d5f3bc43413fb4.cubin": { + "bytes": 58160, + "sha256": "a5d5f3bc43413fb4921b638ae8fb26d8746621445cdf603da517a040011d06f2" + }, + "data/kernels/ka697482ca59f3cb6.cubin": { + "bytes": 11080, + "sha256": "a697482ca59f3cb6b09b7a9281491d95fe2c16c860f7d9df902bca4ff69d3f3f" + }, + "data/kernels/ka96f380c1a4a01e7.cubin": { + "bytes": 15656, + "sha256": "a96f380c1a4a01e7c72909a2104fe882bfe60a4e3441277f1f608589fccf461b" + }, + "data/kernels/kaeac54e41763baa6.cubin": { + "bytes": 49464, + "sha256": "aeac54e41763baa6dba4659a875cfa4c5cdb5c94c3b5fcb8557dad0da6fe60e7" + }, + "data/kernels/kb469711f36372e89.cubin": { + "bytes": 30480, + "sha256": "b469711f36372e89799dd610308f29784028b9c482ad0cecb71c944f8a2c811c" + }, + "data/kernels/kb47609fef3c4e2e8.cubin": { + "bytes": 24240, + "sha256": "b47609fef3c4e2e817b4f66c7e4b4b1c32638296e632f7c983fcf258ffe4796a" + }, + "data/kernels/kb8b3104c0f9aeebd.cubin": { + "bytes": 50592, + "sha256": "b8b3104c0f9aeebd6a7b47811a2e8c5de9a024ac94c0745bc81535c1b92664ca" + }, + "data/kernels/kbbcc50a997b92015.cubin": { + "bytes": 10024, + "sha256": "bbcc50a997b92015157fd9dc5a6097ded57e3c88beb32fcb62e735a196cb7301" + }, + "data/kernels/kbef43d1c406c9789.cubin": { + "bytes": 12560, + "sha256": "bef43d1c406c9789c088af6ca5953390d1ceccf0026d23d52e6ecf510e506809" + }, + "data/kernels/kc23380e60f61e4b4.cubin": { + "bytes": 24240, + "sha256": "c23380e60f61e4b4fe72697ad9031e98555305090038b1095e1ef7177a96df0a" + }, + "data/kernels/kc45d3a93621fc33d.cubin": { + "bytes": 133208, + "sha256": "c45d3a93621fc33d6751fbdf30c3733a8f793ab0d646038e9f9de831cce75f89" + }, + "data/kernels/kca526d2044e2c8c7.cubin": { + "bytes": 69920, + "sha256": "ca526d2044e2c8c7d5572a0a95c4ef9a23002ef7779ce527952c5d80d1454c18" + }, + "data/kernels/kca7cc96cd77e234e.cubin": { + "bytes": 44960, + "sha256": "ca7cc96cd77e234e0f17150c0ddd05f98e0a975cb7f0db5a8c134af43b46be87" + }, + "data/kernels/kcc6e590c93b057b5.cubin": { + "bytes": 46608, + "sha256": "cc6e590c93b057b56523c72536f20e76c41935eae06588b0be69d8df827af865" + }, + "data/kernels/kcd4b30917d2b6b12.cubin": { + "bytes": 10792, + "sha256": "cd4b30917d2b6b125a72896319f1ff2d06f04c89b4427328f0561db406cfc5d3" + }, + "data/kernels/kcdbad66ae454d7c8.cubin": { + "bytes": 61720, + "sha256": "cdbad66ae454d7c88172cdd8265688d07b89279a4757171dba3883f846d2ea18" + }, + "data/kernels/kd12063a4a3e5e2df.cubin": { + "bytes": 8872, + "sha256": "d12063a4a3e5e2df981366c1dc26238824a2049c28dc206a311d11ae783159e2" + }, + "data/kernels/kd29834952e103b28.cubin": { + "bytes": 17128, + "sha256": "d29834952e103b288de4121533bbbf0f7603803a3cfaabe94438f8e927b0da35" + }, + "data/kernels/kd4d4f5566206d532.cubin": { + "bytes": 45216, + "sha256": "d4d4f5566206d532971c5cad8f3e66de5bbe9f104b80103c40c047d9a566e26c" + }, + "data/kernels/kd672ccedae8826ba.cubin": { + "bytes": 10416, + "sha256": "d672ccedae8826ba63d642fa6d1f65e0373fc561838bccc02ffe5b1102865b01" + }, + "data/kernels/kda29a1d9601efc56.cubin": { + "bytes": 19888, + "sha256": "da29a1d9601efc56b11353413971b7da3b20093b8e23c07b2acfeaee2fb82e8e" + }, + "data/kernels/kdc0e72f14cdc7a62.cubin": { + "bytes": 9752, + "sha256": "dc0e72f14cdc7a62cd4603a8c0b79f2122703265e6b7add54e2a49e288a44339" + }, + "data/kernels/ke0c49be19fdaf6ce.cubin": { + "bytes": 46608, + "sha256": "e0c49be19fdaf6ceab6bdb2dbc5685677551192cf100b5c6ff302a8ab4b34260" + }, + "data/kernels/ke5a31eafc90d045c.cubin": { + "bytes": 7320, + "sha256": "e5a31eafc90d045cfecae1803a28c7c5bb3d04a812bcc2d226b68a36097eb733" + }, + "data/kernels/ke697b0b38376b386.cubin": { + "bytes": 49088, + "sha256": "e697b0b38376b3869ccb377edddb41bfc42bbfc587cf07903c7ef2db50215503" + }, + "data/kernels/ke6d0c15a3ff2f40d.cubin": { + "bytes": 13352, + "sha256": "e6d0c15a3ff2f40d9afcca9fe2404c57a0bf85e4f1e04f5c0e0ec6b4892a2062" + }, + "data/kernels/ke730ba4d204b1cae.cubin": { + "bytes": 56216, + "sha256": "e730ba4d204b1cae717a048709c3b9d1b56aef2c7d7354110bf201486a05f7cc" + }, + "data/kernels/ke79ec5e3b1cec440.cubin": { + "bytes": 30152, + "sha256": "e79ec5e3b1cec4403a0d846bfa677c830c92820d3f37f1bce7d922ce874ef2ca" + }, + "data/kernels/kea7c60400bf00f9f.cubin": { + "bytes": 26160, + "sha256": "ea7c60400bf00f9f7736fcbc362d7be5e3b2011fe3de0b1a3f5ef0c53e08a62b" + }, + "data/kernels/kec1589585d38e14a.cubin": { + "bytes": 16800, + "sha256": "ec1589585d38e14af75ffea00c94538c4e61dad0b27c22b9ae2c414e330a7f28" + }, + "data/kernels/kec596fed6c24d905.cubin": { + "bytes": 28992, + "sha256": "ec596fed6c24d9058f62edbc789e708b2c834a5e84b554789e83f74a2432165b" + }, + "data/kernels/kede40513278826fd.cubin": { + "bytes": 6936, + "sha256": "ede40513278826fd54e6f14dd0adcb62e5b8ba903fd1ec50c2d5883cb70ee1e0" + }, + "data/kernels/kf0cea90dca6708f8.cubin": { + "bytes": 24368, + "sha256": "f0cea90dca6708f83b61805dbc94633cff0ff26ee1749b89fbcbb9f951d89faa" + }, + "data/kernels/kf4816229eb9b9cc7.cubin": { + "bytes": 35360, + "sha256": "f4816229eb9b9cc7a4400f8a211465116141f4f8f48787e60876d2682d9554d7" + }, + "data/kernels/kf534ab50b2fbe865.cubin": { + "bytes": 18864, + "sha256": "f534ab50b2fbe8651fb4108f3c660f92edaa3459c9fd6484c66bf9d689fea59d" + }, + "data/kernels/kf6f1075dbd1fdbe9.cubin": { + "bytes": 28848, + "sha256": "f6f1075dbd1fdbe99db9db080860857c4f4112b0f6dbc4a241665103eb6a06bf" + }, + "data/kernels/kfead9b42f37a5748.cubin": { + "bytes": 29624, + "sha256": "fead9b42f37a5748dd8fde0533935fffa05bebc918bb8448a7d8406293d90c1c" + }, + "data/w0.bin": { + "bytes": 68335416, + "sha256": "11f34d8c674a34c68a88ddf2ba12b0a7618a561842bbff78a502729d144be2c4" + }, + "data/w1.bin": { + "bytes": 4852717568, + "sha256": "70095c0c379005ff47cb87ab98d2512188996a7ebccb25dba96c23e0f7857a6f" + }, + "data/w2.bin": { + "bytes": 10642681, + "sha256": "7a174ecdaf6124ecf30741f10c9d2acd22e6e7e7370c3fd47193ce3ceed4f257" + }, + "example/degraded_0.png": { + "bytes": 56699, + "sha256": "76337095fde5ff98429da8ddfd7720eb58a0da65a1dfd8b787fc4efdb620796a" + }, + "example/degraded_1.png": { + "bytes": 71707, + "sha256": "0dff43c8e95b5f2e4d6838f4b2369256bd1cbd8e3d11f2be9279786132ba2094" + }, + "example/degraded_2.png": { + "bytes": 96319, + "sha256": "235d334492068b85d7b7665872bb3b99d197e05c873d4b87d18d269a512f0af9" + }, + "example/expected_0.png": { + "bytes": 879382, + "sha256": "d9d49386b5ad2f7bd49c802ec2c702f1447f42a41db52421001d07fde467af98" + }, + "example/expected_1.png": { + "bytes": 865433, + "sha256": "10a56308c85a4c4f251e724d6f40124beb60991151a95c4efd0cabe42d5ee45a" + }, + "example/expected_2.png": { + "bytes": 862838, + "sha256": "e7752fd7574716324ed43fdb95fd551b97eb113a32517a6f5b5a8a1903b76c78" + }, + "example/reference.png": { + "bytes": 29344, + "sha256": "37aa99d0e4cf6e0b1d4f53e703f7f4b496121b15eb30c2d07bfc46cab54700aa" + }, + "libs/l000.so": { + "bytes": 52437568, + "sha256": "200cceddc7780ceff5342b68e8e74db72a58b37383b9f5baa5d8152a8a223039" + }, + "libs/l001.so": { + "bytes": 48009792, + "sha256": "86dab69f09dbd6ffcd0d2b85d997beddf55120a3bec16df5080ada7806670d51" + }, + "libs/mbqxkwwnvfsgwfwflvnnnqbrqkgrlng.so": { + "bytes": 389904, + "sha256": "e48f3cabe5c0998b1e870a9d8c15d210d7b5f6f3a22e0a039be6ea818d340f46" + }, + "libs/mdblwtknknxxkvgjsdhqqjqblsngxlswng.so": { + "bytes": 267120, + "sha256": "5f9893068411acbbb757f6b80795abe0c16c55001372ed21bd4033931cb70117" + }, + "libs/mqdvthjddfqvjhsvjdddwqnnqfhbrkqh.so": { + "bytes": 1819864, + "sha256": "17a97aebc479a39753e5e094bf4a0bc9b89c4e49a0061d5e04cb9845be00b0ad" + }, + "libs/n02162f3bc7c47204.so": { + "bytes": 30776, + "sha256": "bc719809062c8ab2ed7064badd0159d54ffef3dd2725d48454c3384c49f20320" + }, + "libs/n25f3df6c2debc88a.so": { + "bytes": 14448, + "sha256": "a212ae55b9db149a3321caeaca8749e524dd06b5419483bc899a588ad2a908fc" + }, + "libs/n3866fc7b.so": { + "bytes": 839200, + "sha256": "be12e74dd9147de6c3116b9a8fec090b6f7331ad164eaf254ae5f1271ac2a943" + }, + "libs/n6b0627.so": { + "bytes": 830976, + "sha256": "1de682686c4bc7458aa9b1c63009c901c5baaa00c3b7cf023bcba9aac9804e4b" + }, + "libs/n7596f1b703740f3e.so": { + "bytes": 3286976, + "sha256": "7a43317bc5153aa13f13ec4902fc0c61910e22ea3968ad633d12d35d5b1b4c90" + }, + "libs/nd380df.so": { + "bytes": 830976, + "sha256": "461ece91639684c9e3842ebf8d51dfd3db65edb8626ebdb19da712d193d83056" + }, + "libs/nfb9b0ea8a962978f.so": { + "bytes": 871824, + "sha256": "fe38b1078e55372555d9db04779ff07bf5ab9a1a3d7e8dfcb4f48ef248f4309f" + }, + "licenses/APACHE-2.0.txt": { + "bytes": 11358, + "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" + }, + "licenses/PYTORCH_LICENSE.txt": { + "bytes": 3464, + "sha256": "bd018feef8825e88181c84eb7e3aa4eafb8f08a20d9fd6ef948569610c4a3e43" + }, + "licenses/SDXL_LICENSE.txt": { + "bytes": 14109, + "sha256": "19b6998b569b53ac1fc2158a8a3202c8699a9a4605b47075715d9c96be7fb6d0" + }, + "licenses/TRITON_LICENSE.txt": { + "bytes": 1132, + "sha256": "92640fb97222fd0a698ff28ce0c3782c172623f8d6c609b557636a80f28fb946" + }, + "requirements.txt": { + "bytes": 192, + "sha256": "b11cab863a4e23f6e697db03d7522f3c6af2b9b02bd617d8c0c778b716c48b09" + }, + "run.py": { + "bytes": 3028, + "sha256": "103f19480d5ad9fea4ffca57a04e392794abc8c5e29630462bddbb7285ba5a86" + }, + "runtime/syncfix_h100_runtime-0.1.0-cp312-cp312-linux_x86_64.whl": { + "bytes": 1180516, + "sha256": "a9865fcfc2e208304d782e0e935772f96b33613a77c7a218a3319f56dd5fa9e9" + }, + "setup.sh": { + "bytes": 1295, + "sha256": "4e214d9d2c5154305950c5bd1c1b0c2e3b518358114873677fe40082000cb069" + }, + "third_party/CUTLASS_LICENSE.txt": { + "bytes": 1861, + "sha256": "ad1513ca983da737a6843364ad19e8424a56d860736c2da773b8c5be527e1475" + }, + "third_party/FLASH_ATTENTION_LICENSE.txt": { + "bytes": 1558, + "sha256": "8c9ccb96c065e706135b6cbad279b721da6156e51f3a5f27c6b3329af9416d73" + }, + "third_party/PILLOW_LICENSE.txt": { + "bytes": 1453, + "sha256": "17f240ae101143707e5e7303a5d800450d9ccc7475b463cedb555cefdb3c6ece" + }, + "third_party/PYBIND11_LICENSE.txt": { + "bytes": 1684, + "sha256": "83965b843b98f670d3a85bd041ed4b372c8ec50d7b4a5995a83ac697ba675dcb" + }, + "verify.py": { + "bytes": 7922, + "sha256": "624d9ea24e8e831709caa78050527e171105e654a285754d5af1c2374c363390" + } + } +} diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..30832a1be9a0a7cbfb77a1b1ee2cd3a06e378a8c --- /dev/null +++ b/NOTICE @@ -0,0 +1,26 @@ +SyncFix runtime + +Based on SyncFix: Fixing 3D Reconstructions via Multi-View Synchronization. +https://github.com/Deming77/SyncFix + +Modified for hardware-specific inference and packaged with a standalone runner. +The runtime source-code license does not change the terms of model assets. + +Model components derived from Stable Diffusion XL remain subject to the +CreativeML Open RAIL++-M license in licenses/SDXL_LICENSE.txt, including its +notices and applicable downstream use restrictions. +https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0 + +Applicable PyTorch and Triton notices are included in +licenses/PYTORCH_LICENSE.txt and licenses/TRITON_LICENSE.txt. +Pillow-derived components retain the notices in third_party/PILLOW_LICENSE.txt. + +Compiled libraries in this package include code from NVIDIA CUTLASS, +FlashAttention and pybind11. Their notices are in +third_party/CUTLASS_LICENSE.txt, third_party/FLASH_ATTENTION_LICENSE.txt and +third_party/PYBIND11_LICENSE.txt. + +NVIDIA TensorRT and CUDA libraries are external dependencies. Obtain them from +NVIDIA under their applicable terms. + +Example images are synthetic test inputs supplied with this package. diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..19a42f7e4d5d8f6d4825509d0b2d7603b8f7d781 --- /dev/null +++ b/README.md @@ -0,0 +1,107 @@ +--- +license: other +license_name: syncfix-model-and-runtime-terms +license_link: https://huggingface.co/agents2agents/SyncFix-H100/blob/main/LICENSE +pipeline_tag: image-to-image +tags: + - tensorrt + - h100 + - syncfix +--- + +# SyncFix for NVIDIA H100 + +Process three degraded views and one reference image to produce three corrected +views. All four inputs must be RGB images of 1920x1080 pixels. Each output is an +RGB image of 1920x1080 pixels. + +## Performance + +On one NVIDIA H100 80GB HBM3, a warm request takes 88.8 ms (median; 90.5 ms at +the 95th percentile) over 30 seconds of consecutive requests. A request is three +degraded views and one reference image in and three corrected images out, all +1920x1080. The original PyTorch implementation, run in bfloat16 on the same GPU, +takes 486 ms for the same request. Model loading and the first inference, which +includes initialization and warmup, are excluded. + +## Requirements + +- Linux x86_64 with glibc 2.35 or newer, and one NVIDIA H100 with 80 GB + memory (reported as `NVIDIA H100 80GB HBM3`). +- NVIDIA driver 595.91.07; one visible GPU. +- Python 3.12, PyTorch 2.10.0+cu128, NumPy 1.26.4, Pillow 11.3.0, + safetensors 0.6.2 and diffusers 0.32.2. +- TensorRT 11.3.0 build 99 for CUDA 12, including its Python package. + +Use the specified software versions. This package was validated with NVIDIA +driver 595.91.07; other driver versions are untested. A matching system CUDA +toolkit is not required. `setup.sh` installs +the Python requirements, including `tensorrt-cu12==11.3.0.99`. To use TensorRT +libraries from another location, pass `--trt-lib-dir /path/to/TensorRT/lib`. +On a machine with multiple GPUs, select one with `CUDA_VISIBLE_DEVICES`. + +## Install and test + +Download the package with the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli): + +```bash +hf download agents2agents/SyncFix-H100 --local-dir syncfix-h100 +cd syncfix-h100 +``` + +```bash +bash setup.sh +source .venv/bin/activate +python verify.py +python verify.py --run +``` + +`verify.py` checks the downloaded files using Python alone. `--run` also checks +inference using the included example. Numerical checks allow small variation +between processes. The first inference includes initialization and warmup. + +## Run + +```bash +python run.py \ + --degraded example/degraded_0.png example/degraded_1.png example/degraded_2.png \ + --reference example/reference.png --seed 42 \ + --output-dir /path/to/new-results +``` + +Choose a new or empty output directory. The command saves three PNGs and a +request record. Supplying a seed resets sampling for that request; omitting it +continues the current random state. + +For multiple groups, save a JSONL file: + +```json +{"id":"group000","degraded":["a.png","b.png","c.png"],"reference":"ref.png","seed":42} +{"id":"group001","degraded":["d.png","e.png","f.png"],"reference":"ref.png"} +``` + +```bash +python run.py --requests /data/scene.jsonl --output-dir /data/corrected +``` + +Image paths resolve relative to the request file. A JSON array is also accepted. +The model remains loaded across requests. + +## Python + +```python +from PIL import Image +from syncfix_h100 import Pipeline + +paths = ["a.png", "b.png", "c.png", "reference.png"] +images = [Image.open(path).convert("RGB") for path in paths] +with Pipeline("/path/to/bundle") as model: + corrected = model.infer(images[:3], images[3], seed=42) +``` + +Create one pipeline per process, before initializing CUDA elsewhere. Use it +from its creating thread. Returned images remain valid after later requests. + +See [LICENSE](https://huggingface.co/agents2agents/SyncFix-H100/blob/main/LICENSE) +and [NOTICE](https://huggingface.co/agents2agents/SyncFix-H100/blob/main/NOTICE) +for applicable terms and attribution. diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000000000000000000000000000000000000..62e18bd6bc897b883b4b009ab96ebd5aa535adc5 --- /dev/null +++ b/bundle.json @@ -0,0 +1,653 @@ +{ + "kind": "syncfix-h100-bundle", + "schema_version": 1, + "version": "0.1.0", + "requires": { + "machine": "x86_64", + "system": "Linux", + "python": "3.12", + "device_name": "NVIDIA H100 80GB HBM3", + "compute_capability": [ + 9, + 0 + ], + "multiprocessors": 132, + "driver_minimum": "595.91.07", + "torch": "2.10.0+cu128", + "torch_cuda": "12.8", + "numpy": "1.26.4", + "pillow": "11.3.0", + "diffusers": "0.32.2", + "safetensors": "0.6.2", + "cudnn_version": 91002, + "tensorrt": "11.3.0.99", + "tensorrt_version_code": 110300, + "tensorrt_sonames": [ + "libnvinfer.so.11", + "libnvinfer_plugin.so.11", + "libnvonnxparser.so.11" + ], + "tensorrt_libraries": [ + { + "soname": "libnvinfer.so.11", + "bytes": 669754672, + "sha256": "d216d54cb7699edf01931ce5afc761d5419da96d197ec95eb4d74481d88daa8e" + }, + { + "soname": "libnvinfer_plugin.so.11", + "bytes": 59846824, + "sha256": "9c06472f48bc83b21986b5dadc7d44dd511fd7c2b53cb9af8ddb60b156ec037d" + }, + { + "soname": "libnvonnxparser.so.11", + "bytes": 3852192, + "sha256": "9242f8518baec8d267fbe37c2670bc72d5172b33f0c0d296da827f366a0fe10f" + } + ] + }, + "model": { + "scaling_factor": 0.13025, + "shift_factor": 0.0, + "sigmas": [ + 1.0, + 0.0 + ] + }, + "assets": { + "a000": { + "path": "libs/n02162f3bc7c47204.so", + "bytes": 30776, + "sha256": "bc719809062c8ab2ed7064badd0159d54ffef3dd2725d48454c3384c49f20320" + }, + "a001": { + "path": "libs/n7596f1b703740f3e.so", + "bytes": 3286976, + "sha256": "7a43317bc5153aa13f13ec4902fc0c61910e22ea3968ad633d12d35d5b1b4c90" + }, + "a002": { + "path": "libs/n25f3df6c2debc88a.so", + "bytes": 14448, + "sha256": "a212ae55b9db149a3321caeaca8749e524dd06b5419483bc899a588ad2a908fc" + }, + "a003": { + "path": "libs/nfb9b0ea8a962978f.so", + "bytes": 871824, + "sha256": "fe38b1078e55372555d9db04779ff07bf5ab9a1a3d7e8dfcb4f48ef248f4309f" + }, + "a004": { + "path": "data/kernels/k5cc48966ccd2942d.cubin", + "bytes": 132568, + "sha256": "5cc48966ccd2942de2388bcb26d9cbdec0314514f1fea5db9db4019f1795171d" + }, + "a005": { + "path": "data/kernels/k4f071f90f54f9ce0.cubin", + "bytes": 131928, + "sha256": "4f071f90f54f9ce0f71fb2fccf83eb7ad18f6ea9a203c1a7dd385bad5a26f46f" + }, + "a006": { + "path": "data/kernels/kc45d3a93621fc33d.cubin", + "bytes": 133208, + "sha256": "c45d3a93621fc33d6751fbdf30c3733a8f793ab0d646038e9f9de831cce75f89" + }, + "a007": { + "path": "data/kernels/ka697482ca59f3cb6.cubin", + "bytes": 11080, + "sha256": "a697482ca59f3cb6b09b7a9281491d95fe2c16c860f7d9df902bca4ff69d3f3f" + }, + "a008": { + "path": "data/kernels/k6e3fb66aff962131.cubin", + "bytes": 141464, + "sha256": "6e3fb66aff962131cd808cb39c222c44261e14dca73595516e4c81ae8a5b5055" + }, + "a009": { + "path": "data/kernels/kd29834952e103b28.cubin", + "bytes": 17128, + "sha256": "d29834952e103b288de4121533bbbf0f7603803a3cfaabe94438f8e927b0da35" + }, + "a010": { + "path": "libs/mqdvthjddfqvjhsvjdddwqnnqfhbrkqh.so", + "bytes": 1819864, + "sha256": "17a97aebc479a39753e5e094bf4a0bc9b89c4e49a0061d5e04cb9845be00b0ad" + }, + "a011": { + "path": "libs/mbqxkwwnvfsgwfwflvnnnqbrqkgrlng.so", + "bytes": 389904, + "sha256": "e48f3cabe5c0998b1e870a9d8c15d210d7b5f6f3a22e0a039be6ea818d340f46" + }, + "a012": { + "path": "libs/mdblwtknknxxkvgjsdhqqjqblsngxlswng.so", + "bytes": 267120, + "sha256": "5f9893068411acbbb757f6b80795abe0c16c55001372ed21bd4033931cb70117" + }, + "a013": { + "path": "data/w0.bin", + "bytes": 68335416, + "sha256": "11f34d8c674a34c68a88ddf2ba12b0a7618a561842bbff78a502729d144be2c4" + }, + "a014": { + "path": "data/w1.bin", + "bytes": 4852717568, + "sha256": "70095c0c379005ff47cb87ab98d2512188996a7ebccb25dba96c23e0f7857a6f" + }, + "a015": { + "path": "data/w2.bin", + "bytes": 10642681, + "sha256": "7a174ecdaf6124ecf30741f10c9d2acd22e6e7e7370c3fd47193ce3ceed4f257" + }, + "a016": { + "path": "data/kernels/k490a3287d2c5867b.cubin", + "bytes": 22568, + "sha256": "490a3287d2c5867bc9a62cda361fbfd2574a12f0f9b0667410bdbc9648404f44" + }, + "a017": { + "path": "data/kernels/k98f9ac9d99eaa20c.cubin", + "bytes": 17960, + "sha256": "98f9ac9d99eaa20cb4d1898e1b5c77a9b739e83242b94d0d0bdd9a6c0a9628c7" + }, + "a018": { + "path": "data/kernels/ka96f380c1a4a01e7.cubin", + "bytes": 15656, + "sha256": "a96f380c1a4a01e7c72909a2104fe882bfe60a4e3441277f1f608589fccf461b" + }, + "a019": { + "path": "libs/n3866fc7b.so", + "bytes": 839200, + "sha256": "be12e74dd9147de6c3116b9a8fec090b6f7331ad164eaf254ae5f1271ac2a943" + }, + "a020": { + "path": "libs/nd380df.so", + "bytes": 830976, + "sha256": "461ece91639684c9e3842ebf8d51dfd3db65edb8626ebdb19da712d193d83056" + }, + "a021": { + "path": "libs/n6b0627.so", + "bytes": 830976, + "sha256": "1de682686c4bc7458aa9b1c63009c901c5baaa00c3b7cf023bcba9aac9804e4b" + }, + "a022": { + "path": "data/kernels/k3c6b5de98b4a2f9b.cubin", + "bytes": 66080, + "sha256": "3c6b5de98b4a2f9bbe00920556c9e6197406a10aae9a2c58f670da85fc906217" + }, + "a023": { + "path": "data/kernels/kb469711f36372e89.cubin", + "bytes": 30480, + "sha256": "b469711f36372e89799dd610308f29784028b9c482ad0cecb71c944f8a2c811c" + }, + "a024": { + "path": "data/kernels/kaeac54e41763baa6.cubin", + "bytes": 49464, + "sha256": "aeac54e41763baa6dba4659a875cfa4c5cdb5c94c3b5fcb8557dad0da6fe60e7" + }, + "a025": { + "path": "data/kernels/k71bae1c6b1c96e9b.cubin", + "bytes": 22184, + "sha256": "71bae1c6b1c96e9ba7b13b6bf5d81c468c84cff0099289156f9cce7a22f10608" + }, + "a026": { + "path": "data/kernels/ka5be52defa59afd3.cubin", + "bytes": 17448, + "sha256": "a5be52defa59afd38505bf5891218347b60c8cfc6a1f18e3334b7a6c37522885" + }, + "a027": { + "path": "data/kernels/k59f27926302a4996.cubin", + "bytes": 12584, + "sha256": "59f27926302a49960152ed2816f9940fabb33e660f488cf3aeb92f1c2f3b0e60" + }, + "a028": { + "path": "data/kernels/k2fb476de8c736cf5.cubin", + "bytes": 53696, + "sha256": "2fb476de8c736cf51b907eabd97b2a58bf46896d30d411b115933314ef9ec4db" + }, + "a029": { + "path": "data/kernels/k3556a6814cae0b8e.cubin", + "bytes": 16816, + "sha256": "3556a6814cae0b8ee07b463d0894bf740d17caf6b927a11c01eeb22d40dc18dc" + }, + "a030": { + "path": "data/kernels/k3cf514358fc927b2.cubin", + "bytes": 18872, + "sha256": "3cf514358fc927b2e614d028a0c1775383d2097f16f517f00edf08a8f3b4b95c" + }, + "a031": { + "path": "data/kernels/k46a3a8f6de01561b.cubin", + "bytes": 8360, + "sha256": "46a3a8f6de01561b335c644e9d828cc96fa9aaa235532d4a2698eb963c7f446e" + }, + "a032": { + "path": "data/kernels/k932db95de012e93d.cubin", + "bytes": 26792, + "sha256": "932db95de012e93d091ebf75601818f39b57cdcd38b85114ee7a96e067351a6e" + }, + "a033": { + "path": "data/kernels/k5c3ba72c4dd18400.cubin", + "bytes": 36512, + "sha256": "5c3ba72c4dd184006f63af56e5f77e073534dce001621578fbd97629b552b65e" + }, + "a034": { + "path": "data/kernels/kd4d4f5566206d532.cubin", + "bytes": 45216, + "sha256": "d4d4f5566206d532971c5cad8f3e66de5bbe9f104b80103c40c047d9a566e26c" + }, + "a035": { + "path": "data/kernels/ka11e006b70dffa22.cubin", + "bytes": 46352, + "sha256": "a11e006b70dffa2211586f115980c28229ee22465a39a4ddf53e3b96d3cfb886" + }, + "a036": { + "path": "data/kernels/k2bfe23a8f3ab3bd1.cubin", + "bytes": 21688, + "sha256": "2bfe23a8f3ab3bd1545170e5ef1204a62acf12b15fcd25ff74bc68de687aa3dd" + }, + "a037": { + "path": "data/kernels/k7cc5d925e0963247.cubin", + "bytes": 96152, + "sha256": "7cc5d925e0963247e8d0e92fdd69872e43fe5efc0a66561aa63c564191ba82ea" + }, + "a038": { + "path": "data/kernels/k49cf04acefb68280.cubin", + "bytes": 38080, + "sha256": "49cf04acefb68280a11de65266296824dfd5d3f9021e3e46e6a3fd0783b699a4" + }, + "a039": { + "path": "data/kernels/k800e8c9c4af72fb2.cubin", + "bytes": 18608, + "sha256": "800e8c9c4af72fb283e5acf169c4c16e4c47ab2769cd03c83ff6908540f1396e" + }, + "a040": { + "path": "data/kernels/k1480dc2ccc5cb528.cubin", + "bytes": 27320, + "sha256": "1480dc2ccc5cb528f2c6f0cda47aed673be7225ac295dfebbf7bdeb53651df99" + }, + "a041": { + "path": "data/kernels/k06a11980b76ed72d.cubin", + "bytes": 23344, + "sha256": "06a11980b76ed72d11d5bb51f2b1f153d4079ef5c317b41754ae8d2f2558f9b4" + }, + "a042": { + "path": "data/kernels/k5089d63539923526.cubin", + "bytes": 15176, + "sha256": "5089d6353992352601aae66d8c2fbe534e31ec964bd12043f824ea4c72bfc9d7" + }, + "a043": { + "path": "data/kernels/kb8b3104c0f9aeebd.cubin", + "bytes": 50592, + "sha256": "b8b3104c0f9aeebd6a7b47811a2e8c5de9a024ac94c0745bc81535c1b92664ca" + }, + "a044": { + "path": "data/kernels/k3bab5fd7942d007f.cubin", + "bytes": 49976, + "sha256": "3bab5fd7942d007f14fa031b5e57b02fd1af415403698d5fcd4b5c764fbb4834" + }, + "a045": { + "path": "data/kernels/ke6d0c15a3ff2f40d.cubin", + "bytes": 13352, + "sha256": "e6d0c15a3ff2f40d9afcca9fe2404c57a0bf85e4f1e04f5c0e0ec6b4892a2062" + }, + "a046": { + "path": "data/kernels/k61e5d8bce63125bd.cubin", + "bytes": 59544, + "sha256": "61e5d8bce63125bd7bf243b3ab1762f804d001671b519f1cff312b9b36e0d689" + }, + "a047": { + "path": "data/kernels/kec1589585d38e14a.cubin", + "bytes": 16800, + "sha256": "ec1589585d38e14af75ffea00c94538c4e61dad0b27c22b9ae2c414e330a7f28" + }, + "a048": { + "path": "data/kernels/kf0cea90dca6708f8.cubin", + "bytes": 24368, + "sha256": "f0cea90dca6708f83b61805dbc94633cff0ff26ee1749b89fbcbb9f951d89faa" + }, + "a049": { + "path": "data/kernels/k6091ac5903a49fe7.cubin", + "bytes": 22688, + "sha256": "6091ac5903a49fe78896a287291ba531c187cc07ee7b565bdfb9850c8e8000d4" + }, + "a050": { + "path": "data/kernels/k1e087b3f9dfe1835.cubin", + "bytes": 33568, + "sha256": "1e087b3f9dfe1835006e4c219352d20474b312059a2634cf62f0c71d5e9eb34e" + }, + "a051": { + "path": "data/kernels/k29a9d1c90660c2bd.cubin", + "bytes": 14000, + "sha256": "29a9d1c90660c2bd16d8a74826944d7c1e1c38a25022bde2a7c88b146e88f756" + }, + "a052": { + "path": "data/kernels/k18e80082c3cf8b24.cubin", + "bytes": 9904, + "sha256": "18e80082c3cf8b24853a06892b76ef169003b960f8e9d2b61d5ba02dfedc5f09" + }, + "a053": { + "path": "data/kernels/kca7cc96cd77e234e.cubin", + "bytes": 44960, + "sha256": "ca7cc96cd77e234e0f17150c0ddd05f98e0a975cb7f0db5a8c134af43b46be87" + }, + "a054": { + "path": "data/kernels/k99352d845a5ff8f7.cubin", + "bytes": 21576, + "sha256": "99352d845a5ff8f7393d04197e67a2af6ab83b3cd23707c85ad97ab0689cc083" + }, + "a055": { + "path": "data/kernels/k41d9be2fa5a25ba9.cubin", + "bytes": 54328, + "sha256": "41d9be2fa5a25ba9811b25e8050b5c373e521b2e384c9b57414ddc60d78465ac" + }, + "a056": { + "path": "data/kernels/k454bf66d3a820343.cubin", + "bytes": 11048, + "sha256": "454bf66d3a82034309921b467c8ed4afed060c90af0c363f86cb1e49e7752629" + }, + "a057": { + "path": "data/kernels/kc23380e60f61e4b4.cubin", + "bytes": 24240, + "sha256": "c23380e60f61e4b4fe72697ad9031e98555305090038b1095e1ef7177a96df0a" + }, + "a058": { + "path": "data/kernels/k07712231a238b47e.cubin", + "bytes": 6664, + "sha256": "07712231a238b47eb21f52101aba783eca8877bcfa0231e0887710844243f7f5" + }, + "a059": { + "path": "data/kernels/k42fea12aa4566f83.cubin", + "bytes": 52800, + "sha256": "42fea12aa4566f837348e7002d0f82fdb92237a60bea2cf25e437220ef8209bf" + }, + "a060": { + "path": "data/kernels/k1f868ddff2c13780.cubin", + "bytes": 29496, + "sha256": "1f868ddff2c137803dcd4186140d797592ecdb6900541f1f645d3791abb59459" + }, + "a061": { + "path": "data/kernels/k855c87a1f6b212c2.cubin", + "bytes": 29624, + "sha256": "855c87a1f6b212c25464fd1c62dee189e5cc15f3d781eef33ea514af15781fa6" + }, + "a062": { + "path": "data/kernels/kda29a1d9601efc56.cubin", + "bytes": 19888, + "sha256": "da29a1d9601efc56b11353413971b7da3b20093b8e23c07b2acfeaee2fb82e8e" + }, + "a063": { + "path": "data/kernels/kf534ab50b2fbe865.cubin", + "bytes": 18864, + "sha256": "f534ab50b2fbe8651fb4108f3c660f92edaa3459c9fd6484c66bf9d689fea59d" + }, + "a064": { + "path": "data/kernels/k23c215ae8d54692b.cubin", + "bytes": 19504, + "sha256": "23c215ae8d54692b6521685969dc2d08f54f90432d11f1140aaa0cbef1934013" + }, + "a065": { + "path": "data/kernels/k1331b722f552a237.cubin", + "bytes": 24480, + "sha256": "1331b722f552a2370a9d452c841bfd7a3794fd3a0416f830756c417960429689" + }, + "a066": { + "path": "data/kernels/kede40513278826fd.cubin", + "bytes": 6936, + "sha256": "ede40513278826fd54e6f14dd0adcb62e5b8ba903fd1ec50c2d5883cb70ee1e0" + }, + "a067": { + "path": "data/kernels/k48a7c52f83183fa2.cubin", + "bytes": 8992, + "sha256": "48a7c52f83183fa279e229e90d73b26d373097b486fd5e5caf10d4c904faab18" + }, + "a068": { + "path": "data/kernels/k836b3be3eb751a14.cubin", + "bytes": 42680, + "sha256": "836b3be3eb751a14932a1d9ec7c40f84264b74e74717d9b474fb27c4298f2876" + }, + "a069": { + "path": "data/kernels/kd12063a4a3e5e2df.cubin", + "bytes": 8872, + "sha256": "d12063a4a3e5e2df981366c1dc26238824a2049c28dc206a311d11ae783159e2" + }, + "a070": { + "path": "data/kernels/k142a6c21bf1f8185.cubin", + "bytes": 44048, + "sha256": "142a6c21bf1f8185f3a03ab41cf2791bb417bcb953c37b0a0016356794006aba" + }, + "a071": { + "path": "data/kernels/ke697b0b38376b386.cubin", + "bytes": 49088, + "sha256": "e697b0b38376b3869ccb377edddb41bfc42bbfc587cf07903c7ef2db50215503" + }, + "a072": { + "path": "data/kernels/kcd4b30917d2b6b12.cubin", + "bytes": 10792, + "sha256": "cd4b30917d2b6b125a72896319f1ff2d06f04c89b4427328f0561db406cfc5d3" + }, + "a073": { + "path": "data/kernels/k3c2124db7e6745f3.cubin", + "bytes": 69784, + "sha256": "3c2124db7e6745f3e31f77d805ab9cddaf3dbd08635efc2b8dd3488e9cc0549c" + }, + "a074": { + "path": "data/kernels/k2a9cf52c283aa49d.cubin", + "bytes": 22200, + "sha256": "2a9cf52c283aa49d2a5b1eda6e5731751ff53ca28d78518e108e14d52a4ade2c" + }, + "a075": { + "path": "data/kernels/k49d18b17e0267dcf.cubin", + "bytes": 45976, + "sha256": "49d18b17e0267dcf0fb7ba20d6a411c1344dbfc1b8e43cca422bbb85e6c6ee8b" + }, + "a076": { + "path": "data/kernels/ke5a31eafc90d045c.cubin", + "bytes": 7320, + "sha256": "e5a31eafc90d045cfecae1803a28c7c5bb3d04a812bcc2d226b68a36097eb733" + }, + "a077": { + "path": "data/kernels/k59e07b7b2bc428d5.cubin", + "bytes": 10160, + "sha256": "59e07b7b2bc428d5d6e01ff37ca4d8e3c5afea86b05d14a330bf03bc34c733fc" + }, + "a078": { + "path": "data/kernels/k5e792f984fcc4459.cubin", + "bytes": 99760, + "sha256": "5e792f984fcc44596d47752b045eb0bd6fd0ded15e02304dd1d5cccfad270f54" + }, + "a079": { + "path": "data/kernels/k7d815dbee0c85426.cubin", + "bytes": 90904, + "sha256": "7d815dbee0c854266d67070eac96e8b482ef3eb07f208478af65ecdd7f5f3d65" + }, + "a080": { + "path": "data/kernels/ka5d5f3bc43413fb4.cubin", + "bytes": 58160, + "sha256": "a5d5f3bc43413fb4921b638ae8fb26d8746621445cdf603da517a040011d06f2" + }, + "a081": { + "path": "data/kernels/k78fef3ea328b7e61.cubin", + "bytes": 29864, + "sha256": "78fef3ea328b7e614bb8effe62a7fd9804746b189d298befa4328b5e420d6bfd" + }, + "a082": { + "path": "data/kernels/k25cf62ab1bec8951.cubin", + "bytes": 38960, + "sha256": "25cf62ab1bec895100af4ec4cdcf27f09e3b37ca6926ac1406fc4aa417588bb6" + }, + "a083": { + "path": "data/kernels/k1d38cc244fe0fc71.cubin", + "bytes": 31168, + "sha256": "1d38cc244fe0fc7119b4a61265b1476b549a69095c3dd9acc11e4725c3848e55" + }, + "a084": { + "path": "data/kernels/k2b65710f0a57eb38.cubin", + "bytes": 12072, + "sha256": "2b65710f0a57eb383ea4782c557ba0c04f7cec36cd262722ee1d03709f0a9997" + }, + "a085": { + "path": "data/kernels/k83a9909d331cf7c4.cubin", + "bytes": 57752, + "sha256": "83a9909d331cf7c4ae4c8a2a1cc4b106be00ef86ef4f841a3662469596e2e8de" + }, + "a086": { + "path": "data/kernels/kbbcc50a997b92015.cubin", + "bytes": 10024, + "sha256": "bbcc50a997b92015157fd9dc5a6097ded57e3c88beb32fcb62e735a196cb7301" + }, + "a087": { + "path": "data/kernels/kcdbad66ae454d7c8.cubin", + "bytes": 61720, + "sha256": "cdbad66ae454d7c88172cdd8265688d07b89279a4757171dba3883f846d2ea18" + }, + "a088": { + "path": "data/kernels/k92e73094701dfc64.cubin", + "bytes": 10928, + "sha256": "92e73094701dfc649a012e0d4fc143dd40b2a37016f79d49befbd01b146cceab" + }, + "a089": { + "path": "data/kernels/ke79ec5e3b1cec440.cubin", + "bytes": 30152, + "sha256": "e79ec5e3b1cec4403a0d846bfa677c830c92820d3f37f1bce7d922ce874ef2ca" + }, + "a090": { + "path": "data/kernels/ke0c49be19fdaf6ce.cubin", + "bytes": 46608, + "sha256": "e0c49be19fdaf6ceab6bdb2dbc5685677551192cf100b5c6ff302a8ab4b34260" + }, + "a091": { + "path": "data/kernels/k2b3852e8a81db8c6.cubin", + "bytes": 20128, + "sha256": "2b3852e8a81db8c6bcae119e6b17d98278beb157c87318b736f4ced77756f3ff" + }, + "a092": { + "path": "data/kernels/kfead9b42f37a5748.cubin", + "bytes": 29624, + "sha256": "fead9b42f37a5748dd8fde0533935fffa05bebc918bb8448a7d8406293d90c1c" + }, + "a093": { + "path": "data/kernels/kea7c60400bf00f9f.cubin", + "bytes": 26160, + "sha256": "ea7c60400bf00f9f7736fcbc362d7be5e3b2011fe3de0b1a3f5ef0c53e08a62b" + }, + "a094": { + "path": "data/kernels/k57af082950f3547f.cubin", + "bytes": 35488, + "sha256": "57af082950f3547f5a9fc1671a3d72e6b5a4b1b4db3ced839c546b6c19714928" + }, + "a095": { + "path": "data/kernels/kca526d2044e2c8c7.cubin", + "bytes": 69920, + "sha256": "ca526d2044e2c8c7d5572a0a95c4ef9a23002ef7779ce527952c5d80d1454c18" + }, + "a096": { + "path": "data/kernels/k658ff6e60d427c98.cubin", + "bytes": 27184, + "sha256": "658ff6e60d427c989900be1bcff0026a0f03794c02db85057148140a8db89238" + }, + "a097": { + "path": "data/kernels/kd672ccedae8826ba.cubin", + "bytes": 10416, + "sha256": "d672ccedae8826ba63d642fa6d1f65e0373fc561838bccc02ffe5b1102865b01" + }, + "a098": { + "path": "data/kernels/kb47609fef3c4e2e8.cubin", + "bytes": 24240, + "sha256": "b47609fef3c4e2e817b4f66c7e4b4b1c32638296e632f7c983fcf258ffe4796a" + }, + "a099": { + "path": "data/kernels/k2bff19dff7f67a42.cubin", + "bytes": 51872, + "sha256": "2bff19dff7f67a4280239b19826a646351f159e8f42100ce5c5565b0a4b4c183" + }, + "a100": { + "path": "data/kernels/k9024653d3f4130fd.cubin", + "bytes": 31824, + "sha256": "9024653d3f4130fd3d23a8b02ede0bb1912cf33e1d445fcfa22a3adec59bf9e0" + }, + "a101": { + "path": "data/kernels/kcc6e590c93b057b5.cubin", + "bytes": 46608, + "sha256": "cc6e590c93b057b56523c72536f20e76c41935eae06588b0be69d8df827af865" + }, + "a102": { + "path": "data/kernels/k87ed7cb3cac2c0e0.cubin", + "bytes": 8744, + "sha256": "87ed7cb3cac2c0e0bc57d15652f21af120b56a2c396a769015f4e0634cad340d" + }, + "a103": { + "path": "data/kernels/k66f9a30694c1708d.cubin", + "bytes": 7312, + "sha256": "66f9a30694c1708dc0ace5f35669e3622c6a0c9b271a8b0b6022afc7e8613265" + }, + "a104": { + "path": "data/kernels/kf6f1075dbd1fdbe9.cubin", + "bytes": 28848, + "sha256": "f6f1075dbd1fdbe99db9db080860857c4f4112b0f6dbc4a241665103eb6a06bf" + }, + "a105": { + "path": "data/kernels/kbef43d1c406c9789.cubin", + "bytes": 12560, + "sha256": "bef43d1c406c9789c088af6ca5953390d1ceccf0026d23d52e6ecf510e506809" + }, + "a106": { + "path": "data/kernels/k4f6ffeb7d8d294a9.cubin", + "bytes": 53944, + "sha256": "4f6ffeb7d8d294a9ce687af70df2ec20d0beca6537b842fc857d98cbc1260144" + }, + "a107": { + "path": "data/kernels/k9f5ee10dfba65cbf.cubin", + "bytes": 10920, + "sha256": "9f5ee10dfba65cbf2d3798bfcf1617d64f5fc9f2ab50d8fd0b15df70ad96e7d7" + }, + "a108": { + "path": "data/kernels/k6ee10c6a02bb18c4.cubin", + "bytes": 41632, + "sha256": "6ee10c6a02bb18c4a7f6aecef0bae8453ec859c65671091890f688a7fd8a6d1d" + }, + "a109": { + "path": "data/kernels/kf4816229eb9b9cc7.cubin", + "bytes": 35360, + "sha256": "f4816229eb9b9cc7a4400f8a211465116141f4f8f48787e60876d2682d9554d7" + }, + "a110": { + "path": "data/kernels/kdc0e72f14cdc7a62.cubin", + "bytes": 9752, + "sha256": "dc0e72f14cdc7a62cd4603a8c0b79f2122703265e6b7add54e2a49e288a44339" + }, + "a111": { + "path": "data/kernels/k0fbadc80807d275f.cubin", + "bytes": 45984, + "sha256": "0fbadc80807d275f4b68c88eb01885ad8e94a166dd68d5d75dca883a952268f4" + }, + "a112": { + "path": "data/kernels/ke730ba4d204b1cae.cubin", + "bytes": 56216, + "sha256": "e730ba4d204b1cae717a048709c3b9d1b56aef2c7d7354110bf201486a05f7cc" + }, + "a113": { + "path": "data/kernels/kec596fed6c24d905.cubin", + "bytes": 28992, + "sha256": "ec596fed6c24d9058f62edbc789e708b2c834a5e84b554789e83f74a2432165b" + }, + "a114": { + "path": "libs/l000.so", + "bytes": 52437568, + "sha256": "200cceddc7780ceff5342b68e8e74db72a58b37383b9f5baa5d8152a8a223039" + }, + "a115": { + "path": "libs/l001.so", + "bytes": 48009792, + "sha256": "86dab69f09dbd6ffcd0d2b85d997beddf55120a3bec16df5080ada7806670d51" + } + }, + "example": { + "degraded": [ + "example/degraded_0.png", + "example/degraded_1.png", + "example/degraded_2.png" + ], + "reference": "example/reference.png", + "seed": 42, + "expected_images": [ + "example/expected_0.png", + "example/expected_1.png", + "example/expected_2.png" + ], + "pixel_rms_limit": 8.743 + } +} diff --git a/data/kernels/k06a11980b76ed72d.cubin b/data/kernels/k06a11980b76ed72d.cubin new file mode 100644 index 0000000000000000000000000000000000000000..1cf4dbf975d54da555f3e53c383f3f50cfcd2a22 Binary files /dev/null and b/data/kernels/k06a11980b76ed72d.cubin differ diff --git a/data/kernels/k07712231a238b47e.cubin b/data/kernels/k07712231a238b47e.cubin new file mode 100644 index 0000000000000000000000000000000000000000..d20e1d5de7ef444cfecfed2ca91842ce4a953d13 Binary files /dev/null and b/data/kernels/k07712231a238b47e.cubin differ diff --git a/data/kernels/k0fbadc80807d275f.cubin b/data/kernels/k0fbadc80807d275f.cubin new file mode 100644 index 0000000000000000000000000000000000000000..bff6e864a5165bc389877ee801d01faadbdd17ad Binary files /dev/null and b/data/kernels/k0fbadc80807d275f.cubin differ diff --git a/data/kernels/k1331b722f552a237.cubin b/data/kernels/k1331b722f552a237.cubin new file mode 100644 index 0000000000000000000000000000000000000000..65b6bb14ae1161cb530feeea71599e6fe3478c27 Binary files /dev/null and b/data/kernels/k1331b722f552a237.cubin differ diff --git a/data/kernels/k142a6c21bf1f8185.cubin b/data/kernels/k142a6c21bf1f8185.cubin new file mode 100644 index 0000000000000000000000000000000000000000..ff0a5d507fed41857b022666da7b3432a80f3bc6 Binary files /dev/null and b/data/kernels/k142a6c21bf1f8185.cubin differ diff --git a/data/kernels/k1480dc2ccc5cb528.cubin b/data/kernels/k1480dc2ccc5cb528.cubin new file mode 100644 index 0000000000000000000000000000000000000000..b840abfb1776b944596413730c996624afe771a7 Binary files /dev/null and b/data/kernels/k1480dc2ccc5cb528.cubin differ diff --git a/data/kernels/k18e80082c3cf8b24.cubin b/data/kernels/k18e80082c3cf8b24.cubin new file mode 100644 index 0000000000000000000000000000000000000000..243ee246aafd2d839131e29c54bcd7430cd465af Binary files /dev/null and b/data/kernels/k18e80082c3cf8b24.cubin differ diff --git a/data/kernels/k1d38cc244fe0fc71.cubin b/data/kernels/k1d38cc244fe0fc71.cubin new file mode 100644 index 0000000000000000000000000000000000000000..54bfaee92bdcc8f4e09a4f008ddb083e514ed9eb Binary files /dev/null and b/data/kernels/k1d38cc244fe0fc71.cubin differ diff --git a/data/kernels/k1e087b3f9dfe1835.cubin b/data/kernels/k1e087b3f9dfe1835.cubin new file mode 100644 index 0000000000000000000000000000000000000000..ed4ea90a1533df52ff5ea7f53968ad5d5482924a Binary files /dev/null and b/data/kernels/k1e087b3f9dfe1835.cubin differ diff --git a/data/kernels/k1f868ddff2c13780.cubin b/data/kernels/k1f868ddff2c13780.cubin new file mode 100644 index 0000000000000000000000000000000000000000..c88e2972ce29432d2876c1ed067aaf888b4b1962 Binary files /dev/null and b/data/kernels/k1f868ddff2c13780.cubin differ diff --git a/data/kernels/k23c215ae8d54692b.cubin b/data/kernels/k23c215ae8d54692b.cubin new file mode 100644 index 0000000000000000000000000000000000000000..1d6d4089d7c74238da14d36fb75f1b900212d959 Binary files /dev/null and b/data/kernels/k23c215ae8d54692b.cubin differ diff --git a/data/kernels/k25cf62ab1bec8951.cubin b/data/kernels/k25cf62ab1bec8951.cubin new file mode 100644 index 0000000000000000000000000000000000000000..f1f5b515d5259cc3f346070bbf497fe90b0fe9d8 Binary files /dev/null and b/data/kernels/k25cf62ab1bec8951.cubin differ diff --git a/data/kernels/k29a9d1c90660c2bd.cubin b/data/kernels/k29a9d1c90660c2bd.cubin new file mode 100644 index 0000000000000000000000000000000000000000..d9a0970582f17e957beccbe875035dc5bc3b3a1d Binary files /dev/null and b/data/kernels/k29a9d1c90660c2bd.cubin differ diff --git a/data/kernels/k2a9cf52c283aa49d.cubin b/data/kernels/k2a9cf52c283aa49d.cubin new file mode 100644 index 0000000000000000000000000000000000000000..0815b9f354d86b8d6a509c3d834c4e1027f31055 Binary files /dev/null and b/data/kernels/k2a9cf52c283aa49d.cubin differ diff --git a/data/kernels/k2b3852e8a81db8c6.cubin b/data/kernels/k2b3852e8a81db8c6.cubin new file mode 100644 index 0000000000000000000000000000000000000000..93e804590c0fff8f90768f158a022d6b8aa68e4b Binary files /dev/null and b/data/kernels/k2b3852e8a81db8c6.cubin differ diff --git a/data/kernels/k2b65710f0a57eb38.cubin b/data/kernels/k2b65710f0a57eb38.cubin new file mode 100644 index 0000000000000000000000000000000000000000..cbc109093ff0fd7317b61ee61855df76a724bc69 Binary files /dev/null and b/data/kernels/k2b65710f0a57eb38.cubin differ diff --git a/data/kernels/k2bfe23a8f3ab3bd1.cubin b/data/kernels/k2bfe23a8f3ab3bd1.cubin new file mode 100644 index 0000000000000000000000000000000000000000..8b9d74c8140194be5f7a3bfa21512db3cda3fa46 Binary files /dev/null and b/data/kernels/k2bfe23a8f3ab3bd1.cubin differ diff --git a/data/kernels/k2bff19dff7f67a42.cubin b/data/kernels/k2bff19dff7f67a42.cubin new file mode 100644 index 0000000000000000000000000000000000000000..85794f23bd76039f0f3f4b4f92389e7a44328f87 Binary files /dev/null and b/data/kernels/k2bff19dff7f67a42.cubin differ diff --git a/data/kernels/k2fb476de8c736cf5.cubin b/data/kernels/k2fb476de8c736cf5.cubin new file mode 100644 index 0000000000000000000000000000000000000000..47afefd606655620c996bc4c185804f3e9071f1f Binary files /dev/null and b/data/kernels/k2fb476de8c736cf5.cubin differ diff --git a/data/kernels/k3556a6814cae0b8e.cubin b/data/kernels/k3556a6814cae0b8e.cubin new file mode 100644 index 0000000000000000000000000000000000000000..241e83e44114eb3b9ee86b664510583987749559 Binary files /dev/null and b/data/kernels/k3556a6814cae0b8e.cubin differ diff --git a/data/kernels/k3bab5fd7942d007f.cubin b/data/kernels/k3bab5fd7942d007f.cubin new file mode 100644 index 0000000000000000000000000000000000000000..34187992fec519520f94189d1156d218caceb925 Binary files /dev/null and b/data/kernels/k3bab5fd7942d007f.cubin differ diff --git a/data/kernels/k3c2124db7e6745f3.cubin b/data/kernels/k3c2124db7e6745f3.cubin new file mode 100644 index 0000000000000000000000000000000000000000..d5ab54ace72141f080be7d05e36c6c414305b708 Binary files /dev/null and b/data/kernels/k3c2124db7e6745f3.cubin differ diff --git a/data/kernels/k3c6b5de98b4a2f9b.cubin b/data/kernels/k3c6b5de98b4a2f9b.cubin new file mode 100644 index 0000000000000000000000000000000000000000..186ec32c366a1d713dfb829a4d8fb848c955901f Binary files /dev/null and b/data/kernels/k3c6b5de98b4a2f9b.cubin differ diff --git a/data/kernels/k3cf514358fc927b2.cubin b/data/kernels/k3cf514358fc927b2.cubin new file mode 100644 index 0000000000000000000000000000000000000000..38ae2ac5104e82f3db7bafec27beeb5ba840c02a Binary files /dev/null and b/data/kernels/k3cf514358fc927b2.cubin differ diff --git a/data/kernels/k41d9be2fa5a25ba9.cubin b/data/kernels/k41d9be2fa5a25ba9.cubin new file mode 100644 index 0000000000000000000000000000000000000000..66f1ce897ae4004a816cb2b50fd86690e33ca951 Binary files /dev/null and b/data/kernels/k41d9be2fa5a25ba9.cubin differ diff --git a/data/kernels/k42fea12aa4566f83.cubin b/data/kernels/k42fea12aa4566f83.cubin new file mode 100644 index 0000000000000000000000000000000000000000..1a872fac560fff5bd2889219e35b16a228f6e569 Binary files /dev/null and b/data/kernels/k42fea12aa4566f83.cubin differ diff --git a/data/kernels/k454bf66d3a820343.cubin b/data/kernels/k454bf66d3a820343.cubin new file mode 100644 index 0000000000000000000000000000000000000000..1888391dadf24384e4621d7a3a624f7b7f8fe77b Binary files /dev/null and b/data/kernels/k454bf66d3a820343.cubin differ diff --git a/data/kernels/k46a3a8f6de01561b.cubin b/data/kernels/k46a3a8f6de01561b.cubin new file mode 100644 index 0000000000000000000000000000000000000000..22b1b194d5cd30f095156b74e437e9d1a40e4895 Binary files /dev/null and b/data/kernels/k46a3a8f6de01561b.cubin differ diff --git a/data/kernels/k48a7c52f83183fa2.cubin b/data/kernels/k48a7c52f83183fa2.cubin new file mode 100644 index 0000000000000000000000000000000000000000..204d3807600d66b3e57920d6e1b6f9f07e03ddcc Binary files /dev/null and b/data/kernels/k48a7c52f83183fa2.cubin differ diff --git a/data/kernels/k490a3287d2c5867b.cubin b/data/kernels/k490a3287d2c5867b.cubin new file mode 100644 index 0000000000000000000000000000000000000000..8e4222e4d26085e8c2f6aea9749cf1b4e6644bae Binary files /dev/null and b/data/kernels/k490a3287d2c5867b.cubin differ diff --git a/data/kernels/k49cf04acefb68280.cubin b/data/kernels/k49cf04acefb68280.cubin new file mode 100644 index 0000000000000000000000000000000000000000..54da69a85adac20baba6d0af9770c5b0565109f0 Binary files /dev/null and b/data/kernels/k49cf04acefb68280.cubin differ diff --git a/data/kernels/k49d18b17e0267dcf.cubin b/data/kernels/k49d18b17e0267dcf.cubin new file mode 100644 index 0000000000000000000000000000000000000000..c81f31969a0c4b1176eeced7af5ad31239876a9d Binary files /dev/null and b/data/kernels/k49d18b17e0267dcf.cubin differ diff --git a/data/kernels/k4f071f90f54f9ce0.cubin b/data/kernels/k4f071f90f54f9ce0.cubin new file mode 100644 index 0000000000000000000000000000000000000000..2a8eba0898f64e1920598289438edad145216121 --- /dev/null +++ b/data/kernels/k4f071f90f54f9ce0.cubin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f071f90f54f9ce0f71fb2fccf83eb7ad18f6ea9a203c1a7dd385bad5a26f46f +size 131928 diff --git a/data/kernels/k4f6ffeb7d8d294a9.cubin b/data/kernels/k4f6ffeb7d8d294a9.cubin new file mode 100644 index 0000000000000000000000000000000000000000..edb1dab6bdd8dd180ead5fcab877cd00cb05857e Binary files /dev/null and b/data/kernels/k4f6ffeb7d8d294a9.cubin differ diff --git a/data/kernels/k5089d63539923526.cubin b/data/kernels/k5089d63539923526.cubin new file mode 100644 index 0000000000000000000000000000000000000000..9918c87436bf4aa906784f83ced91ec99f7e25a1 Binary files /dev/null and b/data/kernels/k5089d63539923526.cubin differ diff --git a/data/kernels/k57af082950f3547f.cubin b/data/kernels/k57af082950f3547f.cubin new file mode 100644 index 0000000000000000000000000000000000000000..3c56b6b02cb23f8dbf854907889f1917610482f4 Binary files /dev/null and b/data/kernels/k57af082950f3547f.cubin differ diff --git a/data/kernels/k59e07b7b2bc428d5.cubin b/data/kernels/k59e07b7b2bc428d5.cubin new file mode 100644 index 0000000000000000000000000000000000000000..e67c5119ee7403bdad45be1a3971e82095fe14eb Binary files /dev/null and b/data/kernels/k59e07b7b2bc428d5.cubin differ diff --git a/data/kernels/k59f27926302a4996.cubin b/data/kernels/k59f27926302a4996.cubin new file mode 100644 index 0000000000000000000000000000000000000000..905565a547678c061327b24349d3fd5f69460ad3 Binary files /dev/null and b/data/kernels/k59f27926302a4996.cubin differ diff --git a/data/kernels/k5c3ba72c4dd18400.cubin b/data/kernels/k5c3ba72c4dd18400.cubin new file mode 100644 index 0000000000000000000000000000000000000000..8310ba2337779218a8031c7a75e0faab60211d89 Binary files /dev/null and b/data/kernels/k5c3ba72c4dd18400.cubin differ diff --git a/data/kernels/k5cc48966ccd2942d.cubin b/data/kernels/k5cc48966ccd2942d.cubin new file mode 100644 index 0000000000000000000000000000000000000000..cedc1c214ed8f6c6afdfb75719065e9fcc2c7246 --- /dev/null +++ b/data/kernels/k5cc48966ccd2942d.cubin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cc48966ccd2942de2388bcb26d9cbdec0314514f1fea5db9db4019f1795171d +size 132568 diff --git a/data/kernels/k5e792f984fcc4459.cubin b/data/kernels/k5e792f984fcc4459.cubin new file mode 100644 index 0000000000000000000000000000000000000000..e61bff2fc3b90e5cf53971b87856f5c068639584 Binary files /dev/null and b/data/kernels/k5e792f984fcc4459.cubin differ diff --git a/data/kernels/k6091ac5903a49fe7.cubin b/data/kernels/k6091ac5903a49fe7.cubin new file mode 100644 index 0000000000000000000000000000000000000000..760dc710dd66643d35fa8d49840bff019df6d4dd Binary files /dev/null and b/data/kernels/k6091ac5903a49fe7.cubin differ diff --git a/data/kernels/k61e5d8bce63125bd.cubin b/data/kernels/k61e5d8bce63125bd.cubin new file mode 100644 index 0000000000000000000000000000000000000000..933526588fc3e8b93de6cd9d3577e7d634ddf07f Binary files /dev/null and b/data/kernels/k61e5d8bce63125bd.cubin differ diff --git a/data/kernels/k658ff6e60d427c98.cubin b/data/kernels/k658ff6e60d427c98.cubin new file mode 100644 index 0000000000000000000000000000000000000000..9e37297b9a1a07cb9f34c4540f6f8e6892349f4b Binary files /dev/null and b/data/kernels/k658ff6e60d427c98.cubin differ diff --git a/data/kernels/k66f9a30694c1708d.cubin b/data/kernels/k66f9a30694c1708d.cubin new file mode 100644 index 0000000000000000000000000000000000000000..6be454c5daa6d9bc96cc9854721aa9cc8a608ea4 Binary files /dev/null and b/data/kernels/k66f9a30694c1708d.cubin differ diff --git a/data/kernels/k6e3fb66aff962131.cubin b/data/kernels/k6e3fb66aff962131.cubin new file mode 100644 index 0000000000000000000000000000000000000000..d355b929ec4434566c9346bd8e1423c737126a81 --- /dev/null +++ b/data/kernels/k6e3fb66aff962131.cubin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e3fb66aff962131cd808cb39c222c44261e14dca73595516e4c81ae8a5b5055 +size 141464 diff --git a/data/kernels/k6ee10c6a02bb18c4.cubin b/data/kernels/k6ee10c6a02bb18c4.cubin new file mode 100644 index 0000000000000000000000000000000000000000..1b333d02308c6472ad83a0ae723a3d9ade253e0f Binary files /dev/null and b/data/kernels/k6ee10c6a02bb18c4.cubin differ diff --git a/data/kernels/k71bae1c6b1c96e9b.cubin b/data/kernels/k71bae1c6b1c96e9b.cubin new file mode 100644 index 0000000000000000000000000000000000000000..c6b28343b54f673ff7cd8a7287f1d4433fe0a48d Binary files /dev/null and b/data/kernels/k71bae1c6b1c96e9b.cubin differ diff --git a/data/kernels/k78fef3ea328b7e61.cubin b/data/kernels/k78fef3ea328b7e61.cubin new file mode 100644 index 0000000000000000000000000000000000000000..5745105ea24e0bc750cf3d3a9e98e9c16b5bbcd0 Binary files /dev/null and b/data/kernels/k78fef3ea328b7e61.cubin differ diff --git a/data/kernels/k7cc5d925e0963247.cubin b/data/kernels/k7cc5d925e0963247.cubin new file mode 100644 index 0000000000000000000000000000000000000000..a5e29663addc70b689d93be0fe4f45b675ecf7e3 Binary files /dev/null and b/data/kernels/k7cc5d925e0963247.cubin differ diff --git a/data/kernels/k7d815dbee0c85426.cubin b/data/kernels/k7d815dbee0c85426.cubin new file mode 100644 index 0000000000000000000000000000000000000000..806eccb991b22258eff7df7579c73288671a9581 Binary files /dev/null and b/data/kernels/k7d815dbee0c85426.cubin differ diff --git a/data/kernels/k800e8c9c4af72fb2.cubin b/data/kernels/k800e8c9c4af72fb2.cubin new file mode 100644 index 0000000000000000000000000000000000000000..896f52ece419292eff9bd18687e1f740b5f43481 Binary files /dev/null and b/data/kernels/k800e8c9c4af72fb2.cubin differ diff --git a/data/kernels/k836b3be3eb751a14.cubin b/data/kernels/k836b3be3eb751a14.cubin new file mode 100644 index 0000000000000000000000000000000000000000..1933ec90d4584285abee9e48569b450e117fbf42 Binary files /dev/null and b/data/kernels/k836b3be3eb751a14.cubin differ diff --git a/data/kernels/k83a9909d331cf7c4.cubin b/data/kernels/k83a9909d331cf7c4.cubin new file mode 100644 index 0000000000000000000000000000000000000000..1765bff83d81f887e2e180cdb6b982320f9f92b1 Binary files /dev/null and b/data/kernels/k83a9909d331cf7c4.cubin differ diff --git a/data/kernels/k855c87a1f6b212c2.cubin b/data/kernels/k855c87a1f6b212c2.cubin new file mode 100644 index 0000000000000000000000000000000000000000..b0057be7cbe12d8a3870197deac78b01d36af2a9 Binary files /dev/null and b/data/kernels/k855c87a1f6b212c2.cubin differ diff --git a/data/kernels/k87ed7cb3cac2c0e0.cubin b/data/kernels/k87ed7cb3cac2c0e0.cubin new file mode 100644 index 0000000000000000000000000000000000000000..7d1c78480d7948ac9c6b19a5cd2440946fe8361c Binary files /dev/null and b/data/kernels/k87ed7cb3cac2c0e0.cubin differ diff --git a/data/kernels/k9024653d3f4130fd.cubin b/data/kernels/k9024653d3f4130fd.cubin new file mode 100644 index 0000000000000000000000000000000000000000..59f4f5277c72f9ad4a1583a7d1aebc3ee1dc32c7 Binary files /dev/null and b/data/kernels/k9024653d3f4130fd.cubin differ diff --git a/data/kernels/k92e73094701dfc64.cubin b/data/kernels/k92e73094701dfc64.cubin new file mode 100644 index 0000000000000000000000000000000000000000..f436367f1fa05b40cdfaa0766b70e8cb61b1c8cf Binary files /dev/null and b/data/kernels/k92e73094701dfc64.cubin differ diff --git a/data/kernels/k932db95de012e93d.cubin b/data/kernels/k932db95de012e93d.cubin new file mode 100644 index 0000000000000000000000000000000000000000..b2acd22d6af808988e348e5b0046802aa86a4e41 Binary files /dev/null and b/data/kernels/k932db95de012e93d.cubin differ diff --git a/data/kernels/k98f9ac9d99eaa20c.cubin b/data/kernels/k98f9ac9d99eaa20c.cubin new file mode 100644 index 0000000000000000000000000000000000000000..989e3e6f2f088f80e27ed282b3ed9a4917ad8240 Binary files /dev/null and b/data/kernels/k98f9ac9d99eaa20c.cubin differ diff --git a/data/kernels/k99352d845a5ff8f7.cubin b/data/kernels/k99352d845a5ff8f7.cubin new file mode 100644 index 0000000000000000000000000000000000000000..e27a339eca4a8f16c6a14026786b5d47045f2ab1 Binary files /dev/null and b/data/kernels/k99352d845a5ff8f7.cubin differ diff --git a/data/kernels/k9f5ee10dfba65cbf.cubin b/data/kernels/k9f5ee10dfba65cbf.cubin new file mode 100644 index 0000000000000000000000000000000000000000..ebf362fca74fbe3150bcd176c7a2045cc7bc4f97 Binary files /dev/null and b/data/kernels/k9f5ee10dfba65cbf.cubin differ diff --git a/data/kernels/ka11e006b70dffa22.cubin b/data/kernels/ka11e006b70dffa22.cubin new file mode 100644 index 0000000000000000000000000000000000000000..6d089898fa5ceec216b2114bcd14791907f49a90 Binary files /dev/null and b/data/kernels/ka11e006b70dffa22.cubin differ diff --git a/data/kernels/ka5be52defa59afd3.cubin b/data/kernels/ka5be52defa59afd3.cubin new file mode 100644 index 0000000000000000000000000000000000000000..513d9ce7e5cae08f0fa4f4ea50015de03151967b Binary files /dev/null and b/data/kernels/ka5be52defa59afd3.cubin differ diff --git a/data/kernels/ka5d5f3bc43413fb4.cubin b/data/kernels/ka5d5f3bc43413fb4.cubin new file mode 100644 index 0000000000000000000000000000000000000000..de1ce6f531896d4eed09cb45e3b2a46191151de5 Binary files /dev/null and b/data/kernels/ka5d5f3bc43413fb4.cubin differ diff --git a/data/kernels/ka697482ca59f3cb6.cubin b/data/kernels/ka697482ca59f3cb6.cubin new file mode 100644 index 0000000000000000000000000000000000000000..7a140a3db0426ae54da5892b236404d95726645f Binary files /dev/null and b/data/kernels/ka697482ca59f3cb6.cubin differ diff --git a/data/kernels/ka96f380c1a4a01e7.cubin b/data/kernels/ka96f380c1a4a01e7.cubin new file mode 100644 index 0000000000000000000000000000000000000000..0816cf8ec4c488faa44edfd7e3a1377af0049461 Binary files /dev/null and b/data/kernels/ka96f380c1a4a01e7.cubin differ diff --git a/data/kernels/kaeac54e41763baa6.cubin b/data/kernels/kaeac54e41763baa6.cubin new file mode 100644 index 0000000000000000000000000000000000000000..7659a38c8083a064071d696614a71131952b2e2a Binary files /dev/null and b/data/kernels/kaeac54e41763baa6.cubin differ diff --git a/data/kernels/kb469711f36372e89.cubin b/data/kernels/kb469711f36372e89.cubin new file mode 100644 index 0000000000000000000000000000000000000000..e481d0e4caced5d69a79fc2745f7e1615255e4b0 Binary files /dev/null and b/data/kernels/kb469711f36372e89.cubin differ diff --git a/data/kernels/kb47609fef3c4e2e8.cubin b/data/kernels/kb47609fef3c4e2e8.cubin new file mode 100644 index 0000000000000000000000000000000000000000..fa3a55ff7aa3d36382f7c2c7e17af4de103b48ba Binary files /dev/null and b/data/kernels/kb47609fef3c4e2e8.cubin differ diff --git a/data/kernels/kb8b3104c0f9aeebd.cubin b/data/kernels/kb8b3104c0f9aeebd.cubin new file mode 100644 index 0000000000000000000000000000000000000000..a1675f833743045735668ed2145358b24892211d Binary files /dev/null and b/data/kernels/kb8b3104c0f9aeebd.cubin differ diff --git a/data/kernels/kbbcc50a997b92015.cubin b/data/kernels/kbbcc50a997b92015.cubin new file mode 100644 index 0000000000000000000000000000000000000000..4fd88303f6b2b893f9991466598f83a511570dca Binary files /dev/null and b/data/kernels/kbbcc50a997b92015.cubin differ diff --git a/data/kernels/kbef43d1c406c9789.cubin b/data/kernels/kbef43d1c406c9789.cubin new file mode 100644 index 0000000000000000000000000000000000000000..890c95b6cc0db853cf6765c2e84d792fe945a14f Binary files /dev/null and b/data/kernels/kbef43d1c406c9789.cubin differ diff --git a/data/kernels/kc23380e60f61e4b4.cubin b/data/kernels/kc23380e60f61e4b4.cubin new file mode 100644 index 0000000000000000000000000000000000000000..166f970703b4b2c168342f82c278fc6c88ed2401 Binary files /dev/null and b/data/kernels/kc23380e60f61e4b4.cubin differ diff --git a/data/kernels/kc45d3a93621fc33d.cubin b/data/kernels/kc45d3a93621fc33d.cubin new file mode 100644 index 0000000000000000000000000000000000000000..caae048598fd5362c0c1cb069644b771f3e6ac42 --- /dev/null +++ b/data/kernels/kc45d3a93621fc33d.cubin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c45d3a93621fc33d6751fbdf30c3733a8f793ab0d646038e9f9de831cce75f89 +size 133208 diff --git a/data/kernels/kca526d2044e2c8c7.cubin b/data/kernels/kca526d2044e2c8c7.cubin new file mode 100644 index 0000000000000000000000000000000000000000..003741563e08c1521c048103a542b19126093f1c Binary files /dev/null and b/data/kernels/kca526d2044e2c8c7.cubin differ diff --git a/data/kernels/kca7cc96cd77e234e.cubin b/data/kernels/kca7cc96cd77e234e.cubin new file mode 100644 index 0000000000000000000000000000000000000000..e812d96919cc27554eb6b7612b506751dd44bca9 Binary files /dev/null and b/data/kernels/kca7cc96cd77e234e.cubin differ diff --git a/data/kernels/kcc6e590c93b057b5.cubin b/data/kernels/kcc6e590c93b057b5.cubin new file mode 100644 index 0000000000000000000000000000000000000000..a8411f641ab22820ec6287fe4c01ade8ec25105d Binary files /dev/null and b/data/kernels/kcc6e590c93b057b5.cubin differ diff --git a/data/kernels/kcd4b30917d2b6b12.cubin b/data/kernels/kcd4b30917d2b6b12.cubin new file mode 100644 index 0000000000000000000000000000000000000000..90239024ea95758301c141e564def0f8ba0dcd58 Binary files /dev/null and b/data/kernels/kcd4b30917d2b6b12.cubin differ diff --git a/data/kernels/kcdbad66ae454d7c8.cubin b/data/kernels/kcdbad66ae454d7c8.cubin new file mode 100644 index 0000000000000000000000000000000000000000..d7c7c2bc1351465ff7eadc5204a36ad4a8bb8b90 Binary files /dev/null and b/data/kernels/kcdbad66ae454d7c8.cubin differ diff --git a/data/kernels/kd12063a4a3e5e2df.cubin b/data/kernels/kd12063a4a3e5e2df.cubin new file mode 100644 index 0000000000000000000000000000000000000000..fed4f772c65c39dde9fe35d0a9b1af0202260410 Binary files /dev/null and b/data/kernels/kd12063a4a3e5e2df.cubin differ diff --git a/data/kernels/kd29834952e103b28.cubin b/data/kernels/kd29834952e103b28.cubin new file mode 100644 index 0000000000000000000000000000000000000000..400b1200ba6ac42fc5b47744d7f3d22d98dca2f8 Binary files /dev/null and b/data/kernels/kd29834952e103b28.cubin differ diff --git a/data/kernels/kd4d4f5566206d532.cubin b/data/kernels/kd4d4f5566206d532.cubin new file mode 100644 index 0000000000000000000000000000000000000000..75271cb4b0e2d4a4e98b4456631ccbbd681d351d Binary files /dev/null and b/data/kernels/kd4d4f5566206d532.cubin differ diff --git a/data/kernels/kd672ccedae8826ba.cubin b/data/kernels/kd672ccedae8826ba.cubin new file mode 100644 index 0000000000000000000000000000000000000000..843bb9e872eae67f022624b0f7eabc95071e8645 Binary files /dev/null and b/data/kernels/kd672ccedae8826ba.cubin differ diff --git a/data/kernels/kda29a1d9601efc56.cubin b/data/kernels/kda29a1d9601efc56.cubin new file mode 100644 index 0000000000000000000000000000000000000000..2aeaf4d665e3f8d6e6b50b73ea1b3fde781a0990 Binary files /dev/null and b/data/kernels/kda29a1d9601efc56.cubin differ diff --git a/data/kernels/kdc0e72f14cdc7a62.cubin b/data/kernels/kdc0e72f14cdc7a62.cubin new file mode 100644 index 0000000000000000000000000000000000000000..70e41696d1a0fb5e3e07a3b77311b46ef4492aeb Binary files /dev/null and b/data/kernels/kdc0e72f14cdc7a62.cubin differ diff --git a/data/kernels/ke0c49be19fdaf6ce.cubin b/data/kernels/ke0c49be19fdaf6ce.cubin new file mode 100644 index 0000000000000000000000000000000000000000..a113b64055d50f7cb1669a4ef525a89d0674e089 Binary files /dev/null and b/data/kernels/ke0c49be19fdaf6ce.cubin differ diff --git a/data/kernels/ke5a31eafc90d045c.cubin b/data/kernels/ke5a31eafc90d045c.cubin new file mode 100644 index 0000000000000000000000000000000000000000..c0f24ac60d68a81d0b961220a401a02c9752823b Binary files /dev/null and b/data/kernels/ke5a31eafc90d045c.cubin differ diff --git a/data/kernels/ke697b0b38376b386.cubin b/data/kernels/ke697b0b38376b386.cubin new file mode 100644 index 0000000000000000000000000000000000000000..d37f75e7abd22c6c0d9ba914c82a9f0393c472eb Binary files /dev/null and b/data/kernels/ke697b0b38376b386.cubin differ diff --git a/data/kernels/ke6d0c15a3ff2f40d.cubin b/data/kernels/ke6d0c15a3ff2f40d.cubin new file mode 100644 index 0000000000000000000000000000000000000000..a7a7b26ab8cd7da2d54dceed8ea25ec4dcf8d497 Binary files /dev/null and b/data/kernels/ke6d0c15a3ff2f40d.cubin differ diff --git a/data/kernels/ke730ba4d204b1cae.cubin b/data/kernels/ke730ba4d204b1cae.cubin new file mode 100644 index 0000000000000000000000000000000000000000..60ccb13ed958711f80f4add75563ab1b76be7a0a Binary files /dev/null and b/data/kernels/ke730ba4d204b1cae.cubin differ diff --git a/data/kernels/ke79ec5e3b1cec440.cubin b/data/kernels/ke79ec5e3b1cec440.cubin new file mode 100644 index 0000000000000000000000000000000000000000..fd53d40603a1d0cb73d4f3a6da673e3695578d36 Binary files /dev/null and b/data/kernels/ke79ec5e3b1cec440.cubin differ diff --git a/data/kernels/kea7c60400bf00f9f.cubin b/data/kernels/kea7c60400bf00f9f.cubin new file mode 100644 index 0000000000000000000000000000000000000000..678fb85dd9155404c7a690c4a3d0e038e30a9244 Binary files /dev/null and b/data/kernels/kea7c60400bf00f9f.cubin differ diff --git a/data/kernels/kec1589585d38e14a.cubin b/data/kernels/kec1589585d38e14a.cubin new file mode 100644 index 0000000000000000000000000000000000000000..e9e5b8661e4c76bbaac2112545283b64dfff9fc0 Binary files /dev/null and b/data/kernels/kec1589585d38e14a.cubin differ diff --git a/data/kernels/kec596fed6c24d905.cubin b/data/kernels/kec596fed6c24d905.cubin new file mode 100644 index 0000000000000000000000000000000000000000..7665acacf56511a51aee73d6d45ef81d20cc4101 Binary files /dev/null and b/data/kernels/kec596fed6c24d905.cubin differ diff --git a/data/kernels/kede40513278826fd.cubin b/data/kernels/kede40513278826fd.cubin new file mode 100644 index 0000000000000000000000000000000000000000..86b7f455b929e9973ce85dd350600172bee0a97c Binary files /dev/null and b/data/kernels/kede40513278826fd.cubin differ diff --git a/data/kernels/kf0cea90dca6708f8.cubin b/data/kernels/kf0cea90dca6708f8.cubin new file mode 100644 index 0000000000000000000000000000000000000000..6253c28752f5c0ff0c92b6c143c39ba1a9b61dd9 Binary files /dev/null and b/data/kernels/kf0cea90dca6708f8.cubin differ diff --git a/data/kernels/kf4816229eb9b9cc7.cubin b/data/kernels/kf4816229eb9b9cc7.cubin new file mode 100644 index 0000000000000000000000000000000000000000..632355575e00054ee1938aba42f3ebc7b4d93663 Binary files /dev/null and b/data/kernels/kf4816229eb9b9cc7.cubin differ diff --git a/data/kernels/kf534ab50b2fbe865.cubin b/data/kernels/kf534ab50b2fbe865.cubin new file mode 100644 index 0000000000000000000000000000000000000000..ff36c994703f2d44861fa5438061010cc208cdf4 Binary files /dev/null and b/data/kernels/kf534ab50b2fbe865.cubin differ diff --git a/data/kernels/kf6f1075dbd1fdbe9.cubin b/data/kernels/kf6f1075dbd1fdbe9.cubin new file mode 100644 index 0000000000000000000000000000000000000000..cb00725b727023e5690d92b2fa61a6e015a7cc6d Binary files /dev/null and b/data/kernels/kf6f1075dbd1fdbe9.cubin differ diff --git a/data/kernels/kfead9b42f37a5748.cubin b/data/kernels/kfead9b42f37a5748.cubin new file mode 100644 index 0000000000000000000000000000000000000000..930c3110cca0dfc90dd18208ba0d0e82eb4faf35 Binary files /dev/null and b/data/kernels/kfead9b42f37a5748.cubin differ diff --git a/data/w0.bin b/data/w0.bin new file mode 100644 index 0000000000000000000000000000000000000000..6470c58ccd3ed1dd556bbeed577083b7f8bac811 --- /dev/null +++ b/data/w0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11f34d8c674a34c68a88ddf2ba12b0a7618a561842bbff78a502729d144be2c4 +size 68335416 diff --git a/data/w1.bin b/data/w1.bin new file mode 100644 index 0000000000000000000000000000000000000000..5bdbf43eb1d588510182adbdb51cf0abc36050f1 --- /dev/null +++ b/data/w1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70095c0c379005ff47cb87ab98d2512188996a7ebccb25dba96c23e0f7857a6f +size 4852717568 diff --git a/data/w2.bin b/data/w2.bin new file mode 100644 index 0000000000000000000000000000000000000000..587f5f490501790a08fb873a76e6f225237d5a61 --- /dev/null +++ b/data/w2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a174ecdaf6124ecf30741f10c9d2acd22e6e7e7370c3fd47193ce3ceed4f257 +size 10642681 diff --git a/example/degraded_0.png b/example/degraded_0.png new file mode 100644 index 0000000000000000000000000000000000000000..a361baa85a8f61ab3e32f3d5e3d184cd33e7b3d2 Binary files /dev/null and b/example/degraded_0.png differ diff --git a/example/degraded_1.png b/example/degraded_1.png new file mode 100644 index 0000000000000000000000000000000000000000..9e77b135f92820c23e8c27ebdb4bf0818a6102b4 Binary files /dev/null and b/example/degraded_1.png differ diff --git a/example/degraded_2.png b/example/degraded_2.png new file mode 100644 index 0000000000000000000000000000000000000000..5ee987c27deef435668d1ab0ffd5deb5bfa671e3 Binary files /dev/null and b/example/degraded_2.png differ diff --git a/example/expected_0.png b/example/expected_0.png new file mode 100644 index 0000000000000000000000000000000000000000..219ff9f30e4035e67ae54efc01264c6f2b6e3f42 --- /dev/null +++ b/example/expected_0.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9d49386b5ad2f7bd49c802ec2c702f1447f42a41db52421001d07fde467af98 +size 879382 diff --git a/example/expected_1.png b/example/expected_1.png new file mode 100644 index 0000000000000000000000000000000000000000..cbd4af9ac6b63af846341f834332eb094022866b --- /dev/null +++ b/example/expected_1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10a56308c85a4c4f251e724d6f40124beb60991151a95c4efd0cabe42d5ee45a +size 865433 diff --git a/example/expected_2.png b/example/expected_2.png new file mode 100644 index 0000000000000000000000000000000000000000..51cc3e1aadd148dc474fe9b79e87d62bdbd27f6f --- /dev/null +++ b/example/expected_2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7752fd7574716324ed43fdb95fd551b97eb113a32517a6f5b5a8a1903b76c78 +size 862838 diff --git a/example/reference.png b/example/reference.png new file mode 100644 index 0000000000000000000000000000000000000000..7eddb99eaf1ad0a333a8dad7c3d4d51f975c8e91 Binary files /dev/null and b/example/reference.png differ diff --git a/libs/l000.so b/libs/l000.so new file mode 100644 index 0000000000000000000000000000000000000000..e78c051e844f029a72ce482b3d293fdcd3051d1a --- /dev/null +++ b/libs/l000.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:200cceddc7780ceff5342b68e8e74db72a58b37383b9f5baa5d8152a8a223039 +size 52437568 diff --git a/libs/l001.so b/libs/l001.so new file mode 100644 index 0000000000000000000000000000000000000000..1a8a45788eadec3536c57d67dbcad4af6b03c346 --- /dev/null +++ b/libs/l001.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86dab69f09dbd6ffcd0d2b85d997beddf55120a3bec16df5080ada7806670d51 +size 48009792 diff --git a/libs/mbqxkwwnvfsgwfwflvnnnqbrqkgrlng.so b/libs/mbqxkwwnvfsgwfwflvnnnqbrqkgrlng.so new file mode 100644 index 0000000000000000000000000000000000000000..0078de810e38f9787a4b824f3f9c8be31136d35e --- /dev/null +++ b/libs/mbqxkwwnvfsgwfwflvnnnqbrqkgrlng.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e48f3cabe5c0998b1e870a9d8c15d210d7b5f6f3a22e0a039be6ea818d340f46 +size 389904 diff --git a/libs/mdblwtknknxxkvgjsdhqqjqblsngxlswng.so b/libs/mdblwtknknxxkvgjsdhqqjqblsngxlswng.so new file mode 100644 index 0000000000000000000000000000000000000000..76c754b98228091a842c7ac43aa98a41a0401002 --- /dev/null +++ b/libs/mdblwtknknxxkvgjsdhqqjqblsngxlswng.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f9893068411acbbb757f6b80795abe0c16c55001372ed21bd4033931cb70117 +size 267120 diff --git a/libs/mqdvthjddfqvjhsvjdddwqnnqfhbrkqh.so b/libs/mqdvthjddfqvjhsvjdddwqnnqfhbrkqh.so new file mode 100644 index 0000000000000000000000000000000000000000..64bbc55f97893a5bc25995eca81eff980dcb687d --- /dev/null +++ b/libs/mqdvthjddfqvjhsvjdddwqnnqfhbrkqh.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17a97aebc479a39753e5e094bf4a0bc9b89c4e49a0061d5e04cb9845be00b0ad +size 1819864 diff --git a/libs/n02162f3bc7c47204.so b/libs/n02162f3bc7c47204.so new file mode 100644 index 0000000000000000000000000000000000000000..9de0a4c790f6d4a5d49556219f5334dc1a4674da Binary files /dev/null and b/libs/n02162f3bc7c47204.so differ diff --git a/libs/n25f3df6c2debc88a.so b/libs/n25f3df6c2debc88a.so new file mode 100644 index 0000000000000000000000000000000000000000..8c1696fa1ba0232100aea627a8740aa67aad5a6b Binary files /dev/null and b/libs/n25f3df6c2debc88a.so differ diff --git a/libs/n3866fc7b.so b/libs/n3866fc7b.so new file mode 100644 index 0000000000000000000000000000000000000000..fae8a055347d875b2029dcea2d3b31147c5a7939 --- /dev/null +++ b/libs/n3866fc7b.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be12e74dd9147de6c3116b9a8fec090b6f7331ad164eaf254ae5f1271ac2a943 +size 839200 diff --git a/libs/n6b0627.so b/libs/n6b0627.so new file mode 100644 index 0000000000000000000000000000000000000000..9924c932543e0f472bc7dc6778b69cbe93937345 --- /dev/null +++ b/libs/n6b0627.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1de682686c4bc7458aa9b1c63009c901c5baaa00c3b7cf023bcba9aac9804e4b +size 830976 diff --git a/libs/n7596f1b703740f3e.so b/libs/n7596f1b703740f3e.so new file mode 100644 index 0000000000000000000000000000000000000000..56270558ba4fb143b2c10ca6019ed8c0d76696a4 --- /dev/null +++ b/libs/n7596f1b703740f3e.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a43317bc5153aa13f13ec4902fc0c61910e22ea3968ad633d12d35d5b1b4c90 +size 3286976 diff --git a/libs/nd380df.so b/libs/nd380df.so new file mode 100644 index 0000000000000000000000000000000000000000..9176ab959a232da2e11f09fa291845e5a267f217 --- /dev/null +++ b/libs/nd380df.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:461ece91639684c9e3842ebf8d51dfd3db65edb8626ebdb19da712d193d83056 +size 830976 diff --git a/libs/nfb9b0ea8a962978f.so b/libs/nfb9b0ea8a962978f.so new file mode 100644 index 0000000000000000000000000000000000000000..b50500d92510f452a4bbef9d1c5ede56adb50b76 --- /dev/null +++ b/libs/nfb9b0ea8a962978f.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe38b1078e55372555d9db04779ff07bf5ab9a1a3d7e8dfcb4f48ef248f4309f +size 871824 diff --git a/licenses/APACHE-2.0.txt b/licenses/APACHE-2.0.txt new file mode 100644 index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7 --- /dev/null +++ b/licenses/APACHE-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/licenses/PYTORCH_LICENSE.txt b/licenses/PYTORCH_LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..c23172f7aff0254e4f0f163fb2e6e355cbaec5f4 --- /dev/null +++ b/licenses/PYTORCH_LICENSE.txt @@ -0,0 +1,84 @@ +From PyTorch: + +Copyright (c) 2016- Facebook, Inc (Adam Paszke) +Copyright (c) 2014- Facebook, Inc (Soumith Chintala) +Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert) +Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu) +Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu) +Copyright (c) 2011-2013 NYU (Clement Farabet) +Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston) +Copyright (c) 2006 Idiap Research Institute (Samy Bengio) +Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz) + +From Caffe2: + +Copyright (c) 2016-present, Facebook Inc. All rights reserved. + +All contributions by Facebook: +Copyright (c) 2016 Facebook Inc. + +All contributions by Google: +Copyright (c) 2015 Google Inc. +All rights reserved. + +All contributions by Yangqing Jia: +Copyright (c) 2015 Yangqing Jia +All rights reserved. + +All contributions by Kakao Brain: +Copyright 2019-2020 Kakao Brain + +All contributions by Cruise LLC: +Copyright (c) 2022 Cruise LLC. +All rights reserved. + +All contributions by Tri Dao: +Copyright (c) 2024 Tri Dao. +All rights reserved. + +All contributions by Arm: +Copyright (c) 2021, 2023-2025 Arm Limited and/or its affiliates + +All contributions from Caffe: +Copyright(c) 2013, 2014, 2015, the respective contributors +All rights reserved. + +All other contributions: +Copyright(c) 2015, 2016 the respective contributors +All rights reserved. + +Caffe2 uses a copyright model similar to Caffe: each contributor holds +copyright over their contributions to Caffe2. The project versioning records +all such contribution and copyright details. If a contributor wants to further +mark their specific copyright on a particular contribution, they should +indicate their copyright solely in the commit message of the change when it is +committed. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America + and IDIAP Research Institute nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/licenses/SDXL_LICENSE.txt b/licenses/SDXL_LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..af7e355e31c0d976933aa0d06759611151ad8c39 --- /dev/null +++ b/licenses/SDXL_LICENSE.txt @@ -0,0 +1,60 @@ +Copyright (c) 2023 Stability AI +CreativeML Open RAIL++-M License dated July 26, 2023 + +Section I: PREAMBLE +Multimodal generative models are being widely adopted and used, and have the potential to transform the way artists, among other individuals, conceive and benefit from AI or ML technologies as a tool for content creation. +Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations. +In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for art and content generation. +Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this agreement aims to strike a balance between both in order to enable responsible open-science in the field of AI. +This CreativeML Open RAIL++-M License governs the use of the model (and its derivatives) and is informed by the model card associated with the model. +NOW THEREFORE, You and Licensor agree as follows: +Definitions +"License" means the terms and conditions for use, reproduction, and Distribution as defined in this document. +"Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License. +"Output" means the results of operating a Model as embodied in informational content resulting therefrom. +"Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material. +"Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model. +"Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any. +"Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access. +"Licensor" means the copyright owner or entity authorized by the copyright owner that is granting the License, including the persons or entities that may have rights in the Model and/or distributing the Model. +"You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, image generator. +"Third Parties" means individuals or legal entities that are not under common control with Licensor or You. +"Contribution" means any work of authorship, including the original version of the Model and any modifications or additions to that Model or Derivatives of the Model thereof, that is intentionally submitted to Licensor for inclusion in the Model by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Model, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." +"Contributor" means Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Model. + +Section II: INTELLECTUAL PROPERTY RIGHTS +Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in + +Section III. +Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model. +Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Model to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material or a Contribution incorporated within the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or Work shall terminate as of the date such litigation is asserted or filed. +Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION +Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions: Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material. You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License; You must cause any modified files to carry prominent notices stating that You changed the files; You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. - for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License. +Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5). +The Output You Generate. Except as set forth herein, Licensor claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License. + +Section IV: OTHER PROVISIONS +Updates and Runtime Restrictions. To the maximum extent permitted by law, Licensor reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License. +Trademarks and related. Nothing in this License permits You to make use of Licensors’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by the Licensors. +Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Model and the Complementary Material (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License. +Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. +Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +If any provision of this License is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein. + +END OF TERMS AND CONDITIONS + +Attachment A +Use Restrictions +You agree not to use the Model or Derivatives of the Model: +In any way that violates any applicable national, federal, state, local or international law or regulation; +For the purpose of exploiting, harming or attempting to exploit or harm minors in any way; +To generate or disseminate verifiably false information and/or content with the purpose of harming others; +To generate or disseminate personal identifiable information that can be used to harm an individual; +To defame, disparage or otherwise harass others; +For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation; +For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics; +To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm; +For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories; +To provide medical advice and medical results interpretation; +To generate or disseminate information for the purpose to be used for administration of justice, law enforcement, immigration or asylum processes, such as predicting an individual will commit fraud/crime commitment (e.g. by text profiling, drawing causal relationships between assertions made in documents, indiscriminate and arbitrarily-targeted use). + diff --git a/licenses/TRITON_LICENSE.txt b/licenses/TRITON_LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..1d0238e86b1b43e123c9eb136eb0b2c0e1658d63 --- /dev/null +++ b/licenses/TRITON_LICENSE.txt @@ -0,0 +1,23 @@ +/* +* Copyright 2018-2020 Philippe Tillet +* Copyright 2020-2022 OpenAI +* +* Permission is hereby granted, free of charge, to any person obtaining +* a copy of this software and associated documentation files +* (the "Software"), to deal in the Software without restriction, +* including without limitation the rights to use, copy, modify, merge, +* publish, distribute, sublicense, and/or sell copies of the Software, +* and to permit persons to whom the Software is furnished to do so, +* subject to the following conditions: +* +* The above copyright notice and this permission notice shall be +* included in all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..55bf6583451cb7aae3ff9faa6a49776101e84e34 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +--extra-index-url https://download.pytorch.org/whl/cu128 +torch==2.10.0+cu128 +numpy==1.26.4 +Pillow==11.3.0 +safetensors==0.6.2 +diffusers==0.32.2 +huggingface_hub==0.34.4 +tensorrt-cu12==11.3.0.99 diff --git a/run.py b/run.py new file mode 100644 index 0000000000000000000000000000000000000000..65f3cabdafde29fe8b657121ac097ef3aa7174d3 --- /dev/null +++ b/run.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +"""Run one image group or a complete scene through one persistent pipeline.""" +import argparse +import json +from pathlib import Path +import sys + +from syncfix_h100._r03 import _a033 as load_images, _a041 as request_rows +from syncfix_h100._r02 import _a048 as validate_seed + + +def main(): + parser = argparse.ArgumentParser(description="SyncFix H100: three degraded views and one reference") + parser.add_argument("--bundle", type=Path, default=Path(__file__).resolve().parent) + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument("--degraded", nargs=3, metavar="IMAGE") + group.add_argument("--requests", type=Path, help="JSONL or JSON array of scene groups") + parser.add_argument("--reference", type=Path) + parser.add_argument("--seed", type=int) + parser.add_argument("--output-dir", type=Path, required=True) + parser.add_argument("--trt-lib-dir", type=Path) + parser.add_argument("--lock-timeout", type=float, default=0) + args = parser.parse_args() + if args.degraded: + if args.reference is None: + parser.error("--reference is required with --degraded") + validate_seed(args.seed) + rows = [{"id": "result", "degraded": args.degraded, "reference": args.reference, "seed": args.seed}] + else: + if args.reference is not None or args.seed is not None: + parser.error("Put reference and seed in each request record when using --requests") + rows = request_rows(args.requests) + out = args.output_dir.expanduser().resolve() + if out.exists() and (not out.is_dir() or any(out.iterdir())): + raise FileExistsError("Choose a new or empty output directory") + # Validate the first input before loading the GPU model. + first_images = load_images(rows[0]["degraded"], rows[0]["reference"]) + out.mkdir(parents=True, exist_ok=True) + from syncfix_h100 import Pipeline + with Pipeline(args.bundle, trt_lib_dir=args.trt_lib_dir, lock_timeout=args.lock_timeout) as pipeline: + with (out / "requests.jsonl").open("x") as journal: + for index, row in enumerate(rows): + images = first_images if index == 0 else load_images(row["degraded"], row["reference"]) + outputs = pipeline.infer(images[:3], images[3], seed=row.get("seed")) + folder = out / row["id"] + folder.mkdir() + paths = [] + for number, image in enumerate(outputs): + path = folder / f"output_{number}.png" + image.save(path) + paths.append(str(path)) + record = {"id": row["id"], "outputs": paths, "seed": row.get("seed")} + journal.write(json.dumps(record) + "\n") + journal.flush() + print(json.dumps(record), flush=True) + + +if __name__ == "__main__": + try: + main() + except (ValueError, OSError, RuntimeError) as error: + print(f"SyncFix: {error}", file=sys.stderr) + raise SystemExit(1) diff --git a/runtime/syncfix_h100_runtime-0.1.0-cp312-cp312-linux_x86_64.whl b/runtime/syncfix_h100_runtime-0.1.0-cp312-cp312-linux_x86_64.whl new file mode 100644 index 0000000000000000000000000000000000000000..4fa358684156aa94511b4e4a90ee781f732a967d --- /dev/null +++ b/runtime/syncfix_h100_runtime-0.1.0-cp312-cp312-linux_x86_64.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9865fcfc2e208304d782e0e935772f96b33613a77c7a218a3319f56dd5fa9e9 +size 1180516 diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000000000000000000000000000000000000..17e78d19420328045f23112f96daca2caf51e9a2 --- /dev/null +++ b/setup.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash +set -euo pipefail +release_root=$(cd "$(dirname "$0")" && pwd) +runtime_venv=${1:-"$release_root/.venv"} +python_bin=${SYNCFIX_PYTHON:-python3.12} +if [ "$(uname -m)" != x86_64 ] || [ "$(uname -s)" != Linux ]; then + echo 'Inference requires Linux x86_64. CPU-only verify.py works on other platforms.' >&2 + exit 1 +fi +"$python_bin" -c 'import sys; assert sys.version_info[:2] == (3,12), "Use Python 3.12"' +"$python_bin" "$release_root/verify.py" +shopt -s nullglob +runtime_wheels=("$release_root"/runtime/*.whl) +if [ "${#runtime_wheels[@]}" -ne 1 ]; then + echo 'The package must contain exactly one runtime wheel.' >&2 + exit 1 +fi +if [ -e "$runtime_venv" ] && [ ! -f "$runtime_venv/pyvenv.cfg" ]; then + echo 'Choose a new path or an existing Python virtual environment.' >&2 + exit 1 +fi +if [ -f "$runtime_venv/pyvenv.cfg" ]; then + "$runtime_venv/bin/python" -c 'import sys; assert sys.version_info[:2] == (3,12), "Choose a Python 3.12 virtual environment"' +else + "$python_bin" -m venv "$runtime_venv" +fi +"$runtime_venv/bin/python" -m pip install -r "$release_root/requirements.txt" +"$runtime_venv/bin/python" -m pip install --no-deps --force-reinstall "${runtime_wheels[0]}" +echo "Installed runtime in $runtime_venv" +echo 'Activate the environment, then run verify.py --run.' diff --git a/third_party/CUTLASS_LICENSE.txt b/third_party/CUTLASS_LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e971c5d22b9dafa2b83deaedff8350ca7e653d26 --- /dev/null +++ b/third_party/CUTLASS_LICENSE.txt @@ -0,0 +1,34 @@ +Copyright (c) 2017 - 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +SPDX-License-Identifier: BSD-3-Clause + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Certain files within this repository are subject to separate licensing terms: + +- The files located in the `python/CuTeDSL` directory are licensed under the + NVIDIA End User License Agreement (EULA). Please refer to + https://docs.nvidia.com/cutlass/latest/media/docs/pythonDSL/license.html + for the full terms. diff --git a/third_party/FLASH_ATTENTION_LICENSE.txt b/third_party/FLASH_ATTENTION_LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..5860e4b33f3d9d85fc636137c559331d51783a5b --- /dev/null +++ b/third_party/FLASH_ATTENTION_LICENSE.txt @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2022, the respective contributors, as shown by the AUTHORS file. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/third_party/PILLOW_LICENSE.txt b/third_party/PILLOW_LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..10dd42d9eda66de3b8850e988e3915e3e8a9dd2c --- /dev/null +++ b/third_party/PILLOW_LICENSE.txt @@ -0,0 +1,30 @@ +The Python Imaging Library (PIL) is + + Copyright © 1997-2011 by Secret Labs AB + Copyright © 1995-2011 by Fredrik Lundh and contributors + +Pillow is the friendly PIL fork. It is + + Copyright © 2010 by Jeffrey A. Clark and contributors + +Like PIL, Pillow is licensed under the open source MIT-CMU License: + +By obtaining, using, and/or copying this software and/or its associated +documentation, you agree that you have read, understood, and will comply +with the following terms and conditions: + +Permission to use, copy, modify and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies, and that +both that copyright notice and this permission notice appear in supporting +documentation, and that the name of Secret Labs AB or the author not be +used in advertising or publicity pertaining to distribution of the software +without specific, written prior permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/third_party/PYBIND11_LICENSE.txt b/third_party/PYBIND11_LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e466b0dfda14f3a7c8ece512937eb99c8b7b6d68 --- /dev/null +++ b/third_party/PYBIND11_LICENSE.txt @@ -0,0 +1,29 @@ +Copyright (c) 2016 Wenzel Jakob , All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Please also refer to the file .github/CONTRIBUTING.md, which clarifies licensing of +external contributions to this project including patches, pull requests, etc. diff --git a/verify.py b/verify.py new file mode 100644 index 0000000000000000000000000000000000000000..41ec365b5d41422e958d75811eed8862f987c87f --- /dev/null +++ b/verify.py @@ -0,0 +1,180 @@ +#!/usr/bin/env python3 +"""Verify the downloaded files; optionally test inference on the included images.""" +import argparse +import hashlib +import json +import math +import os +from pathlib import Path, PurePosixPath +import re +import sys + + +def read_json(path): + def unique(pairs): + result = {} + for key, value in pairs: + if key in result: + raise ValueError(f"Duplicate field in {path.name}: {key}") + result[key] = value + return result + value = json.loads(path.read_text(), object_pairs_hook=unique) + if not isinstance(value, dict): + raise ValueError(f"Expected an object in {path.name}") + return value + + +def asset(root, name): + if not isinstance(name, str) or not name or "\\" in name: + raise ValueError("Invalid bundle path") + relative = PurePosixPath(name) + if relative.is_absolute() or ".." in relative.parts or relative.as_posix() != name: + raise ValueError("Invalid bundle path") + path = root + for part in relative.parts: + path = path / part + if path.is_symlink(): + raise ValueError(f"Bundle files must not be symbolic links: {name}") + if path == root or not path.resolve().is_relative_to(root): + raise ValueError("Invalid bundle path") + return path + + +def verify_files(root): + manifest = read_json(asset(root, "MANIFEST.json")) + files = manifest.get("files") + if (manifest.get("schema_version") != 1 or + manifest.get("kind") != "syncfix-h100-file-manifest" or + not isinstance(files, dict) or not files or "MANIFEST.json" in files): + raise ValueError("Unsupported or empty file manifest") + result = {"verified": 0, "missing": [], "changed": [], "unlisted": []} + for name, entry in sorted(files.items()): + if (not isinstance(entry, dict) or type(entry.get("bytes")) is not int or + entry["bytes"] < 0 or not isinstance(entry.get("sha256"), str) or + not re.fullmatch("[0-9a-f]{64}", entry["sha256"])): + raise ValueError(f"Invalid file record: {name}") + path = asset(root, name) + if not path.is_file(): + result["missing"].append(name) + continue + with path.open("rb") as stream: + digest = hashlib.file_digest(stream, "sha256").hexdigest() + if path.stat().st_size != entry["bytes"] or digest != entry["sha256"]: + result["changed"].append(name) + else: + result["verified"] += 1 + for directory, subdirs, names in os.walk(root, followlinks=False): + kept = [] + for name in subdirs: + path = Path(directory, name) + if path.is_symlink(): + result["unlisted"].append(path.relative_to(root).as_posix()) + elif (name not in {".git", ".venv", "__pycache__"} + and path != root / ".cache" / "huggingface"): + kept.append(name) + subdirs[:] = kept + for name in names: + relative = Path(directory, name).relative_to(root).as_posix() + if relative != "MANIFEST.json" and relative not in files: + result["unlisted"].append(relative) + result["passed"] = not any(result[key] for key in ("missing", "changed", "unlisted")) + return result + + +def compare_outputs(outputs, repeated, expected_paths, limit): + import numpy as np + from PIL import Image + if not isinstance(limit, (int, float)) or not math.isfinite(limit) or not 0 <= limit <= 255: + raise ValueError("Invalid image comparison limit") + if len(outputs) != 3 or len(repeated) != 3 or len(expected_paths) != 3: + return {"passed": False, "error": "Expected three output images"} + rows = [] + for image, again, path in zip(outputs, repeated, expected_paths): + if any(im.mode != "RGB" or im.size != (1920, 1080) for im in (image, again)): + rows.append({"passed": False, "error": "Invalid output size or format"}) + continue + with Image.open(path) as expected: + if expected.mode != "RGB" or expected.size != (1920, 1080): + raise ValueError("Invalid example output image") + values = np.asarray(image) + delta = values.astype(np.float64) - np.asarray(expected).astype(np.float64) + rms = float(np.sqrt(np.mean(delta * delta))) + repeat_equal = bool(np.array_equal(values, np.asarray(again))) + rows.append({"pixel_rms": rms, "rms_limit": limit, "repeat_equal": repeat_equal, + "passed": rms <= limit and repeat_equal}) + return {"passed": all(row["passed"] for row in rows), "images": rows} + + +def run_example(root, trt_lib_dir): + import numpy as np + from PIL import Image + from syncfix_h100 import Pipeline + example = read_json(asset(root, "bundle.json"))["example"] + paths = [*example["degraded"], example["reference"]] + if len(paths) != 4: + raise ValueError("Expected four example inputs") + inputs = [] + for name in paths: + with Image.open(asset(root, name)) as image: + inputs.append(image.convert("RGB")) + retained = [] + ownership_valid = True + + def retain(images): + nonlocal ownership_valid + for earlier, snapshots in retained: + ownership_valid = ownership_valid and len(earlier) == len(snapshots) and all( + np.array_equal(saved, np.asarray(image)) + for saved, image in zip(snapshots, earlier)) + snapshots = [np.asarray(image).copy() for image in images] + retained.append((images, snapshots)) + return snapshots + + with Pipeline(root, trt_lib_dir=trt_lib_dir) as pipeline: + outputs = pipeline.infer(inputs[:3], inputs[3], seed=example["seed"]) + retain(outputs) + repeated = pipeline.infer(inputs[:3], inputs[3], seed=example["seed"]) + retain(repeated) + other = pipeline.infer(inputs[:3], inputs[3], seed=example["seed"] + 1) + retain(other) + for images, snapshots in retained: + ownership_valid = ownership_valid and len(images) == len(snapshots) and all( + np.array_equal(saved, np.asarray(image)) for saved, image in zip(snapshots, images)) + result = compare_outputs(outputs, repeated, + [asset(root, name) for name in example["expected_images"]], example["pixel_rms_limit"]) + result["owned_outputs_unchanged"] = ownership_valid + result["passed"] = result["passed"] and ownership_valid + return result + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--bundle", type=Path, default=Path(__file__).resolve().parent) + parser.add_argument("--run", action="store_true", help="Also run the included inference test") + parser.add_argument("--trt-lib-dir", type=Path) + parser.add_argument("--report", type=Path, help="Save results outside the bundle") + args = parser.parse_args() + root = args.bundle.expanduser().resolve() + report = args.report.expanduser().resolve() if args.report else None + if report and report.is_relative_to(root): + raise ValueError("Write reports outside the bundle") + result = {"integrity": verify_files(root), "gpu_run": None} + result["passed"] = result["integrity"]["passed"] + if args.run and result["passed"]: + result["gpu_run"] = run_example(root, args.trt_lib_dir) + result["passed"] = result["gpu_run"]["passed"] + if report: + report.parent.mkdir(parents=True, exist_ok=True) + with report.open("x") as stream: + json.dump(result, stream, indent=2) + stream.write("\n") + print(json.dumps(result, indent=2)) + return 0 if result["passed"] else 1 + + +if __name__ == "__main__": + try: + raise SystemExit(main()) + except (ValueError, OSError, RuntimeError, KeyError, TypeError, ImportError) as error: + print(f"SyncFix verification: {error}", file=sys.stderr) + raise SystemExit(1)