lllyasviel / lllyasviel/ControlNet

Question about training with mixed precision.

Open
#456 1 comment 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.