Skip to content

No module named 'torch._subclasses.schema_check_mode' #221

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

Open
zhoushican opened this issue Dec 8, 2024 · 1 comment
Open

No module named 'torch._subclasses.schema_check_mode' #221

zhoushican opened this issue Dec 8, 2024 · 1 comment

Comments

@zhoushican
Copy link

LDA_obj.plot_topic_contributions(6)

When I run this line of code, I get the following error:
No module named 'torch._subclasses.schema_check_mode'

@HendricksJudy
Copy link
Collaborator

Sir, After testing the script

No, running LDA_obj •plot_topic_contributions (6) still results in the error 'No module named
torch._subclasses.schema_check_mode'.

The error is likely due to the absence of the torch._subclasses. schema_check_mode module in the current codebase.
The omicverse/bulk2single/_bulk2single.py file imports torch, but does not include any reference to
torch._subclasses.schema_check_mode .

The omicverse/bulk2single/_bulktrajblend.py file also imports torch, but does not include any reference to
torch._subclasses. schema_check_mode.

The omicverse/utils/_cluster.py file contains the LDA_topic class with the plot_topic_contributions method, but
does not include any reference to torch._subclasses.schema_check_mode .

You may check your PyTorch integrity and the version to solve this error

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

2 participants