Skip to content

remove table_structure.__init__.py imports #103

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

Merged
merged 1 commit into from
Jun 24, 2025
Merged

Conversation

hbh112233abc
Copy link
Contributor

删除__init__.py的驱动引入,解决torch必须依赖的问题

删除__init__.py的驱动引入,解决torch必须依赖的问题
@SWHL
Copy link
Member

SWHL commented Jun 24, 2025

实在不好意思,我这里疏忽了测试torch依赖这个。晚点我测试一下这个,再重新发版一下

@SWHL SWHL requested a review from Copilot June 24, 2025 06:14
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the imports from rapid_table/table_structure/init.py to resolve the torch dependency issue.

  • Removed the imports of PPTableStructurer and UniTableStructure to decouple torch dependency.
Comments suppressed due to low confidence (1)

rapid_table/table_structure/init.py:3

  • Removing these imports changes the public API of the module; ensure that any consumers relying on these classes update their references accordingly.
# @Contact: liekkaskono@163.com

@SWHL SWHL merged commit f2e3906 into RapidAI:main Jun 24, 2025
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

Successfully merging this pull request may close these issues.

2 participants