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

Update wast_modules.py #165

Open
wants to merge 1 commit into
base: OpenSTL-Lightning
Choose a base branch
from

Conversation

cadam00
Copy link

@cadam00 cadam00 commented Oct 22, 2024

Hi,

A minor one. I use Nightly PyTorch version and from the command torch.__version__.split('+')[0].split('.') at line 10 of openstl/modules/wast_modules.py my output is ['2', '6', '0', 'dev20241022']. However, there is a problem converting 'dev20241022' to integer using int. Moreover, this is compared to (1, 7, 1). So, using only the first three list items with torch.__version__.split('+')[0].split('.')[0:3] solved my issue.

Thanks.

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.

1 participant