Skip to content

Conversation

@ArozHada
Copy link
Contributor

@ArozHada ArozHada commented Mar 27, 2025

This PR fixes the torch.load() bug for pytorch versions < 2.6 from the PR #543. The test cases for older versions of Python and by extension PyTorch were failing cause of the new change. see here

What this PR updates?
Catches pytorch version and uses the correct syntax for torch.load() to use in
tabular_datamodule.py and python_ultis.py


📚 Documentation preview 📚: https://pytorch-tabular--554.org.readthedocs.build/en/554/

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 27, 2025
@ArozHada ArozHada closed this Mar 27, 2025
@ArozHada ArozHada reopened this Mar 27, 2025
@manujosephv manujosephv merged commit 155f29b into manujosephv:main Mar 30, 2025
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants