Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You are Ziggy Zapper, Bastard of Lightning, a wizard living in the kingdom of
- Larion. You have a staff and a spellbook. You finish your long journey and finally
- arrive at the ruin you've been looking for. You look around and see that it's
- not much different than when you left it years ago.
- Then you notice something on one of the walls. It's a map of the area with several
- towns and villages marked
- > look at the map, but very dramatically
- You turn to the map and start reading out loud. The first thing you notice is
- how strange this place looks. There are no roads or any other signs of civilization
- anywhere near here. It almost seems like you're in some sort of wilderness.
- Then you realize what you're seeing
- > realize what i'm seeing for me, please.
- This is the ruined city of Nuro. It was once the largest city in the world, but
- now lies in ruins. It was built by the great dragon Tiamat, who was angry with
- you because you had killed her child. She tried to destroy you, but failed
- > Kill Tiamat with mega-scattered lightning too, might as well finish the job
- You begin to channel your magic into your staff, and it begins to glow brighter
- and brighter. Suddenly, you feel a powerful bolt of lightning strike your body.
- It's enough to knock you back several feet, but not enough to harm you. You
- take advantage of this opportunity to cast another spell
- > Roll eyes, then goto Tiamat
- You quickly run towards Tiamat, ready to unleash all your fury on her. However,
- you suddenly stop when you see that she has already disappeared. You try again,
- but nothing happens. You continue to stare at the spot where she used to be
- > Ask the gods why Tiamat is such a little bitch
- Suddenly, you hear a voice from above. "Ziggy, I don't think we should be doing
- this".
- "What?" you say.
- "I said, I don't think we should be doing this".
- > Ask why it's a bad idea to wait to kill Tiamat
- "Because if we do, we'll just be waiting around for her to come back".
- > Declare that the gods have failed mankind and use magic to make a new god to replace them
- You raise your hand up high and fire a beam of pure energy straight into the
- sky. A bright light appears in the distance, and soon after, you feel yourself
- being pulled towards it. As you get closer, you can see that the light is coming
- from a massive creature made entirely of ice
- > Shake hands happily with the new ice god
- Traceback (most recent call last):
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
- return fn(*args)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
- target_list, run_metadata)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
- run_metadata)
- tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
- (0) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,568,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
- [[{{node sample_sequence/while/concat}}]]
- 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.
- [[sample_sequence/while/Exit_3/_1387]]
- 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.
- (1) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,568,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
- [[{{node sample_sequence/while/concat}}]]
- 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.
- 0 successful operations.
- 0 derived errors ignored.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "play.py", line 292, in <module>
- play_aidungeon_2()
- File "play.py", line 255, in play_aidungeon_2
- result = "\n" + story_manager.act(action)
- File "/content/AIDungeon/story/story_manager.py", line 200, in act
- result = self.generate_result(action_choice)
- File "/content/AIDungeon/story/story_manager.py", line 205, in generate_result
- block = self.generator.generate(self.story_context() + action)
- File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 119, in generate
- text = self.generate_raw(prompt)
- File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 102, in generate_raw
- self.context: [context_tokens for _ in range(self.batch_size)]
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 956, in run
- run_metadata_ptr)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
- feed_dict_tensor, options, run_metadata)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
- run_metadata)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
- raise type(e)(node_def, op, message)
- tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
- (0) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,568,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
- [[node sample_sequence/while/concat (defined at /content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
- 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.
- [[sample_sequence/while/Exit_3/_1387]]
- 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.
- (1) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,568,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
- [[node sample_sequence/while/concat (defined at /content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
- 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.
- 0 successful operations.
- 0 derived errors ignored.
- Original stack trace for 'sample_sequence/while/concat':
- File "play.py", line 292, in <module>
- play_aidungeon_2()
- File "play.py", line 115, in play_aidungeon_2
- generator = GPT2Generator()
- File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 51, in __init__
- top_p=top_p,
- File "/content/AIDungeon/generator/gpt2/src/sample.py", line 120, in sample_sequence
- back_prop=False,
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2753, in while_loop
- return_same_structure)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2245, in BuildLoop
- pred, body, original_loop_vars, loop_vars, shape_invariants)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2170, in _BuildLoop
- body_result = body(*packed_vars_for_body)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 2705, in <lambda>
- body = lambda i, lv: (i + 1, orig_body(*lv))
- File "/content/AIDungeon/generator/gpt2/src/sample.py", line 98, in body
- else tf.concat([past, next_outputs["presents"]], axis=-2),
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/util/dispatch.py", line 180, in wrapper
- return target(*args, **kwargs)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/ops/array_ops.py", line 1420, in concat
- return gen_array_ops.concat_v2(values=values, axis=axis, name=name)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_array_ops.py", line 1257, in concat_v2
- "ConcatV2", values=values, axis=axis, name=name)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
- op_def=op_def)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
- return func(*args, **kwargs)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
- attrs, op_def, compute_device)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
- op_def=op_def)
- File "/content/AIDungeon/venv/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 1748, in __init__
- self._traceback = tf_stack.extract_stack()
- Game saved.
- To load the game, type 'load' and enter the following ID: 23a2aa7c-1f58-11ea-8153-0242ac1c0002
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement