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 test_readme.py #1505

Merged
merged 5 commits into from
Jun 19, 2024
Merged

Conversation

Andrei-Aksionov
Copy link
Collaborator

Hi there 👋

Currently tests/test_readme.py::test_download_model skips Windows and MacOS platforms, and since the test is a dependency for other tests they are skipped too.
But model download should work on all platforms without problems.

This PR fixes it.
Plus adds a skip (for non-Linux OS) for pretraining tests since pretraining requires torch.compile which is supported only on Linux.

@rasbt
Copy link
Collaborator

rasbt commented Jun 19, 2024

I remember adding the Windows dependency skip up at the model download because the Windows machine was already very slow and often timing out. If it runs ok now, we can enable it.

@Andrei-Aksionov Andrei-Aksionov marked this pull request as ready for review June 19, 2024 12:03
@Andrei-Aksionov
Copy link
Collaborator Author

Odd. But we are talking about Windows, so I guess it's expected 😆

@rasbt rasbt merged commit d61ec42 into Lightning-AI:main Jun 19, 2024
9 checks passed
@Andrei-Aksionov Andrei-Aksionov deleted the update_test_readme branch June 19, 2024 13:01
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