GuyTevet / GuyTevet/motion-diffusion-model

Fix Low GPU Utilization

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4.1k
Forks
462
PR merge metrics
No merged PRs in 30d

Description

https://github.com/GuyTevet/motion-diffusion-model/blob/db5478ab1ba4592607b54f1c25542f24b4f6a60f/diffusion/gaussian_diffusion.py#L1321

causes low gpu utilization. Using it as a context manager as intended solves this problem.

```python
with torch.autograd.set_detect_anomaly(True):
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at diffusion/gaussian_diffusion.py around line 1321 and inspect how torch.autograd.set_detect_anomaly is used. Confirm the current usage is causing low GPU utilization and compare it with the context-manager form shown in the issue. Done means anomaly detection uses the intended context-manager form without changing unrelated behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning, performance
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.