Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
388
constants_tuple_no_mark-v14.pt 8002742e b'\x80\x02t.'
constants_appends_no_mark-v14.pt 80025d652e b'\x80\x02]e.'
constants_odd_setitems-v14.pt 80027d284b01752e b'\x80\x02}(K\x01u.'
python 3.7.17 (default, Sep 20 2023, 11:59:52)
[GCC 12.2.0]
torch 1.4.0+cu92
=== baseline-v14.pt ===
exit 0
stdout:
loaded
stderr:
sentinel_exists False
=== constants_odd_setitems-v14.pt ===
exit 1
stdout:
stderr:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/torch/jit/__init__.py", line 235, in load
cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
RuntimeError: isTuple() INTERNAL ASSERT FAILED at /pytorch/aten/src/ATen/core/ivalue_inl.h:643, please report a bug to PyTorch. Expected Tuple but got GenericDict (toTuple at /pytorch/aten/src/ATen/core/ivalue_inl.h:643)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7ffff642f193 in /usr/local/lib/python3.7/site-packages/torch/lib/libc10.so)
frame #1: c10::IValue::toTuple() && + 0x17c (0x7ffff74b87fc in /usr/local/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
frame #2: <unknown function> + 0x403231d (0x7fff93e3231d in /usr/local/lib/python3.7/site-packages/torch/lib/libtorch.so)
frame #3: torch::jit::import_ir_module(std::shared_ptr<torch::jit::script::CompilationUnit>, std::string const&, c10::optional<c10::Device>, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > >&) + 0xd7 (0x7fff93e32...
frame #4: <unknown function> + 0x777c9b (0x7ffff7577c9b in /usr/local/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
frame #5: <unknown function> + 0x294f74 (0x7ffff7094f74 in /usr/local/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
<omitting python frames>
frame #22: <unknown function> + 0x271ca (0x7fffff2f81ca in /lib/x86_64-linux-gnu/libc.so.6)
frame #23: __libc_start_main + 0x85 (0x7fffff2f8285 in /lib/x86_64-linux-gnu/libc.so.6)
frame #24: _start + 0x21 (0x555555555081 in /usr/local/bin/python)
sentinel_exists False
=== constants_tuple_no_mark-v14.pt ===
exit -11
stdout:
stderr:
sentinel_exists False
=== constants_appends_no_mark-v14.pt ===
exit -11
stdout:
stderr:
sentinel_exists False
=== source_exec_sentinel-v14.pt ===
exit 1
stdout:
stderr:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/torch/jit/__init__.py", line 235, in load
cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
RuntimeError:
Unexpected token in code import: ident:
Serialized File "code/__torch__.py", line 1
open('/tmp/torchscript-source-exec-sentinel','w').write('executed')
~~~~ <--- HERE
sentinel_exists False

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

TorchScript v1.4 constants.pkl MARK stack crash PoC

Private pre-disclosure PoC bundle for authorized huntr Model File Format testing.

Run transcript: v14-repro-transcript.txt Payloads: poc-constants-tuple-no-mark-v14.pt, poc-constants-appends-no-mark-v14.pt

Downloads last month
4