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

Question about training with mixed precision. #456

Open
eightmusic opened this issue Jul 5, 2023 · 1 comment
Open

Question about training with mixed precision. #456

eightmusic opened this issue Jul 5, 2023 · 1 comment

Comments

@eightmusic
Copy link

Hello, I'm using tutorial_train. py, and will be "trainer = pl. Trainer (gpus = 1, precision = 32, callbacks = [logger])" in the precision is set to 16, for mixing precision training, However, I found that whether I set it to 16 or 32, the cuda memory and training time will not change, what is the reason?

@kornellewy
Copy link

I think model is not optimized for that, stay on 32.

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