Skip to content

Commit 6ec3a0a

Browse files
committed
minor fix
Signed-off-by: YunLiu <[email protected]>
1 parent d0f84b6 commit 6ec3a0a

File tree

3 files changed

+0
-90
lines changed

3 files changed

+0
-90
lines changed

generation/controlnet/2d_controlnet.ipynb

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -442,16 +442,6 @@
442442
"tags": []
443443
},
444444
"outputs": [
445-
{
446-
"name": "stderr",
447-
"output_type": "stream",
448-
"text": [
449-
"/tmp/ipykernel_323202/1416541766.py:7: FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.\n",
450-
" scaler = GradScaler()\n",
451-
"/tmp/ipykernel_323202/1416541766.py:16: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
452-
" with autocast(enabled=True):\n"
453-
]
454-
},
455445
{
456446
"name": "stdout",
457447
"output_type": "stream",
@@ -461,16 +451,6 @@
461451
"epoch:20/200: training loss 0.150791\n"
462452
]
463453
},
464-
{
465-
"name": "stderr",
466-
"output_type": "stream",
467-
"text": [
468-
"/tmp/ipykernel_323202/1416541766.py:48: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
469-
" with autocast(enabled=True):\n",
470-
"/tmp/ipykernel_323202/1416541766.py:65: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
471-
" with autocast(enabled=True):\n"
472-
]
473-
},
474454
{
475455
"name": "stdout",
476456
"output_type": "stream",
@@ -739,16 +719,6 @@
739719
"tags": []
740720
},
741721
"outputs": [
742-
{
743-
"name": "stderr",
744-
"output_type": "stream",
745-
"text": [
746-
"/tmp/ipykernel_323202/2002720117.py:6: FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.\n",
747-
" scaler = GradScaler()\n",
748-
"/tmp/ipykernel_323202/2002720117.py:17: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
749-
" with autocast(enabled=True):\n"
750-
]
751-
},
752722
{
753723
"name": "stdout",
754724
"output_type": "stream",
@@ -758,16 +728,6 @@
758728
"epoch:20/150: training loss 0.023880\n"
759729
]
760730
},
761-
{
762-
"name": "stderr",
763-
"output_type": "stream",
764-
"text": [
765-
"/tmp/ipykernel_323202/2002720117.py:53: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
766-
" with autocast(enabled=True):\n",
767-
"/tmp/ipykernel_323202/2002720117.py:74: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
768-
" with autocast(enabled=True):\n"
769-
]
770-
},
771731
{
772732
"name": "stdout",
773733
"output_type": "stream",
@@ -1017,8 +977,6 @@
1017977
"name": "stderr",
1018978
"output_type": "stream",
1019979
"text": [
1020-
"sampling...: 0%| | 0/1000 [00:00<?, ?it/s]/tmp/ipykernel_323202/1978846295.py:11: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
1021-
" with autocast(enabled=True):\n",
1022980
"sampling...: 100%|████████████████████████████████████████████████████████| 1000/1000 [00:35<00:00, 28.38it/s]\n"
1023981
]
1024982
},
@@ -1095,8 +1053,6 @@
10951053
"name": "stderr",
10961054
"output_type": "stream",
10971055
"text": [
1098-
"sampling...: 0%| | 0/1000 [00:00<?, ?it/s]/tmp/ipykernel_323202/833666958.py:18: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.\n",
1099-
" with autocast(enabled=True):\n",
11001056
"sampling...: 100%|████████████████████████████████████████████████████████| 1000/1000 [00:15<00:00, 66.57it/s]\n"
11011057
]
11021058
},

0 commit comments

Comments
 (0)