lllyasviel / lllyasviel/ControlNet
Running tutorial_train.py on M1 pro giving issue
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
I see the following warning and failed assertion before the program is killed:
UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
failed assertion [MPSTemporaryNDArray initWithDevice:descriptor:] Error: NDArray dimension length > INT_MAX
How can I resolve this issue? Please let me know if I need to share any more details
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 reproduce the failure on an M1 Pro, recording the resource_tracker warning and MPSTemporaryNDArray assertion. Determine the relevant environment and input details, then document a confirmed resolution or the information needed for further diagnosis.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100