hacnho commited on
Commit
1096578
·
verified ·
1 Parent(s): 60c0855

Upload repro.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. repro.sh +18 -0
repro.sh ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ ROOT="/home/hacnho/Projects/huntr-mfv/laneB-4k-formats"
5
+ VENV="$ROOT/.venv-msgpack-121/bin/python"
6
+
7
+ echo "[1] latest msgpack"
8
+ "$VENV" - <<'PY'
9
+ import importlib.metadata as m
10
+ print(m.version("msgpack"))
11
+ PY
12
+
13
+ echo "[2] real parser path"
14
+ "$VENV" - <<'PY'
15
+ import msgpack
16
+ data = open("/home/hacnho/Projects/huntr-mfv/laneB-4k-formats/messagepack-nested-5000.msgpack", "rb").read()
17
+ msgpack.unpackb(data, raw=False)
18
+ PY