deepseek-ai / deepseek-ai/DeepSeek-OCR

windows 11 support with python 3.13.9

Open
#202 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23.9k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

D:\work\ia2\ocr\DeepSeek-OCR>pdm add flash-attn
Adding packages to default dependencies: flash-attn
0:00:10 Lock successful.
Changes are written to pyproject.toml.
Synchronizing working set with resolved packages: 1 to add, 0 to update, 0 to remove

x Install flash-attn 2.8.3 failed
x Install flash-attn 2.8.3 failed

ERRORS:
add flash-attn failed:
Traceback (most recent call last):
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\concurrent\futures\thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pdm\installers\synchronizers.py", line 29, in install_candidate
self.manager.install(can)
~~~~~~~~~~~~~~~~~~~~^^^^^
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pdm\installers\manager.py", line 33, in install
prepared.build(),
~~~~~~~~~~~~~~^^
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pdm\models\candidates.py", line 426, in build
self._cached = Path(builder.build(build_dir, metadata_directory=self._metadata_dir))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pdm\builders\base.py", line 84, in wrapper
return func(*args, **kwargs)
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pdm\builders\wheel.py", line 24, in build
requires = self._hook.get_requires_for_build_wheel(self.config_settings)
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyproject_hooks\_impl.py", line 196, in get_requires_for_build_wheel
return self._call_hook(
~~~~~~~~~~~~~~~^
"get_requires_for_build_wheel", {"config_settings": config_settings}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyproject_hooks\_impl.py", line 392, in _call_hook
self._subprocess_runner(
~~~~~~~~~~~~~~~~~~~~~~~^
,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cwd=self.source_dir,
^^^^^^^^^^^^^^^^^^^^
extra_environ=extra_environ,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pdm\builders\base.py", line 281, in subprocess_runner
return log_subprocessor(cmd, cwd, extra_environ=env)
File "C:\Users\Jim\AppData\Local\Programs\Python\Python313\Lib\site-packages\pdm\builders\base.py", line 128, in log_subprocessor
raise build_error(e) from None
pdm.exceptions.BuildError: Build backend raised error: Module 'torch' is missing, please make sure it is specified in the 'build-system.requires' section. If it is not possible, add it to the project and use '--no-isolation' option.
Showing the last 10 lines of the build output:
self.run_setup()
~~~~~~~~~~~~~~^^
File "C:\Users\Jim\AppData\Local\Temp\pdm-build-env-pvdqcqya-shared\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jim\AppData\Local\Temp\pdm-build-env-pvdqcqya-shared\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "", line 22, in
ModuleNotFoundError: No module named 'torch'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.