Skip to content

Commit

Permalink
set cuda as default
Browse files Browse the repository at this point in the history
  • Loading branch information
Noé Pion committed Nov 24, 2024
1 parent fe48ffa commit 5aba78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nerfstudio/configs/base_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class MachineConfig(PrintableConfig):
"""current machine's rank (for DDP)"""
dist_url: str = "auto"
"""distributed connection point (for DDP)"""
device_type: Literal["cpu", "cuda", "mps"]
device_type: Literal["cpu", "cuda", "mps"] = "cuda"
"""device type to use for training"""


Expand Down

0 comments on commit 5aba78e

Please sign in to comment.