mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Update ml_dtypes version and path.
The include paths for headers within the ml_dtypes package have changed. We therefore need to adjust the TF/XLA build rules and paths to account for this. Also updated the pip ml_dtypes version to match. The main ml_dtypes repo name needed to be changed to avoid conflicts with the ml_dtypes subfolder. The subfolder contains the main python package that needs to be added to the PYTHON_PATH. PiperOrigin-RevId: 723654395
This commit is contained in:
parent
10cd82e6e3
commit
c49fbe6cc0
|
|
@ -22,7 +22,7 @@ numpy==1.22.4;python_version<"3.11"
|
|||
scipy==1.11.2;python_version=="3.12"
|
||||
scipy==1.9.2;python_version=="3.11"
|
||||
scipy==1.7.3;python_version<"3.11"
|
||||
ml_dtypes>=0.2.0
|
||||
ml_dtypes>=0.5.1
|
||||
|
||||
# For using Python 3.11 with Bazel 6 (b/286090018)
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ gast == 0.4.0
|
|||
termcolor == 2.3.0
|
||||
wrapt == 1.16.0
|
||||
tblib == 2.0.0
|
||||
ml_dtypes >= 0.4.0, < 0.5.0
|
||||
ml_dtypes >= 0.5.1, < 0.6.0
|
||||
auditwheel ~= 6.1.0
|
||||
# Install tensorboard, and keras
|
||||
# Note that here we want the latest version that matches TF major.minor version
|
||||
|
|
|
|||
|
|
@ -358,24 +358,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
|
|||
|
|
@ -358,24 +358,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
|
|||
|
|
@ -358,24 +358,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
|
|||
|
|
@ -362,24 +362,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ gast == 0.4.0
|
|||
termcolor == 2.3.0
|
||||
wrapt == 1.16.0
|
||||
tblib == 2.0.0
|
||||
ml_dtypes >= 0.4.0, < 0.5.0
|
||||
ml_dtypes >= 0.5.1, < 0.6.0
|
||||
auditwheel >= 6.1.0
|
||||
# Install tensorboard, and keras
|
||||
# Note that here we want the latest version that matches TF major.minor version
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ do_external_licenses_check(){
|
|||
@com_github_googlecloudplatform_google_cloud_cpp//google
|
||||
@com_github_grpc_grpc//src/compiler
|
||||
@platforms//os
|
||||
@ml_dtypes_py//ml_dtypes
|
||||
@ruy//
|
||||
@rules_python//
|
||||
@stablehlo//stablehlo/experimental
|
||||
|
|
@ -73,6 +74,7 @@ EOF
|
|||
@com_github_googlecloudplatform_google_cloud_cpp//
|
||||
@embedded_jdk//
|
||||
^//$
|
||||
@ml_dtypes_py//
|
||||
@ruy//
|
||||
EOF
|
||||
|
||||
|
|
|
|||
|
|
@ -358,24 +358,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
|
|||
|
|
@ -358,24 +358,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
@ -519,7 +526,9 @@ opt-einsum==3.3.0 \
|
|||
packaging==23.2 \
|
||||
--hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \
|
||||
--hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7
|
||||
# via -r ci/official/requirements_updater/requirements.in
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# auditwheel
|
||||
# tb-nightly
|
||||
portpicker==1.6.0 \
|
||||
--hash=sha256:b2787a41404cf7edbe29b07b9e0ed863b09f2665dcc01c1eb0c2261c1e7d0755 \
|
||||
|
|
|
|||
|
|
@ -358,24 +358,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
|
|||
|
|
@ -362,24 +362,31 @@ mdurl==0.1.2 \
|
|||
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
|
||||
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
|
||||
# via markdown-it-py
|
||||
ml-dtypes==0.4.0 \
|
||||
--hash=sha256:03e7cda6ef164eed0abb31df69d2c00c3a5ab3e2610b6d4c42183a43329c72a5 \
|
||||
--hash=sha256:2bb83fd064db43e67e67d021e547698af4c8d5c6190f2e9b1c53c09f6ff5531d \
|
||||
--hash=sha256:3b67ec73a697c88c1122038e0de46520e48dc2ec876d42cf61bc5efe3c0b7675 \
|
||||
--hash=sha256:41affb38fdfe146e3db226cf2953021184d6f0c4ffab52136613e9601706e368 \
|
||||
--hash=sha256:43cf4356a0fe2eeac6d289018d0734e17a403bdf1fd911953c125dd0358edcc0 \
|
||||
--hash=sha256:723af6346447268a3cf0b7356e963d80ecb5732b5279b2aa3fa4b9fc8297c85e \
|
||||
--hash=sha256:75b4faf99d0711b81f393db36d210b4255fd419f6f790bc6c1b461f95ffb7a9e \
|
||||
--hash=sha256:93afe37f3a879d652ec9ef1fc47612388890660a2657fbb5747256c3b818fd81 \
|
||||
--hash=sha256:a15d96d090aebb55ee85173d1775ae325a001aab607a76c8ea0b964ccd6b5364 \
|
||||
--hash=sha256:ad6849a2db386b38e4d54fe13eb3293464561780531a918f8ef4c8169170dd49 \
|
||||
--hash=sha256:bdf689be7351cc3c95110c910c1b864002f113e682e44508910c849e144f3df1 \
|
||||
--hash=sha256:c83e4d443962d891d51669ff241d5aaad10a8d3d37a81c5532a45419885d591c \
|
||||
--hash=sha256:e1e2f4237b459a63c97c2c9f449baa637d7e4c20addff6a9bac486f22432f3b6 \
|
||||
--hash=sha256:eaa32979ebfde3a0d7c947cafbf79edc1ec77ac05ad0780ee86c1d8df70f2259 \
|
||||
--hash=sha256:eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb \
|
||||
--hash=sha256:ee9f91d4c4f9959a7e1051c141dc565f39e54435618152219769e24f5e9a4d06 \
|
||||
--hash=sha256:f1724ddcdf5edbaf615a62110af47407f1719b8d02e68ccee60683acb5f74da1
|
||||
ml-dtypes==0.5.1 \
|
||||
--hash=sha256:023ce2f502efd4d6c1e0472cc58ce3640d051d40e71e27386bed33901e201327 \
|
||||
--hash=sha256:05f23447a1c20ddf4dc7c2c661aa9ed93fcb2658f1017c204d1e758714dc28a8 \
|
||||
--hash=sha256:12651420130ee7cc13059fc56dac6ad300c3af3848b802d475148c9defd27c23 \
|
||||
--hash=sha256:141b2ea2f20bb10802ddca55d91fe21231ef49715cfc971998e8f2a9838f3dbe \
|
||||
--hash=sha256:15ad0f3b0323ce96c24637a88a6f44f6713c64032f27277b069f285c3cf66478 \
|
||||
--hash=sha256:1b7fbe5571fdf28fd3aaab3ef4aafc847de9ebf263be959958c1ca58ec8eadf5 \
|
||||
--hash=sha256:26ebcc69d7b779c8f129393e99732961b5cc33fcff84090451f448c89b0e01b4 \
|
||||
--hash=sha256:6f462f5eca22fb66d7ff9c4744a3db4463af06c49816c4b6ac89b16bfcdc592e \
|
||||
--hash=sha256:6f76232163b5b9c34291b54621ee60417601e2e4802a188a0ea7157cd9b323f4 \
|
||||
--hash=sha256:7000b6e4d8ef07542c05044ec5d8bbae1df083b3f56822c3da63993a113e716f \
|
||||
--hash=sha256:810512e2eccdfc3b41eefa3a27402371a3411453a1efc7e9c000318196140fed \
|
||||
--hash=sha256:8f2c028954f16ede77902b223a8da2d9cbb3892375b85809a5c3cfb1587960c4 \
|
||||
--hash=sha256:9626d0bca1fb387d5791ca36bacbba298c5ef554747b7ebeafefb4564fc83566 \
|
||||
--hash=sha256:ac5b58559bb84a95848ed6984eb8013249f90b6bab62aa5acbad876e256002c9 \
|
||||
--hash=sha256:ad4953c5eb9c25a56d11a913c2011d7e580a435ef5145f804d98efa14477d390 \
|
||||
--hash=sha256:aefedc579ece2f8fb38f876aa7698204ee4c372d0e54f1c1ffa8ca580b54cc60 \
|
||||
--hash=sha256:afb2009ac98da274e893e03162f6269398b2b00d947e7057ee2469a921d58135 \
|
||||
--hash=sha256:b8a9d46b4df5ae2135a8e8e72b465448ebbc1559997f4f9304a9ecc3413efb5b \
|
||||
--hash=sha256:bd73f51957949069573ff783563486339a9285d72e2f36c18e0c1aa9ca7eb190 \
|
||||
--hash=sha256:bf9975bda82a99dc935f2ae4c83846d86df8fd6ba179614acac8e686910851da \
|
||||
--hash=sha256:c09526488c3a9e8b7a23a388d4974b670a9a3dd40c5c8a61db5593ce9b725bab \
|
||||
--hash=sha256:c9945669d3dadf8acb40ec2e57d38c985d8c285ea73af57fc5b09872c516106d \
|
||||
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
|
||||
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
|
||||
# via
|
||||
# -r ci/official/requirements_updater/requirements.in
|
||||
# jax
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ PACKAGE_STATIC_DEPS = [
|
|||
"@local_config_tensorrt//:__subpackages__",
|
||||
"@local_execution_config_platform//:__subpackages__",
|
||||
"@mkl_dnn_acl_compatible//:__subpackages__",
|
||||
"@ml_dtypes//:__subpackages__",
|
||||
"@ml_dtypes_py//ml_dtypes:__subpackages__",
|
||||
"@nccl_archive//:__subpackages__",
|
||||
"@nvtx_archive//:__subpackages__",
|
||||
"@onednn//:__subpackages__",
|
||||
|
|
|
|||
|
|
@ -1085,7 +1085,7 @@ pybind_extension(
|
|||
"@local_config_rocm//:__subpackages__",
|
||||
"@local_config_tensorrt//:__subpackages__",
|
||||
"@local_execution_config_platform//:__subpackages__",
|
||||
"@ml_dtypes//:__subpackages__",
|
||||
"@ml_dtypes_py//ml_dtypes:__subpackages__",
|
||||
"@platforms//:__subpackages__",
|
||||
"@pybind11//:__subpackages__",
|
||||
"@snappy//:__subpackages__",
|
||||
|
|
|
|||
|
|
@ -1274,9 +1274,9 @@ cc_library(
|
|||
"@com_google_absl//absl/status:statusor",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@eigen_archive//:eigen3",
|
||||
"@ml_dtypes//:float8",
|
||||
"@ml_dtypes//:intn",
|
||||
"@ml_dtypes//:mxfloat",
|
||||
"@ml_dtypes_py//ml_dtypes:float8",
|
||||
"@ml_dtypes_py//ml_dtypes:intn",
|
||||
"@ml_dtypes_py//ml_dtypes:mxfloat",
|
||||
] + if_static([":lib_internal_impl"]),
|
||||
)
|
||||
|
||||
|
|
@ -1303,9 +1303,9 @@ cc_library(
|
|||
"@com_google_absl//absl/meta:type_traits",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@eigen_archive//:eigen3",
|
||||
"@ml_dtypes//:float8",
|
||||
"@ml_dtypes//:intn",
|
||||
"@ml_dtypes//:mxfloat",
|
||||
"@ml_dtypes_py//ml_dtypes:float8",
|
||||
"@ml_dtypes_py//ml_dtypes:intn",
|
||||
"@ml_dtypes_py//ml_dtypes:mxfloat",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
@ -1452,9 +1452,9 @@ cc_library(
|
|||
"@com_google_protobuf//:protobuf",
|
||||
"@eigen_archive//:eigen3",
|
||||
"@local_xla//xla/tsl/lib/math:math_util",
|
||||
"@ml_dtypes//:float8",
|
||||
"@ml_dtypes//:intn",
|
||||
"@ml_dtypes//:mxfloat",
|
||||
"@ml_dtypes_py//ml_dtypes:float8",
|
||||
"@ml_dtypes_py//ml_dtypes:intn",
|
||||
"@ml_dtypes_py//ml_dtypes:mxfloat",
|
||||
"@snappy",
|
||||
"@zlib",
|
||||
] + select({
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ py_strict_library(
|
|||
"//tensorflow/python/framework:convert_to_constants",
|
||||
"//tensorflow/python/saved_model:signature_constants",
|
||||
"//third_party/py/numpy",
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ OverridableFetchContent_Declare(
|
|||
# Sync with tensorflow/third_party/py/ml_dtypes/workspace.bzl
|
||||
# Github link:
|
||||
# https://github.com/jax-ml/ml_dtypes/commit/0fa5313b65efe848c5968a15dd37dd220cc29567
|
||||
GIT_TAG 0fa5313b65efe848c5968a15dd37dd220cc29567
|
||||
GIT_TAG 00d98cd92ade342fef589c0470379abb27baebe9
|
||||
# It's not currently possible to shallow clone with a GIT TAG
|
||||
# as cmake attempts to git checkout the commit hash after the clone
|
||||
# which doesn't work as it's a shallow clone hence a different commit hash.
|
||||
|
|
|
|||
|
|
@ -328,7 +328,6 @@ tf_staging/third_party/protobuf/BUILD:
|
|||
tf_staging/third_party/py/BUILD.tpl:
|
||||
tf_staging/third_party/py/BUILD:
|
||||
tf_staging/third_party/py/ml_dtypes/BUILD:
|
||||
tf_staging/third_party/py/ml_dtypes/LICENSE:
|
||||
tf_staging/third_party/py/non_hermetic/ml_dtypes/BUILD:
|
||||
tf_staging/third_party/py/non_hermetic/ml_dtypes/LICENSE:
|
||||
tf_staging/third_party/py/non_hermetic/numpy/BUILD:
|
||||
|
|
|
|||
|
|
@ -452,7 +452,7 @@ py_strict_library(
|
|||
"//tensorflow/python/types:doc_typealias",
|
||||
"//tensorflow/python/util:tf_export",
|
||||
"//tensorflow/tools/docs:doc_controls",
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ JAX_PACKAGES=(
|
|||
"opt-einsum"
|
||||
"auditwheel"
|
||||
"typing_extensions"
|
||||
"ml_dtypes>=0.4.0"
|
||||
"ml_dtypes>=0.5.1"
|
||||
"importlib_metadata>=4.6"
|
||||
"flatbuffers"
|
||||
"build"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ astunparse ~= 1.6.3
|
|||
flatbuffers ~= 24.3.25
|
||||
google_pasta ~= 0.2
|
||||
h5py ~= 3.10.0 # Earliest version for Python 3.12
|
||||
ml_dtypes ~= 0.3.1
|
||||
ml_dtypes ~= 0.5.1
|
||||
# TODO(b/262592253): Support older versions of NumPy for Python 3.10 and lower
|
||||
# to support TFX. Remove when Apache Beam upgrades to newer NumPy.
|
||||
numpy ~= 1.22.0; python_version < '3.11'
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ filegroup(
|
|||
"@llvm-project//llvm:LICENSE.TXT",
|
||||
"@llvm-project//mlir:LICENSE.TXT",
|
||||
"@local_config_tensorrt//:LICENSE",
|
||||
"@ml_dtypes//:LICENSE",
|
||||
"@ml_dtypes_py//:LICENSE",
|
||||
"@org_brotli//:LICENSE",
|
||||
"@pasta//:LICENSE",
|
||||
"@png//:LICENSE",
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ REQUIRED_PACKAGES = [
|
|||
'keras-nightly >= 3.6.0.dev',
|
||||
'numpy >= 1.26.0, < 2.2.0',
|
||||
'h5py >= 3.11.0',
|
||||
'ml_dtypes >= 0.4.0, < 1.0.0',
|
||||
'ml_dtypes >= 0.5.1, < 1.0.0',
|
||||
]
|
||||
|
||||
REQUIRED_PACKAGES = [p for p in REQUIRED_PACKAGES if p is not None]
|
||||
|
|
@ -247,7 +247,7 @@ class InstallHeaders(Command):
|
|||
'/tensorflow/include/external/com_google_absl': '',
|
||||
'/tensorflow/include/external/ducc': '/ducc',
|
||||
'/tensorflow/include/external/eigen_archive': '',
|
||||
'/tensorflow/include/external/ml_dtypes': '/ml_dtypes',
|
||||
'/tensorflow/include/external/ml_dtypes_py': '',
|
||||
'/tensorflow/include/tensorflow/compiler/xla': (
|
||||
'/tensorflow/include/xla'
|
||||
),
|
||||
|
|
@ -358,7 +358,7 @@ headers = (
|
|||
+ list(find_files('*.inc', 'tensorflow/include/external/com_google_absl'))
|
||||
+ list(find_files('*.h', 'tensorflow/include/external/ducc/google'))
|
||||
+ list(find_files('*', 'tensorflow/include/external/eigen_archive'))
|
||||
+ list(find_files('*.h', 'tensorflow/include/external/ml_dtypes'))
|
||||
+ list(find_files('*.h', 'tensorflow/include/external/ml_dtypes_py'))
|
||||
)
|
||||
|
||||
# Quite a lot of setup() options are different if this is a collaborator package
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ astunparse ~= 1.6.3
|
|||
flatbuffers ~= 24.3.25
|
||||
google_pasta ~= 0.2
|
||||
h5py ~= 3.11.0 # Earliest version for NumPy 2.0
|
||||
ml_dtypes ~= 0.4.0 # Earliest version for NumPy 2.0
|
||||
ml_dtypes ~= 0.5.1 # Earliest version with mxfloat types
|
||||
# TODO(b/366266944): Support older versions of NumPy to support TFX. Remove when
|
||||
# Apache Beam upgrades to newer NumPy.
|
||||
numpy ~= 1.26.0
|
||||
|
|
|
|||
202
third_party/py/ml_dtypes/LICENSE
vendored
202
third_party/py/ml_dtypes/LICENSE
vendored
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
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.
|
||||
28
third_party/py/ml_dtypes/ml_dtypes.BUILD
vendored
28
third_party/py/ml_dtypes/ml_dtypes.BUILD
vendored
|
|
@ -1,3 +1,5 @@
|
|||
""" Main ml_dtypes library. """
|
||||
|
||||
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
|
||||
|
||||
package(
|
||||
|
|
@ -5,44 +7,20 @@ package(
|
|||
licenses = ["notice"],
|
||||
)
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
cc_library(
|
||||
name = "float8",
|
||||
hdrs = ["include/float8.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"ml_dtypes",
|
||||
],
|
||||
deps = ["@eigen_archive//:eigen3"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "intn",
|
||||
hdrs = ["include/intn.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"ml_dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "mxfloat",
|
||||
hdrs = ["include/mxfloat.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"float8",
|
||||
"ml_dtypes",
|
||||
],
|
||||
deps = [
|
||||
":float8",
|
||||
"@eigen_archive//:eigen3",
|
||||
|
|
@ -60,7 +38,6 @@ pybind_extension(
|
|||
"_src/numpy.h",
|
||||
"_src/ufuncs.h",
|
||||
],
|
||||
includes = ["ml_dtypes"],
|
||||
visibility = [":__subpackages__"],
|
||||
deps = [
|
||||
":float8",
|
||||
|
|
@ -78,5 +55,6 @@ py_library(
|
|||
"_finfo.py",
|
||||
"_iinfo.py",
|
||||
],
|
||||
imports = ["."], # Import relative to _this_ directory, not the root.
|
||||
deps = [":_ml_dtypes_ext"],
|
||||
)
|
||||
|
|
|
|||
8
third_party/py/ml_dtypes/ml_dtypes_py.BUILD
vendored
Normal file
8
third_party/py/ml_dtypes/ml_dtypes_py.BUILD
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
""" Root ml_dtypes_py package. """
|
||||
|
||||
package(
|
||||
default_visibility = ["//visibility:public"],
|
||||
licenses = ["notice"],
|
||||
)
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
12
third_party/py/ml_dtypes/workspace.bzl
vendored
12
third_party/py/ml_dtypes/workspace.bzl
vendored
|
|
@ -7,15 +7,15 @@ float8 varieties, and int4.
|
|||
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
|
||||
|
||||
def repo():
|
||||
ML_DTYPES_COMMIT = "0fa5313b65efe848c5968a15dd37dd220cc29567"
|
||||
ML_DTYPES_SHA256 = "69c562bb961a21d92357c7709430553c226caac75a751c0aa52955ca14ce8641"
|
||||
ML_DTYPES_COMMIT = "00d98cd92ade342fef589c0470379abb27baebe9"
|
||||
ML_DTYPES_SHA256 = "f6e5880666661351e6cd084ac4178ddc4dabcde7e9a73722981c0d1500cf5937"
|
||||
tf_http_archive(
|
||||
name = "ml_dtypes",
|
||||
build_file = "//third_party/py/ml_dtypes:ml_dtypes.BUILD",
|
||||
name = "ml_dtypes_py",
|
||||
build_file = "//third_party/py/ml_dtypes:ml_dtypes_py.BUILD",
|
||||
link_files = {
|
||||
"//third_party/py/ml_dtypes:LICENSE": "LICENSE",
|
||||
"//third_party/py/ml_dtypes:ml_dtypes.BUILD": "ml_dtypes/BUILD.bazel",
|
||||
},
|
||||
sha256 = ML_DTYPES_SHA256,
|
||||
strip_prefix = "ml_dtypes-{commit}/ml_dtypes".format(commit = ML_DTYPES_COMMIT),
|
||||
strip_prefix = "ml_dtypes-{commit}".format(commit = ML_DTYPES_COMMIT),
|
||||
urls = tf_mirror_urls("https://github.com/jax-ml/ml_dtypes/archive/{commit}/ml_dtypes-{commit}.tar.gz".format(commit = ML_DTYPES_COMMIT)),
|
||||
)
|
||||
|
|
|
|||
1
third_party/xla/opensource_only.files
vendored
1
third_party/xla/opensource_only.files
vendored
|
|
@ -30,7 +30,6 @@ third_party/ortools/ortools.patch:
|
|||
third_party/py/BUILD.tpl:
|
||||
third_party/py/BUILD:
|
||||
third_party/py/ml_dtypes/BUILD:
|
||||
third_party/py/ml_dtypes/LICENSE:
|
||||
third_party/py/numpy/BUILD:
|
||||
third_party/py/python_configure.bzl:
|
||||
third_party/py/python_init_pip.bzl:
|
||||
|
|
|
|||
202
third_party/xla/third_party/py/ml_dtypes/LICENSE
vendored
202
third_party/xla/third_party/py/ml_dtypes/LICENSE
vendored
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
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.
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
""" Main ml_dtypes library. """
|
||||
|
||||
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
|
||||
|
||||
package(
|
||||
|
|
@ -5,44 +7,20 @@ package(
|
|||
licenses = ["notice"],
|
||||
)
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
cc_library(
|
||||
name = "float8",
|
||||
hdrs = ["include/float8.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"ml_dtypes",
|
||||
],
|
||||
deps = ["@eigen_archive//:eigen3"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "intn",
|
||||
hdrs = ["include/intn.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"ml_dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "mxfloat",
|
||||
hdrs = ["include/mxfloat.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"float8",
|
||||
"ml_dtypes",
|
||||
],
|
||||
deps = [
|
||||
":float8",
|
||||
"@eigen_archive//:eigen3",
|
||||
|
|
@ -60,7 +38,6 @@ pybind_extension(
|
|||
"_src/numpy.h",
|
||||
"_src/ufuncs.h",
|
||||
],
|
||||
includes = ["ml_dtypes"],
|
||||
visibility = [":__subpackages__"],
|
||||
deps = [
|
||||
":float8",
|
||||
|
|
@ -78,5 +55,6 @@ py_library(
|
|||
"_finfo.py",
|
||||
"_iinfo.py",
|
||||
],
|
||||
imports = ["."], # Import relative to _this_ directory, not the root.
|
||||
deps = [":_ml_dtypes_ext"],
|
||||
)
|
||||
|
|
|
|||
8
third_party/xla/third_party/py/ml_dtypes/ml_dtypes_py.BUILD
vendored
Normal file
8
third_party/xla/third_party/py/ml_dtypes/ml_dtypes_py.BUILD
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
""" Root ml_dtypes_py package. """
|
||||
|
||||
package(
|
||||
default_visibility = ["//visibility:public"],
|
||||
licenses = ["notice"],
|
||||
)
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
|
@ -7,15 +7,15 @@ float8 varieties, and int4.
|
|||
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
|
||||
|
||||
def repo():
|
||||
ML_DTYPES_COMMIT = "0fa5313b65efe848c5968a15dd37dd220cc29567"
|
||||
ML_DTYPES_SHA256 = "69c562bb961a21d92357c7709430553c226caac75a751c0aa52955ca14ce8641"
|
||||
ML_DTYPES_COMMIT = "00d98cd92ade342fef589c0470379abb27baebe9"
|
||||
ML_DTYPES_SHA256 = "f6e5880666661351e6cd084ac4178ddc4dabcde7e9a73722981c0d1500cf5937"
|
||||
tf_http_archive(
|
||||
name = "ml_dtypes",
|
||||
build_file = "//third_party/py/ml_dtypes:ml_dtypes.BUILD",
|
||||
name = "ml_dtypes_py",
|
||||
build_file = "//third_party/py/ml_dtypes:ml_dtypes_py.BUILD",
|
||||
link_files = {
|
||||
"//third_party/py/ml_dtypes:LICENSE": "LICENSE",
|
||||
"//third_party/py/ml_dtypes:ml_dtypes.BUILD": "ml_dtypes/BUILD.bazel",
|
||||
},
|
||||
sha256 = ML_DTYPES_SHA256,
|
||||
strip_prefix = "ml_dtypes-{commit}/ml_dtypes".format(commit = ML_DTYPES_COMMIT),
|
||||
strip_prefix = "ml_dtypes-{commit}".format(commit = ML_DTYPES_COMMIT),
|
||||
urls = tf_mirror_urls("https://github.com/jax-ml/ml_dtypes/archive/{commit}/ml_dtypes-{commit}.tar.gz".format(commit = ML_DTYPES_COMMIT)),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ third_party/py/BUILD.tpl:
|
|||
third_party/py/BUILD:
|
||||
third_party/py/manylinux_compliance_test.py:
|
||||
third_party/py/ml_dtypes/BUILD:
|
||||
third_party/py/ml_dtypes/LICENSE:
|
||||
third_party/py/numpy/BUILD:
|
||||
third_party/py/py_import.bzl:
|
||||
third_party/py/py_manylinux_compliance_test.bzl:
|
||||
|
|
|
|||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
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.
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
""" Main ml_dtypes library. """
|
||||
|
||||
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
|
||||
|
||||
package(
|
||||
|
|
@ -5,44 +7,20 @@ package(
|
|||
licenses = ["notice"],
|
||||
)
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
cc_library(
|
||||
name = "float8",
|
||||
hdrs = ["include/float8.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"ml_dtypes",
|
||||
],
|
||||
deps = ["@eigen_archive//:eigen3"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "intn",
|
||||
hdrs = ["include/intn.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"ml_dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "mxfloat",
|
||||
hdrs = ["include/mxfloat.h"],
|
||||
include_prefix = "ml_dtypes",
|
||||
# Internal headers are all relative to . but other packages
|
||||
# include these headers with the prefix.
|
||||
includes = [
|
||||
".",
|
||||
"float8",
|
||||
"ml_dtypes",
|
||||
],
|
||||
deps = [
|
||||
":float8",
|
||||
"@eigen_archive//:eigen3",
|
||||
|
|
@ -60,7 +38,6 @@ pybind_extension(
|
|||
"_src/numpy.h",
|
||||
"_src/ufuncs.h",
|
||||
],
|
||||
includes = ["ml_dtypes"],
|
||||
visibility = [":__subpackages__"],
|
||||
deps = [
|
||||
":float8",
|
||||
|
|
@ -78,5 +55,6 @@ py_library(
|
|||
"_finfo.py",
|
||||
"_iinfo.py",
|
||||
],
|
||||
imports = ["."], # Import relative to _this_ directory, not the root.
|
||||
deps = [":_ml_dtypes_ext"],
|
||||
)
|
||||
|
|
|
|||
8
third_party/xla/third_party/tsl/third_party/py/ml_dtypes/ml_dtypes_py.BUILD
vendored
Normal file
8
third_party/xla/third_party/tsl/third_party/py/ml_dtypes/ml_dtypes_py.BUILD
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
""" Root ml_dtypes_py package. """
|
||||
|
||||
package(
|
||||
default_visibility = ["//visibility:public"],
|
||||
licenses = ["notice"],
|
||||
)
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
|
@ -7,15 +7,15 @@ float8 varieties, and int4.
|
|||
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
|
||||
|
||||
def repo():
|
||||
ML_DTYPES_COMMIT = "0fa5313b65efe848c5968a15dd37dd220cc29567"
|
||||
ML_DTYPES_SHA256 = "69c562bb961a21d92357c7709430553c226caac75a751c0aa52955ca14ce8641"
|
||||
ML_DTYPES_COMMIT = "00d98cd92ade342fef589c0470379abb27baebe9"
|
||||
ML_DTYPES_SHA256 = "f6e5880666661351e6cd084ac4178ddc4dabcde7e9a73722981c0d1500cf5937"
|
||||
tf_http_archive(
|
||||
name = "ml_dtypes",
|
||||
build_file = "//third_party/py/ml_dtypes:ml_dtypes.BUILD",
|
||||
name = "ml_dtypes_py",
|
||||
build_file = "//third_party/py/ml_dtypes:ml_dtypes_py.BUILD",
|
||||
link_files = {
|
||||
"//third_party/py/ml_dtypes:LICENSE": "LICENSE",
|
||||
"//third_party/py/ml_dtypes:ml_dtypes.BUILD": "ml_dtypes/BUILD.bazel",
|
||||
},
|
||||
sha256 = ML_DTYPES_SHA256,
|
||||
strip_prefix = "ml_dtypes-{commit}/ml_dtypes".format(commit = ML_DTYPES_COMMIT),
|
||||
strip_prefix = "ml_dtypes-{commit}".format(commit = ML_DTYPES_COMMIT),
|
||||
urls = tf_mirror_urls("https://github.com/jax-ml/ml_dtypes/archive/{commit}/ml_dtypes-{commit}.tar.gz".format(commit = ML_DTYPES_COMMIT)),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -884,9 +884,9 @@ cc_library(
|
|||
hdrs = ["ml_dtypes.h"],
|
||||
compatible_with = get_compatible_with_portable(),
|
||||
deps = [
|
||||
"@ml_dtypes//:float8",
|
||||
"@ml_dtypes//:intn",
|
||||
"@ml_dtypes//:mxfloat",
|
||||
"@ml_dtypes_py//ml_dtypes:float8",
|
||||
"@ml_dtypes_py//ml_dtypes:intn",
|
||||
"@ml_dtypes_py//ml_dtypes:mxfloat",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ limitations under the License.
|
|||
#ifndef TENSORFLOW_TSL_PLATFORM_ML_DTYPES_H_
|
||||
#define TENSORFLOW_TSL_PLATFORM_ML_DTYPES_H_
|
||||
|
||||
#include "ml_dtypes/include/float8.h" // from @ml_dtypes
|
||||
#include "ml_dtypes/include/intn.h" // from @ml_dtypes
|
||||
#include "ml_dtypes/include/mxfloat.h" // from @ml_dtypes
|
||||
#include "ml_dtypes/include/float8.h" // from @ml_dtypes_py
|
||||
#include "ml_dtypes/include/intn.h" // from @ml_dtypes_py
|
||||
#include "ml_dtypes/include/mxfloat.h" // from @ml_dtypes_py
|
||||
|
||||
namespace tsl {
|
||||
using float4_e2m1fn = ::ml_dtypes::float4_e2m1fn;
|
||||
|
|
|
|||
2
third_party/xla/xla/BUILD
vendored
2
third_party/xla/xla/BUILD
vendored
|
|
@ -358,7 +358,7 @@ xla_cc_test(
|
|||
"@com_google_googletest//:gtest_main",
|
||||
"@local_tsl//tsl/platform:logging",
|
||||
"@local_tsl//tsl/platform:ml_dtypes",
|
||||
"@ml_dtypes//:float8",
|
||||
"@ml_dtypes_py//ml_dtypes:float8",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
2
third_party/xla/xla/codegen/testlib/BUILD
vendored
2
third_party/xla/xla/codegen/testlib/BUILD
vendored
|
|
@ -77,7 +77,7 @@ pytype_strict_library(
|
|||
":_extension",
|
||||
"//third_party/py/numpy",
|
||||
"//xla/python:xla_extension",
|
||||
"@ml_dtypes", # buildcleaner: keep (transitively depend on it via xla_extension)
|
||||
"@ml_dtypes_py//ml_dtypes", # buildcleaner: keep (transitively depend on it via xla_extension)
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
8
third_party/xla/xla/python/BUILD
vendored
8
third_party/xla/xla/python/BUILD
vendored
|
|
@ -44,7 +44,7 @@ pytype_strict_library(
|
|||
deps = [
|
||||
":xla_extension", # buildcleaner: keep
|
||||
] + if_google([
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
"//third_party/py/numpy",
|
||||
]),
|
||||
)
|
||||
|
|
@ -93,7 +93,7 @@ py_strict_library(
|
|||
"@absl_py//absl/logging",
|
||||
"@absl_py//absl/testing:absltest",
|
||||
"@absl_py//absl/testing:parameterized",
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
] + if_google(["//third_party/py/numpy"]),
|
||||
)
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ py_strict_test(
|
|||
"@absl_py//absl/logging",
|
||||
"@absl_py//absl/testing:absltest",
|
||||
"@absl_py//absl/testing:parameterized",
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
] + if_google(["//third_party/py/numpy"]) + xla_py_test_deps(),
|
||||
)
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ py_strict_test(
|
|||
"@absl_py//absl/logging",
|
||||
"@absl_py//absl/testing:absltest",
|
||||
"@absl_py//absl/testing:parameterized",
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
] + if_google(
|
||||
[
|
||||
":xla_gpu_extension",
|
||||
|
|
|
|||
2
third_party/xla/xla/python/tools/BUILD
vendored
2
third_party/xla/xla/python/tools/BUILD
vendored
|
|
@ -43,7 +43,7 @@ pytype_strict_library(
|
|||
":_types", # buildcleaner: keep
|
||||
"//third_party/py/numpy",
|
||||
"//xla:xla_data_proto_py",
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
2
third_party/xla/xla/python_api/BUILD
vendored
2
third_party/xla/xla/python_api/BUILD
vendored
|
|
@ -19,7 +19,7 @@ py_strict_library(
|
|||
deps = [
|
||||
"//third_party/py/numpy",
|
||||
"//xla:xla_data_proto_py",
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
2
third_party/xla/xla/tests/BUILD
vendored
2
third_party/xla/xla/tests/BUILD
vendored
|
|
@ -2649,7 +2649,7 @@ xla_test(
|
|||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/types:span",
|
||||
"@local_tsl//tsl/platform:blocking_counter",
|
||||
"@ml_dtypes//:float8",
|
||||
"@ml_dtypes_py//ml_dtypes:float8",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ cc_library(
|
|||
copts = ["-fexceptions"], # Required for pybind11.
|
||||
# Requires data dependency in order to load py module from C++.
|
||||
data = [
|
||||
"@ml_dtypes",
|
||||
"@ml_dtypes_py//ml_dtypes",
|
||||
],
|
||||
features = [
|
||||
"-use_header_modules", # Required for pybind11.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user