ZTWHHH commited on
Commit
ed4ae9e
·
verified ·
1 Parent(s): 9d7fd5b

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. .gitattributes +2 -0
  2. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/__init__.cpython-310.pyc +0 -0
  3. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/_clonevirtualenv.cpython-310.pyc +0 -0
  4. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/conda.cpython-310.pyc +0 -0
  5. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/conda_utils.cpython-310.pyc +0 -0
  6. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/constants.cpython-310.pyc +0 -0
  7. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/context.cpython-310.pyc +0 -0
  8. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/default_impl.cpython-310.pyc +0 -0
  9. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/dependency_utils.cpython-310.pyc +0 -0
  10. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/image_uri.cpython-310.pyc +0 -0
  11. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/java_jars.cpython-310.pyc +0 -0
  12. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/mpi.cpython-310.pyc +0 -0
  13. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/mpi_runner.cpython-310.pyc +0 -0
  14. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/nsight.cpython-310.pyc +0 -0
  15. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/packaging.cpython-310.pyc +0 -0
  16. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/pip.cpython-310.pyc +0 -0
  17. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/plugin.cpython-310.pyc +0 -0
  18. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/plugin_schema_manager.cpython-310.pyc +0 -0
  19. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/py_modules.cpython-310.pyc +0 -0
  20. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/setup_hook.cpython-310.pyc +0 -0
  21. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/uri_cache.cpython-310.pyc +0 -0
  22. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/utils.cpython-310.pyc +0 -0
  23. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/uv.cpython-310.pyc +0 -0
  24. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/validation.cpython-310.pyc +0 -0
  25. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/virtualenv_utils.cpython-310.pyc +0 -0
  26. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/working_dir.cpython-310.pyc +0 -0
  27. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/__init__.cpython-310.pyc +0 -0
  28. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/main.cpython-310.pyc +0 -0
  29. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/runtime_env_agent.cpython-310.pyc +0 -0
  30. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/runtime_env_consts.cpython-310.pyc +0 -0
  31. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/INSTALLER +1 -0
  32. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/LICENSE.md +31 -0
  33. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/METADATA +250 -0
  34. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/RECORD +22 -0
  35. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/WHEEL +4 -0
  36. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna/__pycache__/idnadata.cpython-310.pyc +3 -0
  37. minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/multidict-6.1.0.dist-info/RECORD +19 -0
  38. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/__init__.py +0 -0
  39. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/__pycache__/__init__.cpython-310.pyc +0 -0
  40. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__init__.py +3 -0
  41. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/__init__.cpython-310.pyc +0 -0
  42. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/config.cpython-310.pyc +0 -0
  43. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/core.cpython-310.pyc +0 -0
  44. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/data.cpython-310.pyc +0 -0
  45. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/dataclasses.cpython-310.pyc +0 -0
  46. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/exceptions.cpython-310.pyc +0 -0
  47. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/types.cpython-310.pyc +0 -0
  48. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/config.py +12 -0
  49. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/core.py +140 -0
  50. minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/data.py +3 -0
.gitattributes CHANGED
@@ -1333,3 +1333,5 @@ videochat2/lib/python3.10/site-packages/matplotlib/__pycache__/widgets.cpython-3
1333
  minigpt2/lib/libcrypto.so filter=lfs diff=lfs merge=lfs -text
1334
  minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna/__pycache__/uts46data.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
1335
  minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
 
 
 
1333
  minigpt2/lib/libcrypto.so filter=lfs diff=lfs merge=lfs -text
1334
  minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna/__pycache__/uts46data.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
1335
  minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
1336
+ parrot/lib/libtsan.so filter=lfs diff=lfs merge=lfs -text
1337
+ minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna/__pycache__/idnadata.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (254 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/_clonevirtualenv.cpython-310.pyc ADDED
Binary file (8.84 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/conda.cpython-310.pyc ADDED
Binary file (11.4 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/conda_utils.cpython-310.pyc ADDED
Binary file (7.86 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/constants.cpython-310.pyc ADDED
Binary file (655 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/context.cpython-310.pyc ADDED
Binary file (3.23 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/default_impl.cpython-310.pyc ADDED
Binary file (400 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/dependency_utils.cpython-310.pyc ADDED
Binary file (4.36 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/image_uri.cpython-310.pyc ADDED
Binary file (3.95 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/java_jars.cpython-310.pyc ADDED
Binary file (3.6 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/mpi.cpython-310.pyc ADDED
Binary file (3.4 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/mpi_runner.cpython-310.pyc ADDED
Binary file (906 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/nsight.cpython-310.pyc ADDED
Binary file (4.24 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/packaging.cpython-310.pyc ADDED
Binary file (28.6 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/pip.cpython-310.pyc ADDED
Binary file (8.85 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/plugin.cpython-310.pyc ADDED
Binary file (8.67 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/plugin_schema_manager.cpython-310.pyc ADDED
Binary file (3.08 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/py_modules.cpython-310.pyc ADDED
Binary file (6.03 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/setup_hook.cpython-310.pyc ADDED
Binary file (5.36 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/uri_cache.cpython-310.pyc ADDED
Binary file (4.24 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/utils.cpython-310.pyc ADDED
Binary file (3.53 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/uv.cpython-310.pyc ADDED
Binary file (9.66 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/validation.cpython-310.pyc ADDED
Binary file (10.6 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/virtualenv_utils.cpython-310.pyc ADDED
Binary file (2.34 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/__pycache__/working_dir.cpython-310.pyc ADDED
Binary file (6.35 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (184 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/main.cpython-310.pyc ADDED
Binary file (5.16 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/runtime_env_agent.cpython-310.pyc ADDED
Binary file (15.3 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/__pycache__/runtime_env_consts.cpython-310.pyc ADDED
Binary file (737 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/LICENSE.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2013-2024, Kim Davies and contributors.
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
8
+ met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in the
15
+ documentation and/or other materials provided with the distribution.
16
+
17
+ 3. Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
27
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/METADATA ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: idna
3
+ Version: 3.10
4
+ Summary: Internationalized Domain Names in Applications (IDNA)
5
+ Author-email: Kim Davies <kim+pypi@gumleaf.org>
6
+ Requires-Python: >=3.6
7
+ Description-Content-Type: text/x-rst
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Intended Audience :: System Administrators
11
+ Classifier: License :: OSI Approved :: BSD License
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: Implementation :: CPython
25
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
26
+ Classifier: Topic :: Internet :: Name Service (DNS)
27
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
+ Classifier: Topic :: Utilities
29
+ Requires-Dist: ruff >= 0.6.2 ; extra == "all"
30
+ Requires-Dist: mypy >= 1.11.2 ; extra == "all"
31
+ Requires-Dist: pytest >= 8.3.2 ; extra == "all"
32
+ Requires-Dist: flake8 >= 7.1.1 ; extra == "all"
33
+ Project-URL: Changelog, https://github.com/kjd/idna/blob/master/HISTORY.rst
34
+ Project-URL: Issue tracker, https://github.com/kjd/idna/issues
35
+ Project-URL: Source, https://github.com/kjd/idna
36
+ Provides-Extra: all
37
+
38
+ Internationalized Domain Names in Applications (IDNA)
39
+ =====================================================
40
+
41
+ Support for the Internationalized Domain Names in
42
+ Applications (IDNA) protocol as specified in `RFC 5891
43
+ <https://tools.ietf.org/html/rfc5891>`_. This is the latest version of
44
+ the protocol and is sometimes referred to as “IDNA 2008”.
45
+
46
+ This library also provides support for Unicode Technical
47
+ Standard 46, `Unicode IDNA Compatibility Processing
48
+ <https://unicode.org/reports/tr46/>`_.
49
+
50
+ This acts as a suitable replacement for the “encodings.idna”
51
+ module that comes with the Python standard library, but which
52
+ only supports the older superseded IDNA specification (`RFC 3490
53
+ <https://tools.ietf.org/html/rfc3490>`_).
54
+
55
+ Basic functions are simply executed:
56
+
57
+ .. code-block:: pycon
58
+
59
+ >>> import idna
60
+ >>> idna.encode('ドメイン.テスト')
61
+ b'xn--eckwd4c7c.xn--zckzah'
62
+ >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
63
+ ドメイン.テスト
64
+
65
+
66
+ Installation
67
+ ------------
68
+
69
+ This package is available for installation from PyPI:
70
+
71
+ .. code-block:: bash
72
+
73
+ $ python3 -m pip install idna
74
+
75
+
76
+ Usage
77
+ -----
78
+
79
+ For typical usage, the ``encode`` and ``decode`` functions will take a
80
+ domain name argument and perform a conversion to A-labels or U-labels
81
+ respectively.
82
+
83
+ .. code-block:: pycon
84
+
85
+ >>> import idna
86
+ >>> idna.encode('ドメイン.テスト')
87
+ b'xn--eckwd4c7c.xn--zckzah'
88
+ >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
89
+ ドメイン.テスト
90
+
91
+ You may use the codec encoding and decoding methods using the
92
+ ``idna.codec`` module:
93
+
94
+ .. code-block:: pycon
95
+
96
+ >>> import idna.codec
97
+ >>> print('домен.испытание'.encode('idna2008'))
98
+ b'xn--d1acufc.xn--80akhbyknj4f'
99
+ >>> print(b'xn--d1acufc.xn--80akhbyknj4f'.decode('idna2008'))
100
+ домен.испытание
101
+
102
+ Conversions can be applied at a per-label basis using the ``ulabel`` or
103
+ ``alabel`` functions if necessary:
104
+
105
+ .. code-block:: pycon
106
+
107
+ >>> idna.alabel('测试')
108
+ b'xn--0zwm56d'
109
+
110
+ Compatibility Mapping (UTS #46)
111
+ +++++++++++++++++++++++++++++++
112
+
113
+ As described in `RFC 5895 <https://tools.ietf.org/html/rfc5895>`_, the
114
+ IDNA specification does not normalize input from different potential
115
+ ways a user may input a domain name. This functionality, known as
116
+ a “mapping”, is considered by the specification to be a local
117
+ user-interface issue distinct from IDNA conversion functionality.
118
+
119
+ This library provides one such mapping that was developed by the
120
+ Unicode Consortium. Known as `Unicode IDNA Compatibility Processing
121
+ <https://unicode.org/reports/tr46/>`_, it provides for both a regular
122
+ mapping for typical applications, as well as a transitional mapping to
123
+ help migrate from older IDNA 2003 applications. Strings are
124
+ preprocessed according to Section 4.4 “Preprocessing for IDNA2008”
125
+ prior to the IDNA operations.
126
+
127
+ For example, “Königsgäßchen” is not a permissible label as *LATIN
128
+ CAPITAL LETTER K* is not allowed (nor are capital letters in general).
129
+ UTS 46 will convert this into lower case prior to applying the IDNA
130
+ conversion.
131
+
132
+ .. code-block:: pycon
133
+
134
+ >>> import idna
135
+ >>> idna.encode('Königsgäßchen')
136
+ ...
137
+ idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of 'Königsgäßchen' not allowed
138
+ >>> idna.encode('Königsgäßchen', uts46=True)
139
+ b'xn--knigsgchen-b4a3dun'
140
+ >>> print(idna.decode('xn--knigsgchen-b4a3dun'))
141
+ königsgäßchen
142
+
143
+ Transitional processing provides conversions to help transition from
144
+ the older 2003 standard to the current standard. For example, in the
145
+ original IDNA specification, the *LATIN SMALL LETTER SHARP S* (ß) was
146
+ converted into two *LATIN SMALL LETTER S* (ss), whereas in the current
147
+ IDNA specification this conversion is not performed.
148
+
149
+ .. code-block:: pycon
150
+
151
+ >>> idna.encode('Königsgäßchen', uts46=True, transitional=True)
152
+ 'xn--knigsgsschen-lcb0w'
153
+
154
+ Implementers should use transitional processing with caution, only in
155
+ rare cases where conversion from legacy labels to current labels must be
156
+ performed (i.e. IDNA implementations that pre-date 2008). For typical
157
+ applications that just need to convert labels, transitional processing
158
+ is unlikely to be beneficial and could produce unexpected incompatible
159
+ results.
160
+
161
+ ``encodings.idna`` Compatibility
162
+ ++++++++++++++++++++++++++++++++
163
+
164
+ Function calls from the Python built-in ``encodings.idna`` module are
165
+ mapped to their IDNA 2008 equivalents using the ``idna.compat`` module.
166
+ Simply substitute the ``import`` clause in your code to refer to the new
167
+ module name.
168
+
169
+ Exceptions
170
+ ----------
171
+
172
+ All errors raised during the conversion following the specification
173
+ should raise an exception derived from the ``idna.IDNAError`` base
174
+ class.
175
+
176
+ More specific exceptions that may be generated as ``idna.IDNABidiError``
177
+ when the error reflects an illegal combination of left-to-right and
178
+ right-to-left characters in a label; ``idna.InvalidCodepoint`` when
179
+ a specific codepoint is an illegal character in an IDN label (i.e.
180
+ INVALID); and ``idna.InvalidCodepointContext`` when the codepoint is
181
+ illegal based on its positional context (i.e. it is CONTEXTO or CONTEXTJ
182
+ but the contextual requirements are not satisfied.)
183
+
184
+ Building and Diagnostics
185
+ ------------------------
186
+
187
+ The IDNA and UTS 46 functionality relies upon pre-calculated lookup
188
+ tables for performance. These tables are derived from computing against
189
+ eligibility criteria in the respective standards. These tables are
190
+ computed using the command-line script ``tools/idna-data``.
191
+
192
+ This tool will fetch relevant codepoint data from the Unicode repository
193
+ and perform the required calculations to identify eligibility. There are
194
+ three main modes:
195
+
196
+ * ``idna-data make-libdata``. Generates ``idnadata.py`` and
197
+ ``uts46data.py``, the pre-calculated lookup tables used for IDNA and
198
+ UTS 46 conversions. Implementers who wish to track this library against
199
+ a different Unicode version may use this tool to manually generate a
200
+ different version of the ``idnadata.py`` and ``uts46data.py`` files.
201
+
202
+ * ``idna-data make-table``. Generate a table of the IDNA disposition
203
+ (e.g. PVALID, CONTEXTJ, CONTEXTO) in the format found in Appendix
204
+ B.1 of RFC 5892 and the pre-computed tables published by `IANA
205
+ <https://www.iana.org/>`_.
206
+
207
+ * ``idna-data U+0061``. Prints debugging output on the various
208
+ properties associated with an individual Unicode codepoint (in this
209
+ case, U+0061), that are used to assess the IDNA and UTS 46 status of a
210
+ codepoint. This is helpful in debugging or analysis.
211
+
212
+ The tool accepts a number of arguments, described using ``idna-data
213
+ -h``. Most notably, the ``--version`` argument allows the specification
214
+ of the version of Unicode to be used in computing the table data. For
215
+ example, ``idna-data --version 9.0.0 make-libdata`` will generate
216
+ library data against Unicode 9.0.0.
217
+
218
+
219
+ Additional Notes
220
+ ----------------
221
+
222
+ * **Packages**. The latest tagged release version is published in the
223
+ `Python Package Index <https://pypi.org/project/idna/>`_.
224
+
225
+ * **Version support**. This library supports Python 3.6 and higher.
226
+ As this library serves as a low-level toolkit for a variety of
227
+ applications, many of which strive for broad compatibility with older
228
+ Python versions, there is no rush to remove older interpreter support.
229
+ Removing support for older versions should be well justified in that the
230
+ maintenance burden has become too high.
231
+
232
+ * **Python 2**. Python 2 is supported by version 2.x of this library.
233
+ Use "idna<3" in your requirements file if you need this library for
234
+ a Python 2 application. Be advised that these versions are no longer
235
+ actively developed.
236
+
237
+ * **Testing**. The library has a test suite based on each rule of the
238
+ IDNA specification, as well as tests that are provided as part of the
239
+ Unicode Technical Standard 46, `Unicode IDNA Compatibility Processing
240
+ <https://unicode.org/reports/tr46/>`_.
241
+
242
+ * **Emoji**. It is an occasional request to support emoji domains in
243
+ this library. Encoding of symbols like emoji is expressly prohibited by
244
+ the technical standard IDNA 2008 and emoji domains are broadly phased
245
+ out across the domain industry due to associated security risks. For
246
+ now, applications that need to support these non-compliant labels
247
+ may wish to consider trying the encode/decode operation in this library
248
+ first, and then falling back to using `encodings.idna`. See `the Github
249
+ project <https://github.com/kjd/idna/issues/18>`_ for more discussion.
250
+
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/RECORD ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ idna-3.10.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ idna-3.10.dist-info/LICENSE.md,sha256=pZ8LDvNjWHQQmkRhykT_enDVBpboFHZ7-vch1Mmw2w8,1541
3
+ idna-3.10.dist-info/METADATA,sha256=URR5ZyDfQ1PCEGhkYoojqfi2Ra0tau2--lhwG4XSfjI,10158
4
+ idna-3.10.dist-info/RECORD,,
5
+ idna-3.10.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
6
+ idna/__init__.py,sha256=MPqNDLZbXqGaNdXxAFhiqFPKEQXju2jNQhCey6-5eJM,868
7
+ idna/__pycache__/__init__.cpython-310.pyc,,
8
+ idna/__pycache__/codec.cpython-310.pyc,,
9
+ idna/__pycache__/compat.cpython-310.pyc,,
10
+ idna/__pycache__/core.cpython-310.pyc,,
11
+ idna/__pycache__/idnadata.cpython-310.pyc,,
12
+ idna/__pycache__/intranges.cpython-310.pyc,,
13
+ idna/__pycache__/package_data.cpython-310.pyc,,
14
+ idna/__pycache__/uts46data.cpython-310.pyc,,
15
+ idna/codec.py,sha256=PEew3ItwzjW4hymbasnty2N2OXvNcgHB-JjrBuxHPYY,3422
16
+ idna/compat.py,sha256=RzLy6QQCdl9784aFhb2EX9EKGCJjg0P3PilGdeXXcx8,316
17
+ idna/core.py,sha256=YJYyAMnwiQEPjVC4-Fqu_p4CJ6yKKuDGmppBNQNQpFs,13239
18
+ idna/idnadata.py,sha256=W30GcIGvtOWYwAjZj4ZjuouUutC6ffgNuyjJy7fZ-lo,78306
19
+ idna/intranges.py,sha256=amUtkdhYcQG8Zr-CoMM_kVRacxkivC1WgxN1b63KKdU,1898
20
+ idna/package_data.py,sha256=q59S3OXsc5VI8j6vSD0sGBMyk6zZ4vWFREE88yCJYKs,21
21
+ idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
+ idna/uts46data.py,sha256=rt90K9J40gUSwppDPCrhjgi5AA6pWM65dEGRSf6rIhM,239289
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna-3.10.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: flit 3.9.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/idna/__pycache__/idnadata.cpython-310.pyc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70b723d7808ef040851a7396378c52f13699b799c0468a3efc26e53685c9be1e
3
+ size 194466
minigpt2/lib/python3.10/site-packages/ray/_private/runtime_env/agent/thirdparty_files/multidict-6.1.0.dist-info/RECORD ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ multidict-6.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ multidict-6.1.0.dist-info/LICENSE,sha256=k9Ealo4vDzY3PECBH_bSDhc_WMPKtYhM1mF7v9eVSSo,611
3
+ multidict-6.1.0.dist-info/METADATA,sha256=OnCx5DR4XPf64GIDK4XmcA2e7HLQ_784vMfEQy287kM,4979
4
+ multidict-6.1.0.dist-info/RECORD,,
5
+ multidict-6.1.0.dist-info/WHEEL,sha256=K6ps4aVUsEay-13wCJy8H3VKOTWNlXTmCBW4TF80uCE,151
6
+ multidict-6.1.0.dist-info/top_level.txt,sha256=-euDElkk5_qkmfIJ7WiqCab02ZlSFZWynejKg59qZQQ,10
7
+ multidict/__init__.py,sha256=p60Ag5UVACSli1txazSi85foCmHN-cg3qZDCuWdOKng,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=uCNUpVHJSFOiKUJmRcz3SDqMpkb37C_csc29ijr8Evo,352
16
+ multidict/_multidict.cpython-310-x86_64-linux-gnu.so,sha256=PM5Jz9d2OytBpQNf2J2rbDXasWF9b9M4abzFOc3c5xI,394656
17
+ multidict/_multidict_base.py,sha256=ZndtnZ5oc1sODKmXsv6F9kWvVNCda9xAEEFXkaPoFoA,3979
18
+ multidict/_multidict_py.py,sha256=57h4sYrRIu7EjMX4YpHVIZVrV9-q1KCW3F6rao10D3U,15050
19
+ multidict/py.typed,sha256=e9bmbH3UFxsabQrnNFPG9qxIXztwbcM6IKDYnvZwprY,15
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/__init__.py ADDED
File without changes
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (177 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__init__.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from .config import Config
2
+ from .core import from_dict
3
+ from .exceptions import *
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (286 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/config.cpython-310.pyc ADDED
Binary file (857 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/core.cpython-310.pyc ADDED
Binary file (4.68 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/data.cpython-310.pyc ADDED
Binary file (254 Bytes). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/dataclasses.cpython-310.pyc ADDED
Binary file (1.57 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/exceptions.cpython-310.pyc ADDED
Binary file (4.93 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/__pycache__/types.cpython-310.pyc ADDED
Binary file (5.53 kB). View file
 
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/config.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import dataclass, field
2
+ from typing import Dict, Any, Callable, Optional, Type, List
3
+
4
+
5
+ @dataclass
6
+ class Config:
7
+ type_hooks: Dict[Type, Callable[[Any], Any]] = field(default_factory=dict)
8
+ cast: List[Type] = field(default_factory=list)
9
+ forward_references: Optional[Dict[str, Any]] = None
10
+ check_types: bool = True
11
+ strict: bool = False
12
+ strict_unions_match: bool = False
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/core.py ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import copy
2
+ from dataclasses import is_dataclass
3
+ from itertools import zip_longest
4
+ from typing import TypeVar, Type, Optional, get_type_hints, Mapping, Any
5
+
6
+ from .config import Config
7
+ from .data import Data
8
+ from .dataclasses import get_default_value_for_field, create_instance, DefaultValueNotFoundError, get_fields
9
+ from .exceptions import (
10
+ ForwardReferenceError,
11
+ WrongTypeError,
12
+ DaciteError,
13
+ UnionMatchError,
14
+ MissingValueError,
15
+ DaciteFieldError,
16
+ UnexpectedDataError,
17
+ StrictUnionMatchError,
18
+ )
19
+ from .types import (
20
+ is_instance,
21
+ is_generic_collection,
22
+ is_union,
23
+ extract_generic,
24
+ is_optional,
25
+ transform_value,
26
+ extract_origin_collection,
27
+ is_init_var,
28
+ extract_init_var,
29
+ )
30
+
31
+ T = TypeVar("T")
32
+
33
+
34
+ def from_dict(data_class: Type[T], data: Data, config: Optional[Config] = None) -> T:
35
+ """Create a data class instance from a dictionary.
36
+
37
+ :param data_class: a data class type
38
+ :param data: a dictionary of a input data
39
+ :param config: a configuration of the creation process
40
+ :return: an instance of a data class
41
+ """
42
+ init_values: Data = {}
43
+ post_init_values: Data = {}
44
+ config = config or Config()
45
+ try:
46
+ data_class_hints = get_type_hints(data_class, globalns=config.forward_references)
47
+ except NameError as error:
48
+ raise ForwardReferenceError(str(error))
49
+ data_class_fields = get_fields(data_class)
50
+ if config.strict:
51
+ extra_fields = set(data.keys()) - {f.name for f in data_class_fields}
52
+ if extra_fields:
53
+ raise UnexpectedDataError(keys=extra_fields)
54
+ for field in data_class_fields:
55
+ field = copy.copy(field)
56
+ field.type = data_class_hints[field.name]
57
+ try:
58
+ try:
59
+ field_data = data[field.name]
60
+ transformed_value = transform_value(
61
+ type_hooks=config.type_hooks, cast=config.cast, target_type=field.type, value=field_data
62
+ )
63
+ value = _build_value(type_=field.type, data=transformed_value, config=config)
64
+ except DaciteFieldError as error:
65
+ error.update_path(field.name)
66
+ raise
67
+ if config.check_types and not is_instance(value, field.type):
68
+ raise WrongTypeError(field_path=field.name, field_type=field.type, value=value)
69
+ except KeyError:
70
+ try:
71
+ value = get_default_value_for_field(field)
72
+ except DefaultValueNotFoundError:
73
+ if not field.init:
74
+ continue
75
+ raise MissingValueError(field.name)
76
+ if field.init:
77
+ init_values[field.name] = value
78
+ else:
79
+ post_init_values[field.name] = value
80
+
81
+ return create_instance(data_class=data_class, init_values=init_values, post_init_values=post_init_values)
82
+
83
+
84
+ def _build_value(type_: Type, data: Any, config: Config) -> Any:
85
+ if is_init_var(type_):
86
+ type_ = extract_init_var(type_)
87
+ if is_union(type_):
88
+ return _build_value_for_union(union=type_, data=data, config=config)
89
+ elif is_generic_collection(type_) and is_instance(data, extract_origin_collection(type_)):
90
+ return _build_value_for_collection(collection=type_, data=data, config=config)
91
+ elif is_dataclass(type_) and is_instance(data, Data):
92
+ return from_dict(data_class=type_, data=data, config=config)
93
+ return data
94
+
95
+
96
+ def _build_value_for_union(union: Type, data: Any, config: Config) -> Any:
97
+ types = extract_generic(union)
98
+ if is_optional(union) and len(types) == 2:
99
+ return _build_value(type_=types[0], data=data, config=config)
100
+ union_matches = {}
101
+ for inner_type in types:
102
+ try:
103
+ # noinspection PyBroadException
104
+ try:
105
+ data = transform_value(
106
+ type_hooks=config.type_hooks, cast=config.cast, target_type=inner_type, value=data
107
+ )
108
+ except Exception: # pylint: disable=broad-except
109
+ continue
110
+ value = _build_value(type_=inner_type, data=data, config=config)
111
+ if is_instance(value, inner_type):
112
+ if config.strict_unions_match:
113
+ union_matches[inner_type] = value
114
+ else:
115
+ return value
116
+ except DaciteError:
117
+ pass
118
+ if config.strict_unions_match:
119
+ if len(union_matches) > 1:
120
+ raise StrictUnionMatchError(union_matches)
121
+ return union_matches.popitem()[1]
122
+ if not config.check_types:
123
+ return data
124
+ raise UnionMatchError(field_type=union, value=data)
125
+
126
+
127
+ def _build_value_for_collection(collection: Type, data: Any, config: Config) -> Any:
128
+ data_type = data.__class__
129
+ if is_instance(data, Mapping):
130
+ item_type = extract_generic(collection, defaults=(Any, Any))[1]
131
+ return data_type((key, _build_value(type_=item_type, data=value, config=config)) for key, value in data.items())
132
+ elif is_instance(data, tuple):
133
+ types = extract_generic(collection)
134
+ if len(types) == 2 and types[1] == Ellipsis:
135
+ return data_type(_build_value(type_=types[0], data=item, config=config) for item in data)
136
+ return data_type(
137
+ _build_value(type_=type_, data=item, config=config) for item, type_ in zip_longest(data, types)
138
+ )
139
+ item_type = extract_generic(collection, defaults=(Any,))[0]
140
+ return data_type(_build_value(type_=item_type, data=item, config=config) for item in data)
minigpt2/lib/python3.10/site-packages/ray/_private/thirdparty/dacite/data.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from typing import Dict, Any
2
+
3
+ Data = Dict[str, Any]