wrapture 0.1.24 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,7 +54,7 @@ jobs:
54
54
  - name: Install Python dependencies
55
55
  run: |
56
56
  python3 -m pip install --upgrade pip
57
- pip install torch onnx onnxsim onnxruntime
57
+ pip install torch onnx onnxsim onnxruntime onnxscript
58
58
  - name: Install dependencies
59
59
  run: | # Install and link dependencies
60
60
  npm i
@@ -6,7 +6,7 @@ name: Publish
6
6
  on:
7
7
  pull_request:
8
8
  types: [closed]
9
- branches: [ "main" ]
9
+ branches: ['main']
10
10
  paths:
11
11
  - '.github/**'
12
12
  - 'src/**'
@@ -45,7 +45,8 @@ jobs:
45
45
  - name: Install dependencies
46
46
  run: | # Install and link dependencies
47
47
  npm i
48
- - name: "Release" # Interesting step
48
+ git checkout -- package-lock.json
49
+ - name: 'Release' # Interesting step
49
50
  run: |
50
51
  git config user.name "${{ github.actor }}"
51
52
  git config user.email "${{ github.actor}}@users.noreply.github.com"
@@ -62,5 +63,4 @@ jobs:
62
63
  - uses: jayqi/failed-build-issue-action@v1.2
63
64
  with:
64
65
  github-token: ${{ secrets.GH_TOKEN }}
65
- label-name: "problems: build failed"
66
-
66
+ label-name: 'problems: build failed'
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.26](https://github.com/phun-ky/wrapture/compare/0.1.25...0.1.26) (2025-10-20)
4
+
5
+ ### Tasks
6
+
7
+ * 🤖 Make sure we can release ([d5c5c37](https://github.com/phun-ky/wrapture/commit/d5c5c37bb2f34795cd02c4448c5d8b023fcf0e9a))
8
+
9
+ ### Bug
10
+
11
+ * 🐛 Add missing dependency ([666dbb2](https://github.com/phun-ky/wrapture/commit/666dbb2042aaf1ee77a1418a5fa9623bc9f22a22))
12
+ * 🐛 Keep legacy with `dynamo=False` ([e8162af](https://github.com/phun-ky/wrapture/commit/e8162af24c835d12ec6a23f06d4becf5b4ca0bb9))
13
+
14
+ ## [0.1.25](https://github.com/phun-ky/wrapture/compare/0.1.24...0.1.25) (2025-10-14)
15
+
16
+ ### Tasks
17
+
18
+ * 🤖 bump the minor-and-patch group with 6 updates ([5d3c241](https://github.com/phun-ky/wrapture/commit/5d3c241dff6c281b712f0c8cd1957b21f43d3e83))
19
+
3
20
  ## [0.1.24](https://github.com/phun-ky/wrapture/compare/0.1.23...0.1.24) (2025-10-06)
4
21
 
5
22
  ### Tasks
package/api/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # wrapture API documentation
2
2
 
3
- > Last updated 2025-10-06T12:00:59.594Z
3
+ > Last updated 2025-10-20T21:33:35.346Z
4
4
 
5
5
  ## Modules
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/check-deps
4
4
 
5
- > Last updated 2025-10-06T12:00:59.791Z
5
+ > Last updated 2025-10-20T21:33:35.501Z
6
6
 
7
7
  ## Functions
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/convert
4
4
 
5
- > Last updated 2025-10-06T12:00:59.863Z
5
+ > Last updated 2025-10-20T21:33:35.570Z
6
6
 
7
7
  ## Interfaces
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/generate-wrapper
4
4
 
5
- > Last updated 2025-10-06T12:00:59.917Z
5
+ > Last updated 2025-10-20T21:33:35.625Z
6
6
 
7
7
  ## Interfaces
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/log-level
4
4
 
5
- > Last updated 2025-10-06T12:00:59.953Z
5
+ > Last updated 2025-10-20T21:33:35.662Z
6
6
 
7
7
  ## Type Aliases
8
8
 
package/api/wrapture.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # wrapture
4
4
 
5
- > Last updated 2025-10-06T12:00:59.986Z
5
+ > Last updated 2025-10-20T21:33:35.705Z
6
6
 
7
7
  ---
8
8
 
package/bin/wrapture.js CHANGED
@@ -10,7 +10,7 @@ import path3 from "path";
10
10
  // package.json
11
11
  var package_default = {
12
12
  name: "wrapture",
13
- version: "0.1.24",
13
+ version: "0.1.26",
14
14
  description: "Wrapture lets you go from a Python-trained model to deployable JavaScript with a single command. It generates TypeScript bindings and a Web/Node-compatible wrapper, using WebGPU/WASM-ready ONNX runtimes.",
15
15
  keywords: [
16
16
  "onnx",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrapture",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "Wrapture lets you go from a Python-trained model to deployable JavaScript with a single command. It generates TypeScript bindings and a Web/Node-compatible wrapper, using WebGPU/WASM-ready ONNX runtimes.",
5
5
  "keywords": [
6
6
  "onnx",
package/python/convert.py CHANGED
@@ -36,7 +36,8 @@ def convert_to_onnx(input_path, output_path, quantize=False):
36
36
  input_names=['input'],
37
37
  output_names=['output'],
38
38
  dynamic_axes={'input': {0: 'batch_size'}, 'output': {0: 'batch_size'}},
39
- opset_version=11
39
+ opset_version=11,
40
+ dynamo=False
40
41
  )
41
42
  model = onnx.load(output_model_path)
42
43
  model_simp, check = simplify(model)