Skip to content

Commit

Permalink
Add clarifying comment from cuda_accelerator
Browse files Browse the repository at this point in the history
  • Loading branch information
loadams committed Dec 18, 2024
1 parent e5f0db2 commit cfb86cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions accelerator/cpu_accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

from .abstract_accelerator import DeepSpeedAccelerator

# During setup stage torch may not be installed, pass on no torch will
# allow op builder related API to be executed.
try:
import torch
except ImportError as e:
Expand Down

0 comments on commit cfb86cc

Please sign in to comment.