Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- ckpts/universal/global_step80/zero/21.mlp.dense_4h_to_h.weight/exp_avg_sq.pt +3 -0
- ckpts/universal/global_step80/zero/23.attention.dense.weight/fp32.pt +3 -0
- ckpts/universal/global_step80/zero/7.input_layernorm.weight/exp_avg.pt +3 -0
- ckpts/universal/global_step80/zero/7.input_layernorm.weight/fp32.pt +3 -0
- venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/INSTALLER +1 -0
- venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/LICENSE +201 -0
- venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/METADATA +128 -0
- venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/RECORD +10 -0
- venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/WHEEL +5 -0
- venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/top_level.txt +1 -0
- venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/INSTALLER +1 -0
- venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/METADATA +56 -0
- venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/RECORD +22 -0
- venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/WHEEL +4 -0
- venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/licenses/LICENSE +24 -0
- venv/lib/python3.10/site-packages/functorch/_C.cpython-310-x86_64-linux-gnu.so +0 -0
- venv/lib/python3.10/site-packages/functorch/__init__.py +38 -0
- venv/lib/python3.10/site-packages/functorch/compile/__init__.py +31 -0
- venv/lib/python3.10/site-packages/functorch/dim/__init__.py +179 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/__init__.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/batch_tensor.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/delayed_mul_tensor.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/dim.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/magic_trace.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/op_properties.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/reference.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/tree_map.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/__pycache__/wrap_type.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/functorch/dim/batch_tensor.py +25 -0
- venv/lib/python3.10/site-packages/functorch/dim/delayed_mul_tensor.py +77 -0
- venv/lib/python3.10/site-packages/functorch/dim/magic_trace.py +42 -0
- venv/lib/python3.10/site-packages/functorch/dim/op_properties.py +311 -0
- venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/INSTALLER +1 -0
- venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/LICENSE +13 -0
- venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/METADATA +132 -0
- venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/RECORD +19 -0
- venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/WHEEL +6 -0
- venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/top_level.txt +1 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/__init__.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/appellseqs.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/compatibility.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/constructor.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/densearith.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/densebasic.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/dispersion.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/distributedmodules.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/heuristicgcd.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/modulargcd.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/orderings.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/sympy/polys/__pycache__/partfrac.cpython-310.pyc +0 -0
ckpts/universal/global_step80/zero/21.mlp.dense_4h_to_h.weight/exp_avg_sq.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e2209557c509fb0e22dece032223ba2580edb14d920cbbd4dbf68eace980bb9
|
3 |
+
size 33555627
|
ckpts/universal/global_step80/zero/23.attention.dense.weight/fp32.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a284c2d9d9bd277fa60a8f8d5a881347ff1bd23641af32e84738bcbc227ab27
|
3 |
+
size 16778317
|
ckpts/universal/global_step80/zero/7.input_layernorm.weight/exp_avg.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf43822e92fa886ac7a484e2b3e8a0ad999601df426b53f60a24070153114bb1
|
3 |
+
size 9372
|
ckpts/universal/global_step80/zero/7.input_layernorm.weight/fp32.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fb04e0c6f60e7788595d56f657eb414dfd76d5694bad5c4ee787fb6bd7003ab
|
3 |
+
size 9293
|
venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Apache License
|
2 |
+
Version 2.0, January 2004
|
3 |
+
http://www.apache.org/licenses/
|
4 |
+
|
5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6 |
+
|
7 |
+
1. Definitions.
|
8 |
+
|
9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
11 |
+
|
12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13 |
+
the copyright owner that is granting the License.
|
14 |
+
|
15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
16 |
+
other entities that control, are controlled by, or are under common
|
17 |
+
control with that entity. For the purposes of this definition,
|
18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
19 |
+
direction or management of such entity, whether by contract or
|
20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22 |
+
|
23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24 |
+
exercising permissions granted by this License.
|
25 |
+
|
26 |
+
"Source" form shall mean the preferred form for making modifications,
|
27 |
+
including but not limited to software source code, documentation
|
28 |
+
source, and configuration files.
|
29 |
+
|
30 |
+
"Object" form shall mean any form resulting from mechanical
|
31 |
+
transformation or translation of a Source form, including but
|
32 |
+
not limited to compiled object code, generated documentation,
|
33 |
+
and conversions to other media types.
|
34 |
+
|
35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
36 |
+
Object form, made available under the License, as indicated by a
|
37 |
+
copyright notice that is included in or attached to the work
|
38 |
+
(an example is provided in the Appendix below).
|
39 |
+
|
40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41 |
+
form, that is based on (or derived from) the Work and for which the
|
42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
44 |
+
of this License, Derivative Works shall not include works that remain
|
45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46 |
+
the Work and Derivative Works thereof.
|
47 |
+
|
48 |
+
"Contribution" shall mean any work of authorship, including
|
49 |
+
the original version of the Work and any modifications or additions
|
50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
54 |
+
means any form of electronic, verbal, or written communication sent
|
55 |
+
to the Licensor or its representatives, including but not limited to
|
56 |
+
communication on electronic mailing lists, source code control systems,
|
57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
59 |
+
excluding communication that is conspicuously marked or otherwise
|
60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
61 |
+
|
62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
64 |
+
subsequently incorporated within the Work.
|
65 |
+
|
66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
71 |
+
Work and such Derivative Works in Source or Object form.
|
72 |
+
|
73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76 |
+
(except as stated in this section) patent license to make, have made,
|
77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78 |
+
where such license applies only to those patent claims licensable
|
79 |
+
by such Contributor that are necessarily infringed by their
|
80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
82 |
+
institute patent litigation against any entity (including a
|
83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84 |
+
or a Contribution incorporated within the Work constitutes direct
|
85 |
+
or contributory patent infringement, then any patent licenses
|
86 |
+
granted to You under this License for that Work shall terminate
|
87 |
+
as of the date such litigation is filed.
|
88 |
+
|
89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
90 |
+
Work or Derivative Works thereof in any medium, with or without
|
91 |
+
modifications, and in Source or Object form, provided that You
|
92 |
+
meet the following conditions:
|
93 |
+
|
94 |
+
(a) You must give any other recipients of the Work or
|
95 |
+
Derivative Works a copy of this License; and
|
96 |
+
|
97 |
+
(b) You must cause any modified files to carry prominent notices
|
98 |
+
stating that You changed the files; and
|
99 |
+
|
100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
101 |
+
that You distribute, all copyright, patent, trademark, and
|
102 |
+
attribution notices from the Source form of the Work,
|
103 |
+
excluding those notices that do not pertain to any part of
|
104 |
+
the Derivative Works; and
|
105 |
+
|
106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107 |
+
distribution, then any Derivative Works that You distribute must
|
108 |
+
include a readable copy of the attribution notices contained
|
109 |
+
within such NOTICE file, excluding those notices that do not
|
110 |
+
pertain to any part of the Derivative Works, in at least one
|
111 |
+
of the following places: within a NOTICE text file distributed
|
112 |
+
as part of the Derivative Works; within the Source form or
|
113 |
+
documentation, if provided along with the Derivative Works; or,
|
114 |
+
within a display generated by the Derivative Works, if and
|
115 |
+
wherever such third-party notices normally appear. The contents
|
116 |
+
of the NOTICE file are for informational purposes only and
|
117 |
+
do not modify the License. You may add Your own attribution
|
118 |
+
notices within Derivative Works that You distribute, alongside
|
119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
120 |
+
that such additional attribution notices cannot be construed
|
121 |
+
as modifying the License.
|
122 |
+
|
123 |
+
You may add Your own copyright statement to Your modifications and
|
124 |
+
may provide additional or different license terms and conditions
|
125 |
+
for use, reproduction, or distribution of Your modifications, or
|
126 |
+
for any such Derivative Works as a whole, provided Your use,
|
127 |
+
reproduction, and distribution of the Work otherwise complies with
|
128 |
+
the conditions stated in this License.
|
129 |
+
|
130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
132 |
+
by You to the Licensor shall be under the terms and conditions of
|
133 |
+
this License, without any additional terms or conditions.
|
134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135 |
+
the terms of any separate license agreement you may have executed
|
136 |
+
with Licensor regarding such Contributions.
|
137 |
+
|
138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
140 |
+
except as required for reasonable and customary use in describing the
|
141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
142 |
+
|
143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144 |
+
agreed to in writing, Licensor provides the Work (and each
|
145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147 |
+
implied, including, without limitation, any warranties or conditions
|
148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150 |
+
appropriateness of using or redistributing the Work and assume any
|
151 |
+
risks associated with Your exercise of permissions under this License.
|
152 |
+
|
153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
154 |
+
whether in tort (including negligence), contract, or otherwise,
|
155 |
+
unless required by applicable law (such as deliberate and grossly
|
156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157 |
+
liable to You for damages, including any direct, indirect, special,
|
158 |
+
incidental, or consequential damages of any character arising as a
|
159 |
+
result of this License or out of the use or inability to use the
|
160 |
+
Work (including but not limited to damages for loss of goodwill,
|
161 |
+
work stoppage, computer failure or malfunction, or any and all
|
162 |
+
other commercial damages or losses), even if such Contributor
|
163 |
+
has been advised of the possibility of such damages.
|
164 |
+
|
165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168 |
+
or other liability obligations and/or rights consistent with this
|
169 |
+
License. However, in accepting such obligations, You may act only
|
170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171 |
+
of any other Contributor, and only if You agree to indemnify,
|
172 |
+
defend, and hold each Contributor harmless for any liability
|
173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
174 |
+
of your accepting any such warranty or additional liability.
|
175 |
+
|
176 |
+
END OF TERMS AND CONDITIONS
|
177 |
+
|
178 |
+
APPENDIX: How to apply the Apache License to your work.
|
179 |
+
|
180 |
+
To apply the Apache License to your work, attach the following
|
181 |
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
182 |
+
replaced with your own identifying information. (Don't include
|
183 |
+
the brackets!) The text should be enclosed in the appropriate
|
184 |
+
comment syntax for the file format. We also recommend that a
|
185 |
+
file or class name and description of purpose be included on the
|
186 |
+
same "printed page" as the copyright notice for easier
|
187 |
+
identification within third-party archives.
|
188 |
+
|
189 |
+
Copyright 2013-2019 Nikolay Kim and Andrew Svetlov
|
190 |
+
|
191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192 |
+
you may not use this file except in compliance with the License.
|
193 |
+
You may obtain a copy of the License at
|
194 |
+
|
195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
196 |
+
|
197 |
+
Unless required by applicable law or agreed to in writing, software
|
198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200 |
+
See the License for the specific language governing permissions and
|
201 |
+
limitations under the License.
|
venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/METADATA
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: aiosignal
|
3 |
+
Version: 1.3.1
|
4 |
+
Summary: aiosignal: a list of registered asynchronous callbacks
|
5 |
+
Home-page: https://github.com/aio-libs/aiosignal
|
6 |
+
Maintainer: aiohttp team <[email protected]>
|
7 |
+
Maintainer-email: [email protected]
|
8 |
+
License: Apache 2.0
|
9 |
+
Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby
|
10 |
+
Project-URL: CI: GitHub Actions, https://github.com/aio-libs/aiosignal/actions
|
11 |
+
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/aiosignal
|
12 |
+
Project-URL: Docs: RTD, https://docs.aiosignal.org
|
13 |
+
Project-URL: GitHub: issues, https://github.com/aio-libs/aiosignal/issues
|
14 |
+
Project-URL: GitHub: repo, https://github.com/aio-libs/aiosignal
|
15 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
16 |
+
Classifier: Intended Audience :: Developers
|
17 |
+
Classifier: Programming Language :: Python
|
18 |
+
Classifier: Programming Language :: Python :: 3
|
19 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
20 |
+
Classifier: Programming Language :: Python :: 3.7
|
21 |
+
Classifier: Programming Language :: Python :: 3.8
|
22 |
+
Classifier: Programming Language :: Python :: 3.9
|
23 |
+
Classifier: Programming Language :: Python :: 3.10
|
24 |
+
Classifier: Programming Language :: Python :: 3.11
|
25 |
+
Classifier: Development Status :: 5 - Production/Stable
|
26 |
+
Classifier: Operating System :: POSIX
|
27 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
28 |
+
Classifier: Operating System :: Microsoft :: Windows
|
29 |
+
Classifier: Framework :: AsyncIO
|
30 |
+
Requires-Python: >=3.7
|
31 |
+
Description-Content-Type: text/x-rst
|
32 |
+
License-File: LICENSE
|
33 |
+
Requires-Dist: frozenlist (>=1.1.0)
|
34 |
+
|
35 |
+
=========
|
36 |
+
aiosignal
|
37 |
+
=========
|
38 |
+
|
39 |
+
.. image:: https://github.com/aio-libs/aiosignal/workflows/CI/badge.svg
|
40 |
+
:target: https://github.com/aio-libs/aiosignal/actions?query=workflow%3ACI
|
41 |
+
:alt: GitHub status for master branch
|
42 |
+
|
43 |
+
.. image:: https://codecov.io/gh/aio-libs/aiosignal/branch/master/graph/badge.svg
|
44 |
+
:target: https://codecov.io/gh/aio-libs/aiosignal
|
45 |
+
:alt: codecov.io status for master branch
|
46 |
+
|
47 |
+
.. image:: https://badge.fury.io/py/aiosignal.svg
|
48 |
+
:target: https://pypi.org/project/aiosignal
|
49 |
+
:alt: Latest PyPI package version
|
50 |
+
|
51 |
+
.. image:: https://readthedocs.org/projects/aiosignal/badge/?version=latest
|
52 |
+
:target: https://aiosignal.readthedocs.io/
|
53 |
+
:alt: Latest Read The Docs
|
54 |
+
|
55 |
+
.. image:: https://img.shields.io/discourse/topics?server=https%3A%2F%2Faio-libs.discourse.group%2F
|
56 |
+
:target: https://aio-libs.discourse.group/
|
57 |
+
:alt: Discourse group for io-libs
|
58 |
+
|
59 |
+
.. image:: https://badges.gitter.im/Join%20Chat.svg
|
60 |
+
:target: https://gitter.im/aio-libs/Lobby
|
61 |
+
:alt: Chat on Gitter
|
62 |
+
|
63 |
+
Introduction
|
64 |
+
============
|
65 |
+
|
66 |
+
A project to manage callbacks in `asyncio` projects.
|
67 |
+
|
68 |
+
``Signal`` is a list of registered asynchronous callbacks.
|
69 |
+
|
70 |
+
The signal's life-cycle has two stages: after creation its content
|
71 |
+
could be filled by using standard list operations: ``sig.append()``
|
72 |
+
etc.
|
73 |
+
|
74 |
+
After you call ``sig.freeze()`` the signal is *frozen*: adding, removing
|
75 |
+
and dropping callbacks is forbidden.
|
76 |
+
|
77 |
+
The only available operation is calling the previously registered
|
78 |
+
callbacks by using ``await sig.send(data)``.
|
79 |
+
|
80 |
+
For concrete usage examples see the `Signals
|
81 |
+
<https://docs.aiohttp.org/en/stable/web_advanced.html#aiohttp-web-signals>
|
82 |
+
section of the `Web Server Advanced
|
83 |
+
<https://docs.aiohttp.org/en/stable/web_advanced.html>` chapter of the `aiohttp
|
84 |
+
documentation`_.
|
85 |
+
|
86 |
+
|
87 |
+
Installation
|
88 |
+
------------
|
89 |
+
|
90 |
+
::
|
91 |
+
|
92 |
+
$ pip install aiosignal
|
93 |
+
|
94 |
+
The library requires Python 3.6 or newer.
|
95 |
+
|
96 |
+
|
97 |
+
Documentation
|
98 |
+
=============
|
99 |
+
|
100 |
+
https://aiosignal.readthedocs.io/
|
101 |
+
|
102 |
+
Communication channels
|
103 |
+
======================
|
104 |
+
|
105 |
+
*gitter chat* https://gitter.im/aio-libs/Lobby
|
106 |
+
|
107 |
+
Requirements
|
108 |
+
============
|
109 |
+
|
110 |
+
- Python >= 3.6
|
111 |
+
- frozenlist >= 1.0.0
|
112 |
+
|
113 |
+
License
|
114 |
+
=======
|
115 |
+
|
116 |
+
``aiosignal`` is offered under the Apache 2 license.
|
117 |
+
|
118 |
+
Source code
|
119 |
+
===========
|
120 |
+
|
121 |
+
The project is hosted on GitHub_
|
122 |
+
|
123 |
+
Please file an issue in the `bug tracker
|
124 |
+
<https://github.com/aio-libs/aiosignal/issues>`_ if you have found a bug
|
125 |
+
or have some suggestions to improve the library.
|
126 |
+
|
127 |
+
.. _GitHub: https://github.com/aio-libs/aiosignal
|
128 |
+
.. _aiohttp documentation: https://docs.aiohttp.org/
|
venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/RECORD
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiosignal-1.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
aiosignal-1.3.1.dist-info/LICENSE,sha256=b9UkPpLdf5jsacesN3co50kFcJ_1J6W_mNbQJjwE9bY,11332
|
3 |
+
aiosignal-1.3.1.dist-info/METADATA,sha256=c0HRnlYzfXKztZPTFDlPfygizTherhG5WdwXlvco0Ug,4008
|
4 |
+
aiosignal-1.3.1.dist-info/RECORD,,
|
5 |
+
aiosignal-1.3.1.dist-info/WHEEL,sha256=ZL1lC_LiPDNRgDnOl2taCMc83aPEUZgHHv2h-LDgdiM,92
|
6 |
+
aiosignal-1.3.1.dist-info/top_level.txt,sha256=z45aNOKGDdrI1roqZY3BGXQ22kJFPHBmVdwtLYLtXC0,10
|
7 |
+
aiosignal/__init__.py,sha256=zQNfFYRSd84bswvpFv8ZWjEr5DeYwV3LXbMSyo2222s,867
|
8 |
+
aiosignal/__init__.pyi,sha256=xeCddYSS8fZAkz8S4HuKSR2IDe3N7RW_LKcXDPPA1Xk,311
|
9 |
+
aiosignal/__pycache__/__init__.cpython-310.pyc,,
|
10 |
+
aiosignal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.38.2)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
venv/lib/python3.10/site-packages/aiosignal-1.3.1.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
aiosignal
|
venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/METADATA
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.3
|
2 |
+
Name: filelock
|
3 |
+
Version: 3.13.4
|
4 |
+
Summary: A platform independent file lock.
|
5 |
+
Project-URL: Documentation, https://py-filelock.readthedocs.io
|
6 |
+
Project-URL: Homepage, https://github.com/tox-dev/py-filelock
|
7 |
+
Project-URL: Source, https://github.com/tox-dev/py-filelock
|
8 |
+
Project-URL: Tracker, https://github.com/tox-dev/py-filelock/issues
|
9 |
+
Maintainer-email: Bernát Gábor <[email protected]>
|
10 |
+
License-Expression: Unlicense
|
11 |
+
License-File: LICENSE
|
12 |
+
Keywords: application,cache,directory,log,user
|
13 |
+
Classifier: Development Status :: 5 - Production/Stable
|
14 |
+
Classifier: Intended Audience :: Developers
|
15 |
+
Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
|
16 |
+
Classifier: Operating System :: OS Independent
|
17 |
+
Classifier: Programming Language :: Python
|
18 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
19 |
+
Classifier: Programming Language :: Python :: 3.8
|
20 |
+
Classifier: Programming Language :: Python :: 3.9
|
21 |
+
Classifier: Programming Language :: Python :: 3.10
|
22 |
+
Classifier: Programming Language :: Python :: 3.11
|
23 |
+
Classifier: Programming Language :: Python :: 3.12
|
24 |
+
Classifier: Topic :: Internet
|
25 |
+
Classifier: Topic :: Software Development :: Libraries
|
26 |
+
Classifier: Topic :: System
|
27 |
+
Requires-Python: >=3.8
|
28 |
+
Provides-Extra: docs
|
29 |
+
Requires-Dist: furo>=2023.9.10; extra == 'docs'
|
30 |
+
Requires-Dist: sphinx-autodoc-typehints!=1.23.4,>=1.25.2; extra == 'docs'
|
31 |
+
Requires-Dist: sphinx>=7.2.6; extra == 'docs'
|
32 |
+
Provides-Extra: testing
|
33 |
+
Requires-Dist: covdefaults>=2.3; extra == 'testing'
|
34 |
+
Requires-Dist: coverage>=7.3.2; extra == 'testing'
|
35 |
+
Requires-Dist: diff-cover>=8.0.1; extra == 'testing'
|
36 |
+
Requires-Dist: pytest-cov>=4.1; extra == 'testing'
|
37 |
+
Requires-Dist: pytest-mock>=3.12; extra == 'testing'
|
38 |
+
Requires-Dist: pytest-timeout>=2.2; extra == 'testing'
|
39 |
+
Requires-Dist: pytest>=7.4.3; extra == 'testing'
|
40 |
+
Provides-Extra: typing
|
41 |
+
Requires-Dist: typing-extensions>=4.8; (python_version < '3.11') and extra == 'typing'
|
42 |
+
Description-Content-Type: text/markdown
|
43 |
+
|
44 |
+
# filelock
|
45 |
+
|
46 |
+
[](https://pypi.org/project/filelock/)
|
47 |
+
[](https://pypi.org/project/filelock/)
|
49 |
+
[](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
|
51 |
+
[](https://github.com/psf/black)
|
53 |
+
[](https://pepy.tech/project/filelock)
|
54 |
+
[](https://github.com/tox-dev/py-filelock/actions/workflows/check.yml)
|
55 |
+
|
56 |
+
For more information checkout the [official documentation](https://py-filelock.readthedocs.io/en/latest/index.html).
|
venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/RECORD
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
filelock-3.13.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
filelock-3.13.4.dist-info/METADATA,sha256=id-2QR57cZ5P7lgQZdhd_xGLBlUrD1p_mFir6ITfRx4,2792
|
3 |
+
filelock-3.13.4.dist-info/RECORD,,
|
4 |
+
filelock-3.13.4.dist-info/WHEEL,sha256=as-1oFTWSeWBgyzh0O_qF439xqBe6AbBgt4MfYe5zwY,87
|
5 |
+
filelock-3.13.4.dist-info/licenses/LICENSE,sha256=iNm062BXnBkew5HKBMFhMFctfu3EqG2qWL8oxuFMm80,1210
|
6 |
+
filelock/__init__.py,sha256=c_wPy9Fo0fmqE4V448Q2A2dDYnMTZeAVHX-kUoN3KCY,1214
|
7 |
+
filelock/__pycache__/__init__.cpython-310.pyc,,
|
8 |
+
filelock/__pycache__/_api.cpython-310.pyc,,
|
9 |
+
filelock/__pycache__/_error.cpython-310.pyc,,
|
10 |
+
filelock/__pycache__/_soft.cpython-310.pyc,,
|
11 |
+
filelock/__pycache__/_unix.cpython-310.pyc,,
|
12 |
+
filelock/__pycache__/_util.cpython-310.pyc,,
|
13 |
+
filelock/__pycache__/_windows.cpython-310.pyc,,
|
14 |
+
filelock/__pycache__/version.cpython-310.pyc,,
|
15 |
+
filelock/_api.py,sha256=rdQfF14SEH01ZoSQXdRm7CW7xGFUTBZyQytd8TySiio,12330
|
16 |
+
filelock/_error.py,sha256=-5jMcjTu60YAvAO1UbqDD1GIEjVkwr8xCFwDBtMeYDg,787
|
17 |
+
filelock/_soft.py,sha256=haqtc_TB_KJbYv2a8iuEAclKuM4fMG1vTcp28sK919c,1711
|
18 |
+
filelock/_unix.py,sha256=-FXP0tjInBHUYygOlMpp4taUmD87QOkrD_4ybg_iT7Q,2259
|
19 |
+
filelock/_util.py,sha256=QHBoNFIYfbAThhotH3Q8E2acFc84wpG49-T-uu017ZE,1715
|
20 |
+
filelock/_windows.py,sha256=eMKL8dZKrgekf5VYVGR14an29JGEInRtUO8ui9ABywg,2177
|
21 |
+
filelock/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22 |
+
filelock/version.py,sha256=7_6ZiCN2IEbqvGolC1tvkUZXIMID8-9wKt9GAmhPeyU,413
|
venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/WHEEL
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: hatchling 1.22.5
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
venv/lib/python3.10/site-packages/filelock-3.13.4.dist-info/licenses/LICENSE
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
This is free and unencumbered software released into the public domain.
|
2 |
+
|
3 |
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
4 |
+
distribute this software, either in source code form or as a compiled
|
5 |
+
binary, for any purpose, commercial or non-commercial, and by any
|
6 |
+
means.
|
7 |
+
|
8 |
+
In jurisdictions that recognize copyright laws, the author or authors
|
9 |
+
of this software dedicate any and all copyright interest in the
|
10 |
+
software to the public domain. We make this dedication for the benefit
|
11 |
+
of the public at large and to the detriment of our heirs and
|
12 |
+
successors. We intend this dedication to be an overt act of
|
13 |
+
relinquishment in perpetuity of all present and future rights to this
|
14 |
+
software under copyright law.
|
15 |
+
|
16 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19 |
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
20 |
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21 |
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
23 |
+
|
24 |
+
For more information, please refer to <http://unlicense.org>
|
venv/lib/python3.10/site-packages/functorch/_C.cpython-310-x86_64-linux-gnu.so
ADDED
Binary file (320 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/__init__.py
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
+
# All rights reserved.
|
3 |
+
#
|
4 |
+
# This source code is licensed under the BSD-style license found in the
|
5 |
+
# LICENSE file in the root directory of this source tree.
|
6 |
+
import torch
|
7 |
+
|
8 |
+
from torch._functorch.deprecated import (
|
9 |
+
combine_state_for_ensemble,
|
10 |
+
functionalize,
|
11 |
+
grad,
|
12 |
+
grad_and_value,
|
13 |
+
hessian,
|
14 |
+
jacfwd,
|
15 |
+
jacrev,
|
16 |
+
jvp,
|
17 |
+
make_functional,
|
18 |
+
make_functional_with_buffers,
|
19 |
+
vjp,
|
20 |
+
vmap,
|
21 |
+
)
|
22 |
+
|
23 |
+
# utilities. Maybe these should go in their own namespace in the future?
|
24 |
+
from torch._functorch.make_functional import (
|
25 |
+
FunctionalModule,
|
26 |
+
FunctionalModuleWithBuffers,
|
27 |
+
)
|
28 |
+
|
29 |
+
# Top-level APIs. Please think carefully before adding something to the
|
30 |
+
# top-level namespace:
|
31 |
+
# - private helper functions should go into torch._functorch
|
32 |
+
# - very experimental things should go into functorch.experimental
|
33 |
+
# - compilation related things should go into functorch.compile
|
34 |
+
|
35 |
+
# Was never documented
|
36 |
+
from torch._functorch.python_key import make_fx
|
37 |
+
|
38 |
+
__version__ = torch.__version__
|
venv/lib/python3.10/site-packages/functorch/compile/__init__.py
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from torch._functorch import config
|
2 |
+
from torch._functorch.aot_autograd import (
|
3 |
+
aot_function,
|
4 |
+
aot_module,
|
5 |
+
aot_module_simplified,
|
6 |
+
compiled_function,
|
7 |
+
compiled_module,
|
8 |
+
get_aot_compilation_context,
|
9 |
+
get_aot_graph_name,
|
10 |
+
get_graph_being_compiled,
|
11 |
+
make_boxed_compiler,
|
12 |
+
make_boxed_func,
|
13 |
+
)
|
14 |
+
from torch._functorch.compilers import (
|
15 |
+
debug_compile,
|
16 |
+
default_decompositions,
|
17 |
+
draw_graph_compile,
|
18 |
+
memory_efficient_fusion,
|
19 |
+
nnc_jit,
|
20 |
+
nop,
|
21 |
+
print_compile,
|
22 |
+
ts_compile,
|
23 |
+
)
|
24 |
+
from torch._functorch.fx_minifier import minifier
|
25 |
+
from torch._functorch.partitioners import (
|
26 |
+
default_partition,
|
27 |
+
draw_graph,
|
28 |
+
draw_joint_graph,
|
29 |
+
min_cut_rematerialization_partition,
|
30 |
+
)
|
31 |
+
from torch._functorch.python_key import pythonkey_decompose
|
venv/lib/python3.10/site-packages/functorch/dim/__init__.py
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import dis
|
2 |
+
import inspect
|
3 |
+
from typing import Sequence, Union
|
4 |
+
|
5 |
+
import torch
|
6 |
+
|
7 |
+
import functorch._C
|
8 |
+
from functorch._C import dim as _C
|
9 |
+
from .tree_map import tree_flatten, tree_map
|
10 |
+
from .wrap_type import wrap_type
|
11 |
+
|
12 |
+
_C._patch_tensor_class()
|
13 |
+
dims, DimList, dimlists = _C.dims, _C.DimList, _C.dimlists
|
14 |
+
|
15 |
+
|
16 |
+
class DimensionMismatchError(Exception):
|
17 |
+
pass
|
18 |
+
|
19 |
+
|
20 |
+
class DimensionBindError(Exception):
|
21 |
+
pass
|
22 |
+
|
23 |
+
|
24 |
+
from . import op_properties
|
25 |
+
|
26 |
+
# use dict to avoid writing C++ bindings for set
|
27 |
+
pointwise = dict.fromkeys(op_properties.pointwise, True)
|
28 |
+
|
29 |
+
use_c = True
|
30 |
+
if not use_c:
|
31 |
+
from . import reference
|
32 |
+
|
33 |
+
|
34 |
+
class _Tensor:
|
35 |
+
# fast path around slow wrapping/unwrapping logic for simply queries used
|
36 |
+
# by the implementation...
|
37 |
+
|
38 |
+
@property
|
39 |
+
def dims(self):
|
40 |
+
return tuple(d for d in self._levels if isinstance(d, Dim))
|
41 |
+
|
42 |
+
def dim(self):
|
43 |
+
return self.ndim
|
44 |
+
|
45 |
+
if use_c:
|
46 |
+
__torch_function__ = classmethod(_C.__torch_function__)
|
47 |
+
expand = _C._instancemethod(_C.expand)
|
48 |
+
else:
|
49 |
+
__torch_function__ = reference.__torch_function__
|
50 |
+
expand = reference.expand
|
51 |
+
|
52 |
+
index = _C._instancemethod(_C.index)
|
53 |
+
|
54 |
+
def __repr__(self):
|
55 |
+
tensor, levels, ndim = self._tensor, self._levels, self.ndim
|
56 |
+
return f"{tensor}\nwith dims={tuple(l + ndim if isinstance(l, int) else l for l in levels)} sizes={tuple(tensor.size())}"
|
57 |
+
|
58 |
+
|
59 |
+
TensorLike = (_Tensor, torch.Tensor)
|
60 |
+
|
61 |
+
|
62 |
+
class Dim(_C.Dim, _Tensor):
|
63 |
+
# note that _C.Dim comes before tensor because we want the Dim API for things like size to take precendence.
|
64 |
+
# Tensor defines format, but we want to print Dims with special formatting
|
65 |
+
__format__ = object.__format__
|
66 |
+
|
67 |
+
|
68 |
+
class Tensor(_Tensor, _C.Tensor):
|
69 |
+
if not use_c:
|
70 |
+
from_batched = staticmethod(_C.Tensor_from_batched)
|
71 |
+
from_positional = staticmethod(_C.Tensor_from_positional)
|
72 |
+
sum = _C._instancemethod(_C.Tensor_sum)
|
73 |
+
|
74 |
+
|
75 |
+
def cat(tensors, dim, new_dim):
|
76 |
+
n = dims()
|
77 |
+
return stack(tensors, n, dim).index([n, dim], new_dim)
|
78 |
+
|
79 |
+
|
80 |
+
if use_c:
|
81 |
+
_wrap = _C._wrap
|
82 |
+
|
83 |
+
def _def(name, *args, **kwargs):
|
84 |
+
orig = getattr(torch.Tensor, name)
|
85 |
+
setattr(_Tensor, name, _C._instancemethod(_wrap(orig, *args, **kwargs)))
|
86 |
+
|
87 |
+
t__getitem__ = _C._instancemethod(_C.__getitem__)
|
88 |
+
stack = _C.stack
|
89 |
+
split = _C._instancemethod(_C.split)
|
90 |
+
else:
|
91 |
+
_wrap, _def = reference._wrap, reference._def
|
92 |
+
t__getitem__ = reference.t__getitem__
|
93 |
+
stack = reference.stack
|
94 |
+
split = reference.split
|
95 |
+
|
96 |
+
# note: there is no python reference
|
97 |
+
t__setitem__ = _C._instancemethod(_C.__setitem__)
|
98 |
+
# this is patched in the C API because otherwise torch.Tensor will
|
99 |
+
# no longer be considered a sequence and things will break
|
100 |
+
# torch.Tensor.__getitem__ = t__getitem__
|
101 |
+
|
102 |
+
_Tensor.__getitem__ = t__getitem__
|
103 |
+
# torch.Tensor.__setitem__ = t__setitem__
|
104 |
+
_Tensor.__setitem__ = t__setitem__
|
105 |
+
|
106 |
+
torch.Tensor.split = split
|
107 |
+
_Tensor.split = split
|
108 |
+
torch.Tensor.expand = _C._instancemethod(_C.expand)
|
109 |
+
torch.Tensor.index = _C._instancemethod(_C.index)
|
110 |
+
wrap_type(use_c, _Tensor, torch.Tensor, _Tensor.__torch_function__)
|
111 |
+
del _Tensor.ndim
|
112 |
+
|
113 |
+
if use_c:
|
114 |
+
_Tensor.order = _C._instancemethod(_C.order)
|
115 |
+
else:
|
116 |
+
_Tensor.order = reference.positional
|
117 |
+
|
118 |
+
_def("mean")
|
119 |
+
_def("sum")
|
120 |
+
_def("all")
|
121 |
+
_def("amax")
|
122 |
+
_def("amin")
|
123 |
+
_def("aminmax")
|
124 |
+
_def("any")
|
125 |
+
_def("count_nonzero")
|
126 |
+
_def("logsumexp")
|
127 |
+
_def("nanmean")
|
128 |
+
_def("nansum")
|
129 |
+
_def("prod")
|
130 |
+
_def("std", keepdim_offset=2)
|
131 |
+
_def("var", keepdim_offset=2)
|
132 |
+
_def("max", single_dim=True)
|
133 |
+
_def("min", single_dim=True)
|
134 |
+
_def("argmax", single_dim=True)
|
135 |
+
_def("argmin", single_dim=True)
|
136 |
+
_def("kthvalue", single_dim=True)
|
137 |
+
_def("median", single_dim=True)
|
138 |
+
_def("nanmedian", single_dim=True)
|
139 |
+
_def("mode", single_dim=True)
|
140 |
+
_def("sort", reduce=False)
|
141 |
+
_def("argsort", reduce=False)
|
142 |
+
_def("unbind", single_dim=True)
|
143 |
+
_def("chunk", dim_offset=1, reduce=False)
|
144 |
+
_def("cummax", single_dim=True, reduce=False)
|
145 |
+
_def("cummin", single_dim=True, reduce=False)
|
146 |
+
_def("cumprod", single_dim=True, reduce=False)
|
147 |
+
_def("cumprod_", single_dim=True, reduce=False)
|
148 |
+
_def("cumsum", single_dim=True, reduce=False)
|
149 |
+
_def("cumsum_", single_dim=True, reduce=False)
|
150 |
+
_def("logcumsumexp", single_dim=True, reduce=False)
|
151 |
+
_def("renorm", dim_offset=1, single_dim=True, reduce=False)
|
152 |
+
_def("softmax", single_dim=True, reduce=False)
|
153 |
+
softmax = _wrap(torch.nn.functional.softmax, single_dim=True, reduce=False)
|
154 |
+
|
155 |
+
# stuff to handle in the future, because they require special
|
156 |
+
# binding logic for dims
|
157 |
+
# cross
|
158 |
+
# diag_embed
|
159 |
+
# diagonal
|
160 |
+
# diagonal_scatter
|
161 |
+
# diff
|
162 |
+
# nanquantile
|
163 |
+
# quantile
|
164 |
+
# roll
|
165 |
+
# rot90
|
166 |
+
# topk (new dimes on output)
|
167 |
+
# should these all be subsumed by inplace indexing?
|
168 |
+
# index_add_
|
169 |
+
# index_add
|
170 |
+
# index_copy
|
171 |
+
# index_copy_
|
172 |
+
# index_fill
|
173 |
+
# index_fill_
|
174 |
+
# index_select
|
175 |
+
# scatter
|
176 |
+
# scatter_
|
177 |
+
# scatter_add
|
178 |
+
# scatter_add_
|
179 |
+
# scatter_reduce
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (4.19 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/batch_tensor.cpython-310.pyc
ADDED
Binary file (789 Bytes). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/delayed_mul_tensor.cpython-310.pyc
ADDED
Binary file (3.19 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/dim.cpython-310.pyc
ADDED
Binary file (4.12 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/magic_trace.cpython-310.pyc
ADDED
Binary file (1.2 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/op_properties.cpython-310.pyc
ADDED
Binary file (5.64 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/reference.cpython-310.pyc
ADDED
Binary file (16.1 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/tree_map.cpython-310.pyc
ADDED
Binary file (543 Bytes). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/__pycache__/wrap_type.cpython-310.pyc
ADDED
Binary file (1.5 kB). View file
|
|
venv/lib/python3.10/site-packages/functorch/dim/batch_tensor.py
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
+
# All rights reserved.
|
3 |
+
#
|
4 |
+
# This source code is licensed under the BSD-style license found in the
|
5 |
+
# LICENSE file in the root directory of this source tree.
|
6 |
+
from contextlib import contextmanager
|
7 |
+
|
8 |
+
from torch._C._functorch import _vmap_add_layers, _vmap_remove_layers
|
9 |
+
|
10 |
+
_enabled = False
|
11 |
+
|
12 |
+
|
13 |
+
@contextmanager
|
14 |
+
def _enable_layers(dims):
|
15 |
+
global _enabled
|
16 |
+
assert not _enabled
|
17 |
+
input = sorted((d._level, d.size) for d in dims if not isinstance(d, int))
|
18 |
+
n = len(input)
|
19 |
+
try:
|
20 |
+
_vmap_add_layers(input)
|
21 |
+
_enabled = True
|
22 |
+
yield
|
23 |
+
finally:
|
24 |
+
_enabled = False
|
25 |
+
_vmap_remove_layers(n)
|
venv/lib/python3.10/site-packages/functorch/dim/delayed_mul_tensor.py
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
+
# All rights reserved.
|
3 |
+
#
|
4 |
+
# This source code is licensed under the BSD-style license found in the
|
5 |
+
# LICENSE file in the root directory of this source tree.
|
6 |
+
import torch
|
7 |
+
|
8 |
+
from . import _Tensor, Tensor
|
9 |
+
from .reference import _dims, _enable_layers, llist, ltuple
|
10 |
+
|
11 |
+
|
12 |
+
class DelayedMulTensor(_Tensor):
|
13 |
+
def __init__(self, lhs, rhs):
|
14 |
+
self._lhs, self._rhs = lhs, rhs
|
15 |
+
self._data = None
|
16 |
+
self._levels_data = None
|
17 |
+
self._has_device = lhs._has_device or rhs._has_device
|
18 |
+
self._batchtensor_data = None
|
19 |
+
self._tensor_data = None
|
20 |
+
|
21 |
+
@property
|
22 |
+
def _levels(self):
|
23 |
+
if self._levels_data is None:
|
24 |
+
levels = llist(self._lhs._levels)
|
25 |
+
for l in self._rhs._levels:
|
26 |
+
if l not in levels:
|
27 |
+
levels.append(l)
|
28 |
+
self._levels_data = ltuple(levels)
|
29 |
+
return self._levels_data
|
30 |
+
|
31 |
+
@property
|
32 |
+
def _batchtensor(self):
|
33 |
+
if self._batchtensor_data is None:
|
34 |
+
with _enable_layers(self._levels):
|
35 |
+
print("bt multiply fallback")
|
36 |
+
self._batchtensor_data = self._lhs._batchtensor * self._rhs._batchtensor
|
37 |
+
return self._batchtensor_data
|
38 |
+
|
39 |
+
@property
|
40 |
+
def _tensor(self):
|
41 |
+
if self._tensor_data is None:
|
42 |
+
self._tensor_data = Tensor.from_batched(
|
43 |
+
self._batchtensor, self._has_device
|
44 |
+
)._tensor
|
45 |
+
return self._tensor_data
|
46 |
+
|
47 |
+
@property
|
48 |
+
def ndim(self):
|
49 |
+
return self._batchtensor.ndim
|
50 |
+
|
51 |
+
@property
|
52 |
+
def dims(self):
|
53 |
+
return ltuple(super().dims)
|
54 |
+
|
55 |
+
def sum(self, dim):
|
56 |
+
dims = _dims(dim, 0, False, False)
|
57 |
+
n = ord("a")
|
58 |
+
all_levels = self._levels
|
59 |
+
|
60 |
+
def to_char(d):
|
61 |
+
return chr(n + all_levels.index(d))
|
62 |
+
|
63 |
+
plhs, levelslhs = self._lhs._tensor, self._lhs._levels
|
64 |
+
prhs, levelsrhs = self._rhs._tensor, self._rhs._levels
|
65 |
+
new_dims = tuple(d for d in self.dims if d not in dims)
|
66 |
+
new_levels = [l for l in self._levels if l not in dims]
|
67 |
+
fmt = "".join(
|
68 |
+
[
|
69 |
+
*(to_char(d) for d in levelslhs),
|
70 |
+
",",
|
71 |
+
*(to_char(d) for d in levelsrhs),
|
72 |
+
"->",
|
73 |
+
*(to_char(d) for d in new_levels),
|
74 |
+
]
|
75 |
+
)
|
76 |
+
result_data = torch.einsum(fmt, (plhs, prhs))
|
77 |
+
return Tensor.from_positional(result_data, new_levels, True)
|
venv/lib/python3.10/site-packages/functorch/dim/magic_trace.py
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
+
# All rights reserved.
|
3 |
+
#
|
4 |
+
# This source code is licensed under the BSD-style license found in the
|
5 |
+
# LICENSE file in the root directory of this source tree.
|
6 |
+
import os
|
7 |
+
import signal
|
8 |
+
import subprocess
|
9 |
+
from contextlib import contextmanager
|
10 |
+
|
11 |
+
|
12 |
+
@contextmanager
|
13 |
+
def magic_trace(output="trace.fxt", magic_trace_cache="/tmp/magic-trace"):
|
14 |
+
pid = os.getpid()
|
15 |
+
if not os.path.exists(magic_trace_cache):
|
16 |
+
print(f"Downloading magic_trace to: {magic_trace_cache}")
|
17 |
+
subprocess.run(
|
18 |
+
[
|
19 |
+
"wget",
|
20 |
+
"-O",
|
21 |
+
magic_trace_cache,
|
22 |
+
"-q",
|
23 |
+
"https://github.com/janestreet/magic-trace/releases/download/v1.0.2/magic-trace",
|
24 |
+
]
|
25 |
+
)
|
26 |
+
subprocess.run(["chmod", "+x", magic_trace_cache])
|
27 |
+
args = [magic_trace_cache, "attach", "-pid", str(pid), "-o", output]
|
28 |
+
p = subprocess.Popen(args, stderr=subprocess.PIPE, encoding="utf-8")
|
29 |
+
while True:
|
30 |
+
x = p.stderr.readline()
|
31 |
+
print(x)
|
32 |
+
if "Attached" in x:
|
33 |
+
break
|
34 |
+
try:
|
35 |
+
yield
|
36 |
+
finally:
|
37 |
+
p.send_signal(signal.SIGINT)
|
38 |
+
r = p.wait()
|
39 |
+
print(p.stderr.read())
|
40 |
+
p.stderr.close()
|
41 |
+
if r != 0:
|
42 |
+
raise ValueError(f"magic_trace exited abnormally: {r}")
|
venv/lib/python3.10/site-packages/functorch/dim/op_properties.py
ADDED
@@ -0,0 +1,311 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
+
# All rights reserved.
|
3 |
+
#
|
4 |
+
# This source code is licensed under the BSD-style license found in the
|
5 |
+
# LICENSE file in the root directory of this source tree.
|
6 |
+
import torch
|
7 |
+
|
8 |
+
# pointwise operators can go through a faster pathway
|
9 |
+
|
10 |
+
tensor_magic_methods = ["add", ""]
|
11 |
+
pointwise_magic_methods_with_reverse = (
|
12 |
+
"add",
|
13 |
+
"sub",
|
14 |
+
"mul",
|
15 |
+
"floordiv",
|
16 |
+
"div",
|
17 |
+
"truediv",
|
18 |
+
"mod",
|
19 |
+
"pow",
|
20 |
+
"lshift",
|
21 |
+
"rshift",
|
22 |
+
"and",
|
23 |
+
"or",
|
24 |
+
"xor",
|
25 |
+
)
|
26 |
+
pointwise_magic_methods = (
|
27 |
+
*(x for m in pointwise_magic_methods_with_reverse for x in (m, "r" + m)),
|
28 |
+
"eq",
|
29 |
+
"gt",
|
30 |
+
"le",
|
31 |
+
"lt",
|
32 |
+
"ge",
|
33 |
+
"gt",
|
34 |
+
"ne",
|
35 |
+
"neg",
|
36 |
+
"pos",
|
37 |
+
"abs",
|
38 |
+
"invert",
|
39 |
+
"iadd",
|
40 |
+
"isub",
|
41 |
+
"imul",
|
42 |
+
"ifloordiv",
|
43 |
+
"idiv",
|
44 |
+
"itruediv",
|
45 |
+
"imod",
|
46 |
+
"ipow",
|
47 |
+
"ilshift",
|
48 |
+
"irshift",
|
49 |
+
"iand",
|
50 |
+
"ior",
|
51 |
+
"ixor",
|
52 |
+
"int",
|
53 |
+
"long",
|
54 |
+
"float",
|
55 |
+
"complex",
|
56 |
+
)
|
57 |
+
|
58 |
+
pointwise_methods = (*(f"__{m}__" for m in pointwise_magic_methods),)
|
59 |
+
|
60 |
+
pointwise = (
|
61 |
+
*(getattr(torch.Tensor, m) for m in pointwise_methods),
|
62 |
+
torch.nn.functional.dropout,
|
63 |
+
torch.where,
|
64 |
+
torch.Tensor.abs,
|
65 |
+
torch.abs,
|
66 |
+
torch.Tensor.acos,
|
67 |
+
torch.acos,
|
68 |
+
torch.Tensor.acosh,
|
69 |
+
torch.acosh,
|
70 |
+
torch.Tensor.add,
|
71 |
+
torch.add,
|
72 |
+
torch.Tensor.addcdiv,
|
73 |
+
torch.addcdiv,
|
74 |
+
torch.Tensor.addcmul,
|
75 |
+
torch.addcmul,
|
76 |
+
torch.Tensor.addr,
|
77 |
+
torch.addr,
|
78 |
+
torch.Tensor.angle,
|
79 |
+
torch.angle,
|
80 |
+
torch.Tensor.asin,
|
81 |
+
torch.asin,
|
82 |
+
torch.Tensor.asinh,
|
83 |
+
torch.asinh,
|
84 |
+
torch.Tensor.atan,
|
85 |
+
torch.atan,
|
86 |
+
torch.Tensor.atan2,
|
87 |
+
torch.atan2,
|
88 |
+
torch.Tensor.atanh,
|
89 |
+
torch.atanh,
|
90 |
+
torch.Tensor.bitwise_and,
|
91 |
+
torch.bitwise_and,
|
92 |
+
torch.Tensor.bitwise_left_shift,
|
93 |
+
torch.bitwise_left_shift,
|
94 |
+
torch.Tensor.bitwise_not,
|
95 |
+
torch.bitwise_not,
|
96 |
+
torch.Tensor.bitwise_or,
|
97 |
+
torch.bitwise_or,
|
98 |
+
torch.Tensor.bitwise_right_shift,
|
99 |
+
torch.bitwise_right_shift,
|
100 |
+
torch.Tensor.bitwise_xor,
|
101 |
+
torch.bitwise_xor,
|
102 |
+
torch.Tensor.ceil,
|
103 |
+
torch.ceil,
|
104 |
+
torch.celu,
|
105 |
+
torch.nn.functional.celu,
|
106 |
+
torch.Tensor.clamp,
|
107 |
+
torch.clamp,
|
108 |
+
torch.Tensor.clamp_max,
|
109 |
+
torch.clamp_max,
|
110 |
+
torch.Tensor.clamp_min,
|
111 |
+
torch.clamp_min,
|
112 |
+
torch.Tensor.copysign,
|
113 |
+
torch.copysign,
|
114 |
+
torch.Tensor.cos,
|
115 |
+
torch.cos,
|
116 |
+
torch.Tensor.cosh,
|
117 |
+
torch.cosh,
|
118 |
+
torch.Tensor.deg2rad,
|
119 |
+
torch.deg2rad,
|
120 |
+
torch.Tensor.digamma,
|
121 |
+
torch.digamma,
|
122 |
+
torch.Tensor.div,
|
123 |
+
torch.div,
|
124 |
+
torch.dropout,
|
125 |
+
torch.nn.functional.dropout,
|
126 |
+
torch.nn.functional.elu,
|
127 |
+
torch.Tensor.eq,
|
128 |
+
torch.eq,
|
129 |
+
torch.Tensor.erf,
|
130 |
+
torch.erf,
|
131 |
+
torch.Tensor.erfc,
|
132 |
+
torch.erfc,
|
133 |
+
torch.Tensor.erfinv,
|
134 |
+
torch.erfinv,
|
135 |
+
torch.Tensor.exp,
|
136 |
+
torch.exp,
|
137 |
+
torch.Tensor.exp2,
|
138 |
+
torch.exp2,
|
139 |
+
torch.Tensor.expm1,
|
140 |
+
torch.expm1,
|
141 |
+
torch.feature_dropout,
|
142 |
+
torch.Tensor.float_power,
|
143 |
+
torch.float_power,
|
144 |
+
torch.Tensor.floor,
|
145 |
+
torch.floor,
|
146 |
+
torch.Tensor.floor_divide,
|
147 |
+
torch.floor_divide,
|
148 |
+
torch.Tensor.fmod,
|
149 |
+
torch.fmod,
|
150 |
+
torch.Tensor.frac,
|
151 |
+
torch.frac,
|
152 |
+
torch.Tensor.frexp,
|
153 |
+
torch.frexp,
|
154 |
+
torch.Tensor.gcd,
|
155 |
+
torch.gcd,
|
156 |
+
torch.Tensor.ge,
|
157 |
+
torch.ge,
|
158 |
+
torch.nn.functional.gelu,
|
159 |
+
torch.nn.functional.glu,
|
160 |
+
torch.Tensor.gt,
|
161 |
+
torch.gt,
|
162 |
+
torch.Tensor.hardshrink,
|
163 |
+
torch.hardshrink,
|
164 |
+
torch.nn.functional.hardshrink,
|
165 |
+
torch.nn.functional.hardsigmoid,
|
166 |
+
torch.nn.functional.hardswish,
|
167 |
+
torch.nn.functional.hardtanh,
|
168 |
+
torch.Tensor.heaviside,
|
169 |
+
torch.heaviside,
|
170 |
+
torch.Tensor.hypot,
|
171 |
+
torch.hypot,
|
172 |
+
torch.Tensor.i0,
|
173 |
+
torch.i0,
|
174 |
+
torch.Tensor.igamma,
|
175 |
+
torch.igamma,
|
176 |
+
torch.Tensor.igammac,
|
177 |
+
torch.igammac,
|
178 |
+
torch.Tensor.isclose,
|
179 |
+
torch.isclose,
|
180 |
+
torch.Tensor.isfinite,
|
181 |
+
torch.isfinite,
|
182 |
+
torch.Tensor.isinf,
|
183 |
+
torch.isinf,
|
184 |
+
torch.Tensor.isnan,
|
185 |
+
torch.isnan,
|
186 |
+
torch.Tensor.isneginf,
|
187 |
+
torch.isneginf,
|
188 |
+
torch.Tensor.isposinf,
|
189 |
+
torch.isposinf,
|
190 |
+
torch.Tensor.isreal,
|
191 |
+
torch.isreal,
|
192 |
+
torch.Tensor.kron,
|
193 |
+
torch.kron,
|
194 |
+
torch.Tensor.lcm,
|
195 |
+
torch.lcm,
|
196 |
+
torch.Tensor.ldexp,
|
197 |
+
torch.ldexp,
|
198 |
+
torch.Tensor.le,
|
199 |
+
torch.le,
|
200 |
+
torch.nn.functional.leaky_relu,
|
201 |
+
torch.Tensor.lerp,
|
202 |
+
torch.lerp,
|
203 |
+
torch.Tensor.lgamma,
|
204 |
+
torch.lgamma,
|
205 |
+
torch.Tensor.log,
|
206 |
+
torch.log,
|
207 |
+
torch.Tensor.log10,
|
208 |
+
torch.log10,
|
209 |
+
torch.Tensor.log1p,
|
210 |
+
torch.log1p,
|
211 |
+
torch.Tensor.log2,
|
212 |
+
torch.log2,
|
213 |
+
torch.nn.functional.logsigmoid,
|
214 |
+
torch.Tensor.logical_and,
|
215 |
+
torch.logical_and,
|
216 |
+
torch.Tensor.logical_not,
|
217 |
+
torch.logical_not,
|
218 |
+
torch.Tensor.logical_or,
|
219 |
+
torch.logical_or,
|
220 |
+
torch.Tensor.logical_xor,
|
221 |
+
torch.logical_xor,
|
222 |
+
torch.Tensor.logit,
|
223 |
+
torch.logit,
|
224 |
+
torch.Tensor.lt,
|
225 |
+
torch.lt,
|
226 |
+
torch.Tensor.maximum,
|
227 |
+
torch.maximum,
|
228 |
+
torch.Tensor.minimum,
|
229 |
+
torch.minimum,
|
230 |
+
torch.nn.functional.mish,
|
231 |
+
torch.Tensor.mvlgamma,
|
232 |
+
torch.mvlgamma,
|
233 |
+
torch.Tensor.nan_to_num,
|
234 |
+
torch.nan_to_num,
|
235 |
+
torch.Tensor.ne,
|
236 |
+
torch.ne,
|
237 |
+
torch.Tensor.neg,
|
238 |
+
torch.neg,
|
239 |
+
torch.Tensor.nextafter,
|
240 |
+
torch.nextafter,
|
241 |
+
torch.Tensor.outer,
|
242 |
+
torch.outer,
|
243 |
+
torch.polar,
|
244 |
+
torch.Tensor.polygamma,
|
245 |
+
torch.polygamma,
|
246 |
+
torch.Tensor.positive,
|
247 |
+
torch.positive,
|
248 |
+
torch.Tensor.pow,
|
249 |
+
torch.pow,
|
250 |
+
torch.Tensor.prelu,
|
251 |
+
torch.prelu,
|
252 |
+
torch.nn.functional.prelu,
|
253 |
+
torch.Tensor.rad2deg,
|
254 |
+
torch.rad2deg,
|
255 |
+
torch.Tensor.reciprocal,
|
256 |
+
torch.reciprocal,
|
257 |
+
torch.Tensor.relu,
|
258 |
+
torch.relu,
|
259 |
+
torch.nn.functional.relu,
|
260 |
+
torch.nn.functional.relu6,
|
261 |
+
torch.Tensor.remainder,
|
262 |
+
torch.remainder,
|
263 |
+
torch.Tensor.round,
|
264 |
+
torch.round,
|
265 |
+
torch.rrelu,
|
266 |
+
torch.nn.functional.rrelu,
|
267 |
+
torch.Tensor.rsqrt,
|
268 |
+
torch.rsqrt,
|
269 |
+
torch.rsub,
|
270 |
+
torch.selu,
|
271 |
+
torch.nn.functional.selu,
|
272 |
+
torch.Tensor.sgn,
|
273 |
+
torch.sgn,
|
274 |
+
torch.Tensor.sigmoid,
|
275 |
+
torch.sigmoid,
|
276 |
+
torch.nn.functional.sigmoid,
|
277 |
+
torch.Tensor.sign,
|
278 |
+
torch.sign,
|
279 |
+
torch.Tensor.signbit,
|
280 |
+
torch.signbit,
|
281 |
+
torch.nn.functional.silu,
|
282 |
+
torch.Tensor.sin,
|
283 |
+
torch.sin,
|
284 |
+
torch.Tensor.sinc,
|
285 |
+
torch.sinc,
|
286 |
+
torch.Tensor.sinh,
|
287 |
+
torch.sinh,
|
288 |
+
torch.nn.functional.softplus,
|
289 |
+
torch.nn.functional.softshrink,
|
290 |
+
torch.Tensor.sqrt,
|
291 |
+
torch.sqrt,
|
292 |
+
torch.Tensor.square,
|
293 |
+
torch.square,
|
294 |
+
torch.Tensor.sub,
|
295 |
+
torch.sub,
|
296 |
+
torch.Tensor.tan,
|
297 |
+
torch.tan,
|
298 |
+
torch.Tensor.tanh,
|
299 |
+
torch.tanh,
|
300 |
+
torch.nn.functional.tanh,
|
301 |
+
torch.threshold,
|
302 |
+
torch.nn.functional.threshold,
|
303 |
+
torch.trapz,
|
304 |
+
torch.Tensor.true_divide,
|
305 |
+
torch.true_divide,
|
306 |
+
torch.Tensor.trunc,
|
307 |
+
torch.trunc,
|
308 |
+
torch.Tensor.xlogy,
|
309 |
+
torch.xlogy,
|
310 |
+
torch.rand_like,
|
311 |
+
)
|
venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/LICENSE
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright 2016 Andrew Svetlov and aio-libs contributors
|
2 |
+
|
3 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
+
you may not use this file except in compliance with the License.
|
5 |
+
You may obtain a copy of the License at
|
6 |
+
|
7 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
8 |
+
|
9 |
+
Unless required by applicable law or agreed to in writing, software
|
10 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
+
See the License for the specific language governing permissions and
|
13 |
+
limitations under the License.
|
venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/METADATA
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: multidict
|
3 |
+
Version: 6.0.5
|
4 |
+
Summary: multidict implementation
|
5 |
+
Home-page: https://github.com/aio-libs/multidict
|
6 |
+
Author: Andrew Svetlov
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: Apache 2
|
9 |
+
Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby
|
10 |
+
Project-URL: CI: GitHub, https://github.com/aio-libs/multidict/actions
|
11 |
+
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/multidict
|
12 |
+
Project-URL: Docs: RTD, https://multidict.aio-libs.org
|
13 |
+
Project-URL: GitHub: issues, https://github.com/aio-libs/multidict/issues
|
14 |
+
Project-URL: GitHub: repo, https://github.com/aio-libs/multidict
|
15 |
+
Classifier: Development Status :: 5 - Production/Stable
|
16 |
+
Classifier: Intended Audience :: Developers
|
17 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
18 |
+
Classifier: Programming Language :: Python
|
19 |
+
Classifier: Programming Language :: Python :: 3
|
20 |
+
Classifier: Programming Language :: Python :: 3.7
|
21 |
+
Classifier: Programming Language :: Python :: 3.8
|
22 |
+
Classifier: Programming Language :: Python :: 3.9
|
23 |
+
Classifier: Programming Language :: Python :: 3.10
|
24 |
+
Classifier: Programming Language :: Python :: 3.11
|
25 |
+
Classifier: Programming Language :: Python :: 3.12
|
26 |
+
Requires-Python: >=3.7
|
27 |
+
Description-Content-Type: text/x-rst
|
28 |
+
License-File: LICENSE
|
29 |
+
|
30 |
+
=========
|
31 |
+
multidict
|
32 |
+
=========
|
33 |
+
|
34 |
+
.. image:: https://github.com/aio-libs/multidict/workflows/CI/badge.svg
|
35 |
+
:target: https://github.com/aio-libs/multidict/actions?query=workflow%3ACI
|
36 |
+
:alt: GitHub status for master branch
|
37 |
+
|
38 |
+
.. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
|
39 |
+
:target: https://codecov.io/gh/aio-libs/multidict
|
40 |
+
:alt: Coverage metrics
|
41 |
+
|
42 |
+
.. image:: https://img.shields.io/pypi/v/multidict.svg
|
43 |
+
:target: https://pypi.org/project/multidict
|
44 |
+
:alt: PyPI
|
45 |
+
|
46 |
+
.. image:: https://readthedocs.org/projects/multidict/badge/?version=latest
|
47 |
+
:target: http://multidict.aio-libs.org/en/latest/?badge=latest
|
48 |
+
:alt: Documentation
|
49 |
+
|
50 |
+
.. image:: https://img.shields.io/pypi/pyversions/multidict.svg
|
51 |
+
:target: https://pypi.org/project/multidict
|
52 |
+
:alt: Python versions
|
53 |
+
|
54 |
+
.. image:: https://badges.gitter.im/Join%20Chat.svg
|
55 |
+
:target: https://gitter.im/aio-libs/Lobby
|
56 |
+
:alt: Chat on Gitter
|
57 |
+
|
58 |
+
Multidict is dict-like collection of *key-value pairs* where key
|
59 |
+
might occur more than once in the container.
|
60 |
+
|
61 |
+
Introduction
|
62 |
+
------------
|
63 |
+
|
64 |
+
*HTTP Headers* and *URL query string* require specific data structure:
|
65 |
+
*multidict*. It behaves mostly like a regular ``dict`` but it may have
|
66 |
+
several *values* for the same *key* and *preserves insertion ordering*.
|
67 |
+
|
68 |
+
The *key* is ``str`` (or ``istr`` for case-insensitive dictionaries).
|
69 |
+
|
70 |
+
``multidict`` has four multidict classes:
|
71 |
+
``MultiDict``, ``MultiDictProxy``, ``CIMultiDict``
|
72 |
+
and ``CIMultiDictProxy``.
|
73 |
+
|
74 |
+
Immutable proxies (``MultiDictProxy`` and
|
75 |
+
``CIMultiDictProxy``) provide a dynamic view for the
|
76 |
+
proxied multidict, the view reflects underlying collection changes. They
|
77 |
+
implement the ``collections.abc.Mapping`` interface.
|
78 |
+
|
79 |
+
Regular mutable (``MultiDict`` and ``CIMultiDict``) classes
|
80 |
+
implement ``collections.abc.MutableMapping`` and allows them to change
|
81 |
+
their own content.
|
82 |
+
|
83 |
+
|
84 |
+
*Case insensitive* (``CIMultiDict`` and
|
85 |
+
``CIMultiDictProxy``) assume the *keys* are case
|
86 |
+
insensitive, e.g.::
|
87 |
+
|
88 |
+
>>> dct = CIMultiDict(key='val')
|
89 |
+
>>> 'Key' in dct
|
90 |
+
True
|
91 |
+
>>> dct['Key']
|
92 |
+
'val'
|
93 |
+
|
94 |
+
*Keys* should be ``str`` or ``istr`` instances.
|
95 |
+
|
96 |
+
The library has optional C Extensions for speed.
|
97 |
+
|
98 |
+
|
99 |
+
License
|
100 |
+
-------
|
101 |
+
|
102 |
+
Apache 2
|
103 |
+
|
104 |
+
Library Installation
|
105 |
+
--------------------
|
106 |
+
|
107 |
+
.. code-block:: bash
|
108 |
+
|
109 |
+
$ pip install multidict
|
110 |
+
|
111 |
+
The library is Python 3 only!
|
112 |
+
|
113 |
+
PyPI contains binary wheels for Linux, Windows and MacOS. If you want to install
|
114 |
+
``multidict`` on another operating system (or *Alpine Linux* inside a Docker) the
|
115 |
+
tarball will be used to compile the library from source. It requires a C compiler and
|
116 |
+
Python headers to be installed.
|
117 |
+
|
118 |
+
To skip the compilation, please use the `MULTIDICT_NO_EXTENSIONS` environment variable,
|
119 |
+
e.g.:
|
120 |
+
|
121 |
+
.. code-block:: bash
|
122 |
+
|
123 |
+
$ MULTIDICT_NO_EXTENSIONS=1 pip install multidict
|
124 |
+
|
125 |
+
Please note, the pure Python (uncompiled) version is about 20-50 times slower depending on
|
126 |
+
the usage scenario!!!
|
127 |
+
|
128 |
+
|
129 |
+
|
130 |
+
Changelog
|
131 |
+
---------
|
132 |
+
See `RTD page <http://multidict.aio-libs.org/en/latest/changes>`_.
|
venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/RECORD
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
multidict-6.0.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
multidict-6.0.5.dist-info/LICENSE,sha256=k9Ealo4vDzY3PECBH_bSDhc_WMPKtYhM1mF7v9eVSSo,611
|
3 |
+
multidict-6.0.5.dist-info/METADATA,sha256=fGbYCQYEMcDtxEz2H6GLf1np9JtMhNTaLVzgAhsQYzU,4214
|
4 |
+
multidict-6.0.5.dist-info/RECORD,,
|
5 |
+
multidict-6.0.5.dist-info/WHEEL,sha256=1FEjxEYgybphwh9S0FO9IcZ0B-NIeM2ko8OzhFZeOeQ,152
|
6 |
+
multidict-6.0.5.dist-info/top_level.txt,sha256=-euDElkk5_qkmfIJ7WiqCab02ZlSFZWynejKg59qZQQ,10
|
7 |
+
multidict/__init__.py,sha256=psbRrP64CD22Wjoc_OoqG9QlkRGcaZfOFCoPmoUiMig,928
|
8 |
+
multidict/__init__.pyi,sha256=SbgC2ew1NvNXWlRKs9o0KhW4moozgMqgQ0OA4Re5JQQ,4840
|
9 |
+
multidict/__pycache__/__init__.cpython-310.pyc,,
|
10 |
+
multidict/__pycache__/_abc.cpython-310.pyc,,
|
11 |
+
multidict/__pycache__/_compat.cpython-310.pyc,,
|
12 |
+
multidict/__pycache__/_multidict_base.cpython-310.pyc,,
|
13 |
+
multidict/__pycache__/_multidict_py.cpython-310.pyc,,
|
14 |
+
multidict/_abc.py,sha256=Zvnrn4SBkrv4QTD7-ZzqNcoxw0f8KStLMPzGvBuGT2w,1190
|
15 |
+
multidict/_compat.py,sha256=tjUGdP9ooiH6c2KJrvUbPRwcvjWerKlKU6InIviwh7w,316
|
16 |
+
multidict/_multidict.cpython-310-x86_64-linux-gnu.so,sha256=BmNKiShRM0HlwDp_fjuenfzDjBlo6C0BEfpi55TRp-k,394656
|
17 |
+
multidict/_multidict_base.py,sha256=XugkE78fXBmtzDdg2Yi9TrEhDexmL-6qJbFIG0viLMg,3791
|
18 |
+
multidict/_multidict_py.py,sha256=57h4sYrRIu7EjMX4YpHVIZVrV9-q1KCW3F6rao10D3U,15050
|
19 |
+
multidict/py.typed,sha256=e9bmbH3UFxsabQrnNFPG9qxIXztwbcM6IKDYnvZwprY,15
|
venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/WHEEL
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.42.0)
|
3 |
+
Root-Is-Purelib: false
|
4 |
+
Tag: cp310-cp310-manylinux_2_17_x86_64
|
5 |
+
Tag: cp310-cp310-manylinux2014_x86_64
|
6 |
+
|
venv/lib/python3.10/site-packages/multidict-6.0.5.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
multidict
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (5.28 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/appellseqs.cpython-310.pyc
ADDED
Binary file (8.71 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/compatibility.cpython-310.pyc
ADDED
Binary file (62 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/constructor.cpython-310.pyc
ADDED
Binary file (9.27 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/densearith.cpython-310.pyc
ADDED
Binary file (34.3 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/densebasic.cpython-310.pyc
ADDED
Binary file (39.7 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/dispersion.cpython-310.pyc
ADDED
Binary file (5.18 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/distributedmodules.cpython-310.pyc
ADDED
Binary file (23 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/heuristicgcd.cpython-310.pyc
ADDED
Binary file (3.17 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/modulargcd.cpython-310.pyc
ADDED
Binary file (49.7 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/orderings.cpython-310.pyc
ADDED
Binary file (11.8 kB). View file
|
|
venv/lib/python3.10/site-packages/sympy/polys/__pycache__/partfrac.cpython-310.pyc
ADDED
Binary file (12.9 kB). View file
|
|