cranky-coder08 commited on
Commit
15804d9
·
verified ·
1 Parent(s): 9a4172d

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/INSTALLER +1 -0
  2. phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/METADATA +256 -0
  3. phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/RECORD +117 -0
  4. phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/WHEEL +4 -0
  5. phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/licenses/LICENSE +29 -0
  6. phivenv/Lib/site-packages/fsspec/__pycache__/__init__.cpython-39.pyc +0 -0
  7. phivenv/Lib/site-packages/fsspec/__pycache__/_version.cpython-39.pyc +0 -0
  8. phivenv/Lib/site-packages/fsspec/__pycache__/archive.cpython-39.pyc +0 -0
  9. phivenv/Lib/site-packages/fsspec/__pycache__/asyn.cpython-39.pyc +0 -0
  10. phivenv/Lib/site-packages/fsspec/__pycache__/caching.cpython-39.pyc +0 -0
  11. phivenv/Lib/site-packages/fsspec/__pycache__/callbacks.cpython-39.pyc +0 -0
  12. phivenv/Lib/site-packages/fsspec/__pycache__/compression.cpython-39.pyc +0 -0
  13. phivenv/Lib/site-packages/fsspec/__pycache__/config.cpython-39.pyc +0 -0
  14. phivenv/Lib/site-packages/fsspec/__pycache__/conftest.cpython-39.pyc +0 -0
  15. phivenv/Lib/site-packages/fsspec/__pycache__/core.cpython-39.pyc +0 -0
  16. phivenv/Lib/site-packages/fsspec/__pycache__/dircache.cpython-39.pyc +0 -0
  17. phivenv/Lib/site-packages/fsspec/__pycache__/exceptions.cpython-39.pyc +0 -0
  18. phivenv/Lib/site-packages/fsspec/__pycache__/fuse.cpython-39.pyc +0 -0
  19. phivenv/Lib/site-packages/fsspec/__pycache__/generic.cpython-39.pyc +0 -0
  20. phivenv/Lib/site-packages/fsspec/__pycache__/gui.cpython-39.pyc +0 -0
  21. phivenv/Lib/site-packages/fsspec/__pycache__/json.cpython-39.pyc +0 -0
  22. phivenv/Lib/site-packages/fsspec/__pycache__/mapping.cpython-39.pyc +0 -0
  23. phivenv/Lib/site-packages/fsspec/__pycache__/parquet.cpython-39.pyc +0 -0
  24. phivenv/Lib/site-packages/fsspec/__pycache__/registry.cpython-39.pyc +0 -0
  25. phivenv/Lib/site-packages/fsspec/__pycache__/spec.cpython-39.pyc +0 -0
  26. phivenv/Lib/site-packages/fsspec/__pycache__/transaction.cpython-39.pyc +0 -0
  27. phivenv/Lib/site-packages/fsspec/__pycache__/utils.cpython-39.pyc +0 -0
  28. phivenv/Lib/site-packages/fsspec/tests/abstract/__pycache__/__init__.cpython-39.pyc +0 -0
  29. phivenv/Lib/site-packages/fsspec/tests/abstract/__pycache__/put.cpython-39.pyc +0 -0
  30. phivenv/Lib/site-packages/functorch/__init__.py +39 -0
  31. phivenv/Lib/site-packages/functorch/__pycache__/__init__.cpython-39.pyc +0 -0
  32. phivenv/Lib/site-packages/functorch/_src/__init__.py +0 -0
  33. phivenv/Lib/site-packages/functorch/_src/__pycache__/__init__.cpython-39.pyc +0 -0
  34. phivenv/Lib/site-packages/functorch/_src/aot_autograd/__init__.py +8 -0
  35. phivenv/Lib/site-packages/functorch/_src/aot_autograd/__pycache__/__init__.cpython-39.pyc +0 -0
  36. phivenv/Lib/site-packages/functorch/_src/eager_transforms/__init__.py +7 -0
  37. phivenv/Lib/site-packages/functorch/_src/eager_transforms/__pycache__/__init__.cpython-39.pyc +0 -0
  38. phivenv/Lib/site-packages/functorch/_src/make_functional/__init__.py +4 -0
  39. phivenv/Lib/site-packages/functorch/_src/make_functional/__pycache__/__init__.cpython-39.pyc +0 -0
  40. phivenv/Lib/site-packages/functorch/_src/vmap/__init__.py +16 -0
  41. phivenv/Lib/site-packages/functorch/_src/vmap/__pycache__/__init__.cpython-39.pyc +0 -0
  42. phivenv/Lib/site-packages/functorch/compile/__init__.py +30 -0
  43. phivenv/Lib/site-packages/functorch/compile/__pycache__/__init__.cpython-39.pyc +0 -0
  44. phivenv/Lib/site-packages/functorch/dim/__init__.py +177 -0
  45. phivenv/Lib/site-packages/functorch/dim/__pycache__/__init__.cpython-39.pyc +0 -0
  46. phivenv/Lib/site-packages/functorch/dim/__pycache__/batch_tensor.cpython-39.pyc +0 -0
  47. phivenv/Lib/site-packages/functorch/dim/__pycache__/delayed_mul_tensor.cpython-39.pyc +0 -0
  48. phivenv/Lib/site-packages/functorch/dim/__pycache__/dim.cpython-39.pyc +0 -0
  49. phivenv/Lib/site-packages/functorch/dim/__pycache__/magic_trace.cpython-39.pyc +0 -0
  50. phivenv/Lib/site-packages/functorch/dim/__pycache__/op_properties.cpython-39.pyc +0 -0
phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/METADATA ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: fsspec
3
+ Version: 2025.9.0
4
+ Summary: File-system specification
5
+ Project-URL: Changelog, https://filesystem-spec.readthedocs.io/en/latest/changelog.html
6
+ Project-URL: Documentation, https://filesystem-spec.readthedocs.io/en/latest/
7
+ Project-URL: Homepage, https://github.com/fsspec/filesystem_spec
8
+ Maintainer-email: Martin Durant <mdurant@anaconda.com>
9
+ License-Expression: BSD-3-Clause
10
+ License-File: LICENSE
11
+ Keywords: file
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Requires-Python: >=3.9
21
+ Provides-Extra: abfs
22
+ Requires-Dist: adlfs; extra == 'abfs'
23
+ Provides-Extra: adl
24
+ Requires-Dist: adlfs; extra == 'adl'
25
+ Provides-Extra: arrow
26
+ Requires-Dist: pyarrow>=1; extra == 'arrow'
27
+ Provides-Extra: dask
28
+ Requires-Dist: dask; extra == 'dask'
29
+ Requires-Dist: distributed; extra == 'dask'
30
+ Provides-Extra: dev
31
+ Requires-Dist: pre-commit; extra == 'dev'
32
+ Requires-Dist: ruff>=0.5; extra == 'dev'
33
+ Provides-Extra: doc
34
+ Requires-Dist: numpydoc; extra == 'doc'
35
+ Requires-Dist: sphinx; extra == 'doc'
36
+ Requires-Dist: sphinx-design; extra == 'doc'
37
+ Requires-Dist: sphinx-rtd-theme; extra == 'doc'
38
+ Requires-Dist: yarl; extra == 'doc'
39
+ Provides-Extra: dropbox
40
+ Requires-Dist: dropbox; extra == 'dropbox'
41
+ Requires-Dist: dropboxdrivefs; extra == 'dropbox'
42
+ Requires-Dist: requests; extra == 'dropbox'
43
+ Provides-Extra: entrypoints
44
+ Provides-Extra: full
45
+ Requires-Dist: adlfs; extra == 'full'
46
+ Requires-Dist: aiohttp!=4.0.0a0,!=4.0.0a1; extra == 'full'
47
+ Requires-Dist: dask; extra == 'full'
48
+ Requires-Dist: distributed; extra == 'full'
49
+ Requires-Dist: dropbox; extra == 'full'
50
+ Requires-Dist: dropboxdrivefs; extra == 'full'
51
+ Requires-Dist: fusepy; extra == 'full'
52
+ Requires-Dist: gcsfs; extra == 'full'
53
+ Requires-Dist: libarchive-c; extra == 'full'
54
+ Requires-Dist: ocifs; extra == 'full'
55
+ Requires-Dist: panel; extra == 'full'
56
+ Requires-Dist: paramiko; extra == 'full'
57
+ Requires-Dist: pyarrow>=1; extra == 'full'
58
+ Requires-Dist: pygit2; extra == 'full'
59
+ Requires-Dist: requests; extra == 'full'
60
+ Requires-Dist: s3fs; extra == 'full'
61
+ Requires-Dist: smbprotocol; extra == 'full'
62
+ Requires-Dist: tqdm; extra == 'full'
63
+ Provides-Extra: fuse
64
+ Requires-Dist: fusepy; extra == 'fuse'
65
+ Provides-Extra: gcs
66
+ Requires-Dist: gcsfs; extra == 'gcs'
67
+ Provides-Extra: git
68
+ Requires-Dist: pygit2; extra == 'git'
69
+ Provides-Extra: github
70
+ Requires-Dist: requests; extra == 'github'
71
+ Provides-Extra: gs
72
+ Requires-Dist: gcsfs; extra == 'gs'
73
+ Provides-Extra: gui
74
+ Requires-Dist: panel; extra == 'gui'
75
+ Provides-Extra: hdfs
76
+ Requires-Dist: pyarrow>=1; extra == 'hdfs'
77
+ Provides-Extra: http
78
+ Requires-Dist: aiohttp!=4.0.0a0,!=4.0.0a1; extra == 'http'
79
+ Provides-Extra: libarchive
80
+ Requires-Dist: libarchive-c; extra == 'libarchive'
81
+ Provides-Extra: oci
82
+ Requires-Dist: ocifs; extra == 'oci'
83
+ Provides-Extra: s3
84
+ Requires-Dist: s3fs; extra == 's3'
85
+ Provides-Extra: sftp
86
+ Requires-Dist: paramiko; extra == 'sftp'
87
+ Provides-Extra: smb
88
+ Requires-Dist: smbprotocol; extra == 'smb'
89
+ Provides-Extra: ssh
90
+ Requires-Dist: paramiko; extra == 'ssh'
91
+ Provides-Extra: test
92
+ Requires-Dist: aiohttp!=4.0.0a0,!=4.0.0a1; extra == 'test'
93
+ Requires-Dist: numpy; extra == 'test'
94
+ Requires-Dist: pytest; extra == 'test'
95
+ Requires-Dist: pytest-asyncio!=0.22.0; extra == 'test'
96
+ Requires-Dist: pytest-benchmark; extra == 'test'
97
+ Requires-Dist: pytest-cov; extra == 'test'
98
+ Requires-Dist: pytest-mock; extra == 'test'
99
+ Requires-Dist: pytest-recording; extra == 'test'
100
+ Requires-Dist: pytest-rerunfailures; extra == 'test'
101
+ Requires-Dist: requests; extra == 'test'
102
+ Provides-Extra: test-downstream
103
+ Requires-Dist: aiobotocore<3.0.0,>=2.5.4; extra == 'test-downstream'
104
+ Requires-Dist: dask[dataframe,test]; extra == 'test-downstream'
105
+ Requires-Dist: moto[server]<5,>4; extra == 'test-downstream'
106
+ Requires-Dist: pytest-timeout; extra == 'test-downstream'
107
+ Requires-Dist: xarray; extra == 'test-downstream'
108
+ Provides-Extra: test-full
109
+ Requires-Dist: adlfs; extra == 'test-full'
110
+ Requires-Dist: aiohttp!=4.0.0a0,!=4.0.0a1; extra == 'test-full'
111
+ Requires-Dist: cloudpickle; extra == 'test-full'
112
+ Requires-Dist: dask; extra == 'test-full'
113
+ Requires-Dist: distributed; extra == 'test-full'
114
+ Requires-Dist: dropbox; extra == 'test-full'
115
+ Requires-Dist: dropboxdrivefs; extra == 'test-full'
116
+ Requires-Dist: fastparquet; extra == 'test-full'
117
+ Requires-Dist: fusepy; extra == 'test-full'
118
+ Requires-Dist: gcsfs; extra == 'test-full'
119
+ Requires-Dist: jinja2; extra == 'test-full'
120
+ Requires-Dist: kerchunk; extra == 'test-full'
121
+ Requires-Dist: libarchive-c; extra == 'test-full'
122
+ Requires-Dist: lz4; extra == 'test-full'
123
+ Requires-Dist: notebook; extra == 'test-full'
124
+ Requires-Dist: numpy; extra == 'test-full'
125
+ Requires-Dist: ocifs; extra == 'test-full'
126
+ Requires-Dist: pandas; extra == 'test-full'
127
+ Requires-Dist: panel; extra == 'test-full'
128
+ Requires-Dist: paramiko; extra == 'test-full'
129
+ Requires-Dist: pyarrow; extra == 'test-full'
130
+ Requires-Dist: pyarrow>=1; extra == 'test-full'
131
+ Requires-Dist: pyftpdlib; extra == 'test-full'
132
+ Requires-Dist: pygit2; extra == 'test-full'
133
+ Requires-Dist: pytest; extra == 'test-full'
134
+ Requires-Dist: pytest-asyncio!=0.22.0; extra == 'test-full'
135
+ Requires-Dist: pytest-benchmark; extra == 'test-full'
136
+ Requires-Dist: pytest-cov; extra == 'test-full'
137
+ Requires-Dist: pytest-mock; extra == 'test-full'
138
+ Requires-Dist: pytest-recording; extra == 'test-full'
139
+ Requires-Dist: pytest-rerunfailures; extra == 'test-full'
140
+ Requires-Dist: python-snappy; extra == 'test-full'
141
+ Requires-Dist: requests; extra == 'test-full'
142
+ Requires-Dist: smbprotocol; extra == 'test-full'
143
+ Requires-Dist: tqdm; extra == 'test-full'
144
+ Requires-Dist: urllib3; extra == 'test-full'
145
+ Requires-Dist: zarr; extra == 'test-full'
146
+ Requires-Dist: zstandard; (python_version < '3.14') and extra == 'test-full'
147
+ Provides-Extra: tqdm
148
+ Requires-Dist: tqdm; extra == 'tqdm'
149
+ Description-Content-Type: text/markdown
150
+
151
+ # filesystem_spec
152
+
153
+ [![PyPI version](https://badge.fury.io/py/fsspec.svg)](https://pypi.python.org/pypi/fsspec/)
154
+ [![Anaconda-Server Badge](https://anaconda.org/conda-forge/fsspec/badges/version.svg)](https://anaconda.org/conda-forge/fsspec)
155
+ ![Build](https://github.com/fsspec/filesystem_spec/workflows/CI/badge.svg)
156
+ [![Docs](https://readthedocs.org/projects/filesystem-spec/badge/?version=latest)](https://filesystem-spec.readthedocs.io/en/latest/?badge=latest)
157
+
158
+ A specification for pythonic filesystems.
159
+
160
+ ## Install
161
+
162
+ ```bash
163
+ pip install fsspec
164
+ ```
165
+
166
+ would install the base fsspec. Various optionally supported features might require specification of custom
167
+ extra require, e.g. `pip install fsspec[ssh]` will install dependencies for `ssh` backends support.
168
+ Use `pip install fsspec[full]` for installation of all known extra dependencies.
169
+
170
+ Up-to-date package also provided through conda-forge distribution:
171
+
172
+ ```bash
173
+ conda install -c conda-forge fsspec
174
+ ```
175
+
176
+
177
+ ## Purpose
178
+
179
+ To produce a template or specification for a file-system interface, that specific implementations should follow,
180
+ so that applications making use of them can rely on a common behaviour and not have to worry about the specific
181
+ internal implementation decisions with any given backend. Many such implementations are included in this package,
182
+ or in sister projects such as `s3fs` and `gcsfs`.
183
+
184
+ In addition, if this is well-designed, then additional functionality, such as a key-value store or FUSE
185
+ mounting of the file-system implementation may be available for all implementations "for free".
186
+
187
+ ## Documentation
188
+
189
+ Please refer to [RTD](https://filesystem-spec.readthedocs.io/en/latest/?badge=latest)
190
+
191
+ ## Develop
192
+
193
+ fsspec uses GitHub Actions for CI. Environment files can be found
194
+ in the "ci/" directory. Note that the main environment is called "py38",
195
+ but it is expected that the version of python installed be adjustable at
196
+ CI runtime. For local use, pick a version suitable for you.
197
+
198
+ ```bash
199
+ # For a new environment (mamba / conda).
200
+ mamba create -n fsspec -c conda-forge python=3.9 -y
201
+ conda activate fsspec
202
+
203
+ # Standard dev install with docs and tests.
204
+ pip install -e ".[dev,doc,test]"
205
+
206
+ # Full tests except for downstream
207
+ pip install s3fs
208
+ pip uninstall s3fs
209
+ pip install -e .[dev,doc,test_full]
210
+ pip install s3fs --no-deps
211
+ pytest -v
212
+
213
+ # Downstream tests.
214
+ sh install_s3fs.sh
215
+ # Windows powershell.
216
+ install_s3fs.sh
217
+ ```
218
+
219
+ ### Testing
220
+
221
+ Tests can be run in the dev environment, if activated, via ``pytest fsspec``.
222
+
223
+ The full fsspec suite requires a system-level docker, docker-compose, and fuse
224
+ installation. If only making changes to one backend implementation, it is
225
+ not generally necessary to run all tests locally.
226
+
227
+ It is expected that contributors ensure that any change to fsspec does not
228
+ cause issues or regressions for either other fsspec-related packages such
229
+ as gcsfs and s3fs, nor for downstream users of fsspec. The "downstream" CI
230
+ run and corresponding environment file run a set of tests from the dask
231
+ test suite, and very minimal tests against pandas and zarr from the
232
+ test_downstream.py module in this repo.
233
+
234
+ ### Code Formatting
235
+
236
+ fsspec uses [Black](https://black.readthedocs.io/en/stable) to ensure
237
+ a consistent code format throughout the project.
238
+ Run ``black fsspec`` from the root of the filesystem_spec repository to
239
+ auto-format your code. Additionally, many editors have plugins that will apply
240
+ ``black`` as you edit files. ``black`` is included in the ``tox`` environments.
241
+
242
+ Optionally, you may wish to setup [pre-commit hooks](https://pre-commit.com) to
243
+ automatically run ``black`` when you make a git commit.
244
+ Run ``pre-commit install --install-hooks`` from the root of the
245
+ filesystem_spec repository to setup pre-commit hooks. ``black`` will now be run
246
+ before you commit, reformatting any changed files. You can format without
247
+ committing via ``pre-commit run`` or skip these checks with ``git commit
248
+ --no-verify``.
249
+
250
+ ## Support
251
+
252
+ Work on this repository is supported in part by:
253
+
254
+ "Anaconda, Inc. - Advancing AI through open source."
255
+
256
+ <a href="https://anaconda.com/"><img src="https://camo.githubusercontent.com/b8555ef2222598ed37ce38ac86955febbd25de7619931bb7dd3c58432181d3b6/68747470733a2f2f626565776172652e6f72672f636f6d6d756e6974792f6d656d626572732f616e61636f6e64612f616e61636f6e64612d6c617267652e706e67" alt="anaconda logo" width="40%"/></a>
phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/RECORD ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ fsspec-2025.9.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ fsspec-2025.9.0.dist-info/METADATA,sha256=VmMoGluoRhQXlQigYs9kzwlXfPIg1KBkRL7V2F5O2B0,10397
3
+ fsspec-2025.9.0.dist-info/RECORD,,
4
+ fsspec-2025.9.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ fsspec-2025.9.0.dist-info/licenses/LICENSE,sha256=LcNUls5TpzB5FcAIqESq1T53K0mzTN0ARFBnaRQH7JQ,1513
6
+ fsspec/__init__.py,sha256=L7qwNBU1iMNQd8Of87HYSNFT9gWlNMSESaJC8fY0AaQ,2053
7
+ fsspec/__pycache__/__init__.cpython-39.pyc,,
8
+ fsspec/__pycache__/_version.cpython-39.pyc,,
9
+ fsspec/__pycache__/archive.cpython-39.pyc,,
10
+ fsspec/__pycache__/asyn.cpython-39.pyc,,
11
+ fsspec/__pycache__/caching.cpython-39.pyc,,
12
+ fsspec/__pycache__/callbacks.cpython-39.pyc,,
13
+ fsspec/__pycache__/compression.cpython-39.pyc,,
14
+ fsspec/__pycache__/config.cpython-39.pyc,,
15
+ fsspec/__pycache__/conftest.cpython-39.pyc,,
16
+ fsspec/__pycache__/core.cpython-39.pyc,,
17
+ fsspec/__pycache__/dircache.cpython-39.pyc,,
18
+ fsspec/__pycache__/exceptions.cpython-39.pyc,,
19
+ fsspec/__pycache__/fuse.cpython-39.pyc,,
20
+ fsspec/__pycache__/generic.cpython-39.pyc,,
21
+ fsspec/__pycache__/gui.cpython-39.pyc,,
22
+ fsspec/__pycache__/json.cpython-39.pyc,,
23
+ fsspec/__pycache__/mapping.cpython-39.pyc,,
24
+ fsspec/__pycache__/parquet.cpython-39.pyc,,
25
+ fsspec/__pycache__/registry.cpython-39.pyc,,
26
+ fsspec/__pycache__/spec.cpython-39.pyc,,
27
+ fsspec/__pycache__/transaction.cpython-39.pyc,,
28
+ fsspec/__pycache__/utils.cpython-39.pyc,,
29
+ fsspec/_version.py,sha256=LkyV4dUHpfGx8N-SvSE0eARRvdCyg8wWXOl3qM2ZAZ4,710
30
+ fsspec/archive.py,sha256=vM6t_lgV6lBWbBYwpm3S4ofBQFQxUPr5KkDQrrQcQro,2411
31
+ fsspec/asyn.py,sha256=mE55tO_MmGcxD14cUuaiS3veAqo0h6ZqANfnUuCN3sk,36365
32
+ fsspec/caching.py,sha256=86uSgPa5E55b28XEhuC-dMcKAxJtZZnpQqnHTwaF3hI,34294
33
+ fsspec/callbacks.py,sha256=BDIwLzK6rr_0V5ch557fSzsivCElpdqhXr5dZ9Te-EE,9210
34
+ fsspec/compression.py,sha256=gBK2MV_oTFVW2XDq8bZVbYQKYrl6JDUou6_-kyvmxuk,5086
35
+ fsspec/config.py,sha256=LF4Zmu1vhJW7Je9Q-cwkRc3xP7Rhyy7Xnwj26Z6sv2g,4279
36
+ fsspec/conftest.py,sha256=fVfx-NLrH_OZS1TIpYNoPzM7efEcMoL62reHOdYeFCA,1245
37
+ fsspec/core.py,sha256=1tLctwr7sF1VO3djc_UkjhJ8IAEy0TUMH_bb07Sw17E,23828
38
+ fsspec/dircache.py,sha256=YzogWJrhEastHU7vWz-cJiJ7sdtLXFXhEpInGKd4EcM,2717
39
+ fsspec/exceptions.py,sha256=pauSLDMxzTJMOjvX1WEUK0cMyFkrFxpWJsyFywav7A8,331
40
+ fsspec/fuse.py,sha256=Q-3NOOyLqBfYa4Db5E19z_ZY36zzYHtIs1mOUasItBQ,10177
41
+ fsspec/generic.py,sha256=K-b03ifKidHUo99r8nz2pB6oGyf88RtTKahCuBF9ZVU,13409
42
+ fsspec/gui.py,sha256=CQ7QsrTpaDlWSLNOpwNoJc7khOcYXIZxmrAJN9bHWQU,14002
43
+ fsspec/implementations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
+ fsspec/implementations/__pycache__/__init__.cpython-39.pyc,,
45
+ fsspec/implementations/__pycache__/arrow.cpython-39.pyc,,
46
+ fsspec/implementations/__pycache__/asyn_wrapper.cpython-39.pyc,,
47
+ fsspec/implementations/__pycache__/cache_mapper.cpython-39.pyc,,
48
+ fsspec/implementations/__pycache__/cache_metadata.cpython-39.pyc,,
49
+ fsspec/implementations/__pycache__/cached.cpython-39.pyc,,
50
+ fsspec/implementations/__pycache__/dask.cpython-39.pyc,,
51
+ fsspec/implementations/__pycache__/data.cpython-39.pyc,,
52
+ fsspec/implementations/__pycache__/dbfs.cpython-39.pyc,,
53
+ fsspec/implementations/__pycache__/dirfs.cpython-39.pyc,,
54
+ fsspec/implementations/__pycache__/ftp.cpython-39.pyc,,
55
+ fsspec/implementations/__pycache__/gist.cpython-39.pyc,,
56
+ fsspec/implementations/__pycache__/git.cpython-39.pyc,,
57
+ fsspec/implementations/__pycache__/github.cpython-39.pyc,,
58
+ fsspec/implementations/__pycache__/http.cpython-39.pyc,,
59
+ fsspec/implementations/__pycache__/http_sync.cpython-39.pyc,,
60
+ fsspec/implementations/__pycache__/jupyter.cpython-39.pyc,,
61
+ fsspec/implementations/__pycache__/libarchive.cpython-39.pyc,,
62
+ fsspec/implementations/__pycache__/local.cpython-39.pyc,,
63
+ fsspec/implementations/__pycache__/memory.cpython-39.pyc,,
64
+ fsspec/implementations/__pycache__/reference.cpython-39.pyc,,
65
+ fsspec/implementations/__pycache__/sftp.cpython-39.pyc,,
66
+ fsspec/implementations/__pycache__/smb.cpython-39.pyc,,
67
+ fsspec/implementations/__pycache__/tar.cpython-39.pyc,,
68
+ fsspec/implementations/__pycache__/webhdfs.cpython-39.pyc,,
69
+ fsspec/implementations/__pycache__/zip.cpython-39.pyc,,
70
+ fsspec/implementations/arrow.py,sha256=721Dikne_lV_0tlgk9jyKmHL6W-5MT0h2LKGvOYQTPI,8623
71
+ fsspec/implementations/asyn_wrapper.py,sha256=fox9yjsEu7NCgzdAZJYfNALtUnFkIc_QmeKzaSllZho,3679
72
+ fsspec/implementations/cache_mapper.py,sha256=W4wlxyPxZbSp9ItJ0pYRVBMh6bw9eFypgP6kUYuuiI4,2421
73
+ fsspec/implementations/cache_metadata.py,sha256=rddh5-0SXIeyWCPpBpOFcaAyWoPyeYmFfeubEWt-nRM,8536
74
+ fsspec/implementations/cached.py,sha256=TETvCyf0x-Ak8Y4uiuvIKx2IFYOzvcV0LMUIt4AoJzM,35168
75
+ fsspec/implementations/dask.py,sha256=CXZbJzIVOhKV8ILcxuy3bTvcacCueAbyQxmvAkbPkrk,4466
76
+ fsspec/implementations/data.py,sha256=LDLczxRh8h7x39Zjrd-GgzdQHr78yYxDlrv2C9Uxb5E,1658
77
+ fsspec/implementations/dbfs.py,sha256=1cvvC6KBWOb8pBVpc01xavVbEPXO1xsgZvPD7H73M9k,16217
78
+ fsspec/implementations/dirfs.py,sha256=f1sGnQ9Vf0xTxrXo4jDeBy4Qfq3RTqAEemqBSeb0hwY,12108
79
+ fsspec/implementations/ftp.py,sha256=bzL_TgH77nMMtTMewRGkbq4iObSHGu7YoMRCXBH4nrc,11639
80
+ fsspec/implementations/gist.py,sha256=Ost985hmFr50KsA-QD0shY3hP4KX5qJ9rb5C-X4ehK8,8341
81
+ fsspec/implementations/git.py,sha256=qBDWMz5LNllPqVjr5jf_1FuNha4P5lyQI3IlhYg-wUE,3731
82
+ fsspec/implementations/github.py,sha256=aCsZL8UvXZgdkcB1RUs3DdLeNrjLKcFsFYeQFDWbBFo,11653
83
+ fsspec/implementations/http.py,sha256=f_542L40574onk0tiOsSBABeNq1TXHYUyEBpCeO6vhA,30435
84
+ fsspec/implementations/http_sync.py,sha256=UydDqSdUBdhiJ1KufzV8rKGrTftFR4QmNV0safILb8g,30133
85
+ fsspec/implementations/jupyter.py,sha256=B2uj7OEm7yIk-vRSsO37_ND0t0EBvn4B-Su43ibN4Pg,3811
86
+ fsspec/implementations/libarchive.py,sha256=5_I2DiLXwQ1JC8x-K7jXu-tBwhO9dj7tFLnb0bTnVMQ,7102
87
+ fsspec/implementations/local.py,sha256=DQeK7jRGv4_mJAweLKALO5WzIIkjXxZ_jRvwQ_xadSA,16936
88
+ fsspec/implementations/memory.py,sha256=Kc6TZSbZ4tdi-6cE5ttEPIgMyq9aAt6cDdVLFRTJvf8,10488
89
+ fsspec/implementations/reference.py,sha256=npYj49AmR8rmON9t_BLpfEXqhgsardUeynamqyraOXo,48704
90
+ fsspec/implementations/sftp.py,sha256=fMY9XZcmpjszQ2tCqO_TPaJesaeD_Dv7ptYzgUPGoO0,5631
91
+ fsspec/implementations/smb.py,sha256=5fhu8h06nOLBPh2c48aT7WBRqh9cEcbIwtyu06wTjec,15236
92
+ fsspec/implementations/tar.py,sha256=dam78Tp_CozybNqCY2JYgGBS3Uc9FuJUAT9oB0lolOs,4111
93
+ fsspec/implementations/webhdfs.py,sha256=G9wGywj7BkZk4Mu9zXu6HaDlEqX4F8Gw1i4k46CP_-o,16769
94
+ fsspec/implementations/zip.py,sha256=9LBMHPft2OutJl2Ft-r9u_z3GptLkc2n91ur2A3bCbg,6072
95
+ fsspec/json.py,sha256=3BfNSQ96MB4Xao_ocjheINeqZM2ev7oljUzR5XmNXrE,3814
96
+ fsspec/mapping.py,sha256=m2ndB_gtRBXYmNJg0Ie1-BVR75TFleHmIQBzC-yWhjU,8343
97
+ fsspec/parquet.py,sha256=6ibAmG527L5JNFS0VO8BDNlxHdA3bVYqdByeiFgpUVM,19448
98
+ fsspec/registry.py,sha256=epoYryFFzDWjbkQJfh6xkF3nEu8RTiOzV3-voi8Pshs,12048
99
+ fsspec/spec.py,sha256=7cOUe5PC5Uyf56HtGBUHEoym8ktPj-BI8G4HR8Xd_C8,77298
100
+ fsspec/tests/abstract/__init__.py,sha256=4xUJrv7gDgc85xAOz1p-V_K1hrsdMWTSa0rviALlJk8,10181
101
+ fsspec/tests/abstract/__pycache__/__init__.cpython-39.pyc,,
102
+ fsspec/tests/abstract/__pycache__/common.cpython-39.pyc,,
103
+ fsspec/tests/abstract/__pycache__/copy.cpython-39.pyc,,
104
+ fsspec/tests/abstract/__pycache__/get.cpython-39.pyc,,
105
+ fsspec/tests/abstract/__pycache__/mv.cpython-39.pyc,,
106
+ fsspec/tests/abstract/__pycache__/open.cpython-39.pyc,,
107
+ fsspec/tests/abstract/__pycache__/pipe.cpython-39.pyc,,
108
+ fsspec/tests/abstract/__pycache__/put.cpython-39.pyc,,
109
+ fsspec/tests/abstract/common.py,sha256=1GQwNo5AONzAnzZj0fWgn8NJPLXALehbsuGxS3FzWVU,4973
110
+ fsspec/tests/abstract/copy.py,sha256=gU5-d97U3RSde35Vp4RxPY4rWwL744HiSrJ8IBOp9-8,19967
111
+ fsspec/tests/abstract/get.py,sha256=vNR4HztvTR7Cj56AMo7_tx7TeYz1Jgr_2Wb8Lv-UiBY,20755
112
+ fsspec/tests/abstract/mv.py,sha256=k8eUEBIrRrGMsBY5OOaDXdGnQUKGwDIfQyduB6YD3Ns,1982
113
+ fsspec/tests/abstract/open.py,sha256=Fi2PBPYLbRqysF8cFm0rwnB41kMdQVYjq8cGyDXp3BU,329
114
+ fsspec/tests/abstract/pipe.py,sha256=LFzIrLCB5GLXf9rzFKJmE8AdG7LQ_h4bJo70r8FLPqM,402
115
+ fsspec/tests/abstract/put.py,sha256=7aih17OKB_IZZh1Mkq1eBDIjobhtMQmI8x-Pw-S_aZk,21201
116
+ fsspec/transaction.py,sha256=xliRG6U2Zf3khG4xcw9WiB-yAoqJSHEGK_VjHOdtgo0,2398
117
+ fsspec/utils.py,sha256=HC8RFbb7KpEDedsYxExvWvsTObEuUcuuWxd0B_MyGpo,22995
phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
phivenv/Lib/site-packages/fsspec-2025.9.0.dist-info/licenses/LICENSE ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2018, Martin Durant
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ * Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ * Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ * Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
phivenv/Lib/site-packages/fsspec/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (1.46 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/_version.cpython-39.pyc ADDED
Binary file (636 Bytes). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/archive.cpython-39.pyc ADDED
Binary file (2.86 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/asyn.cpython-39.pyc ADDED
Binary file (29.4 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/caching.cpython-39.pyc ADDED
Binary file (25 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/callbacks.cpython-39.pyc ADDED
Binary file (10.9 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/compression.cpython-39.pyc ADDED
Binary file (5.15 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/config.cpython-39.pyc ADDED
Binary file (3.79 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/conftest.cpython-39.pyc ADDED
Binary file (1.53 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/core.cpython-39.pyc ADDED
Binary file (22.2 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/dircache.cpython-39.pyc ADDED
Binary file (3.37 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/exceptions.cpython-39.pyc ADDED
Binary file (730 Bytes). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/fuse.cpython-39.pyc ADDED
Binary file (10.2 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/generic.cpython-39.pyc ADDED
Binary file (12.3 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/gui.cpython-39.pyc ADDED
Binary file (14.6 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/json.cpython-39.pyc ADDED
Binary file (4.53 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/mapping.cpython-39.pyc ADDED
Binary file (9.06 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/parquet.cpython-39.pyc ADDED
Binary file (11.2 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/registry.cpython-39.pyc ADDED
Binary file (9.05 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/spec.cpython-39.pyc ADDED
Binary file (67.5 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/transaction.cpython-39.pyc ADDED
Binary file (3.2 kB). View file
 
phivenv/Lib/site-packages/fsspec/__pycache__/utils.cpython-39.pyc ADDED
Binary file (19.6 kB). View file
 
phivenv/Lib/site-packages/fsspec/tests/abstract/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (10.6 kB). View file
 
phivenv/Lib/site-packages/fsspec/tests/abstract/__pycache__/put.cpython-39.pyc ADDED
Binary file (10.8 kB). View file
 
phivenv/Lib/site-packages/functorch/__init__.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ from torch._functorch.deprecated import (
8
+ combine_state_for_ensemble,
9
+ functionalize,
10
+ grad,
11
+ grad_and_value,
12
+ hessian,
13
+ jacfwd,
14
+ jacrev,
15
+ jvp,
16
+ make_functional,
17
+ make_functional_with_buffers,
18
+ vjp,
19
+ vmap,
20
+ )
21
+
22
+ # utilities. Maybe these should go in their own namespace in the future?
23
+ from torch._functorch.make_functional import (
24
+ FunctionalModule,
25
+ FunctionalModuleWithBuffers,
26
+ )
27
+
28
+ # Was never documented
29
+ from torch._functorch.python_key import make_fx
30
+
31
+
32
+ # Top-level APIs. Please think carefully before adding something to the
33
+ # top-level namespace:
34
+ # - private helper functions should go into torch._functorch
35
+ # - very experimental things should go into functorch.experimental
36
+ # - compilation related things should go into functorch.compile
37
+
38
+
39
+ __version__ = torch.__version__
phivenv/Lib/site-packages/functorch/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (663 Bytes). View file
 
phivenv/Lib/site-packages/functorch/_src/__init__.py ADDED
File without changes
phivenv/Lib/site-packages/functorch/_src/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (158 Bytes). View file
 
phivenv/Lib/site-packages/functorch/_src/aot_autograd/__init__.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # This file has moved to under torch/_functorch. It is not public API.
2
+ # If you are not a PyTorch developer and you are relying on the following
3
+ # imports, please file an issue.
4
+ from torch._functorch.aot_autograd import (
5
+ aot_autograd_decompositions,
6
+ KNOWN_TYPES,
7
+ PytreeThunk,
8
+ )
phivenv/Lib/site-packages/functorch/_src/aot_autograd/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (296 Bytes). View file
 
phivenv/Lib/site-packages/functorch/_src/eager_transforms/__init__.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # This file has moved to under torch/_functorch. It is not public API.
2
+ # If you are not a PyTorch developer and you are relying on the following
3
+ # imports, please file an issue.
4
+ from torch._functorch.eager_transforms import (
5
+ _assert_wrapped_functional,
6
+ _unwrap_functional_tensor,
7
+ )
phivenv/Lib/site-packages/functorch/_src/eager_transforms/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (295 Bytes). View file
 
phivenv/Lib/site-packages/functorch/_src/make_functional/__init__.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # This file has moved to under torch/_functorch. It is not public API.
2
+ # If you are not a PyTorch developer and you are relying on the following
3
+ # imports, please file an issue.
4
+ from torch._functorch.make_functional import _swap_state
phivenv/Lib/site-packages/functorch/_src/make_functional/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (242 Bytes). View file
 
phivenv/Lib/site-packages/functorch/_src/vmap/__init__.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file has moved to under torch/_functorch. It is not public API.
2
+ # If you are not a PyTorch developer and you are relying on the following
3
+ # imports, please file an issue.
4
+ from torch._functorch.vmap import (
5
+ _add_batch_dim,
6
+ _broadcast_to_and_flatten,
7
+ _create_batched_inputs,
8
+ _get_name,
9
+ _process_batched_inputs,
10
+ _remove_batch_dim,
11
+ _unwrap_batched,
12
+ _validate_and_get_batch_size,
13
+ Tensor,
14
+ tree_flatten,
15
+ tree_unflatten,
16
+ )
phivenv/Lib/site-packages/functorch/_src/vmap/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (504 Bytes). View file
 
phivenv/Lib/site-packages/functorch/compile/__init__.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ min_cut_rematerialization_partition,
29
+ )
30
+ from torch._functorch.python_key import pythonkey_decompose
phivenv/Lib/site-packages/functorch/compile/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (1.05 kB). View file
 
phivenv/Lib/site-packages/functorch/dim/__init__.py ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import functorch._C
2
+ import torch
3
+ from functorch._C import dim as _C
4
+
5
+ from .tree_map import tree_flatten, tree_map
6
+ from .wrap_type import wrap_type
7
+
8
+
9
+ _C._patch_tensor_class()
10
+ dims, DimList, dimlists = _C.dims, _C.DimList, _C.dimlists
11
+
12
+
13
+ class DimensionMismatchError(Exception):
14
+ pass
15
+
16
+
17
+ class DimensionBindError(Exception):
18
+ pass
19
+
20
+
21
+ from . import op_properties
22
+
23
+
24
+ # use dict to avoid writing C++ bindings for set
25
+ pointwise = dict.fromkeys(op_properties.pointwise, True)
26
+
27
+ use_c = True
28
+ if not use_c:
29
+ from . import reference
30
+
31
+
32
+ class _Tensor:
33
+ # fast path around slow wrapping/unwrapping logic for simply queries used
34
+ # by the implementation...
35
+
36
+ @property
37
+ def dims(self):
38
+ return tuple(d for d in self._levels if isinstance(d, Dim))
39
+
40
+ def dim(self):
41
+ return self.ndim
42
+
43
+ if use_c:
44
+ __torch_function__ = classmethod(_C.__torch_function__)
45
+ expand = _C._instancemethod(_C.expand)
46
+ else:
47
+ __torch_function__ = reference.__torch_function__
48
+ expand = reference.expand
49
+
50
+ index = _C._instancemethod(_C.index)
51
+
52
+ def __repr__(self):
53
+ tensor, levels, ndim = self._tensor, self._levels, self.ndim
54
+ return f"{tensor}\nwith dims={tuple(l + ndim if isinstance(l, int) else l for l in levels)} sizes={tuple(tensor.size())}"
55
+
56
+
57
+ TensorLike = (_Tensor, torch.Tensor)
58
+
59
+
60
+ class Dim(_C.Dim, _Tensor):
61
+ # note that _C.Dim comes before tensor because we want the Dim API for things like size to take precedence.
62
+ # Tensor defines format, but we want to print Dims with special formatting
63
+ __format__ = object.__format__
64
+
65
+
66
+ class Tensor(_Tensor, _C.Tensor):
67
+ if not use_c:
68
+ from_batched = staticmethod(_C.Tensor_from_batched)
69
+ from_positional = staticmethod(_C.Tensor_from_positional)
70
+ sum = _C._instancemethod(_C.Tensor_sum)
71
+
72
+
73
+ def cat(tensors, dim, new_dim):
74
+ n = dims()
75
+ return stack(tensors, n, dim).index([n, dim], new_dim)
76
+
77
+
78
+ if use_c:
79
+ _wrap = _C._wrap
80
+
81
+ def _def(name, *args, **kwargs):
82
+ orig = getattr(torch.Tensor, name)
83
+ setattr(_Tensor, name, _C._instancemethod(_wrap(orig, *args, **kwargs)))
84
+
85
+ t__getitem__ = _C._instancemethod(_C.__getitem__)
86
+ stack = _C.stack
87
+ split = _C._instancemethod(_C.split)
88
+ else:
89
+ _wrap, _def = reference._wrap, reference._def
90
+ t__getitem__ = reference.t__getitem__
91
+ stack = reference.stack
92
+ split = reference.split
93
+
94
+ # note: there is no python reference
95
+ t__setitem__ = _C._instancemethod(_C.__setitem__)
96
+ # this is patched in the C API because otherwise torch.Tensor will
97
+ # no longer be considered a sequence and things will break
98
+ # torch.Tensor.__getitem__ = t__getitem__
99
+
100
+ _Tensor.__getitem__ = t__getitem__
101
+ # torch.Tensor.__setitem__ = t__setitem__
102
+ _Tensor.__setitem__ = t__setitem__
103
+
104
+ torch.Tensor.split = split
105
+ _Tensor.split = split
106
+ torch.Tensor.expand = _C._instancemethod(_C.expand)
107
+ torch.Tensor.index = _C._instancemethod(_C.index)
108
+ wrap_type(use_c, _Tensor, torch.Tensor, _Tensor.__torch_function__)
109
+ del _Tensor.ndim
110
+
111
+ if use_c:
112
+ _Tensor.order = _C._instancemethod(_C.order)
113
+ else:
114
+ _Tensor.order = reference.positional
115
+
116
+ _def("mean")
117
+ _def("sum")
118
+ _def("all")
119
+ _def("amax")
120
+ _def("amin")
121
+ _def("aminmax")
122
+ _def("any")
123
+ _def("count_nonzero")
124
+ _def("logsumexp")
125
+ _def("nanmean")
126
+ _def("nansum")
127
+ _def("prod")
128
+ _def("std", keepdim_offset=2)
129
+ _def("var", keepdim_offset=2)
130
+ _def("max", single_dim=True)
131
+ _def("min", single_dim=True)
132
+ _def("argmax", single_dim=True)
133
+ _def("argmin", single_dim=True)
134
+ _def("kthvalue", single_dim=True)
135
+ _def("median", single_dim=True)
136
+ _def("nanmedian", single_dim=True)
137
+ _def("mode", single_dim=True)
138
+ _def("sort", reduce=False)
139
+ _def("argsort", reduce=False)
140
+ _def("unbind", single_dim=True)
141
+ _def("chunk", dim_offset=1, reduce=False)
142
+ _def("cummax", single_dim=True, reduce=False)
143
+ _def("cummin", single_dim=True, reduce=False)
144
+ _def("cumprod", single_dim=True, reduce=False)
145
+ _def("cumprod_", single_dim=True, reduce=False)
146
+ _def("cumsum", single_dim=True, reduce=False)
147
+ _def("cumsum_", single_dim=True, reduce=False)
148
+ _def("logcumsumexp", single_dim=True, reduce=False)
149
+ _def("renorm", dim_offset=1, single_dim=True, reduce=False)
150
+ _def("softmax", single_dim=True, reduce=False)
151
+ softmax = _wrap(torch.nn.functional.softmax, single_dim=True, reduce=False)
152
+
153
+ # stuff to handle in the future, because they require special
154
+ # binding logic for dims
155
+ # cross
156
+ # diag_embed
157
+ # diagonal
158
+ # diagonal_scatter
159
+ # diff
160
+ # nanquantile
161
+ # quantile
162
+ # roll
163
+ # rot90
164
+ # topk (new dimes on output)
165
+ # should these all be subsumed by inplace indexing?
166
+ # index_add_
167
+ # index_add
168
+ # index_copy
169
+ # index_copy_
170
+ # index_fill
171
+ # index_fill_
172
+ # index_select
173
+ # scatter
174
+ # scatter_
175
+ # scatter_add
176
+ # scatter_add_
177
+ # scatter_reduce
phivenv/Lib/site-packages/functorch/dim/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (4.07 kB). View file
 
phivenv/Lib/site-packages/functorch/dim/__pycache__/batch_tensor.cpython-39.pyc ADDED
Binary file (757 Bytes). View file
 
phivenv/Lib/site-packages/functorch/dim/__pycache__/delayed_mul_tensor.cpython-39.pyc ADDED
Binary file (3.03 kB). View file
 
phivenv/Lib/site-packages/functorch/dim/__pycache__/dim.cpython-39.pyc ADDED
Binary file (4.02 kB). View file
 
phivenv/Lib/site-packages/functorch/dim/__pycache__/magic_trace.cpython-39.pyc ADDED
Binary file (1.17 kB). View file
 
phivenv/Lib/site-packages/functorch/dim/__pycache__/op_properties.cpython-39.pyc ADDED
Binary file (5.6 kB). View file