Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: file name too long? #1

Open
hornedpariah opened this issue Feb 21, 2023 · 4 comments
Open

error: file name too long? #1

hornedpariah opened this issue Feb 21, 2023 · 4 comments

Comments

@hornedpariah
Copy link

G:\Github 2\sd-x4-wui>pip install -r requirements.txt
Collecting xformers
Cloning https://github.com/facebookresearch/xformers.git (to revision main) to c:\users\horne\appdata\local\temp\pip-install-6a8i_5fm\xformers_11c7f6fa514b4f8486bcda23341b73c5
Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/xformers.git 'C:\Users\horne\AppData\Local\Temp\pip-install-6a8i_5fm\xformers_11c7f6fa514b4f8486bcda23341b73c5'
Resolved https://github.com/facebookresearch/xformers.git to commit cc36858a428e5f1e98e4ef102a2d19ae9b501f0a
Running command git submodule update --init --recursive -q
error: unable to create file docs/classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu_3_01ElementOutput___00_01Count_00_014d4e40c4295be6a8d8778d86e94fe14a.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu_3_01ElementOutput___00_01Count_00_01int_00_01float_00_01Round_01_4.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorComplexTensorOp_3_01WarpShape___00_01Operato65e8dd1d709c1257fe4e30825dcc5f06.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorComplexTensorOp_3_01WarpShape___00_01Operato8cf03c624cf3210c71b7cbd580b080f8.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorSimt_3_01WarpShape___00_01Operator___00_01la3f2abc523201c1b0228df99119ab88e1.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorSimt_3_01WarpShape___00_01Operator___00_01la91754875457d1736401ce8b815f5a9ea.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorTensorOp_3_01WarpShape___00_01OperatorShape_5e78dabe303f20d76b00c600aab61eda.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorTensorOp_3_01WarpShape___00_01OperatorShape_6b5ec5b2b023c078c305dbf7583b79cf.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorTensorOp_3_01WarpShape___00_01OperatorShape_72e1add04bb402b37cf00537c77e94a8.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorTensorOp_3_01WarpShape___00_01OperatorShape_e459aab140a2ce78336e584f95886726.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1G16e08718cffa0989cce3fe8dbc4b075b.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1G78b1ed9e671a468d35013cfbe9935984.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1G8fb159e6b5b40e2838be5f52cfe17062.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1Gdb805a2dc5571ac3b66e0fe6ffdcede2.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorWmmaTensorOp_3_01WarpShape___00_01OperatorSh5bf991809805fb3276af51be7cf76c5a.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1FragmentIteratorWmmaTensorOp_3_01WarpShape___00_01OperatorShfdb1f120c6797383663f9fd11d0fc599.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorSimt_3_01WarpShape___00_01Operator___00_01Elemen511cc12482dd0c67e9fe697263803a4d.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorSimt_3_01WarpShape___00_01Operator___00_01Elemenf2bd262ed3e202b25d5802d83965bf3b.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorTensorOp_3_01WarpShape___00_01OperatorShape___003a6f54e58875f27c8964f8d800eb0a41.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorTensorOp_3_01WarpShape___00_01OperatorShape___003cbb32beb84b4984cb7853662096d289.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1GemmS2fe0c60b727c738c622c18fc3dd76644.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1GemmSa0ceeeddc22575876eb977da7f5416a8.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1GemmSa3f1805da1f79a22c4b13deb8bfd6dbc.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorVoltaTensorOp_3_01WarpShape___00_01gemm_1_1GemmSec8059d5848d8771911d48e44fbab0a1.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorWmmaTensorOp_3_01WarpShape___00_01OperatorShape_d40dea6fdd53d690220261eb3df00de7.html: Filename too long
error: unable to create file docs/classcutlass_1_1epilogue_1_1warp_1_1TileIteratorWmmaTensorOp_3_01WarpShape___00_01OperatorShape_fd6a91cd8bbd07ecd1344326b830e3a4.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1GemmBatched_3_01ElementA___00_01LayoutA___00_01ElementB___00_067bcc9899cdd1d09bb72e91a0196124f.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1GemmBatched_3_01ElementA___00_01LayoutA___00_01ElementB___00_0c9bb6f4463ab6085e6008b5d5ad6abfd.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1GemmComplex_3_01ElementA___00_01LayoutA___00_01ElementB___00_04d70e4e6a90042308bae3da503c86e09.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1GemmComplex_3_01ElementA___00_01LayoutA___00_01ElementB___00_07c56401b4df75709ae636675d9980a9a.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1GemmSplitKParallel_3_01ElementA___00_01LayoutA___00_01ElementBbe7c1f7154ad5b5bf9d4d28301e2b457.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1GemmSplitKParallel_3_01ElementA___00_01LayoutA___00_01ElementBdb459748f0fef7bac42fca5554ff1c33.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1Gemm_3_01ElementA___00_01LayoutA___00_01ElementB___00_01Layout4d0960ae6b1d1bf19e6239dbd002249c.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1device_1_1Gemm_3_01ElementA___00_01LayoutA___00_01ElementB___00_01Layout99997dac0ac0369caba3b97208ce1ff6.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaComplexTensorOp_3_01Shape___00_01complex_3_01RealElementA_01_0a57cf0ae57b6a111bda06a00be37068.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaComplexTensorOp_3_01Shape___00_01complex_3_01RealElementA_01_146441010dad1f40eb51b6dae3ded216.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kA_00_01Element_67ca7e11a38e38f2c51b84767654a90f.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kA_00_01Element_a2456a020c69a771b09829baf7b67ebf.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kA_00_01Element_e69c7b56575690d8ab3cbb5aeea28451.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kA_00_01Element_f0ce904a9294556f15e1cc9cf7c99a93.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kB_00_01Element_5010ca7c1b96117113514b8b4ebddfa0.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kB_00_01Element_7436805480213675b5259979e1f6a17e.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kB_00_01Element_ada156b62fcbdce47009c5bf1321c92c.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kB_00_01Element_ea0a4e7ce3cd5d25cabf79383efdf4d9.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kC_00_01Element_2ee3984cc649ece3b024188abfeebdad.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kC_00_01Element_4ccafbc821b3a55cd532602442a74031.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kC_00_01Element_8f92ea79e85febb67169c4b2d94b1b20.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaSimtTileIterator_3_01Shape___00_01Operand_1_1kC_00_01Element_a1f4bdda9e7a19223c391e2ec786b91d.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpAccumulatorTileIterator_3_01Shape___00_01Element___00027dabdc144edd6276f664ca74088510.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpAccumulatorTileIterator_3_01Shape___00_01Element___00064bfe771e6b9a641152b220dd6e6550.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpAccumulatorTileIterator_3_01Shape___00_01Element___006c39f57875e0aa9d0ad82c8043ed8b98.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpAccumulatorTileIterator_3_01Shape___00_01Element___008f607b871a2b3d854eb4def64712c042.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpAccumulatorTileIterator_3_01Shape___00_01Element___009fb4d99d9f854adc12c5f9e63302b4c8.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpAccumulatorTileIterator_3_01Shape___00_01Element___00aff26d6194ae0e147368350f4cacf994.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0352e0dcab42bc8360606874e00173556.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___039819fb3ccd43786d556c2c9669508ef.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___061061fa051337e681934b994f511ad56.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___06c47d82768aa45bab2726e67d577b0d5.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___07bf53239dbcc064f44d6c5d96e4a51bb.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0b84f53cd44b339eccc12067c9f86e11c.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0c430ef744703d5f98604b8ecc88574f9.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0c7d419c589d601ce4eb603be566fea21.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0dadd1ada54e0c66b1fc323db1c2d5f4b.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0e406d341fae1780c4b8cd55fe869ef91.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0e52ad425e1ee3e68544873f66733237b.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operand___0ed7daaeba1c095e77f68533d4d2c475c.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operan0c2424e93c61db6a6296de234d81956f.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operan0d3248553e52cd61ed8a2b3b12a20343.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operan16c56cdc2dda5eeb996af8ec0242d501.html: Filename too long
error: unable to create file docs/classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator_3_01Shape___00_01Operan26f3c501f953ca28fe4df0c389a6d0f0.html: Filename too long
0df8beec57.html: Filename too long
error: unable to create file docs/structcutlass_1_1transform_1_1threadblock_1_1RegularTileIterator_3_01Shape___00_01Element___00_078e1f4b2964afcce5387420c9c8eaea8.html: Filename too long
error: unable to create file docs/structcutlass_1_1transform_1_1threadblock_1_1RegularTileIterator_3_01Shape___00_01Element___00_0bc37beaa523707a55987f4ffcc372fcd.html: Filename too long
error: unable to create file examples/29_ampere_3xtf32_fast_accurate_tensorop_complex_gemm/29_ampere_3xtf32_fast_accurate_tensorop_complex_gemm.cu: Filename too long
fatal: Unable to checkout '319a389f42b776fae5701afcb943fc03be5b5c25' in submodule path 'third_party/flash-attention/csrc/flash_attn/cutlass'
fatal: Failed to recurse into submodule path 'third_party/flash-attention'
error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

had to omit due to character constraints

@Subarasheese
Copy link
Owner

Subarasheese commented Feb 21, 2023

@hornedpariah

I'm guessing you are running from Windows, right?

It seems Windows has this problem with long filenames. You can try enabling long path names in Windows. Please try the following:

1 - Open the Start menu and type "regedit" to open the Registry Editor.
2 - Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
3 - Look for the "LongPathsEnabled" entry on the right-hand side. If it doesn't exist, create a new DWORD (32-bit) value with that name.
4 - Double-click the "LongPathsEnabled" entry and set the value to 1.
5 - Click OK and close the Registry Editor.
6 - Restart your computer.

After enabling long path names, try running the pip install command again and see if it resolves the issue. Please let me know.

@Renaldas111
Copy link

The same issue on Windows. Value is already set at 1 in registry.

@Askejm
Copy link

Askejm commented Apr 14, 2023

I get the same issue too, with the registry set to 1

@Askejm
Copy link

Askejm commented Apr 14, 2023

@Subarasheese @hornedpariah
This solution worked for me.
In admin cmd: git config --system core.longpaths true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants