-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Python 3.8 support #910
Comments
Hey, thanks for your contribution! Great first issue! |
Hye, good point, I guess that we do not anything which would limit using py3.8 or have you found anything which fails? 🤖 |
None that I could find from first glance, but I'm trying to run the tests in a py 3.8.1 environment. Currently on my Macbook so I don't have access to GPUs, but thought it's still worth a preliminary attempt before I can get access to a machine with GPUs. Down to one error on collection:
Any idea off the top of your head on how to fix this one? If not, I'll dig into how to fix this one and run the tests and report if I find something breaking. Might have to wait till Monday to run the full coverage since I won't have access to my work machine with the GPUs though. |
try again from master |
Pulled the latest commits from master, testing against v 0.6.1.dev0, but the problem still persists while following the instructions in the tests module README. Here's the full error:
I'll dig deeper in a while, but thought of leaving this here in case someone else is also looking at it in the meanwhile. |
@Borda thanks for the info! I haven't checked my full setup, it may well be the case that I didn't have all the logging libraries installed. I shall report back shortly. I do think torchvision 0.5 is indeed ported to py 3.8 though. I had an issue with it on Mac that I reported here (pytorch/vision#1780), but it has since been fixed. Not sure if this affects #859 [Edit]: Original issue over on the pytorch repo mentioning binaries for py 3.8 on the stable version (pytorch/pytorch#29090). Includes torch, torchvision, and torchaudio. |
So I managed to get all tests to pass on MacOS Catalina 10.15.1:
The issue I faced earlier was indeed because I hadn't installed the extra dependencies for the loggers under |
The extras are part of the tests/requirements.txt |
Yes, I did notice that part of the discussion you linked to in #792, I meant that the instructions in
I imagined this perhaps ought to be:
or maybe alternatively the working directory should be updated to |
Well I would expect that for running the test a user/developer shall install all dependencies required for running full test coverage, otherwise it is kind of lottery to run and see if already has everything and correct version (if you are an active developer you usually have all dependencies) |
I agree I agree, I didn't mean to justify my negligence of not opening and reading the tests/requirements.txt, I just thought since there is a readme with steps, it could be updated to be accurate. I'll send a PR with the update :) |
we will add 3.8 testings by #915 otherwise I assume that this is solved... |
Hello!
With pytorch now supporting python 3.8, I was wondering if there is a plan to support py 3.8 for lightning too? I was curious about upgrading to 3.8 for the type hints to better organize my own code. Is there something that prevents 3.8 support in lightning inherently?
Cheers!
The text was updated successfully, but these errors were encountered: