NewBreaker's picture
first
23aa310
raw
history blame
5.07 kB
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