lllyasviel / lllyasviel/ControlNet
Question about training with mixed precision.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tutorial_train.py and inspect how the Trainer precision setting is passed to the training run. Reproduce the comparison with precision set to 16 and 32, recording CUDA memory and training time; done means explaining the observed difference or confirming a reproducible issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100