Skip to content

LINK : fatal error LNK1181: cannot open input file 'aio.lib' #95

@cunkai

Description

@cunkai

C:\Users\max2025>D:\Apps\index-tts\python\python.exe -m pip install intel-extension-for-deepspeed
Requirement already satisfied: intel-extension-for-deepspeed in d:\apps\index-tts\python\lib\site-packages (0.9.4)
Requirement already satisfied: setuptools in d:\apps\index-tts\python\lib\site-packages (from intel-extension-for-deepspeed) (78.1.1)

C:\Users\max2025>D:\Apps\index-tts\python\python.exe -m pip install deepspeed
Collecting deepspeed
Using cached deepspeed-0.17.0.tar.gz (1.5 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
[W606 14:59:10.000000000 OperatorEntry.cpp:161] Warning: Warning only once for all operators, other operators may also be overridden.
Overriding a previously registered kernel for the same operator and the same dispatch key
operator: aten::geometric_(Tensor(a!) self, float p, *, Generator? generator=None) -> Tensor(a!)
registered at C:\actions-runner_work\pytorch\pytorch\pytorch\build\aten\src\ATen\RegisterSchema.cpp:6
dispatch key: XPU
previous kernel: registered at C:\actions-runner_work\pytorch\pytorch\pytorch\aten\src\ATen\VmapModeRegistrations.cpp:37
new kernel: registered at D:\frameworks.ai.pytorch.ipex-gpu\build\Release\csrc\gpu\csrc\gpu\xpu\ATen\RegisterXPU_0.cpp:186 (function operator ())
D:\Apps\index-tts\python\lib\site-packages\transformers\utils\generic.py:441: FutureWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
_torch_pytree._register_pytree_node(
D:\Apps\index-tts\python\lib\site-packages\transformers\utils\generic.py:309: FutureWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
_torch_pytree._register_pytree_node(
[2025-06-06 14:59:12,196] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to xpu (auto detect)
[2025-06-06 14:59:12,748] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to xpu (auto detect)
test.c
LINK : fatal error LNK1181: cannot open input file 'aio.lib'
test.c
LINK : fatal error LNK1181: cannot open input file 'aio.lib'
Traceback (most recent call last):
File "", line 2, in
File "", line 35, in
File "C:\Users\max2025\AppData\Local\Temp\pip-install-h7kmhjl3\deepspeed_e7f4c97a318c4b9386e67ca6c2ccadfc\setup.py", line 201, in
ext_modules.append(builder.builder())
File "C:\Users\max2025\AppData\Local\Temp\pip-install-h7kmhjl3\deepspeed_e7f4c97a318c4b9386e67ca6c2ccadfc\op_builder\xpu\builder.py", line 29, in builder
sources=self.strip_empty_entries(self.sources()),
File "C:\Users\max2025\AppData\Local\Temp\pip-install-h7kmhjl3\deepspeed_e7f4c97a318c4b9386e67ca6c2ccadfc\op_builder\builder.py", line 402, in strip_empty_entries
return [x for x in args if len(x) > 0]
TypeError: 'NoneType' object is not iterable
[WARNING] Torch did not find cuda available, if cross-compiling or running with cpu only you can ignore this message. Adding compute capability for Pascal, Volta, and Turing (compute capabilities 6.0, 6.1, 6.2)
DS_BUILD_OPS=1
dpcpp sources = []
[WARNING] Skip pre-compile of incompatible async_io; One can disable async_io with DS_BUILD_AIO=0
dpcpp sources = ['csrc/xpu/adagrad/cpu_adagrad.cpp', 'csrc/xpu/common/custom_cuda_kernel.dp.cpp']
dpcpp sources = ['csrc/adam/cpu_adam.cpp', 'csrc/adam/cpu_adam_impl.cpp']
dpcpp sources = None
[end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions