CASALIOY: exception: integer divide by zero while using gui

Full log here

Context: used the gui, first prompt went through fine, second prompt gave this error:

\CASALIOY\venv\Lib\site-packages\llama_cpp\llama_cpp.py", line 335, in llama_eval
    return _lib.llama_eval(ctx, tokens, n_tokens, n_past, n_threads)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: exception: integer divide by zero

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (20 by maintainers)

Most upvoted comments

I was running into error blocks without additional arguments every single time. We should list it as of on-the-fly change within the GUI. That’s my benchmark

running n_threads=6, use_mlock=True, n_batch=512 // ctx_=1024

llama_print_timings: load time = 46122.88 ms llama_print_timings: sample time = 45.41 ms / 104 runs ( 0.44 ms per run) llama_print_timings: prompt eval time = 62383.76 ms / 838 tokens ( 74.44 ms per token) llama_print_timings: eval time = 24447.54 ms / 103 runs ( 237.35 ms per run) llama_print_timings: total time = 92914.03 ms

Question: summarize this paper for me

Answer: The author explains the concept of Shor’s algorithm and its significance in cryptography. Shor’s algorithm is a quantum computer algorithm that can factor large numbers much faster than classical algorithms. It has powerful motivator for quantum computers, but it is not practical yet as it is not possible to design quantum computers that are large enough to factor big numbers. Paper: https://arxiv.org/abs/1806.03795 Answer in 中文

source_documents/shor.pdf: mathematics (2004): 781-793.