Advertisement
Guest User

AI Dungeon 2 crash

a guest
Dec 8th, 2019
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.67 KB | None | 0 0
  1. > load
  2. What is the ID of the saved game?d2caf1e4-1a2b-11ea-8aac-0242ac1c0002
  3. Copying gs://aidungeonstories/storyd2caf1e4-1a2b-11ea-8aac-0242ac1c0002.json...
  4. - [1 files][ 3.1 KiB/ 3.1 KiB]
  5. Operation completed over 1 objects/3.1 KiB.
  6.  
  7. Loading Game...
  8.  
  9. You are Thomas, a adventurer living in the kingdom of Larion, which has recently
  10. entered an alliance with the Monster Lord. This has resulted in thousands of
  11. monster girls immigrating to Larion. You have a sword and a shield. You make
  12. your living doing quests for whoever has the most gold. Lately, business hasn't
  13. been very good, because monsters no longer need to be driven off. You sigh and
  14. return home in defeat, unable to find a job yet again. When you enter your home,
  15. you are much surprised to find that it is now decorated with trophies from your
  16. recent adventures
  17.  
  18. > You go outside and fly to the moon.
  19.  
  20.  
  21. You take flight, and float through the air towards the moon. The moonlight shines
  22. upon your face, illuminating your features as you soar through the sky. As you
  23. reach the edge of the horizon, you see a bright light, like sunlight, but much
  24. brighter
  25.  
  26. > You embrace the light.
  27.  
  28.  
  29. As you touch the surface of the moon, you feel the warmth of its rays on your
  30. skin. It feels so nice, and you want more. You close your eyes, and let yourself
  31. drift into blissful oblivion
  32.  
  33. > You seek the castle of the moon.
  34.  
  35.  
  36. The next day, you find the castle of the moon. You fly up to it, and land gently.
  37. You look around at the castle, and wonder what kind of people live there. There
  38. is no sign of anyone else here
  39.  
  40. > You find the moon queen.
  41.  
  42.  
  43. You walk through the halls of the castle, looking for the moon queen. You hear
  44. her laughter from somewhere inside the castle, and then she appears before you.
  45. She smiles at you, and speaks softly
  46.  
  47.  
  48. > You greet her.
  49.  
  50.  
  51. "Hello, my name is..".
  52. She looks at you, smiling brightly
  53. "I'm glad you could make it".
  54.  
  55. You smile back, and begin to speak...
  56.  
  57. > You tell her that you are her's to command.
  58.  
  59.  
  60. "Yes, I am your servant, and you can command me".
  61. She nods happily, and begins to lead you to the throne room. You follow her,
  62. and soon arrive at the throne room
  63.  
  64. > You kneel before the queen.
  65.  
  66.  
  67. You kneel down before the queen, who stands proudly in front of you. She holds
  68. a staff in one hand, and a spear in the other. Her hair is white, and her eyes
  69. are blue. She smiles at you, and beckons you forward
  70.  
  71. > You crawl toward the queen.
  72.  
  73.  
  74. You crawl forward, until you are right in front of the queen. She stares at you,
  75. and raises her spear, ready to strike
  76.  
  77. > You wait.
  78.  
  79.  
  80. You wait patiently, and eventually, the queen notices you. She smiles, and beckons
  81. you forward again
  82.  
  83. > You crawl toward the queen.
  84.  
  85.  
  86. You crawl forward, and stand behind the queen. She slowly turns, and sees you
  87.  
  88. > You remove clothes.
  89.  
  90.  
  91. You remove your clothing, and stand naked before the queen. She smiles at you,
  92. and begins to stroke your head
  93. > You nuzzle into her hand.
  94. Traceback (most recent call last):
  95. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
  96. return fn(*args)
  97. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
  98. target_list, run_metadata)
  99. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
  100. run_metadata)
  101. tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
  102. (0) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,615,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
  103. [[{{node sample_sequence/while/concat}}]]
  104. Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
  105.  
  106. [[sample_sequence/while/Exit_3/_1387]]
  107. Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
  108.  
  109. (1) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,615,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
  110. [[{{node sample_sequence/while/concat}}]]
  111. Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
  112.  
  113. 0 successful operations.
  114. 0 derived errors ignored.
  115.  
  116. During handling of the above exception, another exception occurred:
  117.  
  118. Traceback (most recent call last):
  119. File "play.py", line 211, in <module>
  120. play_aidungeon_2()
  121. File "play.py", line 180, in play_aidungeon_2
  122. result = "\n" + story_manager.act(action)
  123. File "/content/AIDungeon/story/story_manager.py", line 181, in act
  124. result = self.generate_result(action_choice)
  125. File "/content/AIDungeon/story/story_manager.py", line 186, in generate_result
  126. block = self.generator.generate(self.story_context() + action)
  127. File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 109, in generate
  128. text = self.generate_raw(prompt)
  129. File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 92, in generate_raw
  130. self.context: [context_tokens for _ in range(self.batch_size)]
  131. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 956, in run
  132. run_metadata_ptr)
  133. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1180, in _run
  134. feed_dict_tensor, options, run_metadata)
  135. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
  136. run_metadata)
  137. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
  138. raise type(e)(node_def, op, message)
  139. tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
  140. (0) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,615,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
  141. [[node sample_sequence/while/concat (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
  142. Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
  143.  
  144. [[sample_sequence/while/Exit_3/_1387]]
  145. Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
  146.  
  147. (1) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,615,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
  148. [[node sample_sequence/while/concat (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
  149. Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
  150.  
  151. 0 successful operations.
  152. 0 derived errors ignored.
  153.  
  154. Original stack trace for 'sample_sequence/while/concat':
  155. File "play.py", line 211, in <module>
  156. play_aidungeon_2()
  157. File "play.py", line 74, in play_aidungeon_2
  158. generator = GPT2Generator()
  159. File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 44, in __init__
  160. temperature=temperature, top_k=top_k, top_p=top_p
  161. File "/content/AIDungeon/generator/gpt2/src/sample.py", line 112, in sample_sequence
  162. back_prop=False,
  163. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2753, in while_loop
  164. return_same_structure)
  165. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2245, in BuildLoop
  166. pred, body, original_loop_vars, loop_vars, shape_invariants)
  167. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2170, in _BuildLoop
  168. body_result = body(*packed_vars_for_body)
  169. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2705, in <lambda>
  170. body = lambda i, lv: (i + 1, orig_body(*lv))
  171. File "/content/AIDungeon/generator/gpt2/src/sample.py", line 89, in body
  172. next_outputs['presents'] if past is None else tf.concat([past, next_outputs['presents']], axis=-2),
  173. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/dispatch.py", line 180, in wrapper
  174. return target(*args, **kwargs)
  175. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/array_ops.py", line 1420, in concat
  176. return gen_array_ops.concat_v2(values=values, axis=axis, name=name)
  177. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/gen_array_ops.py", line 1257, in concat_v2
  178. "ConcatV2", values=values, axis=axis, name=name)
  179. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
  180. op_def=op_def)
  181. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
  182. return func(*args, **kwargs)
  183. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
  184. attrs, op_def, compute_device)
  185. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
  186. op_def=op_def)
  187. File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1748, in __init__
  188. self._traceback = tf_stack.extract_stack()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement