Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +360 -0
- .idea/.gitignore +3 -0
- .idea/.name +1 -0
- .idea/PythonProject1.iml +10 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +6 -0
- .idea/modules.xml +8 -0
- .idea/vcs.xml +6 -0
- .idea/workspace.xml +59 -0
- .venv/.gitignore +2 -0
- .venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER +1 -0
- .venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt +28 -0
- .venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/METADATA +92 -0
- .venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/RECORD +14 -0
- .venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/WHEEL +5 -0
- .venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt +1 -0
- .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/INSTALLER +1 -0
- .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/LICENSE +20 -0
- .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/METADATA +46 -0
- .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/RECORD +43 -0
- .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/WHEEL +5 -0
- .venv/Lib/site-packages/PyYAML-6.0.2.dist-info/top_level.txt +2 -0
- .venv/Lib/site-packages/__pycache__/_virtualenv.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/__pycache__/isympy.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/__pycache__/typing_extensions.cpython-313.pyc +3 -0
- .venv/Lib/site-packages/_distutils_hack/__init__.py +239 -0
- .venv/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/_distutils_hack/__pycache__/override.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/_distutils_hack/override.py +1 -0
- .venv/Lib/site-packages/_virtualenv.pth +3 -0
- .venv/Lib/site-packages/_virtualenv.py +102 -0
- .venv/Lib/site-packages/_yaml/__init__.py +33 -0
- .venv/Lib/site-packages/_yaml/__pycache__/__init__.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate-1.4.0.dist-info/INSTALLER +1 -0
- .venv/Lib/site-packages/accelerate-1.4.0.dist-info/LICENSE +201 -0
- .venv/Lib/site-packages/accelerate-1.4.0.dist-info/METADATA +375 -0
- .venv/Lib/site-packages/accelerate-1.4.0.dist-info/RECORD +174 -0
- .venv/Lib/site-packages/accelerate-1.4.0.dist-info/WHEEL +5 -0
- .venv/Lib/site-packages/accelerate-1.4.0.dist-info/entry_points.txt +6 -0
- .venv/Lib/site-packages/accelerate-1.4.0.dist-info/top_level.txt +1 -0
- .venv/Lib/site-packages/accelerate/__init__.py +50 -0
- .venv/Lib/site-packages/accelerate/__pycache__/__init__.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate/__pycache__/accelerator.cpython-313.pyc +3 -0
- .venv/Lib/site-packages/accelerate/__pycache__/big_modeling.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate/__pycache__/checkpointing.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate/__pycache__/data_loader.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate/__pycache__/hooks.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate/__pycache__/inference.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate/__pycache__/launchers.cpython-313.pyc +0 -0
- .venv/Lib/site-packages/accelerate/__pycache__/local_sgd.cpython-313.pyc +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,363 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
.venv/Lib/site-packages/__pycache__/typing_extensions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
.venv/Lib/site-packages/accelerate/__pycache__/accelerator.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
.venv/Lib/site-packages/accelerate/utils/__pycache__/dataclasses.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
.venv/Lib/site-packages/charset_normalizer/md__mypyc.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
.venv/Lib/site-packages/functorch/_C.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
.venv/Lib/site-packages/future/backports/email/__pycache__/_header_value_parser.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
.venv/Lib/site-packages/future/backports/urllib/__pycache__/request.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
.venv/Lib/site-packages/huggingface_hub/__pycache__/hf_api.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
.venv/Lib/site-packages/huggingface_hub/inference/__pycache__/_client.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
.venv/Lib/site-packages/huggingface_hub/inference/_generated/__pycache__/_async_client.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
.venv/Lib/site-packages/idna/__pycache__/uts46data.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
.venv/Lib/site-packages/jinja2/__pycache__/compiler.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
.venv/Lib/site-packages/mpmath/__pycache__/function_docs.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
.venv/Lib/site-packages/mpmath/tests/__pycache__/test_fp.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
.venv/Lib/site-packages/mpmath/tests/__pycache__/test_functions2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
.venv/Lib/site-packages/numpy/_core/__pycache__/_add_newdocs.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
.venv/Lib/site-packages/numpy/_core/__pycache__/fromnumeric.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
.venv/Lib/site-packages/numpy/_core/_multiarray_umath.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
.venv/Lib/site-packages/numpy/_core/_simd.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
.venv/Lib/site-packages/numpy/_core/lib/npymath.lib filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_datetime.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_dtype.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_multiarray.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_nditer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_numeric.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_regression.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_ufunc.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
.venv/Lib/site-packages/numpy/_core/tests/__pycache__/test_umath.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
.venv/Lib/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
.venv/Lib/site-packages/numpy/fft/_pocketfft_umath.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
.venv/Lib/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
.venv/Lib/site-packages/numpy/lib/tests/__pycache__/test_function_base.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
.venv/Lib/site-packages/numpy/lib/tests/__pycache__/test_io.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
.venv/Lib/site-packages/numpy/linalg/__pycache__/_linalg.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
.venv/Lib/site-packages/numpy/linalg/_umath_linalg.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
.venv/Lib/site-packages/numpy/linalg/tests/__pycache__/test_linalg.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
.venv/Lib/site-packages/numpy/ma/__pycache__/core.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
.venv/Lib/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
.venv/Lib/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
.venv/Lib/site-packages/numpy/random/_bounded_integers.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
.venv/Lib/site-packages/numpy/random/_common.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
.venv/Lib/site-packages/numpy/random/_generator.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
.venv/Lib/site-packages/numpy/random/bit_generator.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
.venv/Lib/site-packages/numpy/random/lib/npyrandom.lib filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
.venv/Lib/site-packages/numpy/random/mtrand.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
.venv/Lib/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
.venv/Lib/site-packages/numpy/random/tests/__pycache__/test_random.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
.venv/Lib/site-packages/numpy/random/tests/__pycache__/test_randomstate.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
.venv/Lib/site-packages/numpy/testing/_private/__pycache__/utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
.venv/Lib/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
.venv/Lib/site-packages/numpy.libs/libscipy_openblas64_-43e11ff0749b8cbe0a615c9cf6737e0e.dll filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
.venv/Lib/site-packages/numpy.libs/msvcp140-263139962577ecda4cd9469ca360a746.dll filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
.venv/Lib/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
.venv/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
.venv/Lib/site-packages/pip/_vendor/distlib/t64.exe filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
.venv/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
.venv/Lib/site-packages/pip/_vendor/distlib/w64.exe filter=lfs diff=lfs merge=lfs -text
|
| 93 |
+
.venv/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 94 |
+
.venv/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 95 |
+
.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 96 |
+
.venv/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 97 |
+
.venv/Lib/site-packages/pkg_resources/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 98 |
+
.venv/Lib/site-packages/psutil/tests/__pycache__/test_linux.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 99 |
+
.venv/Lib/site-packages/psutil/tests/__pycache__/test_process.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 100 |
+
.venv/Lib/site-packages/regex/__pycache__/_regex_core.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 101 |
+
.venv/Lib/site-packages/regex/__pycache__/test_regex.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 102 |
+
.venv/Lib/site-packages/regex/_regex.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 103 |
+
.venv/Lib/site-packages/safetensors/_safetensors_rust.pyd filter=lfs diff=lfs merge=lfs -text
|
| 104 |
+
.venv/Lib/site-packages/setuptools/_vendor/__pycache__/typing_extensions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 105 |
+
.venv/Lib/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 106 |
+
.venv/Lib/site-packages/setuptools/_vendor/inflect/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 107 |
+
.venv/Lib/site-packages/setuptools/_vendor/more_itertools/__pycache__/more.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 108 |
+
.venv/Lib/site-packages/setuptools/command/__pycache__/easy_install.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 109 |
+
.venv/Lib/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_validations.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 110 |
+
.venv/Lib/site-packages/sympy/assumptions/tests/__pycache__/test_query.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 111 |
+
.venv/Lib/site-packages/sympy/combinatorics/__pycache__/perm_groups.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 112 |
+
.venv/Lib/site-packages/sympy/concrete/tests/__pycache__/test_sums_products.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 113 |
+
.venv/Lib/site-packages/sympy/core/__pycache__/expr.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 114 |
+
.venv/Lib/site-packages/sympy/core/__pycache__/function.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 115 |
+
.venv/Lib/site-packages/sympy/core/__pycache__/numbers.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
.venv/Lib/site-packages/sympy/core/tests/__pycache__/test_args.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 117 |
+
.venv/Lib/site-packages/sympy/core/tests/__pycache__/test_arit.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
.venv/Lib/site-packages/sympy/core/tests/__pycache__/test_expr.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
.venv/Lib/site-packages/sympy/core/tests/__pycache__/test_function.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
.venv/Lib/site-packages/sympy/core/tests/__pycache__/test_numbers.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 121 |
+
.venv/Lib/site-packages/sympy/core/tests/__pycache__/test_relational.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
.venv/Lib/site-packages/sympy/functions/combinatorial/__pycache__/numbers.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
.venv/Lib/site-packages/sympy/functions/combinatorial/tests/__pycache__/test_comb_numbers.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
.venv/Lib/site-packages/sympy/functions/elementary/__pycache__/hyperbolic.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 125 |
+
.venv/Lib/site-packages/sympy/functions/elementary/__pycache__/trigonometric.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 126 |
+
.venv/Lib/site-packages/sympy/functions/elementary/tests/__pycache__/test_hyperbolic.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 127 |
+
.venv/Lib/site-packages/sympy/functions/elementary/tests/__pycache__/test_piecewise.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 128 |
+
.venv/Lib/site-packages/sympy/functions/elementary/tests/__pycache__/test_trigonometric.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 129 |
+
.venv/Lib/site-packages/sympy/functions/special/__pycache__/error_functions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 130 |
+
.venv/Lib/site-packages/sympy/functions/special/tests/__pycache__/test_error_functions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 131 |
+
.venv/Lib/site-packages/sympy/holonomic/__pycache__/holonomic.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 132 |
+
.venv/Lib/site-packages/sympy/integrals/__pycache__/laplace.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 133 |
+
.venv/Lib/site-packages/sympy/integrals/__pycache__/manualintegrate.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 134 |
+
.venv/Lib/site-packages/sympy/integrals/__pycache__/meijerint.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 135 |
+
.venv/Lib/site-packages/sympy/integrals/tests/__pycache__/test_integrals.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 136 |
+
.venv/Lib/site-packages/sympy/logic/__pycache__/boolalg.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
.venv/Lib/site-packages/sympy/logic/tests/__pycache__/test_boolalg.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
.venv/Lib/site-packages/sympy/matrices/__pycache__/common.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
.venv/Lib/site-packages/sympy/matrices/__pycache__/matrixbase.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
.venv/Lib/site-packages/sympy/matrices/tests/__pycache__/test_matrices.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
.venv/Lib/site-packages/sympy/matrices/tests/__pycache__/test_matrixbase.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
.venv/Lib/site-packages/sympy/parsing/autolev/__pycache__/_listener_autolev_antlr.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
.venv/Lib/site-packages/sympy/parsing/autolev/_antlr/__pycache__/autolevparser.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
.venv/Lib/site-packages/sympy/parsing/latex/_antlr/__pycache__/latexparser.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
.venv/Lib/site-packages/sympy/parsing/tests/__pycache__/test_c_parser.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
.venv/Lib/site-packages/sympy/physics/__pycache__/secondquant.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 147 |
+
.venv/Lib/site-packages/sympy/physics/biomechanics/tests/__pycache__/test_curve.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 148 |
+
.venv/Lib/site-packages/sympy/physics/continuum_mechanics/__pycache__/beam.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 149 |
+
.venv/Lib/site-packages/sympy/physics/control/__pycache__/lti.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 150 |
+
.venv/Lib/site-packages/sympy/physics/control/tests/__pycache__/test_lti.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 151 |
+
.venv/Lib/site-packages/sympy/physics/mechanics/tests/__pycache__/test_joint.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 152 |
+
.venv/Lib/site-packages/sympy/physics/quantum/__pycache__/spin.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 153 |
+
.venv/Lib/site-packages/sympy/physics/quantum/tests/__pycache__/test_spin.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 154 |
+
.venv/Lib/site-packages/sympy/plotting/__pycache__/series.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 155 |
+
.venv/Lib/site-packages/sympy/plotting/tests/__pycache__/test_series.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 156 |
+
.venv/Lib/site-packages/sympy/polys/__pycache__/compatibility.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 157 |
+
.venv/Lib/site-packages/sympy/polys/__pycache__/polyclasses.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 158 |
+
.venv/Lib/site-packages/sympy/polys/__pycache__/polyquinticconst.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 159 |
+
.venv/Lib/site-packages/sympy/polys/__pycache__/polytools.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 160 |
+
.venv/Lib/site-packages/sympy/polys/__pycache__/rings.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 161 |
+
.venv/Lib/site-packages/sympy/polys/benchmarks/__pycache__/bench_solvers.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 162 |
+
.venv/Lib/site-packages/sympy/polys/domains/tests/__pycache__/test_domains.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 163 |
+
.venv/Lib/site-packages/sympy/polys/matrices/__pycache__/domainmatrix.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 164 |
+
.venv/Lib/site-packages/sympy/polys/matrices/tests/__pycache__/test_domainmatrix.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 165 |
+
.venv/Lib/site-packages/sympy/polys/numberfields/__pycache__/resolvent_lookup.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 166 |
+
.venv/Lib/site-packages/sympy/polys/tests/__pycache__/test_polytools.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 167 |
+
.venv/Lib/site-packages/sympy/polys/tests/__pycache__/test_rings.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 168 |
+
.venv/Lib/site-packages/sympy/printing/__pycache__/latex.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 169 |
+
.venv/Lib/site-packages/sympy/printing/__pycache__/mathml.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 170 |
+
.venv/Lib/site-packages/sympy/printing/pretty/__pycache__/pretty.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 171 |
+
.venv/Lib/site-packages/sympy/printing/pretty/tests/__pycache__/test_pretty.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 172 |
+
.venv/Lib/site-packages/sympy/printing/tests/__pycache__/test_latex.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 173 |
+
.venv/Lib/site-packages/sympy/printing/tests/__pycache__/test_mathml.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 174 |
+
.venv/Lib/site-packages/sympy/series/tests/__pycache__/test_limits.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 175 |
+
.venv/Lib/site-packages/sympy/sets/__pycache__/sets.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 176 |
+
.venv/Lib/site-packages/sympy/sets/tests/__pycache__/test_fancysets.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 177 |
+
.venv/Lib/site-packages/sympy/sets/tests/__pycache__/test_sets.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 178 |
+
.venv/Lib/site-packages/sympy/simplify/__pycache__/hyperexpand.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 179 |
+
.venv/Lib/site-packages/sympy/solvers/__pycache__/solvers.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 180 |
+
.venv/Lib/site-packages/sympy/solvers/__pycache__/solveset.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 181 |
+
.venv/Lib/site-packages/sympy/solvers/diophantine/__pycache__/diophantine.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 182 |
+
.venv/Lib/site-packages/sympy/solvers/ode/__pycache__/ode.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 183 |
+
.venv/Lib/site-packages/sympy/solvers/ode/__pycache__/single.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 184 |
+
.venv/Lib/site-packages/sympy/solvers/ode/tests/__pycache__/test_ode.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 185 |
+
.venv/Lib/site-packages/sympy/solvers/ode/tests/__pycache__/test_single.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 186 |
+
.venv/Lib/site-packages/sympy/solvers/ode/tests/__pycache__/test_systems.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 187 |
+
.venv/Lib/site-packages/sympy/solvers/tests/__pycache__/test_solvers.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 188 |
+
.venv/Lib/site-packages/sympy/solvers/tests/__pycache__/test_solveset.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 189 |
+
.venv/Lib/site-packages/sympy/stats/__pycache__/crv_types.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 190 |
+
.venv/Lib/site-packages/sympy/stats/__pycache__/stochastic_process_types.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 191 |
+
.venv/Lib/site-packages/sympy/stats/tests/__pycache__/test_continuous_rv.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 192 |
+
.venv/Lib/site-packages/sympy/tensor/__pycache__/tensor.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 193 |
+
.venv/Lib/site-packages/sympy/tensor/array/expressions/__pycache__/array_expressions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 194 |
+
.venv/Lib/site-packages/sympy/tensor/tests/__pycache__/test_tensor.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 195 |
+
.venv/Lib/site-packages/sympy/utilities/__pycache__/iterables.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 196 |
+
.venv/Lib/site-packages/sympy/utilities/tests/__pycache__/test_lambdify.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 197 |
+
.venv/Lib/site-packages/sympy/utilities/tests/__pycache__/test_wester.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 198 |
+
.venv/Lib/site-packages/tokenizers/tokenizers.pyd filter=lfs diff=lfs merge=lfs -text
|
| 199 |
+
.venv/Lib/site-packages/torch/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 200 |
+
.venv/Lib/site-packages/torch/__pycache__/_meta_registrations.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 201 |
+
.venv/Lib/site-packages/torch/__pycache__/_tensor_docs.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 202 |
+
.venv/Lib/site-packages/torch/__pycache__/_torch_docs.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 203 |
+
.venv/Lib/site-packages/torch/__pycache__/overrides.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 204 |
+
.venv/Lib/site-packages/torch/_decomp/__pycache__/decompositions.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 205 |
+
.venv/Lib/site-packages/torch/_dynamo/__pycache__/guards.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 206 |
+
.venv/Lib/site-packages/torch/_dynamo/__pycache__/output_graph.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 207 |
+
.venv/Lib/site-packages/torch/_dynamo/__pycache__/symbolic_convert.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 208 |
+
.venv/Lib/site-packages/torch/_dynamo/__pycache__/trace_rules.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 209 |
+
.venv/Lib/site-packages/torch/_dynamo/__pycache__/utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 210 |
+
.venv/Lib/site-packages/torch/_dynamo/variables/__pycache__/builder.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 211 |
+
.venv/Lib/site-packages/torch/_dynamo/variables/__pycache__/higher_order_ops.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 212 |
+
.venv/Lib/site-packages/torch/_export/serde/__pycache__/serialize.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 213 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/codecache.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 214 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/cudagraph_trees.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 215 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/graph.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 216 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/ir.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 217 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/lowering.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 218 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/pattern_matcher.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 219 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/scheduler.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 220 |
+
.venv/Lib/site-packages/torch/_inductor/__pycache__/utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 221 |
+
.venv/Lib/site-packages/torch/_inductor/codegen/__pycache__/common.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 222 |
+
.venv/Lib/site-packages/torch/_inductor/codegen/__pycache__/cpp.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 223 |
+
.venv/Lib/site-packages/torch/_inductor/codegen/__pycache__/cpp_wrapper_cpu.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 224 |
+
.venv/Lib/site-packages/torch/_inductor/codegen/__pycache__/triton.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 225 |
+
.venv/Lib/site-packages/torch/_inductor/codegen/__pycache__/wrapper.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 226 |
+
.venv/Lib/site-packages/torch/_inductor/fx_passes/__pycache__/split_cat.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 227 |
+
.venv/Lib/site-packages/torch/_refs/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 228 |
+
.venv/Lib/site-packages/torch/_subclasses/__pycache__/fake_tensor.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 229 |
+
.venv/Lib/site-packages/torch/backends/_nnapi/__pycache__/serializer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 230 |
+
.venv/Lib/site-packages/torch/bin/asmjit.dll filter=lfs diff=lfs merge=lfs -text
|
| 231 |
+
.venv/Lib/site-packages/torch/bin/fbgemm.dll filter=lfs diff=lfs merge=lfs -text
|
| 232 |
+
.venv/Lib/site-packages/torch/bin/protoc.exe filter=lfs diff=lfs merge=lfs -text
|
| 233 |
+
.venv/Lib/site-packages/torch/distributed/__pycache__/distributed_c10d.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 234 |
+
.venv/Lib/site-packages/torch/distributed/fsdp/__pycache__/_flat_param.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 235 |
+
.venv/Lib/site-packages/torch/fx/experimental/__pycache__/symbolic_shapes.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 236 |
+
.venv/Lib/site-packages/torch/lib/asmjit.dll filter=lfs diff=lfs merge=lfs -text
|
| 237 |
+
.venv/Lib/site-packages/torch/lib/asmjit.lib filter=lfs diff=lfs merge=lfs -text
|
| 238 |
+
.venv/Lib/site-packages/torch/lib/c10.dll filter=lfs diff=lfs merge=lfs -text
|
| 239 |
+
.venv/Lib/site-packages/torch/lib/c10.lib filter=lfs diff=lfs merge=lfs -text
|
| 240 |
+
.venv/Lib/site-packages/torch/lib/cpuinfo.lib filter=lfs diff=lfs merge=lfs -text
|
| 241 |
+
.venv/Lib/site-packages/torch/lib/dnnl.lib filter=lfs diff=lfs merge=lfs -text
|
| 242 |
+
.venv/Lib/site-packages/torch/lib/fbgemm.dll filter=lfs diff=lfs merge=lfs -text
|
| 243 |
+
.venv/Lib/site-packages/torch/lib/fbgemm.lib filter=lfs diff=lfs merge=lfs -text
|
| 244 |
+
.venv/Lib/site-packages/torch/lib/fmt.lib filter=lfs diff=lfs merge=lfs -text
|
| 245 |
+
.venv/Lib/site-packages/torch/lib/kineto.lib filter=lfs diff=lfs merge=lfs -text
|
| 246 |
+
.venv/Lib/site-packages/torch/lib/libiomp5md.dll filter=lfs diff=lfs merge=lfs -text
|
| 247 |
+
.venv/Lib/site-packages/torch/lib/libprotobuf-lite.lib filter=lfs diff=lfs merge=lfs -text
|
| 248 |
+
.venv/Lib/site-packages/torch/lib/libprotobuf.lib filter=lfs diff=lfs merge=lfs -text
|
| 249 |
+
.venv/Lib/site-packages/torch/lib/libprotoc.lib filter=lfs diff=lfs merge=lfs -text
|
| 250 |
+
.venv/Lib/site-packages/torch/lib/microkernels-prod.lib filter=lfs diff=lfs merge=lfs -text
|
| 251 |
+
.venv/Lib/site-packages/torch/lib/pthreadpool.lib filter=lfs diff=lfs merge=lfs -text
|
| 252 |
+
.venv/Lib/site-packages/torch/lib/sleef.lib filter=lfs diff=lfs merge=lfs -text
|
| 253 |
+
.venv/Lib/site-packages/torch/lib/torch_cpu.dll filter=lfs diff=lfs merge=lfs -text
|
| 254 |
+
.venv/Lib/site-packages/torch/lib/torch_cpu.lib filter=lfs diff=lfs merge=lfs -text
|
| 255 |
+
.venv/Lib/site-packages/torch/lib/torch_python.dll filter=lfs diff=lfs merge=lfs -text
|
| 256 |
+
.venv/Lib/site-packages/torch/lib/torch_python.lib filter=lfs diff=lfs merge=lfs -text
|
| 257 |
+
.venv/Lib/site-packages/torch/lib/uv.dll filter=lfs diff=lfs merge=lfs -text
|
| 258 |
+
.venv/Lib/site-packages/torch/lib/XNNPACK.lib filter=lfs diff=lfs merge=lfs -text
|
| 259 |
+
.venv/Lib/site-packages/torch/linalg/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 260 |
+
.venv/Lib/site-packages/torch/nested/_internal/__pycache__/ops.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 261 |
+
.venv/Lib/site-packages/torch/nn/__pycache__/functional.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 262 |
+
.venv/Lib/site-packages/torch/nn/modules/__pycache__/module.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 263 |
+
.venv/Lib/site-packages/torch/nn/parallel/__pycache__/distributed.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 264 |
+
.venv/Lib/site-packages/torch/onnx/__pycache__/symbolic_opset9.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 265 |
+
.venv/Lib/site-packages/torch/sparse/__pycache__/_triton_ops_meta.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 266 |
+
.venv/Lib/site-packages/torch/testing/_internal/__pycache__/common_methods_invocations.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 267 |
+
.venv/Lib/site-packages/torch/testing/_internal/__pycache__/common_modules.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 268 |
+
.venv/Lib/site-packages/torch/testing/_internal/__pycache__/common_nn.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 269 |
+
.venv/Lib/site-packages/torch/testing/_internal/__pycache__/common_quantization.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 270 |
+
.venv/Lib/site-packages/torch/testing/_internal/__pycache__/common_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 271 |
+
.venv/Lib/site-packages/torch/testing/_internal/distributed/__pycache__/distributed_test.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 272 |
+
.venv/Lib/site-packages/torch/testing/_internal/distributed/rpc/__pycache__/dist_autograd_test.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 273 |
+
.venv/Lib/site-packages/torch/testing/_internal/distributed/rpc/__pycache__/rpc_test.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 274 |
+
.venv/Lib/site-packages/torch/testing/_internal/generated/__pycache__/annotated_fn_args.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 275 |
+
.venv/Lib/site-packages/torch/testing/_internal/opinfo/__pycache__/core.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 276 |
+
.venv/Lib/site-packages/torch/utils/__pycache__/cpp_extension.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 277 |
+
.venv/Lib/site-packages/torch/utils/hipify/__pycache__/cuda_to_hip_mappings.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 278 |
+
.venv/Lib/site-packages/torchgen/__pycache__/gen.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 279 |
+
.venv/Lib/site-packages/torchgen/__pycache__/model.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 280 |
+
.venv/Lib/site-packages/transformers/__pycache__/__init__.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 281 |
+
.venv/Lib/site-packages/transformers/__pycache__/cache_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 282 |
+
.venv/Lib/site-packages/transformers/__pycache__/modeling_outputs.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 283 |
+
.venv/Lib/site-packages/transformers/__pycache__/modeling_tf_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 284 |
+
.venv/Lib/site-packages/transformers/__pycache__/modeling_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 285 |
+
.venv/Lib/site-packages/transformers/__pycache__/testing_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 286 |
+
.venv/Lib/site-packages/transformers/__pycache__/tokenization_utils_base.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 287 |
+
.venv/Lib/site-packages/transformers/__pycache__/trainer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 288 |
+
.venv/Lib/site-packages/transformers/__pycache__/training_args.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 289 |
+
.venv/Lib/site-packages/transformers/generation/__pycache__/logits_process.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 290 |
+
.venv/Lib/site-packages/transformers/generation/__pycache__/tf_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 291 |
+
.venv/Lib/site-packages/transformers/generation/__pycache__/utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 292 |
+
.venv/Lib/site-packages/transformers/integrations/__pycache__/integration_utils.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 293 |
+
.venv/Lib/site-packages/transformers/models/autoformer/__pycache__/modeling_autoformer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 294 |
+
.venv/Lib/site-packages/transformers/models/bart/__pycache__/modeling_bart.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 295 |
+
.venv/Lib/site-packages/transformers/models/big_bird/__pycache__/modeling_big_bird.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 296 |
+
.venv/Lib/site-packages/transformers/models/big_bird/__pycache__/modeling_flax_big_bird.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 297 |
+
.venv/Lib/site-packages/transformers/models/bigbird_pegasus/__pycache__/modeling_bigbird_pegasus.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 298 |
+
.venv/Lib/site-packages/transformers/models/blip_2/__pycache__/modeling_blip_2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 299 |
+
.venv/Lib/site-packages/transformers/models/bridgetower/__pycache__/modeling_bridgetower.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 300 |
+
.venv/Lib/site-packages/transformers/models/clap/__pycache__/modeling_clap.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 301 |
+
.venv/Lib/site-packages/transformers/models/conditional_detr/__pycache__/modeling_conditional_detr.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 302 |
+
.venv/Lib/site-packages/transformers/models/deformable_detr/__pycache__/modeling_deformable_detr.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 303 |
+
.venv/Lib/site-packages/transformers/models/deprecated/deta/__pycache__/modeling_deta.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 304 |
+
.venv/Lib/site-packages/transformers/models/deprecated/jukebox/__pycache__/modeling_jukebox.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 305 |
+
.venv/Lib/site-packages/transformers/models/deprecated/mega/__pycache__/modeling_mega.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 306 |
+
.venv/Lib/site-packages/transformers/models/deprecated/xlm_prophetnet/__pycache__/modeling_xlm_prophetnet.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 307 |
+
.venv/Lib/site-packages/transformers/models/emu3/__pycache__/modeling_emu3.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 308 |
+
.venv/Lib/site-packages/transformers/models/esm/__pycache__/modeling_esmfold.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 309 |
+
.venv/Lib/site-packages/transformers/models/flava/__pycache__/modeling_flava.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 310 |
+
.venv/Lib/site-packages/transformers/models/grounding_dino/__pycache__/modeling_grounding_dino.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 311 |
+
.venv/Lib/site-packages/transformers/models/groupvit/__pycache__/modeling_tf_groupvit.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 312 |
+
.venv/Lib/site-packages/transformers/models/informer/__pycache__/modeling_informer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 313 |
+
.venv/Lib/site-packages/transformers/models/kosmos2/__pycache__/modeling_kosmos2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 314 |
+
.venv/Lib/site-packages/transformers/models/led/__pycache__/modeling_led.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 315 |
+
.venv/Lib/site-packages/transformers/models/led/__pycache__/modeling_tf_led.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 316 |
+
.venv/Lib/site-packages/transformers/models/longformer/__pycache__/modeling_longformer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 317 |
+
.venv/Lib/site-packages/transformers/models/longformer/__pycache__/modeling_tf_longformer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 318 |
+
.venv/Lib/site-packages/transformers/models/longt5/__pycache__/modeling_flax_longt5.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 319 |
+
.venv/Lib/site-packages/transformers/models/longt5/__pycache__/modeling_longt5.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 320 |
+
.venv/Lib/site-packages/transformers/models/luke/__pycache__/modeling_luke.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 321 |
+
.venv/Lib/site-packages/transformers/models/mask2former/__pycache__/modeling_mask2former.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 322 |
+
.venv/Lib/site-packages/transformers/models/mllama/__pycache__/modeling_mllama.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 323 |
+
.venv/Lib/site-packages/transformers/models/moshi/__pycache__/modeling_moshi.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 324 |
+
.venv/Lib/site-packages/transformers/models/mt5/__pycache__/modeling_mt5.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 325 |
+
.venv/Lib/site-packages/transformers/models/musicgen/__pycache__/modeling_musicgen.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 326 |
+
.venv/Lib/site-packages/transformers/models/musicgen_melody/__pycache__/modeling_musicgen_melody.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 327 |
+
.venv/Lib/site-packages/transformers/models/oneformer/__pycache__/modeling_oneformer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 328 |
+
.venv/Lib/site-packages/transformers/models/perceiver/__pycache__/modeling_perceiver.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 329 |
+
.venv/Lib/site-packages/transformers/models/prophetnet/__pycache__/modeling_prophetnet.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 330 |
+
.venv/Lib/site-packages/transformers/models/qwen2_5_vl/__pycache__/modeling_qwen2_5_vl.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 331 |
+
.venv/Lib/site-packages/transformers/models/qwen2_vl/__pycache__/modeling_qwen2_vl.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 332 |
+
.venv/Lib/site-packages/transformers/models/reformer/__pycache__/modeling_reformer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 333 |
+
.venv/Lib/site-packages/transformers/models/rt_detr/__pycache__/modeling_rt_detr.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 334 |
+
.venv/Lib/site-packages/transformers/models/rt_detr_v2/__pycache__/modeling_rt_detr_v2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 335 |
+
.venv/Lib/site-packages/transformers/models/seamless_m4t/__pycache__/modeling_seamless_m4t.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 336 |
+
.venv/Lib/site-packages/transformers/models/seamless_m4t_v2/__pycache__/modeling_seamless_m4t_v2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 337 |
+
.venv/Lib/site-packages/transformers/models/speecht5/__pycache__/modeling_speecht5.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 338 |
+
.venv/Lib/site-packages/transformers/models/t5/__pycache__/modeling_t5.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 339 |
+
.venv/Lib/site-packages/transformers/models/tapas/__pycache__/modeling_tapas.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 340 |
+
.venv/Lib/site-packages/transformers/models/tapas/__pycache__/modeling_tf_tapas.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 341 |
+
.venv/Lib/site-packages/transformers/models/tapas/__pycache__/tokenization_tapas.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 342 |
+
.venv/Lib/site-packages/transformers/models/udop/__pycache__/modeling_udop.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 343 |
+
.venv/Lib/site-packages/transformers/models/unispeech_sat/__pycache__/modeling_unispeech_sat.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 344 |
+
.venv/Lib/site-packages/transformers/models/wav2vec2/__pycache__/modeling_wav2vec2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 345 |
+
.venv/Lib/site-packages/transformers/models/wav2vec2_conformer/__pycache__/modeling_wav2vec2_conformer.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 346 |
+
.venv/Lib/site-packages/transformers/models/whisper/__pycache__/modeling_whisper.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 347 |
+
.venv/Lib/site-packages/transformers/models/zamba2/__pycache__/modeling_zamba2.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 348 |
+
.venv/Lib/site-packages/transformers/utils/__pycache__/dummy_pt_objects.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 349 |
+
.venv/Lib/site-packages/transformers/utils/__pycache__/dummy_tf_objects.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 350 |
+
.venv/Lib/site-packages/yaml/_yaml.cp313-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
|
| 351 |
+
.venv/Scripts/_ctypes.pyd filter=lfs diff=lfs merge=lfs -text
|
| 352 |
+
.venv/Scripts/_decimal.pyd filter=lfs diff=lfs merge=lfs -text
|
| 353 |
+
.venv/Scripts/_elementtree.pyd filter=lfs diff=lfs merge=lfs -text
|
| 354 |
+
.venv/Scripts/_lzma.pyd filter=lfs diff=lfs merge=lfs -text
|
| 355 |
+
.venv/Scripts/_sqlite3.pyd filter=lfs diff=lfs merge=lfs -text
|
| 356 |
+
.venv/Scripts/_ssl.pyd filter=lfs diff=lfs merge=lfs -text
|
| 357 |
+
.venv/Scripts/_testcapi.pyd filter=lfs diff=lfs merge=lfs -text
|
| 358 |
+
.venv/Scripts/_testlimitedcapi.pyd filter=lfs diff=lfs merge=lfs -text
|
| 359 |
+
.venv/Scripts/accelerate-config.exe filter=lfs diff=lfs merge=lfs -text
|
| 360 |
+
.venv/Scripts/accelerate-estimate-memory.exe filter=lfs diff=lfs merge=lfs -text
|
| 361 |
+
.venv/Scripts/accelerate-launch.exe filter=lfs diff=lfs merge=lfs -text
|
| 362 |
+
.venv/Scripts/accelerate-merge-weights.exe filter=lfs diff=lfs merge=lfs -text
|
| 363 |
+
.venv/Scripts/accelerate.exe filter=lfs diff=lfs merge=lfs -text
|
| 364 |
+
.venv/Scripts/f2py.exe filter=lfs diff=lfs merge=lfs -text
|
| 365 |
+
.venv/Scripts/futurize.exe filter=lfs diff=lfs merge=lfs -text
|
| 366 |
+
.venv/Scripts/huggingface-cli.exe filter=lfs diff=lfs merge=lfs -text
|
| 367 |
+
.venv/Scripts/isympy.exe filter=lfs diff=lfs merge=lfs -text
|
| 368 |
+
.venv/Scripts/libcrypto-3.dll filter=lfs diff=lfs merge=lfs -text
|
| 369 |
+
.venv/Scripts/libssl-3.dll filter=lfs diff=lfs merge=lfs -text
|
| 370 |
+
.venv/Scripts/normalizer.exe filter=lfs diff=lfs merge=lfs -text
|
| 371 |
+
.venv/Scripts/numpy-config.exe filter=lfs diff=lfs merge=lfs -text
|
| 372 |
+
.venv/Scripts/pasteurize.exe filter=lfs diff=lfs merge=lfs -text
|
| 373 |
+
.venv/Scripts/pip.exe filter=lfs diff=lfs merge=lfs -text
|
| 374 |
+
.venv/Scripts/pip3.13.exe filter=lfs diff=lfs merge=lfs -text
|
| 375 |
+
.venv/Scripts/pip3.exe filter=lfs diff=lfs merge=lfs -text
|
| 376 |
+
.venv/Scripts/pyexpat.pyd filter=lfs diff=lfs merge=lfs -text
|
| 377 |
+
.venv/Scripts/python.exe filter=lfs diff=lfs merge=lfs -text
|
| 378 |
+
.venv/Scripts/python313.dll filter=lfs diff=lfs merge=lfs -text
|
| 379 |
+
.venv/Scripts/pythonw.exe filter=lfs diff=lfs merge=lfs -text
|
| 380 |
+
.venv/Scripts/sqlite3.dll filter=lfs diff=lfs merge=lfs -text
|
| 381 |
+
.venv/Scripts/tcl86t.dll filter=lfs diff=lfs merge=lfs -text
|
| 382 |
+
.venv/Scripts/tk86t.dll filter=lfs diff=lfs merge=lfs -text
|
| 383 |
+
.venv/Scripts/torchfrtrace.exe filter=lfs diff=lfs merge=lfs -text
|
| 384 |
+
.venv/Scripts/torchrun.exe filter=lfs diff=lfs merge=lfs -text
|
| 385 |
+
.venv/Scripts/tqdm.exe filter=lfs diff=lfs merge=lfs -text
|
| 386 |
+
.venv/Scripts/transformers-cli.exe filter=lfs diff=lfs merge=lfs -text
|
| 387 |
+
.venv/Scripts/unicodedata.pyd filter=lfs diff=lfs merge=lfs -text
|
| 388 |
+
.venv/Scripts/vcruntime140.dll filter=lfs diff=lfs merge=lfs -text
|
| 389 |
+
.venv/Scripts/zlib1.dll filter=lfs diff=lfs merge=lfs -text
|
| 390 |
+
.venv/transformers/examples/research_projects/pplm/imgs/headfigure.png filter=lfs diff=lfs merge=lfs -text
|
| 391 |
+
.venv/transformers/examples/research_projects/pplm/imgs/wooly.png filter=lfs diff=lfs merge=lfs -text
|
| 392 |
+
.venv/transformers/tests/fixtures/tests_samples/COCO/000000004016.png filter=lfs diff=lfs merge=lfs -text
|
| 393 |
+
.venv/transformers/tests/fixtures/tests_samples/COCO/000000039769.png filter=lfs diff=lfs merge=lfs -text
|
| 394 |
+
my-venv/Scripts/python.exe filter=lfs diff=lfs merge=lfs -text
|
| 395 |
+
my-venv/Scripts/pythonw.exe filter=lfs diff=lfs merge=lfs -text
|
.idea/.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Default ignored files
|
| 2 |
+
/shelf/
|
| 3 |
+
/workspace.xml
|
.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
activate_this.py
|
.idea/PythonProject1.iml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<module type="PYTHON_MODULE" version="4">
|
| 3 |
+
<component name="NewModuleRootManager">
|
| 4 |
+
<content url="file://$MODULE_DIR$">
|
| 5 |
+
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
| 6 |
+
</content>
|
| 7 |
+
<orderEntry type="jdk" jdkName="Python 3.13 (PythonProject1)" jdkType="Python SDK" />
|
| 8 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
| 9 |
+
</component>
|
| 10 |
+
</module>
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<component name="InspectionProjectProfileManager">
|
| 2 |
+
<settings>
|
| 3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
| 4 |
+
<version value="1.0" />
|
| 5 |
+
</settings>
|
| 6 |
+
</component>
|
.idea/misc.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="Black">
|
| 4 |
+
<option name="sdkName" value="Python 3.13 (PythonProject1)" />
|
| 5 |
+
</component>
|
| 6 |
+
</project>
|
.idea/modules.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="ProjectModuleManager">
|
| 4 |
+
<modules>
|
| 5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/PythonProject1.iml" filepath="$PROJECT_DIR$/.idea/PythonProject1.iml" />
|
| 6 |
+
</modules>
|
| 7 |
+
</component>
|
| 8 |
+
</project>
|
.idea/vcs.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="VcsDirectoryMappings">
|
| 4 |
+
<mapping directory="$PROJECT_DIR$/transformers" vcs="Git" />
|
| 5 |
+
</component>
|
| 6 |
+
</project>
|
.idea/workspace.xml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="AutoImportSettings">
|
| 4 |
+
<option name="autoReloadType" value="SELECTIVE" />
|
| 5 |
+
</component>
|
| 6 |
+
<component name="ChangeListManager">
|
| 7 |
+
<list default="true" id="e1ca9eab-780d-4022-8547-846f10a707ca" name="Changes" comment="" />
|
| 8 |
+
<option name="SHOW_DIALOG" value="false" />
|
| 9 |
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
| 10 |
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
| 11 |
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
| 12 |
+
</component>
|
| 13 |
+
<component name="FileTemplateManagerImpl">
|
| 14 |
+
<option name="RECENT_TEMPLATES">
|
| 15 |
+
<list>
|
| 16 |
+
<option value="Python Script" />
|
| 17 |
+
</list>
|
| 18 |
+
</option>
|
| 19 |
+
</component>
|
| 20 |
+
<component name="HighlightingSettingsPerFile">
|
| 21 |
+
<setting file="file://$PROJECT_DIR$/.venv/PythonProjectFile1.py" root0="SKIP_INSPECTION" />
|
| 22 |
+
</component>
|
| 23 |
+
<component name="ProjectColorInfo">{
|
| 24 |
+
"associatedIndex": 3
|
| 25 |
+
}</component>
|
| 26 |
+
<component name="ProjectId" id="2tBGyUhll7hTnhrUSkmyqZXcHMI" />
|
| 27 |
+
<component name="ProjectViewState">
|
| 28 |
+
<option name="autoscrollFromSource" value="true" />
|
| 29 |
+
<option name="hideEmptyMiddlePackages" value="true" />
|
| 30 |
+
<option name="showLibraryContents" value="true" />
|
| 31 |
+
</component>
|
| 32 |
+
<component name="PropertiesComponent"><![CDATA[{
|
| 33 |
+
"keyToString": {
|
| 34 |
+
"Python.PythonProjectFile1.executor": "Run",
|
| 35 |
+
"Python.PythonProjectFile2.executor": "Run",
|
| 36 |
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
| 37 |
+
"ignore.virus.scanning.warn.message": "true",
|
| 38 |
+
"last_opened_file_path": "C:/Users/Joshua Davis/PycharmProjects/PythonProject1"
|
| 39 |
+
}
|
| 40 |
+
}]]></component>
|
| 41 |
+
<component name="SharedIndexes">
|
| 42 |
+
<attachedChunks>
|
| 43 |
+
<set>
|
| 44 |
+
<option value="bundled-python-sdk-fc1d50d2d915-aa17d162503b-com.jetbrains.pycharm.community.sharedIndexes.bundled-PC-243.24978.54" />
|
| 45 |
+
</set>
|
| 46 |
+
</attachedChunks>
|
| 47 |
+
</component>
|
| 48 |
+
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
| 49 |
+
<component name="TaskManager">
|
| 50 |
+
<task active="true" id="Default" summary="Default task">
|
| 51 |
+
<changelist id="e1ca9eab-780d-4022-8547-846f10a707ca" name="Changes" comment="" />
|
| 52 |
+
<created>1739818308621</created>
|
| 53 |
+
<option name="number" value="Default" />
|
| 54 |
+
<option name="presentableId" value="Default" />
|
| 55 |
+
<updated>1739818308621</updated>
|
| 56 |
+
</task>
|
| 57 |
+
<servers />
|
| 58 |
+
</component>
|
| 59 |
+
</project>
|
.venv/.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Created by venv; see https://docs.python.org/3/library/venv.html
|
| 2 |
+
*
|
.venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright 2010 Pallets
|
| 2 |
+
|
| 3 |
+
Redistribution and use in source and binary forms, with or without
|
| 4 |
+
modification, are permitted provided that the following conditions are
|
| 5 |
+
met:
|
| 6 |
+
|
| 7 |
+
1. Redistributions of source code must retain the above copyright
|
| 8 |
+
notice, this list of conditions and the following disclaimer.
|
| 9 |
+
|
| 10 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 11 |
+
notice, this list of conditions and the following disclaimer in the
|
| 12 |
+
documentation and/or other materials provided with the distribution.
|
| 13 |
+
|
| 14 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 15 |
+
contributors may be used to endorse or promote products derived from
|
| 16 |
+
this software without specific prior written permission.
|
| 17 |
+
|
| 18 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 19 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 20 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
| 21 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 22 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 23 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
| 24 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 25 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 26 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 27 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 28 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/METADATA
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: MarkupSafe
|
| 3 |
+
Version: 3.0.2
|
| 4 |
+
Summary: Safely add untrusted strings to HTML/XML markup.
|
| 5 |
+
Maintainer-email: Pallets <contact@palletsprojects.com>
|
| 6 |
+
License: Copyright 2010 Pallets
|
| 7 |
+
|
| 8 |
+
Redistribution and use in source and binary forms, with or without
|
| 9 |
+
modification, are permitted provided that the following conditions are
|
| 10 |
+
met:
|
| 11 |
+
|
| 12 |
+
1. Redistributions of source code must retain the above copyright
|
| 13 |
+
notice, this list of conditions and the following disclaimer.
|
| 14 |
+
|
| 15 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 16 |
+
notice, this list of conditions and the following disclaimer in the
|
| 17 |
+
documentation and/or other materials provided with the distribution.
|
| 18 |
+
|
| 19 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 20 |
+
contributors may be used to endorse or promote products derived from
|
| 21 |
+
this software without specific prior written permission.
|
| 22 |
+
|
| 23 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 24 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 25 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
| 26 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 27 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 28 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
| 29 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 30 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 31 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 32 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 33 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 34 |
+
|
| 35 |
+
Project-URL: Donate, https://palletsprojects.com/donate
|
| 36 |
+
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
|
| 37 |
+
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
|
| 38 |
+
Project-URL: Source, https://github.com/pallets/markupsafe/
|
| 39 |
+
Project-URL: Chat, https://discord.gg/pallets
|
| 40 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 41 |
+
Classifier: Environment :: Web Environment
|
| 42 |
+
Classifier: Intended Audience :: Developers
|
| 43 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 44 |
+
Classifier: Operating System :: OS Independent
|
| 45 |
+
Classifier: Programming Language :: Python
|
| 46 |
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
| 47 |
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
| 48 |
+
Classifier: Typing :: Typed
|
| 49 |
+
Requires-Python: >=3.9
|
| 50 |
+
Description-Content-Type: text/markdown
|
| 51 |
+
License-File: LICENSE.txt
|
| 52 |
+
|
| 53 |
+
# MarkupSafe
|
| 54 |
+
|
| 55 |
+
MarkupSafe implements a text object that escapes characters so it is
|
| 56 |
+
safe to use in HTML and XML. Characters that have special meanings are
|
| 57 |
+
replaced so that they display as the actual characters. This mitigates
|
| 58 |
+
injection attacks, meaning untrusted user input can safely be displayed
|
| 59 |
+
on a page.
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
## Examples
|
| 63 |
+
|
| 64 |
+
```pycon
|
| 65 |
+
>>> from markupsafe import Markup, escape
|
| 66 |
+
|
| 67 |
+
>>> # escape replaces special characters and wraps in Markup
|
| 68 |
+
>>> escape("<script>alert(document.cookie);</script>")
|
| 69 |
+
Markup('<script>alert(document.cookie);</script>')
|
| 70 |
+
|
| 71 |
+
>>> # wrap in Markup to mark text "safe" and prevent escaping
|
| 72 |
+
>>> Markup("<strong>Hello</strong>")
|
| 73 |
+
Markup('<strong>hello</strong>')
|
| 74 |
+
|
| 75 |
+
>>> escape(Markup("<strong>Hello</strong>"))
|
| 76 |
+
Markup('<strong>hello</strong>')
|
| 77 |
+
|
| 78 |
+
>>> # Markup is a str subclass
|
| 79 |
+
>>> # methods and operators escape their arguments
|
| 80 |
+
>>> template = Markup("Hello <em>{name}</em>")
|
| 81 |
+
>>> template.format(name='"World"')
|
| 82 |
+
Markup('Hello <em>"World"</em>')
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Donate
|
| 86 |
+
|
| 87 |
+
The Pallets organization develops and supports MarkupSafe and other
|
| 88 |
+
popular packages. In order to grow the community of contributors and
|
| 89 |
+
users, and allow the maintainers to devote more time to the projects,
|
| 90 |
+
[please donate today][].
|
| 91 |
+
|
| 92 |
+
[please donate today]: https://palletsprojects.com/donate
|
.venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/RECORD
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MarkupSafe-3.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
MarkupSafe-3.0.2.dist-info/LICENSE.txt,sha256=RjHsDbX9kKVH4zaBcmTGeYIUM4FG-KyUtKV_lu6MnsQ,1503
|
| 3 |
+
MarkupSafe-3.0.2.dist-info/METADATA,sha256=nhoabjupBG41j_JxPCJ3ylgrZ6Fx8oMCFbiLF9Kafqc,4067
|
| 4 |
+
MarkupSafe-3.0.2.dist-info/RECORD,,
|
| 5 |
+
MarkupSafe-3.0.2.dist-info/WHEEL,sha256=-v_yZ08fSknsoT62oIKG9wp1eCBV9_ao2rO4BeIReTY,101
|
| 6 |
+
MarkupSafe-3.0.2.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
|
| 7 |
+
markupsafe/__init__.py,sha256=pREerPwvinB62tNCMOwqxBS2YHV6R52Wcq1d-rB4Z5o,13609
|
| 8 |
+
markupsafe/__pycache__/__init__.cpython-313.pyc,,
|
| 9 |
+
markupsafe/__pycache__/_native.cpython-313.pyc,,
|
| 10 |
+
markupsafe/_native.py,sha256=2ptkJ40yCcp9kq3L1NqpgjfpZB-obniYKFFKUOkHh4Q,218
|
| 11 |
+
markupsafe/_speedups.c,sha256=SglUjn40ti9YgQAO--OgkSyv9tXq9vvaHyVhQows4Ok,4353
|
| 12 |
+
markupsafe/_speedups.cp313-win_amd64.pyd,sha256=7MA12j0aUiSeNpFy-98h_pPSqgCpLeRacgp3I-j00Yo,13312
|
| 13 |
+
markupsafe/_speedups.pyi,sha256=LSDmXYOefH4HVpAXuL8sl7AttLw0oXh1njVoVZp2wqQ,42
|
| 14 |
+
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
.venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (75.2.0)
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp313-cp313-win_amd64
|
| 5 |
+
|
.venv/Lib/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
markupsafe
|
.venv/Lib/site-packages/PyYAML-6.0.2.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/Lib/site-packages/PyYAML-6.0.2.dist-info/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2017-2021 Ingy döt Net
|
| 2 |
+
Copyright (c) 2006-2016 Kirill Simonov
|
| 3 |
+
|
| 4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
| 5 |
+
this software and associated documentation files (the "Software"), to deal in
|
| 6 |
+
the Software without restriction, including without limitation the rights to
|
| 7 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
| 8 |
+
of the Software, and to permit persons to whom the Software is furnished to do
|
| 9 |
+
so, subject to the following conditions:
|
| 10 |
+
|
| 11 |
+
The above copyright notice and this permission notice shall be included in all
|
| 12 |
+
copies or substantial portions of the Software.
|
| 13 |
+
|
| 14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 15 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 16 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 17 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 18 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 19 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 20 |
+
SOFTWARE.
|
.venv/Lib/site-packages/PyYAML-6.0.2.dist-info/METADATA
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: PyYAML
|
| 3 |
+
Version: 6.0.2
|
| 4 |
+
Summary: YAML parser and emitter for Python
|
| 5 |
+
Home-page: https://pyyaml.org/
|
| 6 |
+
Download-URL: https://pypi.org/project/PyYAML/
|
| 7 |
+
Author: Kirill Simonov
|
| 8 |
+
Author-email: xi@resolvent.net
|
| 9 |
+
License: MIT
|
| 10 |
+
Project-URL: Bug Tracker, https://github.com/yaml/pyyaml/issues
|
| 11 |
+
Project-URL: CI, https://github.com/yaml/pyyaml/actions
|
| 12 |
+
Project-URL: Documentation, https://pyyaml.org/wiki/PyYAMLDocumentation
|
| 13 |
+
Project-URL: Mailing lists, http://lists.sourceforge.net/lists/listinfo/yaml-core
|
| 14 |
+
Project-URL: Source Code, https://github.com/yaml/pyyaml
|
| 15 |
+
Platform: Any
|
| 16 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 17 |
+
Classifier: Intended Audience :: Developers
|
| 18 |
+
Classifier: License :: OSI Approved :: MIT License
|
| 19 |
+
Classifier: Operating System :: OS Independent
|
| 20 |
+
Classifier: Programming Language :: Cython
|
| 21 |
+
Classifier: Programming Language :: Python
|
| 22 |
+
Classifier: Programming Language :: Python :: 3
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 24 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 25 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 26 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 27 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 28 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 29 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 30 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 31 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 32 |
+
Classifier: Topic :: Text Processing :: Markup
|
| 33 |
+
Requires-Python: >=3.8
|
| 34 |
+
License-File: LICENSE
|
| 35 |
+
|
| 36 |
+
YAML is a data serialization format designed for human readability
|
| 37 |
+
and interaction with scripting languages. PyYAML is a YAML parser
|
| 38 |
+
and emitter for Python.
|
| 39 |
+
|
| 40 |
+
PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
|
| 41 |
+
support, capable extension API, and sensible error messages. PyYAML
|
| 42 |
+
supports standard YAML tags and provides Python-specific tags that
|
| 43 |
+
allow to represent an arbitrary Python object.
|
| 44 |
+
|
| 45 |
+
PyYAML is applicable for a broad range of tasks from complex
|
| 46 |
+
configuration files to object serialization and persistence.
|
.venv/Lib/site-packages/PyYAML-6.0.2.dist-info/RECORD
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PyYAML-6.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
PyYAML-6.0.2.dist-info/LICENSE,sha256=jTko-dxEkP1jVwfLiOsmvXZBAqcoKVQwfT5RZ6V36KQ,1101
|
| 3 |
+
PyYAML-6.0.2.dist-info/METADATA,sha256=9lwXqTOrXPts-jI2Lo5UwuaAYo0hiRA0BZqjch0WjAk,2106
|
| 4 |
+
PyYAML-6.0.2.dist-info/RECORD,,
|
| 5 |
+
PyYAML-6.0.2.dist-info/WHEEL,sha256=ugue6NJCr9gUOQmWni1lhHLbY_ilTPbmSokNVdK9MnY,102
|
| 6 |
+
PyYAML-6.0.2.dist-info/top_level.txt,sha256=rpj0IVMTisAjh_1vG3Ccf9v5jpCQwAz6cD1IVU5ZdhQ,11
|
| 7 |
+
_yaml/__init__.py,sha256=04Ae_5osxahpJHa3XBZUAf4wi6XX32gR8D6X6p64GEA,1402
|
| 8 |
+
_yaml/__pycache__/__init__.cpython-313.pyc,,
|
| 9 |
+
yaml/__init__.py,sha256=N35S01HMesFTe0aRRMWkPj0Pa8IEbHpE9FK7cr5Bdtw,12311
|
| 10 |
+
yaml/__pycache__/__init__.cpython-313.pyc,,
|
| 11 |
+
yaml/__pycache__/composer.cpython-313.pyc,,
|
| 12 |
+
yaml/__pycache__/constructor.cpython-313.pyc,,
|
| 13 |
+
yaml/__pycache__/cyaml.cpython-313.pyc,,
|
| 14 |
+
yaml/__pycache__/dumper.cpython-313.pyc,,
|
| 15 |
+
yaml/__pycache__/emitter.cpython-313.pyc,,
|
| 16 |
+
yaml/__pycache__/error.cpython-313.pyc,,
|
| 17 |
+
yaml/__pycache__/events.cpython-313.pyc,,
|
| 18 |
+
yaml/__pycache__/loader.cpython-313.pyc,,
|
| 19 |
+
yaml/__pycache__/nodes.cpython-313.pyc,,
|
| 20 |
+
yaml/__pycache__/parser.cpython-313.pyc,,
|
| 21 |
+
yaml/__pycache__/reader.cpython-313.pyc,,
|
| 22 |
+
yaml/__pycache__/representer.cpython-313.pyc,,
|
| 23 |
+
yaml/__pycache__/resolver.cpython-313.pyc,,
|
| 24 |
+
yaml/__pycache__/scanner.cpython-313.pyc,,
|
| 25 |
+
yaml/__pycache__/serializer.cpython-313.pyc,,
|
| 26 |
+
yaml/__pycache__/tokens.cpython-313.pyc,,
|
| 27 |
+
yaml/_yaml.cp313-win_amd64.pyd,sha256=_iGlW4L7exHQxfjFi8uRZ1FD2cvMLGZnUB97b3sPn2g,263680
|
| 28 |
+
yaml/composer.py,sha256=_Ko30Wr6eDWUeUpauUGT3Lcg9QPBnOPVlTnIMRGJ9FM,4883
|
| 29 |
+
yaml/constructor.py,sha256=kNgkfaeLUkwQYY_Q6Ff1Tz2XVw_pG1xVE9Ak7z-viLA,28639
|
| 30 |
+
yaml/cyaml.py,sha256=6ZrAG9fAYvdVe2FK_w0hmXoG7ZYsoYUwapG8CiC72H0,3851
|
| 31 |
+
yaml/dumper.py,sha256=PLctZlYwZLp7XmeUdwRuv4nYOZ2UBnDIUy8-lKfLF-o,2837
|
| 32 |
+
yaml/emitter.py,sha256=jghtaU7eFwg31bG0B7RZea_29Adi9CKmXq_QjgQpCkQ,43006
|
| 33 |
+
yaml/error.py,sha256=Ah9z-toHJUbE9j-M8YpxgSRM5CgLCcwVzJgLLRF2Fxo,2533
|
| 34 |
+
yaml/events.py,sha256=50_TksgQiE4up-lKo_V-nBy-tAIxkIPQxY5qDhKCeHw,2445
|
| 35 |
+
yaml/loader.py,sha256=UVa-zIqmkFSCIYq_PgSGm4NSJttHY2Rf_zQ4_b1fHN0,2061
|
| 36 |
+
yaml/nodes.py,sha256=gPKNj8pKCdh2d4gr3gIYINnPOaOxGhJAUiYhGRnPE84,1440
|
| 37 |
+
yaml/parser.py,sha256=ilWp5vvgoHFGzvOZDItFoGjD6D42nhlZrZyjAwa0oJo,25495
|
| 38 |
+
yaml/reader.py,sha256=0dmzirOiDG4Xo41RnuQS7K9rkY3xjHiVasfDMNTqCNw,6794
|
| 39 |
+
yaml/representer.py,sha256=IuWP-cAW9sHKEnS0gCqSa894k1Bg4cgTxaDwIcbRQ-Y,14190
|
| 40 |
+
yaml/resolver.py,sha256=9L-VYfm4mWHxUD1Vg4X7rjDRK_7VZd6b92wzq7Y2IKY,9004
|
| 41 |
+
yaml/scanner.py,sha256=YEM3iLZSaQwXcQRg2l2R4MdT0zGP2F9eHkKGKnHyWQY,51279
|
| 42 |
+
yaml/serializer.py,sha256=ChuFgmhU01hj4xgI8GaKv6vfM2Bujwa9i7d2FAHj7cA,4165
|
| 43 |
+
yaml/tokens.py,sha256=lTQIzSVw8Mg9wv459-TjiOQe6wVziqaRlqX2_89rp54,2573
|
.venv/Lib/site-packages/PyYAML-6.0.2.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: bdist_wheel (0.44.0)
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp313-cp313-win_amd64
|
| 5 |
+
|
.venv/Lib/site-packages/PyYAML-6.0.2.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
_yaml
|
| 2 |
+
yaml
|
.venv/Lib/site-packages/__pycache__/_virtualenv.cpython-313.pyc
ADDED
|
Binary file (4.34 kB). View file
|
|
|
.venv/Lib/site-packages/__pycache__/isympy.cpython-313.pyc
ADDED
|
Binary file (11.1 kB). View file
|
|
|
.venv/Lib/site-packages/__pycache__/typing_extensions.cpython-313.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a7cec0de979e4c92e05bef20b13b8d1e31c2fd51359c6c1e7a3374f7e2467f4
|
| 3 |
+
size 142732
|
.venv/Lib/site-packages/_distutils_hack/__init__.py
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# don't import any costly modules
|
| 2 |
+
import os
|
| 3 |
+
import sys
|
| 4 |
+
|
| 5 |
+
report_url = (
|
| 6 |
+
"https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml"
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def warn_distutils_present():
|
| 11 |
+
if 'distutils' not in sys.modules:
|
| 12 |
+
return
|
| 13 |
+
import warnings
|
| 14 |
+
|
| 15 |
+
warnings.warn(
|
| 16 |
+
"Distutils was imported before Setuptools, but importing Setuptools "
|
| 17 |
+
"also replaces the `distutils` module in `sys.modules`. This may lead "
|
| 18 |
+
"to undesirable behaviors or errors. To avoid these issues, avoid "
|
| 19 |
+
"using distutils directly, ensure that setuptools is installed in the "
|
| 20 |
+
"traditional way (e.g. not an editable install), and/or make sure "
|
| 21 |
+
"that setuptools is always imported before distutils."
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def clear_distutils():
|
| 26 |
+
if 'distutils' not in sys.modules:
|
| 27 |
+
return
|
| 28 |
+
import warnings
|
| 29 |
+
|
| 30 |
+
warnings.warn(
|
| 31 |
+
"Setuptools is replacing distutils. Support for replacing "
|
| 32 |
+
"an already imported distutils is deprecated. In the future, "
|
| 33 |
+
"this condition will fail. "
|
| 34 |
+
f"Register concerns at {report_url}"
|
| 35 |
+
)
|
| 36 |
+
mods = [
|
| 37 |
+
name
|
| 38 |
+
for name in sys.modules
|
| 39 |
+
if name == "distutils" or name.startswith("distutils.")
|
| 40 |
+
]
|
| 41 |
+
for name in mods:
|
| 42 |
+
del sys.modules[name]
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def enabled():
|
| 46 |
+
"""
|
| 47 |
+
Allow selection of distutils by environment variable.
|
| 48 |
+
"""
|
| 49 |
+
which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'local')
|
| 50 |
+
if which == 'stdlib':
|
| 51 |
+
import warnings
|
| 52 |
+
|
| 53 |
+
warnings.warn(
|
| 54 |
+
"Reliance on distutils from stdlib is deprecated. Users "
|
| 55 |
+
"must rely on setuptools to provide the distutils module. "
|
| 56 |
+
"Avoid importing distutils or import setuptools first, "
|
| 57 |
+
"and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. "
|
| 58 |
+
f"Register concerns at {report_url}"
|
| 59 |
+
)
|
| 60 |
+
return which == 'local'
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def ensure_local_distutils():
|
| 64 |
+
import importlib
|
| 65 |
+
|
| 66 |
+
clear_distutils()
|
| 67 |
+
|
| 68 |
+
# With the DistutilsMetaFinder in place,
|
| 69 |
+
# perform an import to cause distutils to be
|
| 70 |
+
# loaded from setuptools._distutils. Ref #2906.
|
| 71 |
+
with shim():
|
| 72 |
+
importlib.import_module('distutils')
|
| 73 |
+
|
| 74 |
+
# check that submodules load as expected
|
| 75 |
+
core = importlib.import_module('distutils.core')
|
| 76 |
+
assert '_distutils' in core.__file__, core.__file__
|
| 77 |
+
assert 'setuptools._distutils.log' not in sys.modules
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
def do_override():
|
| 81 |
+
"""
|
| 82 |
+
Ensure that the local copy of distutils is preferred over stdlib.
|
| 83 |
+
|
| 84 |
+
See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401
|
| 85 |
+
for more motivation.
|
| 86 |
+
"""
|
| 87 |
+
if enabled():
|
| 88 |
+
warn_distutils_present()
|
| 89 |
+
ensure_local_distutils()
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
class _TrivialRe:
|
| 93 |
+
def __init__(self, *patterns) -> None:
|
| 94 |
+
self._patterns = patterns
|
| 95 |
+
|
| 96 |
+
def match(self, string):
|
| 97 |
+
return all(pat in string for pat in self._patterns)
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
class DistutilsMetaFinder:
|
| 101 |
+
def find_spec(self, fullname, path, target=None):
|
| 102 |
+
# optimization: only consider top level modules and those
|
| 103 |
+
# found in the CPython test suite.
|
| 104 |
+
if path is not None and not fullname.startswith('test.'):
|
| 105 |
+
return None
|
| 106 |
+
|
| 107 |
+
method_name = 'spec_for_{fullname}'.format(**locals())
|
| 108 |
+
method = getattr(self, method_name, lambda: None)
|
| 109 |
+
return method()
|
| 110 |
+
|
| 111 |
+
def spec_for_distutils(self):
|
| 112 |
+
if self.is_cpython():
|
| 113 |
+
return None
|
| 114 |
+
|
| 115 |
+
import importlib
|
| 116 |
+
import importlib.abc
|
| 117 |
+
import importlib.util
|
| 118 |
+
|
| 119 |
+
try:
|
| 120 |
+
mod = importlib.import_module('setuptools._distutils')
|
| 121 |
+
except Exception:
|
| 122 |
+
# There are a couple of cases where setuptools._distutils
|
| 123 |
+
# may not be present:
|
| 124 |
+
# - An older Setuptools without a local distutils is
|
| 125 |
+
# taking precedence. Ref #2957.
|
| 126 |
+
# - Path manipulation during sitecustomize removes
|
| 127 |
+
# setuptools from the path but only after the hook
|
| 128 |
+
# has been loaded. Ref #2980.
|
| 129 |
+
# In either case, fall back to stdlib behavior.
|
| 130 |
+
return None
|
| 131 |
+
|
| 132 |
+
class DistutilsLoader(importlib.abc.Loader):
|
| 133 |
+
def create_module(self, spec):
|
| 134 |
+
mod.__name__ = 'distutils'
|
| 135 |
+
return mod
|
| 136 |
+
|
| 137 |
+
def exec_module(self, module):
|
| 138 |
+
pass
|
| 139 |
+
|
| 140 |
+
return importlib.util.spec_from_loader(
|
| 141 |
+
'distutils', DistutilsLoader(), origin=mod.__file__
|
| 142 |
+
)
|
| 143 |
+
|
| 144 |
+
@staticmethod
|
| 145 |
+
def is_cpython():
|
| 146 |
+
"""
|
| 147 |
+
Suppress supplying distutils for CPython (build and tests).
|
| 148 |
+
Ref #2965 and #3007.
|
| 149 |
+
"""
|
| 150 |
+
return os.path.isfile('pybuilddir.txt')
|
| 151 |
+
|
| 152 |
+
def spec_for_pip(self):
|
| 153 |
+
"""
|
| 154 |
+
Ensure stdlib distutils when running under pip.
|
| 155 |
+
See pypa/pip#8761 for rationale.
|
| 156 |
+
"""
|
| 157 |
+
if sys.version_info >= (3, 12) or self.pip_imported_during_build():
|
| 158 |
+
return
|
| 159 |
+
clear_distutils()
|
| 160 |
+
self.spec_for_distutils = lambda: None
|
| 161 |
+
|
| 162 |
+
@classmethod
|
| 163 |
+
def pip_imported_during_build(cls):
|
| 164 |
+
"""
|
| 165 |
+
Detect if pip is being imported in a build script. Ref #2355.
|
| 166 |
+
"""
|
| 167 |
+
import traceback
|
| 168 |
+
|
| 169 |
+
return any(
|
| 170 |
+
cls.frame_file_is_setup(frame) for frame, line in traceback.walk_stack(None)
|
| 171 |
+
)
|
| 172 |
+
|
| 173 |
+
@staticmethod
|
| 174 |
+
def frame_file_is_setup(frame):
|
| 175 |
+
"""
|
| 176 |
+
Return True if the indicated frame suggests a setup.py file.
|
| 177 |
+
"""
|
| 178 |
+
# some frames may not have __file__ (#2940)
|
| 179 |
+
return frame.f_globals.get('__file__', '').endswith('setup.py')
|
| 180 |
+
|
| 181 |
+
def spec_for_sensitive_tests(self):
|
| 182 |
+
"""
|
| 183 |
+
Ensure stdlib distutils when running select tests under CPython.
|
| 184 |
+
|
| 185 |
+
python/cpython#91169
|
| 186 |
+
"""
|
| 187 |
+
clear_distutils()
|
| 188 |
+
self.spec_for_distutils = lambda: None
|
| 189 |
+
|
| 190 |
+
sensitive_tests = (
|
| 191 |
+
[
|
| 192 |
+
'test.test_distutils',
|
| 193 |
+
'test.test_peg_generator',
|
| 194 |
+
'test.test_importlib',
|
| 195 |
+
]
|
| 196 |
+
if sys.version_info < (3, 10)
|
| 197 |
+
else [
|
| 198 |
+
'test.test_distutils',
|
| 199 |
+
]
|
| 200 |
+
)
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
for name in DistutilsMetaFinder.sensitive_tests:
|
| 204 |
+
setattr(
|
| 205 |
+
DistutilsMetaFinder,
|
| 206 |
+
f'spec_for_{name}',
|
| 207 |
+
DistutilsMetaFinder.spec_for_sensitive_tests,
|
| 208 |
+
)
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
DISTUTILS_FINDER = DistutilsMetaFinder()
|
| 212 |
+
|
| 213 |
+
|
| 214 |
+
def add_shim():
|
| 215 |
+
DISTUTILS_FINDER in sys.meta_path or insert_shim()
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
class shim:
|
| 219 |
+
def __enter__(self) -> None:
|
| 220 |
+
insert_shim()
|
| 221 |
+
|
| 222 |
+
def __exit__(self, exc: object, value: object, tb: object) -> None:
|
| 223 |
+
_remove_shim()
|
| 224 |
+
|
| 225 |
+
|
| 226 |
+
def insert_shim():
|
| 227 |
+
sys.meta_path.insert(0, DISTUTILS_FINDER)
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
def _remove_shim():
|
| 231 |
+
try:
|
| 232 |
+
sys.meta_path.remove(DISTUTILS_FINDER)
|
| 233 |
+
except ValueError:
|
| 234 |
+
pass
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
if sys.version_info < (3, 12):
|
| 238 |
+
# DistutilsMetaFinder can only be disabled in Python < 3.12 (PEP 632)
|
| 239 |
+
remove_shim = _remove_shim
|
.venv/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (10.8 kB). View file
|
|
|
.venv/Lib/site-packages/_distutils_hack/__pycache__/override.cpython-313.pyc
ADDED
|
Binary file (302 Bytes). View file
|
|
|
.venv/Lib/site-packages/_distutils_hack/override.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
__import__('_distutils_hack').do_override()
|
.venv/Lib/site-packages/_virtualenv.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69ac3d8f27e679c81b94ab30b3b56e9cd138219b1ba94a1fa3606d5a76a1433d
|
| 3 |
+
size 18
|
.venv/Lib/site-packages/_virtualenv.py
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Patches that are applied at runtime to the virtual environment."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import os
|
| 6 |
+
import sys
|
| 7 |
+
from contextlib import suppress
|
| 8 |
+
|
| 9 |
+
VIRTUALENV_PATCH_FILE = os.path.join(__file__)
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def patch_dist(dist):
|
| 13 |
+
"""
|
| 14 |
+
Distutils allows user to configure some arguments via a configuration file:
|
| 15 |
+
https://docs.python.org/3/install/index.html#distutils-configuration-files.
|
| 16 |
+
|
| 17 |
+
Some of this arguments though don't make sense in context of the virtual environment files, let's fix them up.
|
| 18 |
+
""" # noqa: D205
|
| 19 |
+
# we cannot allow some install config as that would get packages installed outside of the virtual environment
|
| 20 |
+
old_parse_config_files = dist.Distribution.parse_config_files
|
| 21 |
+
|
| 22 |
+
def parse_config_files(self, *args, **kwargs):
|
| 23 |
+
result = old_parse_config_files(self, *args, **kwargs)
|
| 24 |
+
install = self.get_option_dict("install")
|
| 25 |
+
|
| 26 |
+
if "prefix" in install: # the prefix governs where to install the libraries
|
| 27 |
+
install["prefix"] = VIRTUALENV_PATCH_FILE, os.path.abspath(sys.prefix)
|
| 28 |
+
for base in ("purelib", "platlib", "headers", "scripts", "data"):
|
| 29 |
+
key = f"install_{base}"
|
| 30 |
+
if key in install: # do not allow global configs to hijack venv paths
|
| 31 |
+
install.pop(key, None)
|
| 32 |
+
return result
|
| 33 |
+
|
| 34 |
+
dist.Distribution.parse_config_files = parse_config_files
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
# Import hook that patches some modules to ignore configuration values that break package installation in case
|
| 38 |
+
# of virtual environments.
|
| 39 |
+
_DISTUTILS_PATCH = "distutils.dist", "setuptools.dist"
|
| 40 |
+
# https://docs.python.org/3/library/importlib.html#setting-up-an-importer
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
class _Finder:
|
| 44 |
+
"""A meta path finder that allows patching the imported distutils modules."""
|
| 45 |
+
|
| 46 |
+
fullname = None
|
| 47 |
+
|
| 48 |
+
# lock[0] is threading.Lock(), but initialized lazily to avoid importing threading very early at startup,
|
| 49 |
+
# because there are gevent-based applications that need to be first to import threading by themselves.
|
| 50 |
+
# See https://github.com/pypa/virtualenv/issues/1895 for details.
|
| 51 |
+
lock = [] # noqa: RUF012
|
| 52 |
+
|
| 53 |
+
def find_spec(self, fullname, path, target=None): # noqa: ARG002
|
| 54 |
+
if fullname in _DISTUTILS_PATCH and self.fullname is None:
|
| 55 |
+
# initialize lock[0] lazily
|
| 56 |
+
if len(self.lock) == 0:
|
| 57 |
+
import threading
|
| 58 |
+
|
| 59 |
+
lock = threading.Lock()
|
| 60 |
+
# there is possibility that two threads T1 and T2 are simultaneously running into find_spec,
|
| 61 |
+
# observing .lock as empty, and further going into hereby initialization. However due to the GIL,
|
| 62 |
+
# list.append() operation is atomic and this way only one of the threads will "win" to put the lock
|
| 63 |
+
# - that every thread will use - into .lock[0].
|
| 64 |
+
# https://docs.python.org/3/faq/library.html#what-kinds-of-global-value-mutation-are-thread-safe
|
| 65 |
+
self.lock.append(lock)
|
| 66 |
+
|
| 67 |
+
from functools import partial
|
| 68 |
+
from importlib.util import find_spec
|
| 69 |
+
|
| 70 |
+
with self.lock[0]:
|
| 71 |
+
self.fullname = fullname
|
| 72 |
+
try:
|
| 73 |
+
spec = find_spec(fullname, path)
|
| 74 |
+
if spec is not None:
|
| 75 |
+
# https://www.python.org/dev/peps/pep-0451/#how-loading-will-work
|
| 76 |
+
is_new_api = hasattr(spec.loader, "exec_module")
|
| 77 |
+
func_name = "exec_module" if is_new_api else "load_module"
|
| 78 |
+
old = getattr(spec.loader, func_name)
|
| 79 |
+
func = self.exec_module if is_new_api else self.load_module
|
| 80 |
+
if old is not func:
|
| 81 |
+
with suppress(AttributeError): # C-Extension loaders are r/o such as zipimporter with <3.7
|
| 82 |
+
setattr(spec.loader, func_name, partial(func, old))
|
| 83 |
+
return spec
|
| 84 |
+
finally:
|
| 85 |
+
self.fullname = None
|
| 86 |
+
return None
|
| 87 |
+
|
| 88 |
+
@staticmethod
|
| 89 |
+
def exec_module(old, module):
|
| 90 |
+
old(module)
|
| 91 |
+
if module.__name__ in _DISTUTILS_PATCH:
|
| 92 |
+
patch_dist(module)
|
| 93 |
+
|
| 94 |
+
@staticmethod
|
| 95 |
+
def load_module(old, name):
|
| 96 |
+
module = old(name)
|
| 97 |
+
if module.__name__ in _DISTUTILS_PATCH:
|
| 98 |
+
patch_dist(module)
|
| 99 |
+
return module
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
sys.meta_path.insert(0, _Finder())
|
.venv/Lib/site-packages/_yaml/__init__.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is a stub package designed to roughly emulate the _yaml
|
| 2 |
+
# extension module, which previously existed as a standalone module
|
| 3 |
+
# and has been moved into the `yaml` package namespace.
|
| 4 |
+
# It does not perfectly mimic its old counterpart, but should get
|
| 5 |
+
# close enough for anyone who's relying on it even when they shouldn't.
|
| 6 |
+
import yaml
|
| 7 |
+
|
| 8 |
+
# in some circumstances, the yaml module we imoprted may be from a different version, so we need
|
| 9 |
+
# to tread carefully when poking at it here (it may not have the attributes we expect)
|
| 10 |
+
if not getattr(yaml, '__with_libyaml__', False):
|
| 11 |
+
from sys import version_info
|
| 12 |
+
|
| 13 |
+
exc = ModuleNotFoundError if version_info >= (3, 6) else ImportError
|
| 14 |
+
raise exc("No module named '_yaml'")
|
| 15 |
+
else:
|
| 16 |
+
from yaml._yaml import *
|
| 17 |
+
import warnings
|
| 18 |
+
warnings.warn(
|
| 19 |
+
'The _yaml extension module is now located at yaml._yaml'
|
| 20 |
+
' and its location is subject to change. To use the'
|
| 21 |
+
' LibYAML-based parser and emitter, import from `yaml`:'
|
| 22 |
+
' `from yaml import CLoader as Loader, CDumper as Dumper`.',
|
| 23 |
+
DeprecationWarning
|
| 24 |
+
)
|
| 25 |
+
del warnings
|
| 26 |
+
# Don't `del yaml` here because yaml is actually an existing
|
| 27 |
+
# namespace member of _yaml.
|
| 28 |
+
|
| 29 |
+
__name__ = '_yaml'
|
| 30 |
+
# If the module is top-level (i.e. not a part of any specific package)
|
| 31 |
+
# then the attribute should be set to ''.
|
| 32 |
+
# https://docs.python.org/3.8/library/types.html
|
| 33 |
+
__package__ = ''
|
.venv/Lib/site-packages/_yaml/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (886 Bytes). View file
|
|
|
.venv/Lib/site-packages/accelerate-1.4.0.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/Lib/site-packages/accelerate-1.4.0.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 [yyyy] [name of copyright owner]
|
| 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/site-packages/accelerate-1.4.0.dist-info/METADATA
ADDED
|
@@ -0,0 +1,375 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: accelerate
|
| 3 |
+
Version: 1.4.0
|
| 4 |
+
Summary: Accelerate
|
| 5 |
+
Home-page: https://github.com/huggingface/accelerate
|
| 6 |
+
Author: The HuggingFace team
|
| 7 |
+
Author-email: zach.mueller@huggingface.co
|
| 8 |
+
License: Apache
|
| 9 |
+
Keywords: deep learning
|
| 10 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 11 |
+
Classifier: Intended Audience :: Developers
|
| 12 |
+
Classifier: Intended Audience :: Education
|
| 13 |
+
Classifier: Intended Audience :: Science/Research
|
| 14 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
| 15 |
+
Classifier: Operating System :: OS Independent
|
| 16 |
+
Classifier: Programming Language :: Python :: 3
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 18 |
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
| 19 |
+
Requires-Python: >=3.9.0
|
| 20 |
+
Description-Content-Type: text/markdown
|
| 21 |
+
License-File: LICENSE
|
| 22 |
+
Requires-Dist: numpy (<3.0.0,>=1.17)
|
| 23 |
+
Requires-Dist: packaging (>=20.0)
|
| 24 |
+
Requires-Dist: psutil
|
| 25 |
+
Requires-Dist: pyyaml
|
| 26 |
+
Requires-Dist: torch (>=2.0.0)
|
| 27 |
+
Requires-Dist: huggingface-hub (>=0.21.0)
|
| 28 |
+
Requires-Dist: safetensors (>=0.4.3)
|
| 29 |
+
Provides-Extra: deepspeed
|
| 30 |
+
Requires-Dist: deepspeed ; extra == 'deepspeed'
|
| 31 |
+
Provides-Extra: dev
|
| 32 |
+
Requires-Dist: black (~=23.1) ; extra == 'dev'
|
| 33 |
+
Requires-Dist: hf-doc-builder (>=0.3.0) ; extra == 'dev'
|
| 34 |
+
Requires-Dist: ruff (~=0.6.4) ; extra == 'dev'
|
| 35 |
+
Requires-Dist: pytest (<=8.0.0,>=7.2.0) ; extra == 'dev'
|
| 36 |
+
Requires-Dist: pytest-xdist ; extra == 'dev'
|
| 37 |
+
Requires-Dist: pytest-subtests ; extra == 'dev'
|
| 38 |
+
Requires-Dist: parameterized ; extra == 'dev'
|
| 39 |
+
Requires-Dist: datasets ; extra == 'dev'
|
| 40 |
+
Requires-Dist: diffusers ; extra == 'dev'
|
| 41 |
+
Requires-Dist: evaluate ; extra == 'dev'
|
| 42 |
+
Requires-Dist: torchdata (>=0.8.0) ; extra == 'dev'
|
| 43 |
+
Requires-Dist: torchpippy (>=0.2.0) ; extra == 'dev'
|
| 44 |
+
Requires-Dist: transformers ; extra == 'dev'
|
| 45 |
+
Requires-Dist: scipy ; extra == 'dev'
|
| 46 |
+
Requires-Dist: scikit-learn ; extra == 'dev'
|
| 47 |
+
Requires-Dist: tqdm ; extra == 'dev'
|
| 48 |
+
Requires-Dist: bitsandbytes ; extra == 'dev'
|
| 49 |
+
Requires-Dist: timm ; extra == 'dev'
|
| 50 |
+
Requires-Dist: rich ; extra == 'dev'
|
| 51 |
+
Provides-Extra: docs
|
| 52 |
+
Provides-Extra: quality
|
| 53 |
+
Requires-Dist: black (~=23.1) ; extra == 'quality'
|
| 54 |
+
Requires-Dist: hf-doc-builder (>=0.3.0) ; extra == 'quality'
|
| 55 |
+
Requires-Dist: ruff (~=0.6.4) ; extra == 'quality'
|
| 56 |
+
Provides-Extra: rich
|
| 57 |
+
Requires-Dist: rich ; extra == 'rich'
|
| 58 |
+
Provides-Extra: sagemaker
|
| 59 |
+
Requires-Dist: sagemaker ; extra == 'sagemaker'
|
| 60 |
+
Provides-Extra: test_dev
|
| 61 |
+
Requires-Dist: datasets ; extra == 'test_dev'
|
| 62 |
+
Requires-Dist: diffusers ; extra == 'test_dev'
|
| 63 |
+
Requires-Dist: evaluate ; extra == 'test_dev'
|
| 64 |
+
Requires-Dist: torchdata (>=0.8.0) ; extra == 'test_dev'
|
| 65 |
+
Requires-Dist: torchpippy (>=0.2.0) ; extra == 'test_dev'
|
| 66 |
+
Requires-Dist: transformers ; extra == 'test_dev'
|
| 67 |
+
Requires-Dist: scipy ; extra == 'test_dev'
|
| 68 |
+
Requires-Dist: scikit-learn ; extra == 'test_dev'
|
| 69 |
+
Requires-Dist: tqdm ; extra == 'test_dev'
|
| 70 |
+
Requires-Dist: bitsandbytes ; extra == 'test_dev'
|
| 71 |
+
Requires-Dist: timm ; extra == 'test_dev'
|
| 72 |
+
Provides-Extra: test_prod
|
| 73 |
+
Requires-Dist: pytest (<=8.0.0,>=7.2.0) ; extra == 'test_prod'
|
| 74 |
+
Requires-Dist: pytest-xdist ; extra == 'test_prod'
|
| 75 |
+
Requires-Dist: pytest-subtests ; extra == 'test_prod'
|
| 76 |
+
Requires-Dist: parameterized ; extra == 'test_prod'
|
| 77 |
+
Provides-Extra: test_trackers
|
| 78 |
+
Requires-Dist: wandb ; extra == 'test_trackers'
|
| 79 |
+
Requires-Dist: comet-ml ; extra == 'test_trackers'
|
| 80 |
+
Requires-Dist: tensorboard ; extra == 'test_trackers'
|
| 81 |
+
Requires-Dist: dvclive ; extra == 'test_trackers'
|
| 82 |
+
Provides-Extra: testing
|
| 83 |
+
Requires-Dist: pytest (<=8.0.0,>=7.2.0) ; extra == 'testing'
|
| 84 |
+
Requires-Dist: pytest-xdist ; extra == 'testing'
|
| 85 |
+
Requires-Dist: pytest-subtests ; extra == 'testing'
|
| 86 |
+
Requires-Dist: parameterized ; extra == 'testing'
|
| 87 |
+
Requires-Dist: datasets ; extra == 'testing'
|
| 88 |
+
Requires-Dist: diffusers ; extra == 'testing'
|
| 89 |
+
Requires-Dist: evaluate ; extra == 'testing'
|
| 90 |
+
Requires-Dist: torchdata (>=0.8.0) ; extra == 'testing'
|
| 91 |
+
Requires-Dist: torchpippy (>=0.2.0) ; extra == 'testing'
|
| 92 |
+
Requires-Dist: transformers ; extra == 'testing'
|
| 93 |
+
Requires-Dist: scipy ; extra == 'testing'
|
| 94 |
+
Requires-Dist: scikit-learn ; extra == 'testing'
|
| 95 |
+
Requires-Dist: tqdm ; extra == 'testing'
|
| 96 |
+
Requires-Dist: bitsandbytes ; extra == 'testing'
|
| 97 |
+
Requires-Dist: timm ; extra == 'testing'
|
| 98 |
+
|
| 99 |
+
<!---
|
| 100 |
+
Copyright 2021 The HuggingFace Team. All rights reserved.
|
| 101 |
+
|
| 102 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 103 |
+
you may not use this file except in compliance with the License.
|
| 104 |
+
You may obtain a copy of the License at
|
| 105 |
+
|
| 106 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 107 |
+
|
| 108 |
+
Unless required by applicable law or agreed to in writing, software
|
| 109 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 110 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 111 |
+
See the License for the specific language governing permissions and
|
| 112 |
+
limitations under the License.
|
| 113 |
+
-->
|
| 114 |
+
|
| 115 |
+
<p align="center">
|
| 116 |
+
<br>
|
| 117 |
+
<img src="https://raw.githubusercontent.com/huggingface/accelerate/main/docs/source/imgs/accelerate_logo.png" width="400"/>
|
| 118 |
+
<br>
|
| 119 |
+
<p>
|
| 120 |
+
|
| 121 |
+
<p align="center">
|
| 122 |
+
<!-- Uncomment when CircleCI is set up
|
| 123 |
+
<a href="https://circleci.com/gh/huggingface/accelerate"><img alt="Build" src="https://img.shields.io/circleci/build/github/huggingface/transformers/master"></a>
|
| 124 |
+
-->
|
| 125 |
+
<a href="https://github.com/huggingface/accelerate/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/huggingface/accelerate.svg?color=blue"></a>
|
| 126 |
+
<a href="https://huggingface.co/docs/accelerate/index.html"><img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/accelerate/index.html.svg?down_color=red&down_message=offline&up_message=online"></a>
|
| 127 |
+
<a href="https://github.com/huggingface/accelerate/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/accelerate.svg"></a>
|
| 128 |
+
<a href="https://github.com/huggingface/accelerate/blob/main/CODE_OF_CONDUCT.md"><img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg"></a>
|
| 129 |
+
</p>
|
| 130 |
+
|
| 131 |
+
<h3 align="center">
|
| 132 |
+
<p>Run your *raw* PyTorch training script on any kind of device
|
| 133 |
+
</h3>
|
| 134 |
+
|
| 135 |
+
<h3 align="center">
|
| 136 |
+
<a href="https://hf.co/course"><img src="https://raw.githubusercontent.com/huggingface/accelerate/main/docs/source/imgs/course_banner.png"></a>
|
| 137 |
+
</h3>
|
| 138 |
+
|
| 139 |
+
## Easy to integrate
|
| 140 |
+
|
| 141 |
+
🤗 Accelerate was created for PyTorch users who like to write the training loop of PyTorch models but are reluctant to write and maintain the boilerplate code needed to use multi-GPUs/TPU/fp16.
|
| 142 |
+
|
| 143 |
+
🤗 Accelerate abstracts exactly and only the boilerplate code related to multi-GPUs/TPU/fp16 and leaves the rest of your code unchanged.
|
| 144 |
+
|
| 145 |
+
Here is an example:
|
| 146 |
+
|
| 147 |
+
```diff
|
| 148 |
+
import torch
|
| 149 |
+
import torch.nn.functional as F
|
| 150 |
+
from datasets import load_dataset
|
| 151 |
+
+ from accelerate import Accelerator
|
| 152 |
+
|
| 153 |
+
+ accelerator = Accelerator()
|
| 154 |
+
- device = 'cpu'
|
| 155 |
+
+ device = accelerator.device
|
| 156 |
+
|
| 157 |
+
model = torch.nn.Transformer().to(device)
|
| 158 |
+
optimizer = torch.optim.Adam(model.parameters())
|
| 159 |
+
|
| 160 |
+
dataset = load_dataset('my_dataset')
|
| 161 |
+
data = torch.utils.data.DataLoader(dataset, shuffle=True)
|
| 162 |
+
|
| 163 |
+
+ model, optimizer, data = accelerator.prepare(model, optimizer, data)
|
| 164 |
+
|
| 165 |
+
model.train()
|
| 166 |
+
for epoch in range(10):
|
| 167 |
+
for source, targets in data:
|
| 168 |
+
source = source.to(device)
|
| 169 |
+
targets = targets.to(device)
|
| 170 |
+
|
| 171 |
+
optimizer.zero_grad()
|
| 172 |
+
|
| 173 |
+
output = model(source)
|
| 174 |
+
loss = F.cross_entropy(output, targets)
|
| 175 |
+
|
| 176 |
+
- loss.backward()
|
| 177 |
+
+ accelerator.backward(loss)
|
| 178 |
+
|
| 179 |
+
optimizer.step()
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
As you can see in this example, by adding 5-lines to any standard PyTorch training script you can now run on any kind of single or distributed node setting (single CPU, single GPU, multi-GPUs and TPUs) as well as with or without mixed precision (fp8, fp16, bf16).
|
| 183 |
+
|
| 184 |
+
In particular, the same code can then be run without modification on your local machine for debugging or your training environment.
|
| 185 |
+
|
| 186 |
+
🤗 Accelerate even handles the device placement for you (which requires a few more changes to your code, but is safer in general), so you can even simplify your training loop further:
|
| 187 |
+
|
| 188 |
+
```diff
|
| 189 |
+
import torch
|
| 190 |
+
import torch.nn.functional as F
|
| 191 |
+
from datasets import load_dataset
|
| 192 |
+
+ from accelerate import Accelerator
|
| 193 |
+
|
| 194 |
+
- device = 'cpu'
|
| 195 |
+
+ accelerator = Accelerator()
|
| 196 |
+
|
| 197 |
+
- model = torch.nn.Transformer().to(device)
|
| 198 |
+
+ model = torch.nn.Transformer()
|
| 199 |
+
optimizer = torch.optim.Adam(model.parameters())
|
| 200 |
+
|
| 201 |
+
dataset = load_dataset('my_dataset')
|
| 202 |
+
data = torch.utils.data.DataLoader(dataset, shuffle=True)
|
| 203 |
+
|
| 204 |
+
+ model, optimizer, data = accelerator.prepare(model, optimizer, data)
|
| 205 |
+
|
| 206 |
+
model.train()
|
| 207 |
+
for epoch in range(10):
|
| 208 |
+
for source, targets in data:
|
| 209 |
+
- source = source.to(device)
|
| 210 |
+
- targets = targets.to(device)
|
| 211 |
+
|
| 212 |
+
optimizer.zero_grad()
|
| 213 |
+
|
| 214 |
+
output = model(source)
|
| 215 |
+
loss = F.cross_entropy(output, targets)
|
| 216 |
+
|
| 217 |
+
- loss.backward()
|
| 218 |
+
+ accelerator.backward(loss)
|
| 219 |
+
|
| 220 |
+
optimizer.step()
|
| 221 |
+
```
|
| 222 |
+
|
| 223 |
+
Want to learn more? Check out the [documentation](https://huggingface.co/docs/accelerate) or have a look at our [examples](https://github.com/huggingface/accelerate/tree/main/examples).
|
| 224 |
+
|
| 225 |
+
## Launching script
|
| 226 |
+
|
| 227 |
+
🤗 Accelerate also provides an optional CLI tool that allows you to quickly configure and test your training environment before launching the scripts. No need to remember how to use `torch.distributed.run` or to write a specific launcher for TPU training!
|
| 228 |
+
On your machine(s) just run:
|
| 229 |
+
|
| 230 |
+
```bash
|
| 231 |
+
accelerate config
|
| 232 |
+
```
|
| 233 |
+
|
| 234 |
+
and answer the questions asked. This will generate a config file that will be used automatically to properly set the default options when doing
|
| 235 |
+
|
| 236 |
+
```bash
|
| 237 |
+
accelerate launch my_script.py --args_to_my_script
|
| 238 |
+
```
|
| 239 |
+
|
| 240 |
+
For instance, here is how you would run the GLUE example on the MRPC task (from the root of the repo):
|
| 241 |
+
|
| 242 |
+
```bash
|
| 243 |
+
accelerate launch examples/nlp_example.py
|
| 244 |
+
```
|
| 245 |
+
|
| 246 |
+
This CLI tool is **optional**, and you can still use `python my_script.py` or `python -m torchrun my_script.py` at your convenience.
|
| 247 |
+
|
| 248 |
+
You can also directly pass in the arguments you would to `torchrun` as arguments to `accelerate launch` if you wish to not run` accelerate config`.
|
| 249 |
+
|
| 250 |
+
For example, here is how to launch on two GPUs:
|
| 251 |
+
|
| 252 |
+
```bash
|
| 253 |
+
accelerate launch --multi_gpu --num_processes 2 examples/nlp_example.py
|
| 254 |
+
```
|
| 255 |
+
|
| 256 |
+
To learn more, check the CLI documentation available [here](https://huggingface.co/docs/accelerate/package_reference/cli).
|
| 257 |
+
|
| 258 |
+
Or view the configuration zoo [here](https://github.com/huggingface/accelerate/blob/main/examples/config_yaml_templates/)
|
| 259 |
+
|
| 260 |
+
## Launching multi-CPU run using MPI
|
| 261 |
+
|
| 262 |
+
🤗 Here is another way to launch multi-CPU run using MPI. You can learn how to install Open MPI on [this page](https://www.open-mpi.org/faq/?category=building#easy-build). You can use Intel MPI or MVAPICH as well.
|
| 263 |
+
Once you have MPI setup on your cluster, just run:
|
| 264 |
+
```bash
|
| 265 |
+
accelerate config
|
| 266 |
+
```
|
| 267 |
+
Answer the questions that are asked, selecting to run using multi-CPU, and answer "yes" when asked if you want accelerate to launch mpirun.
|
| 268 |
+
Then, use `accelerate launch` with your script like:
|
| 269 |
+
```bash
|
| 270 |
+
accelerate launch examples/nlp_example.py
|
| 271 |
+
```
|
| 272 |
+
Alternatively, you can use mpirun directly, without using the CLI like:
|
| 273 |
+
```bash
|
| 274 |
+
mpirun -np 2 python examples/nlp_example.py
|
| 275 |
+
```
|
| 276 |
+
|
| 277 |
+
## Launching training using DeepSpeed
|
| 278 |
+
|
| 279 |
+
🤗 Accelerate supports training on single/multiple GPUs using DeepSpeed. To use it, you don't need to change anything in your training code; you can set everything using just `accelerate config`. However, if you desire to tweak your DeepSpeed related args from your Python script, we provide you the `DeepSpeedPlugin`.
|
| 280 |
+
|
| 281 |
+
```python
|
| 282 |
+
from accelerate import Accelerator, DeepSpeedPlugin
|
| 283 |
+
|
| 284 |
+
# deepspeed needs to know your gradient accumulation steps beforehand, so don't forget to pass it
|
| 285 |
+
# Remember you still need to do gradient accumulation by yourself, just like you would have done without deepspeed
|
| 286 |
+
deepspeed_plugin = DeepSpeedPlugin(zero_stage=2, gradient_accumulation_steps=2)
|
| 287 |
+
accelerator = Accelerator(mixed_precision='fp16', deepspeed_plugin=deepspeed_plugin)
|
| 288 |
+
|
| 289 |
+
# How to save your 🤗 Transformer?
|
| 290 |
+
accelerator.wait_for_everyone()
|
| 291 |
+
unwrapped_model = accelerator.unwrap_model(model)
|
| 292 |
+
unwrapped_model.save_pretrained(save_dir, save_function=accelerator.save, state_dict=accelerator.get_state_dict(model))
|
| 293 |
+
```
|
| 294 |
+
|
| 295 |
+
Note: DeepSpeed support is experimental for now. In case you get into some problem, please open an issue.
|
| 296 |
+
|
| 297 |
+
## Launching your training from a notebook
|
| 298 |
+
|
| 299 |
+
🤗 Accelerate also provides a `notebook_launcher` function you can use in a notebook to launch a distributed training. This is especially useful for Colab or Kaggle notebooks with a TPU backend. Just define your training loop in a `training_function` then in your last cell, add:
|
| 300 |
+
|
| 301 |
+
```python
|
| 302 |
+
from accelerate import notebook_launcher
|
| 303 |
+
|
| 304 |
+
notebook_launcher(training_function)
|
| 305 |
+
```
|
| 306 |
+
|
| 307 |
+
An example can be found in [this notebook](https://github.com/huggingface/notebooks/blob/main/examples/accelerate_examples/simple_nlp_example.ipynb). [](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/accelerate_examples/simple_nlp_example.ipynb)
|
| 308 |
+
|
| 309 |
+
## Why should I use 🤗 Accelerate?
|
| 310 |
+
|
| 311 |
+
You should use 🤗 Accelerate when you want to easily run your training scripts in a distributed environment without having to renounce full control over your training loop. This is not a high-level framework above PyTorch, just a thin wrapper so you don't have to learn a new library. In fact, the whole API of 🤗 Accelerate is in one class, the `Accelerator` object.
|
| 312 |
+
|
| 313 |
+
## Why shouldn't I use 🤗 Accelerate?
|
| 314 |
+
|
| 315 |
+
You shouldn't use 🤗 Accelerate if you don't want to write a training loop yourself. There are plenty of high-level libraries above PyTorch that will offer you that, 🤗 Accelerate is not one of them.
|
| 316 |
+
|
| 317 |
+
## Frameworks using 🤗 Accelerate
|
| 318 |
+
|
| 319 |
+
If you like the simplicity of 🤗 Accelerate but would prefer a higher-level abstraction around its capabilities, some frameworks and libraries that are built on top of 🤗 Accelerate are listed below:
|
| 320 |
+
|
| 321 |
+
* [Amphion](https://github.com/open-mmlab/Amphion) is a toolkit for Audio, Music, and Speech Generation. Its purpose is to support reproducible research and help junior researchers and engineers get started in the field of audio, music, and speech generation research and development.
|
| 322 |
+
* [Animus](https://github.com/Scitator/animus) is a minimalistic framework to run machine learning experiments. Animus highlights common "breakpoints" in ML experiments and provides a unified interface for them within [IExperiment](https://github.com/Scitator/animus/blob/main/animus/core.py#L76).
|
| 323 |
+
* [Catalyst](https://github.com/catalyst-team/catalyst#getting-started) is a PyTorch framework for Deep Learning Research and Development. It focuses on reproducibility, rapid experimentation, and codebase reuse so you can create something new rather than write yet another train loop. Catalyst provides a [Runner](https://catalyst-team.github.io/catalyst/api/core.html#runner) to connect all parts of the experiment: hardware backend, data transformations, model training, and inference logic.
|
| 324 |
+
* [fastai](https://github.com/fastai/fastai#installing) is a PyTorch framework for Deep Learning that simplifies training fast and accurate neural nets using modern best practices. fastai provides a [Learner](https://docs.fast.ai/learner.html#Learner) to handle the training, fine-tuning, and inference of deep learning algorithms.
|
| 325 |
+
* [Finetuner](https://github.com/jina-ai/finetuner) is a service that enables models to create higher-quality embeddings for semantic search, visual similarity search, cross-modal text<->image search, recommendation systems, clustering, duplication detection, anomaly detection, or other uses.
|
| 326 |
+
* [InvokeAI](https://github.com/invoke-ai/InvokeAI) is a creative engine for Stable Diffusion models, offering industry-leading WebUI, terminal usage support, and serves as the foundation for many commercial products.
|
| 327 |
+
* [Kornia](https://kornia.readthedocs.io/en/latest/get-started/introduction.html) is a differentiable library that allows classical computer vision to be integrated into deep learning models. Kornia provides a [Trainer](https://kornia.readthedocs.io/en/latest/x.html#kornia.x.Trainer) with the specific purpose to train and fine-tune the supported deep learning algorithms within the library.
|
| 328 |
+
* [Open Assistant](https://projects.laion.ai/Open-Assistant/) is a chat-based assistant that understands tasks, can interact with their party systems, and retrieve information dynamically to do so.
|
| 329 |
+
* [pytorch-accelerated](https://github.com/Chris-hughes10/pytorch-accelerated) is a lightweight training library, with a streamlined feature set centered around a general-purpose [Trainer](https://pytorch-accelerated.readthedocs.io/en/latest/trainer.html), that places a huge emphasis on simplicity and transparency; enabling users to understand exactly what is going on under the hood, but without having to write and maintain the boilerplate themselves!
|
| 330 |
+
* [Stable Diffusion web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) is an open-source browser-based easy-to-use interface based on the Gradio library for Stable Diffusion.
|
| 331 |
+
* [torchkeras](https://github.com/lyhue1991/torchkeras) is a simple tool for training pytorch model just in a keras style, a dynamic and beautiful plot is provided in notebook to monitor your loss or metric.
|
| 332 |
+
* [transformers](https://github.com/huggingface/transformers) as a tool for helping train state-of-the-art machine learning models in PyTorch, Tensorflow, and JAX. (Accelerate is the backend for the PyTorch side).
|
| 333 |
+
|
| 334 |
+
|
| 335 |
+
## Installation
|
| 336 |
+
|
| 337 |
+
This repository is tested on Python 3.8+ and PyTorch 1.10.0+
|
| 338 |
+
|
| 339 |
+
You should install 🤗 Accelerate in a [virtual environment](https://docs.python.org/3/library/venv.html). If you're unfamiliar with Python virtual environments, check out the [user guide](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/).
|
| 340 |
+
|
| 341 |
+
First, create a virtual environment with the version of Python you're going to use and activate it.
|
| 342 |
+
|
| 343 |
+
Then, you will need to install PyTorch: refer to the [official installation page](https://pytorch.org/get-started/locally/#start-locally) regarding the specific install command for your platform. Then 🤗 Accelerate can be installed using pip as follows:
|
| 344 |
+
|
| 345 |
+
```bash
|
| 346 |
+
pip install accelerate
|
| 347 |
+
```
|
| 348 |
+
|
| 349 |
+
## Supported integrations
|
| 350 |
+
|
| 351 |
+
- CPU only
|
| 352 |
+
- multi-CPU on one node (machine)
|
| 353 |
+
- multi-CPU on several nodes (machines)
|
| 354 |
+
- single GPU
|
| 355 |
+
- multi-GPU on one node (machine)
|
| 356 |
+
- multi-GPU on several nodes (machines)
|
| 357 |
+
- TPU
|
| 358 |
+
- FP16/BFloat16 mixed precision
|
| 359 |
+
- FP8 mixed precision with [Transformer Engine](https://github.com/NVIDIA/TransformerEngine) or [MS-AMP](https://github.com/Azure/MS-AMP/)
|
| 360 |
+
- DeepSpeed support (Experimental)
|
| 361 |
+
- PyTorch Fully Sharded Data Parallel (FSDP) support (Experimental)
|
| 362 |
+
- Megatron-LM support (Experimental)
|
| 363 |
+
|
| 364 |
+
## Citing 🤗 Accelerate
|
| 365 |
+
|
| 366 |
+
If you use 🤗 Accelerate in your publication, please cite it by using the following BibTeX entry.
|
| 367 |
+
|
| 368 |
+
```bibtex
|
| 369 |
+
@Misc{accelerate,
|
| 370 |
+
title = {Accelerate: Training and inference at scale made simple, efficient and adaptable.},
|
| 371 |
+
author = {Sylvain Gugger and Lysandre Debut and Thomas Wolf and Philipp Schmid and Zachary Mueller and Sourab Mangrulkar and Marc Sun and Benjamin Bossan},
|
| 372 |
+
howpublished = {\url{https://github.com/huggingface/accelerate}},
|
| 373 |
+
year = {2022}
|
| 374 |
+
}
|
| 375 |
+
```
|
.venv/Lib/site-packages/accelerate-1.4.0.dist-info/RECORD
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
../../Scripts/accelerate-config.exe,sha256=iWPPE6ra5HKzsuOOt1pEpKpLr_DD4K-5JSYIAq_upL4,108440
|
| 2 |
+
../../Scripts/accelerate-estimate-memory.exe,sha256=2KTm2jarbaDgf4-72mYBpqHlJVNE8mPSmCfjSDWH240,108442
|
| 3 |
+
../../Scripts/accelerate-launch.exe,sha256=lrU9TcwEpgLwita-i_UScy-NhGPG2st7q0fR5jjS2NY,108440
|
| 4 |
+
../../Scripts/accelerate-merge-weights.exe,sha256=GTNU0sC78fBnD9fvu0ZKfTIMPKE_v-3TUBaoQ4BDHOg,108439
|
| 5 |
+
../../Scripts/accelerate.exe,sha256=2MJXNVqW5a3sGIfBjL3DRdPxAy1HLqK2Hln2jE4zvlM,108448
|
| 6 |
+
accelerate-1.4.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 7 |
+
accelerate-1.4.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
| 8 |
+
accelerate-1.4.0.dist-info/METADATA,sha256=T6WOqXLJBP_1K_a3rFVRlITg-s-fbp4OdnKsRZ7n0V8,19296
|
| 9 |
+
accelerate-1.4.0.dist-info/RECORD,,
|
| 10 |
+
accelerate-1.4.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
| 11 |
+
accelerate-1.4.0.dist-info/entry_points.txt,sha256=Vpy8gUGfZ-1VnM2229fb8CpJNLBdMH_wtJ9PQ7b_2tQ,296
|
| 12 |
+
accelerate-1.4.0.dist-info/top_level.txt,sha256=esVfdxTidsjQ90zsN_rPpjLFJ4ijRlx4mnLrG09hlt4,11
|
| 13 |
+
accelerate/__init__.py,sha256=6wsptCnpZ-xrX92hbWM61IgxmqN-h3vFadhC4ZEIRNs,1504
|
| 14 |
+
accelerate/__pycache__/__init__.cpython-313.pyc,,
|
| 15 |
+
accelerate/__pycache__/accelerator.cpython-313.pyc,,
|
| 16 |
+
accelerate/__pycache__/big_modeling.cpython-313.pyc,,
|
| 17 |
+
accelerate/__pycache__/checkpointing.cpython-313.pyc,,
|
| 18 |
+
accelerate/__pycache__/data_loader.cpython-313.pyc,,
|
| 19 |
+
accelerate/__pycache__/hooks.cpython-313.pyc,,
|
| 20 |
+
accelerate/__pycache__/inference.cpython-313.pyc,,
|
| 21 |
+
accelerate/__pycache__/launchers.cpython-313.pyc,,
|
| 22 |
+
accelerate/__pycache__/local_sgd.cpython-313.pyc,,
|
| 23 |
+
accelerate/__pycache__/logging.cpython-313.pyc,,
|
| 24 |
+
accelerate/__pycache__/memory_utils.cpython-313.pyc,,
|
| 25 |
+
accelerate/__pycache__/optimizer.cpython-313.pyc,,
|
| 26 |
+
accelerate/__pycache__/scheduler.cpython-313.pyc,,
|
| 27 |
+
accelerate/__pycache__/state.cpython-313.pyc,,
|
| 28 |
+
accelerate/__pycache__/tracking.cpython-313.pyc,,
|
| 29 |
+
accelerate/accelerator.py,sha256=-498HjcUbGinPKWk3YIKKNxcIR4Vo2C_UA7OERrk1Do,165803
|
| 30 |
+
accelerate/big_modeling.py,sha256=bHxYJOVGJRokfTsHaAZhJVOnVAX8NZs4Xy47uDAK0cw,29614
|
| 31 |
+
accelerate/checkpointing.py,sha256=eV5YquEhnbEzU-td9T-rGtfUsRPBFIXuGnzkp_cLVcY,13234
|
| 32 |
+
accelerate/commands/__init__.py,sha256=m1PPTDT4ziIAvM0-FDSgIMIZ69Konn126s6LwuzH6v8,606
|
| 33 |
+
accelerate/commands/__pycache__/__init__.cpython-313.pyc,,
|
| 34 |
+
accelerate/commands/__pycache__/accelerate_cli.cpython-313.pyc,,
|
| 35 |
+
accelerate/commands/__pycache__/env.cpython-313.pyc,,
|
| 36 |
+
accelerate/commands/__pycache__/estimate.cpython-313.pyc,,
|
| 37 |
+
accelerate/commands/__pycache__/launch.cpython-313.pyc,,
|
| 38 |
+
accelerate/commands/__pycache__/merge.cpython-313.pyc,,
|
| 39 |
+
accelerate/commands/__pycache__/test.cpython-313.pyc,,
|
| 40 |
+
accelerate/commands/__pycache__/tpu.cpython-313.pyc,,
|
| 41 |
+
accelerate/commands/__pycache__/utils.cpython-313.pyc,,
|
| 42 |
+
accelerate/commands/accelerate_cli.py,sha256=aaqbgTuvtj0N4FPFI0KBpPTiVtWTPUWSlbSBzsy58l8,1856
|
| 43 |
+
accelerate/commands/config/__init__.py,sha256=iJK8dgj3pc5Vdr1E7UuGoFu-BlybyXLxYDoTg9gXngE,1645
|
| 44 |
+
accelerate/commands/config/__pycache__/__init__.cpython-313.pyc,,
|
| 45 |
+
accelerate/commands/config/__pycache__/cluster.cpython-313.pyc,,
|
| 46 |
+
accelerate/commands/config/__pycache__/config.cpython-313.pyc,,
|
| 47 |
+
accelerate/commands/config/__pycache__/config_args.cpython-313.pyc,,
|
| 48 |
+
accelerate/commands/config/__pycache__/config_utils.cpython-313.pyc,,
|
| 49 |
+
accelerate/commands/config/__pycache__/default.cpython-313.pyc,,
|
| 50 |
+
accelerate/commands/config/__pycache__/sagemaker.cpython-313.pyc,,
|
| 51 |
+
accelerate/commands/config/__pycache__/update.cpython-313.pyc,,
|
| 52 |
+
accelerate/commands/config/cluster.py,sha256=LgeOwwULRfe7wx8J-A6pIE-NAr5xktooqanrQqfsLV4,36343
|
| 53 |
+
accelerate/commands/config/config.py,sha256=FuRlQvOjgATEtyqOSsGD-KEtOCvACOHjs2C-krrtldk,3035
|
| 54 |
+
accelerate/commands/config/config_args.py,sha256=jYyjzy1trQ1GlXgA1PZSjJORNGhtZzXm6-9r5c3b_kE,10088
|
| 55 |
+
accelerate/commands/config/config_utils.py,sha256=beW-Hc-ka1NqSfId73L9ThnMxUf7K9otXsuxIuif9-A,3141
|
| 56 |
+
accelerate/commands/config/default.py,sha256=GI7Q9Asy7Cr81ditzNA6hOjIf6doinynz6-cO0GZwZ4,5705
|
| 57 |
+
accelerate/commands/config/sagemaker.py,sha256=GjHE2-h4tRr1P_PFtMF3miiAtJlzkbHbMb6kFXqn8eo,10341
|
| 58 |
+
accelerate/commands/config/update.py,sha256=NXW1J7GkUHpg71QlIXsmMB_0z8S8IZo2FWax5POwrhc,2395
|
| 59 |
+
accelerate/commands/env.py,sha256=gHNGB2tHu2x5Sdqk7CbDa8R-vyLPiFNvoe9zXRDKAts,3954
|
| 60 |
+
accelerate/commands/estimate.py,sha256=0dHlvfZzTQllcqnaZFBT-i1uXgO8Bo-oIzSKihtrcLM,12585
|
| 61 |
+
accelerate/commands/launch.py,sha256=xQWF69jpi7Quqdx3CdSVViMYOdlljvf92xDTGmpAYqM,46751
|
| 62 |
+
accelerate/commands/menu/__init__.py,sha256=uqSlBM0TFHBwzdv3p3SXfpAk1lZFp4h1a7mbBdscPHs,645
|
| 63 |
+
accelerate/commands/menu/__pycache__/__init__.cpython-313.pyc,,
|
| 64 |
+
accelerate/commands/menu/__pycache__/cursor.cpython-313.pyc,,
|
| 65 |
+
accelerate/commands/menu/__pycache__/helpers.cpython-313.pyc,,
|
| 66 |
+
accelerate/commands/menu/__pycache__/input.cpython-313.pyc,,
|
| 67 |
+
accelerate/commands/menu/__pycache__/keymap.cpython-313.pyc,,
|
| 68 |
+
accelerate/commands/menu/__pycache__/selection_menu.cpython-313.pyc,,
|
| 69 |
+
accelerate/commands/menu/cursor.py,sha256=-lmpJVAzvNc0c3EOtSuLoKB59zqylVCbYyWLPnrOmvQ,2028
|
| 70 |
+
accelerate/commands/menu/helpers.py,sha256=KrSB5fJjH4MUEUAQJ6bYaN16AYcnl9UalDrPD3DYeeg,1483
|
| 71 |
+
accelerate/commands/menu/input.py,sha256=Uj9eDp8-Mb0Fe49nuogqo9W_RCfYd6udfjiPKx7Wjmg,2537
|
| 72 |
+
accelerate/commands/menu/keymap.py,sha256=eXj-suyYs1m5dEHoUKN4mKAMLc8DWHnwhP6G6JSU0jQ,4086
|
| 73 |
+
accelerate/commands/menu/selection_menu.py,sha256=bxy-DHaKKC6SCToOlMBv5_z0MdUzylEg6Sio9OuV3GM,4921
|
| 74 |
+
accelerate/commands/merge.py,sha256=quDKckN3vKn9nsGjdwfoojnfTMFdKRRUkY1DYuuNNmc,2388
|
| 75 |
+
accelerate/commands/test.py,sha256=YrPYEaAACOGZ6btn2MV6NbMSEdBUcMWADLbQWaZSHtk,2149
|
| 76 |
+
accelerate/commands/tpu.py,sha256=KyxDP7IuveidZrbW4rx2s8Ku3o_ptI6tzwr_R7ck0os,5548
|
| 77 |
+
accelerate/commands/utils.py,sha256=ilcfE32oHh28EToM00nc_SR6upfZiuxUI0AjjZu8KYY,3995
|
| 78 |
+
accelerate/data_loader.py,sha256=owvaImO_ehEUL5_ZFSXQmKpc1qdaG7uEoqMHEuQApTc,63025
|
| 79 |
+
accelerate/hooks.py,sha256=72I0oRm_udmLSPqSk7RDYmlPW0FL-dHkcPdnHZPVGhE,32271
|
| 80 |
+
accelerate/inference.py,sha256=LdFo8N0ivRxYrzrCXQN6oPFzyaRyxmHZ55eJaKOH9cM,7687
|
| 81 |
+
accelerate/launchers.py,sha256=QIqUVkDc-oTmWf00L8kas7u2RBEwOYoRi8M2Our0DAs,13721
|
| 82 |
+
accelerate/local_sgd.py,sha256=33g8YE1FFJ9CZAhWHReczGZ2CLu-7f817VECzjMCNMg,4081
|
| 83 |
+
accelerate/logging.py,sha256=4XcgY_BV7Qn_enh2tZ-8fNtuaE_3n-LsYJbgwhRx_PI,5042
|
| 84 |
+
accelerate/memory_utils.py,sha256=3R5LoeHl6GgTZ-IMPrDZMdaEehWarGdPqODushb-6pg,862
|
| 85 |
+
accelerate/optimizer.py,sha256=QfgCkQ5dA-fLSi_Z7CBPRCObXA1rL9zxHg4tyKCEg2A,8113
|
| 86 |
+
accelerate/scheduler.py,sha256=des_4M_Tt1W8gCYZZbLla0GHBEgJY3Wx2EGBQPTzeiY,4238
|
| 87 |
+
accelerate/state.py,sha256=MBDDsXYNk2X6OmUv5ZElytKpm2jJ5H49dTSJpD-o7_A,53250
|
| 88 |
+
accelerate/test_utils/__init__.py,sha256=6E-0PdUtzwJU7QjRlEq1qwM8yHj0IaTmRGs4N9_NHK8,1605
|
| 89 |
+
accelerate/test_utils/__pycache__/__init__.cpython-313.pyc,,
|
| 90 |
+
accelerate/test_utils/__pycache__/examples.cpython-313.pyc,,
|
| 91 |
+
accelerate/test_utils/__pycache__/testing.cpython-313.pyc,,
|
| 92 |
+
accelerate/test_utils/__pycache__/training.cpython-313.pyc,,
|
| 93 |
+
accelerate/test_utils/examples.py,sha256=jRm1S9TkmeoLaqprBvtVFN4LesiaDZtKMNIoLNY2euw,7281
|
| 94 |
+
accelerate/test_utils/scripts/__init__.py,sha256=m1PPTDT4ziIAvM0-FDSgIMIZ69Konn126s6LwuzH6v8,606
|
| 95 |
+
accelerate/test_utils/scripts/__pycache__/__init__.cpython-313.pyc,,
|
| 96 |
+
accelerate/test_utils/scripts/__pycache__/test_cli.cpython-313.pyc,,
|
| 97 |
+
accelerate/test_utils/scripts/__pycache__/test_ddp_comm_hook.cpython-313.pyc,,
|
| 98 |
+
accelerate/test_utils/scripts/__pycache__/test_distributed_data_loop.cpython-313.pyc,,
|
| 99 |
+
accelerate/test_utils/scripts/__pycache__/test_merge_weights.cpython-313.pyc,,
|
| 100 |
+
accelerate/test_utils/scripts/__pycache__/test_notebook.cpython-313.pyc,,
|
| 101 |
+
accelerate/test_utils/scripts/__pycache__/test_ops.cpython-313.pyc,,
|
| 102 |
+
accelerate/test_utils/scripts/__pycache__/test_script.cpython-313.pyc,,
|
| 103 |
+
accelerate/test_utils/scripts/__pycache__/test_sync.cpython-313.pyc,,
|
| 104 |
+
accelerate/test_utils/scripts/external_deps/__init__.py,sha256=m1PPTDT4ziIAvM0-FDSgIMIZ69Konn126s6LwuzH6v8,606
|
| 105 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/__init__.cpython-313.pyc,,
|
| 106 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/test_checkpointing.cpython-313.pyc,,
|
| 107 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/test_ds_multiple_model.cpython-313.pyc,,
|
| 108 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/test_metrics.cpython-313.pyc,,
|
| 109 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/test_peak_memory_usage.cpython-313.pyc,,
|
| 110 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/test_performance.cpython-313.pyc,,
|
| 111 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/test_pippy.cpython-313.pyc,,
|
| 112 |
+
accelerate/test_utils/scripts/external_deps/__pycache__/test_zero3_integration.cpython-313.pyc,,
|
| 113 |
+
accelerate/test_utils/scripts/external_deps/test_checkpointing.py,sha256=GukYgSZClft38oMlIh-K9bjkT1BAP-SnRp2Q673BmgQ,10699
|
| 114 |
+
accelerate/test_utils/scripts/external_deps/test_ds_multiple_model.py,sha256=Cg4-h0B4UcOQ5CxXjIdrsPVR5fFsWCv24DqZGjXEwW8,13790
|
| 115 |
+
accelerate/test_utils/scripts/external_deps/test_metrics.py,sha256=UIvyYY6uQq6GK_QZTkOiIYF31qFITzARjNct79rsc50,12164
|
| 116 |
+
accelerate/test_utils/scripts/external_deps/test_peak_memory_usage.py,sha256=ggwLWntGfA0in1Qo1OdlvYV7LA1l4Sjn3GX9ULWGddk,11536
|
| 117 |
+
accelerate/test_utils/scripts/external_deps/test_performance.py,sha256=azm0OCIxtifntU1qfYJRsnOazXGJvy5Vemm7_9UW6-Y,10385
|
| 118 |
+
accelerate/test_utils/scripts/external_deps/test_pippy.py,sha256=-nvZsNOe8UEjmAF-hTS1dQBfbPcNpcuvIH6sPNYJ4to,4670
|
| 119 |
+
accelerate/test_utils/scripts/external_deps/test_zero3_integration.py,sha256=lXWL9hUE1N7TNDQP5UTSALZVTHvdHs-Blimp18nuUac,1575
|
| 120 |
+
accelerate/test_utils/scripts/test_cli.py,sha256=qfk1aYFtdvYFCYPkl05602SNGvk08QTv0xZVVcFVtzM,833
|
| 121 |
+
accelerate/test_utils/scripts/test_ddp_comm_hook.py,sha256=3tq_XA0t64GzzqQ818kOy7q86VlR0ibVhd9FsVOQxTk,3153
|
| 122 |
+
accelerate/test_utils/scripts/test_distributed_data_loop.py,sha256=4jrjyq9URiKrxN119FNssfbPV6iHpLKwnHMTbuolnDU,15090
|
| 123 |
+
accelerate/test_utils/scripts/test_merge_weights.py,sha256=DsbcNX_yxKdP9--YexlVjMyT36_7CA_hwieBd5ZbDGs,6054
|
| 124 |
+
accelerate/test_utils/scripts/test_notebook.py,sha256=qfIy3IvH74-kGn8nadBn_k7qrviqvsxy5ijsnUhuY6o,3894
|
| 125 |
+
accelerate/test_utils/scripts/test_ops.py,sha256=1kQxHkLu16lT17Xj7C666BUG-G1u8rdI59c3taFK2tM,6204
|
| 126 |
+
accelerate/test_utils/scripts/test_script.py,sha256=NaDwm41YWMtgDj13dUCr7UG4fHJ3OUXl0SlOBaZVqSU,34253
|
| 127 |
+
accelerate/test_utils/scripts/test_sync.py,sha256=GrYmYWxR06O7_aG_QAsEzuKvAQX_sXsg_-RhfppYy4g,18602
|
| 128 |
+
accelerate/test_utils/testing.py,sha256=tBnJlzsBnT7gyrMIvJ0KIY-L9iiizKZfhgx-PZDmqas,24154
|
| 129 |
+
accelerate/test_utils/training.py,sha256=jO5YEIr34jAcnJ_9WNp_x3zuHzSam_I6IgMvmcGm7yI,6456
|
| 130 |
+
accelerate/tracking.py,sha256=WLY-H1DTsxrz4BVzle7QZMp0Irg84yFMbA1e6JaY3pM,39789
|
| 131 |
+
accelerate/utils/__init__.py,sha256=PopKyVyZS9J9LI3JlZjczWgnms6b4bZOzAgZmtYWfd4,7497
|
| 132 |
+
accelerate/utils/__pycache__/__init__.cpython-313.pyc,,
|
| 133 |
+
accelerate/utils/__pycache__/ao.cpython-313.pyc,,
|
| 134 |
+
accelerate/utils/__pycache__/bnb.cpython-313.pyc,,
|
| 135 |
+
accelerate/utils/__pycache__/constants.cpython-313.pyc,,
|
| 136 |
+
accelerate/utils/__pycache__/dataclasses.cpython-313.pyc,,
|
| 137 |
+
accelerate/utils/__pycache__/deepspeed.cpython-313.pyc,,
|
| 138 |
+
accelerate/utils/__pycache__/environment.cpython-313.pyc,,
|
| 139 |
+
accelerate/utils/__pycache__/fsdp_utils.cpython-313.pyc,,
|
| 140 |
+
accelerate/utils/__pycache__/imports.cpython-313.pyc,,
|
| 141 |
+
accelerate/utils/__pycache__/launch.cpython-313.pyc,,
|
| 142 |
+
accelerate/utils/__pycache__/megatron_lm.cpython-313.pyc,,
|
| 143 |
+
accelerate/utils/__pycache__/memory.cpython-313.pyc,,
|
| 144 |
+
accelerate/utils/__pycache__/modeling.cpython-313.pyc,,
|
| 145 |
+
accelerate/utils/__pycache__/offload.cpython-313.pyc,,
|
| 146 |
+
accelerate/utils/__pycache__/operations.cpython-313.pyc,,
|
| 147 |
+
accelerate/utils/__pycache__/other.cpython-313.pyc,,
|
| 148 |
+
accelerate/utils/__pycache__/random.cpython-313.pyc,,
|
| 149 |
+
accelerate/utils/__pycache__/rich.cpython-313.pyc,,
|
| 150 |
+
accelerate/utils/__pycache__/torch_xla.cpython-313.pyc,,
|
| 151 |
+
accelerate/utils/__pycache__/tqdm.cpython-313.pyc,,
|
| 152 |
+
accelerate/utils/__pycache__/transformer_engine.cpython-313.pyc,,
|
| 153 |
+
accelerate/utils/__pycache__/versions.cpython-313.pyc,,
|
| 154 |
+
accelerate/utils/ao.py,sha256=CwbYCCbyprFkJIuIuybRZxiaYTtbKEwbwp8G2GmQL4E,4756
|
| 155 |
+
accelerate/utils/bnb.py,sha256=J0IPTh5_hHfX7zGSWJxi1HS3pRSQvd2G8AwFTlmvvbI,20752
|
| 156 |
+
accelerate/utils/constants.py,sha256=s3A8gk9bhViuL2Pa_7hq34A-gBXIN1JyqUK-26O18S0,3132
|
| 157 |
+
accelerate/utils/dataclasses.py,sha256=vC53yT5hV-3W-suwPBkS4igrtSZdyx6qKgZw-9lQPMA,121678
|
| 158 |
+
accelerate/utils/deepspeed.py,sha256=QYIXv5LwHXw7wBFFo-7a0t86MbwNAfieJkkBaLGA6wI,14064
|
| 159 |
+
accelerate/utils/environment.py,sha256=5FEX5DH0nEqSKp12NpJO_v6bCNVYUyLhlFS0RKV5AZM,14729
|
| 160 |
+
accelerate/utils/fsdp_utils.py,sha256=1kel83Xrp65Q-MAyombm1OfgSvl7VsVejBuX9uJiLzM,18177
|
| 161 |
+
accelerate/utils/imports.py,sha256=gZhKc1VhStIKu_PdSagtOUemo8-8eDWJFnSOGsBrrSU,14792
|
| 162 |
+
accelerate/utils/launch.py,sha256=vZpeV2JOk5v4ROZludfOS5pHXIFWxppm1m6YYgcWuQo,30047
|
| 163 |
+
accelerate/utils/megatron_lm.py,sha256=L8dAqLeVf7XjjX4VH1jQKk1gBYaVpnEdo6M3MQ8CWkI,58087
|
| 164 |
+
accelerate/utils/memory.py,sha256=8UZhH0-kIg0L8alVCiJu0d-qxNo0GMzU_iXi2fKW6nI,6655
|
| 165 |
+
accelerate/utils/modeling.py,sha256=k06HAAqdKEUH7zDHDYQkeQKuq6P4nO67J4LAN4gDoCY,90713
|
| 166 |
+
accelerate/utils/offload.py,sha256=qjaVai81wbkA0YH2WkmOXvZT0BRphygfRV_4Ua4j4U4,7837
|
| 167 |
+
accelerate/utils/operations.py,sha256=FImEFXQIcFdjtHuT-1Am-oE2cWzrruA2BVFTrxCmLsU,31233
|
| 168 |
+
accelerate/utils/other.py,sha256=M55pEpkZYF7wBCsndxZMaBfC_PfYFOS3mmhJVk4Sx10,12488
|
| 169 |
+
accelerate/utils/random.py,sha256=ssRk26FiM0f2yMiBIwpDkdH5STCsD_WelZDoEGObDis,5373
|
| 170 |
+
accelerate/utils/rich.py,sha256=8JZX_uGMQX-BufdXxJpdne7BWd1KyLHSgbiGxrDMYr8,847
|
| 171 |
+
accelerate/utils/torch_xla.py,sha256=Pq1tuqN0X_pWDVza6YgjfO45uoJdoRVRForLeLQzFus,1908
|
| 172 |
+
accelerate/utils/tqdm.py,sha256=k8e9JnieTEQHCCNBaiBys7hPxWlEbyRASdIma-qy_X8,1657
|
| 173 |
+
accelerate/utils/transformer_engine.py,sha256=b7x4Y9DKcgNNVAJzPiryxWlhvRExZfIW2Y0qEErGzms,5883
|
| 174 |
+
accelerate/utils/versions.py,sha256=UgmcbjBm--6CIx1ZamSAMjAK_B_2l48LbeaNygqej8M,2149
|
.venv/Lib/site-packages/accelerate-1.4.0.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: bdist_wheel (0.37.1)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
| 5 |
+
|
.venv/Lib/site-packages/accelerate-1.4.0.dist-info/entry_points.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[console_scripts]
|
| 2 |
+
accelerate = accelerate.commands.accelerate_cli:main
|
| 3 |
+
accelerate-config = accelerate.commands.config:main
|
| 4 |
+
accelerate-estimate-memory = accelerate.commands.estimate:main
|
| 5 |
+
accelerate-launch = accelerate.commands.launch:main
|
| 6 |
+
accelerate-merge-weights = accelerate.commands.merge:main
|
.venv/Lib/site-packages/accelerate-1.4.0.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
accelerate
|
.venv/Lib/site-packages/accelerate/__init__.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2020 The HuggingFace Team. All rights reserved.
|
| 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.
|
| 14 |
+
__version__ = "1.4.0"
|
| 15 |
+
|
| 16 |
+
from .accelerator import Accelerator
|
| 17 |
+
from .big_modeling import (
|
| 18 |
+
cpu_offload,
|
| 19 |
+
cpu_offload_with_hook,
|
| 20 |
+
disk_offload,
|
| 21 |
+
dispatch_model,
|
| 22 |
+
init_empty_weights,
|
| 23 |
+
init_on_device,
|
| 24 |
+
load_checkpoint_and_dispatch,
|
| 25 |
+
)
|
| 26 |
+
from .data_loader import skip_first_batches
|
| 27 |
+
from .inference import prepare_pippy
|
| 28 |
+
from .launchers import debug_launcher, notebook_launcher
|
| 29 |
+
from .state import PartialState
|
| 30 |
+
from .utils import (
|
| 31 |
+
AutocastKwargs,
|
| 32 |
+
DataLoaderConfiguration,
|
| 33 |
+
DDPCommunicationHookType,
|
| 34 |
+
DeepSpeedPlugin,
|
| 35 |
+
DistributedDataParallelKwargs,
|
| 36 |
+
DistributedType,
|
| 37 |
+
FullyShardedDataParallelPlugin,
|
| 38 |
+
GradScalerKwargs,
|
| 39 |
+
InitProcessGroupKwargs,
|
| 40 |
+
ProfileKwargs,
|
| 41 |
+
find_executable_batch_size,
|
| 42 |
+
infer_auto_device_map,
|
| 43 |
+
is_rich_available,
|
| 44 |
+
load_checkpoint_in_model,
|
| 45 |
+
synchronize_rng_states,
|
| 46 |
+
)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
if is_rich_available():
|
| 50 |
+
from .utils import rich
|
.venv/Lib/site-packages/accelerate/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (1.32 kB). View file
|
|
|
.venv/Lib/site-packages/accelerate/__pycache__/accelerator.cpython-313.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd85da27f94f0f22347d7c85411498530a49d61d22d0d1f0c2a4baf3fa94ec8d
|
| 3 |
+
size 162446
|
.venv/Lib/site-packages/accelerate/__pycache__/big_modeling.cpython-313.pyc
ADDED
|
Binary file (29.5 kB). View file
|
|
|
.venv/Lib/site-packages/accelerate/__pycache__/checkpointing.cpython-313.pyc
ADDED
|
Binary file (14.5 kB). View file
|
|
|
.venv/Lib/site-packages/accelerate/__pycache__/data_loader.cpython-313.pyc
ADDED
|
Binary file (63.4 kB). View file
|
|
|
.venv/Lib/site-packages/accelerate/__pycache__/hooks.cpython-313.pyc
ADDED
|
Binary file (31.6 kB). View file
|
|
|
.venv/Lib/site-packages/accelerate/__pycache__/inference.cpython-313.pyc
ADDED
|
Binary file (7.44 kB). View file
|
|
|
.venv/Lib/site-packages/accelerate/__pycache__/launchers.cpython-313.pyc
ADDED
|
Binary file (12.1 kB). View file
|
|
|
.venv/Lib/site-packages/accelerate/__pycache__/local_sgd.cpython-313.pyc
ADDED
|
Binary file (4.95 kB). View file
|
|
|