statedict2pytree 0.5.3__tar.gz → 0.5.4__tar.gz
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.
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/PKG-INFO +7 -4
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/README.md +5 -3
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/src/App.svelte +2 -1
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/pyproject.toml +2 -1
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/.gitignore +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/.gitignore +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/package-lock.json +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/package.json +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/public/bundle.js +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/public/bundle.js.map +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/public/index.html +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/public/input.css +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/public/output.css +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/rollup.config.mjs +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/src/empty.ts +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/src/main.js +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/tailwind.config.js +0 -0
- {statedict2pytree-0.5.3 → statedict2pytree-0.5.4}/client/tsconfig.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: statedict2pytree
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: Converts torch models into PyTrees for Equinox
|
|
5
5
|
Author-email: "Artur A. Galstyan" <mail@arturgalstyan.dev>
|
|
6
6
|
Requires-Python: ~=3.10
|
|
@@ -15,6 +15,7 @@ Requires-Dist: jaxtyping
|
|
|
15
15
|
Requires-Dist: loguru
|
|
16
16
|
Requires-Dist: penzai
|
|
17
17
|
Requires-Dist: pydantic
|
|
18
|
+
Requires-Dist: pytest
|
|
18
19
|
Requires-Dist: python-dotenv
|
|
19
20
|
Requires-Dist: torch
|
|
20
21
|
Requires-Dist: torchvision
|
|
@@ -32,6 +33,11 @@ Description-Content-Type: text/markdown
|
|
|
32
33
|
|
|
33
34
|

|
|
34
35
|
|
|
36
|
+
## Docs
|
|
37
|
+
|
|
38
|
+
Docs can be found [here](https://artur-galstyan.github.io/statedict2pytree/).
|
|
39
|
+
|
|
40
|
+
|
|
35
41
|
## Important
|
|
36
42
|
|
|
37
43
|
This package is still in its infancy and hihgly experimental! The code works, but it's far from perfect. With more and more iterations, it will eventually become stable and well tested.
|
|
@@ -67,9 +73,6 @@ Currently, there is no sophisticated shape matching in place. Two matrices are c
|
|
|
67
73
|
(8, 1, 1) and (8, ) match, because (8 _ 1 _ 1 = 8)
|
|
68
74
|
|
|
69
75
|
|
|
70
|
-
### Docs
|
|
71
|
-
|
|
72
|
-
Documentation will appear as soon as I have all the necessary features implemented. Until then, check out the "main.py" file for a better example.
|
|
73
76
|
|
|
74
77
|
### Disclaimer
|
|
75
78
|
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
+
## Docs
|
|
6
|
+
|
|
7
|
+
Docs can be found [here](https://artur-galstyan.github.io/statedict2pytree/).
|
|
8
|
+
|
|
9
|
+
|
|
5
10
|
## Important
|
|
6
11
|
|
|
7
12
|
This package is still in its infancy and hihgly experimental! The code works, but it's far from perfect. With more and more iterations, it will eventually become stable and well tested.
|
|
@@ -37,9 +42,6 @@ Currently, there is no sophisticated shape matching in place. Two matrices are c
|
|
|
37
42
|
(8, 1, 1) and (8, ) match, because (8 _ 1 _ 1 = 8)
|
|
38
43
|
|
|
39
44
|
|
|
40
|
-
### Docs
|
|
41
|
-
|
|
42
|
-
Documentation will appear as soon as I have all the necessary features implemented. Until then, check out the "main.py" file for a better example.
|
|
43
45
|
|
|
44
46
|
### Disclaimer
|
|
45
47
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import Swal from "sweetalert2";
|
|
6
6
|
|
|
7
7
|
let model: string = "model.eqx";
|
|
8
|
-
let anthropicModel: "opus" | "sonnet" | "haiku" = "haiku";
|
|
8
|
+
let anthropicModel: "opus" | "sonnet" | "sonnet3.5" | "haiku" = "haiku";
|
|
9
9
|
|
|
10
10
|
const Toast = Swal.mixin({
|
|
11
11
|
toast: true,
|
|
@@ -492,6 +492,7 @@ Here's your input:
|
|
|
492
492
|
<select bind:value={anthropicModel}>
|
|
493
493
|
<option value="opus">opus</option>
|
|
494
494
|
<option value="sonnet">sonnet</option>
|
|
495
|
+
<option value="sonnet3.5">sonnet3.5</option>
|
|
495
496
|
<option value="haiku">haiku</option>
|
|
496
497
|
</select>
|
|
497
498
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "statedict2pytree"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.4"
|
|
4
4
|
description = "Converts torch models into PyTrees for Equinox"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = "~=3.10"
|
|
@@ -21,6 +21,7 @@ dependencies = [
|
|
|
21
21
|
"jaxonmodels",
|
|
22
22
|
"anthropic",
|
|
23
23
|
"python-dotenv",
|
|
24
|
+
"pytest",
|
|
24
25
|
]
|
|
25
26
|
[project.optional-dependencies]
|
|
26
27
|
dev = ["nox", "pre-commit", "pytest", "mkdocs"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|