mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
fix handcode_opt.py for bert (#6756)
This commit is contained in:
parent
396c96357b
commit
0424c4967d
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ def get_sched_bert():
|
|||
# ignore grad norm and loss scaler for now
|
||||
loss.backward()
|
||||
targets += [x.lazydata for x in optim.schedule_step()]
|
||||
sched = create_schedule(targets, seen)
|
||||
sched = create_schedule(targets)
|
||||
print(f"schedule length {len(sched)}")
|
||||
return sched
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue