mirror of
https://github.com/hpcaitech/Open-Sora.git
synced 2026-05-21 11:59:01 +02:00
debug
This commit is contained in:
parent
0d497994cd
commit
bbeacb491d
|
|
@ -55,7 +55,11 @@ def main():
|
|||
# device = "cuda" if torch.cuda.is_available() else "cpu"
|
||||
device = get_current_device()
|
||||
dtype = to_torch_dtype(cfg.dtype)
|
||||
set_random_seed(seed=cfg.seed)
|
||||
# set_random_seed(seed=cfg.seed) # Issue is this line !!!!!!!
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# 2.3 DEBUG: USE BOOSTER
|
||||
# 2.3. initialize ColossalAI booster
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ def main():
|
|||
torch.backends.cudnn.allow_tf32 = True
|
||||
device = "cuda" if torch.cuda.is_available() else "cpu"
|
||||
dtype = to_torch_dtype(cfg.dtype)
|
||||
set_random_seed(seed=cfg.seed)
|
||||
# set_random_seed(seed=cfg.seed)
|
||||
|
||||
|
||||
# # 2.3 DEBUG: USE BOOSTER
|
||||
|
|
|
|||
Loading…
Reference in a new issue