Spaces:
Runtime error
Runtime error
File size: 5,067 Bytes
23aa310 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
0%| | 0/1000 [00:00<?, ?it/s]
1%|▏ | 6/1000 [00:46<1:44:11, 6.29s/it]Traceback (most recent call last):
File "main.py", line 440, in <module>
main()
File "main.py", line 379, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "E:\Documents\Desktop\ChatGLM-6B\ptuning\trainer.py", line 1635, in train
return inner_training_loop(
File "E:\Documents\Desktop\ChatGLM-6B\ptuning\trainer.py", line 1904, in _inner_training_loop
tr_loss_step = self.training_step(model, inputs)
File "E:\Documents\Desktop\ChatGLM-6B\ptuning\trainer.py", line 2665, in training_step
loss.backward()
File "D:\Program\Python38\lib\site-packages\torch\_tensor.py", line 487, in backward
torch.autograd.backward(
File "D:\Program\Python38\lib\site-packages\torch\autograd\__init__.py", line 200, in backward
Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
KeyboardInterrupt
Error in sys.excepthook:
Traceback (most recent call last):
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1694, in print
extend(render(renderable, render_options))
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1330, in render
yield from self.render(render_output, _options)
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1326, in render
for render_output in iter_render:
File "D:\Program\Python38\lib\site-packages\rich\constrain.py", line 29, in __rich_console__
yield from console.render(self.renderable, child_options)
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1326, in render
for render_output in iter_render:
File "D:\Program\Python38\lib\site-packages\rich\panel.py", line 220, in __rich_console__
lines = console.render_lines(renderable, child_options, style=style)
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1366, in render_lines
lines = list(
File "D:\Program\Python38\lib\site-packages\rich\segment.py", line 292, in split_and_crop_lines
for segment in segments:
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1326, in render
for render_output in iter_render:
File "D:\Program\Python38\lib\site-packages\rich\padding.py", line 97, in __rich_console__
lines = console.render_lines(
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1366, in render_lines
lines = list(
File "D:\Program\Python38\lib\site-packages\rich\segment.py", line 292, in split_and_crop_lines
for segment in segments:
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1330, in render
yield from self.render(render_output, _options)
File "D:\Program\Python38\lib\site-packages\rich\console.py", line 1326, in render
for render_output in iter_render:
File "D:\Program\Python38\lib\site-packages\rich\syntax.py", line 609, in __rich_console__
segments = Segments(self._get_syntax(console, options))
File "D:\Program\Python38\lib\site-packages\rich\segment.py", line 668, in __init__
self.segments = list(segments)
File "D:\Program\Python38\lib\site-packages\rich\syntax.py", line 637, in _get_syntax
text = self.highlight(processed_code, self.line_range)
File "D:\Program\Python38\lib\site-packages\rich\syntax.py", line 509, in highlight
text.append_tokens(tokens_to_spans())
File "D:\Program\Python38\lib\site-packages\rich\text.py", line 995, in append_tokens
for content, style in tokens:
File "D:\Program\Python38\lib\site-packages\rich\syntax.py", line 497, in tokens_to_spans
_token_type, token = next(tokens)
File "D:\Program\Python38\lib\site-packages\rich\syntax.py", line 484, in line_tokenize
for token_type, token in lexer.get_tokens(code):
File "D:\Program\Python38\lib\site-packages\pygments\lexer.py", line 190, in streamer
for _, t, v in self.get_tokens_unprocessed(text):
File "D:\Program\Python38\lib\site-packages\pygments\lexer.py", line 633, in get_tokens_unprocessed
if m:
KeyboardInterrupt
Original exception was:
Traceback (most recent call last):
File "main.py", line 440, in <module>
main()
File "main.py", line 379, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "E:\Documents\Desktop\ChatGLM-6B\ptuning\trainer.py", line 1635, in train
return inner_training_loop(
File "E:\Documents\Desktop\ChatGLM-6B\ptuning\trainer.py", line 1904, in _inner_training_loop
tr_loss_step = self.training_step(model, inputs)
File "E:\Documents\Desktop\ChatGLM-6B\ptuning\trainer.py", line 2665, in training_step
loss.backward()
File "D:\Program\Python38\lib\site-packages\torch\_tensor.py", line 487, in backward
torch.autograd.backward(
File "D:\Program\Python38\lib\site-packages\torch\autograd\__init__.py", line 200, in backward
Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
KeyboardInterrupt |