Instructions to use Avdpro/AVTR-1-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Avdpro/AVTR-1-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Avdpro/AVTR-1-MLX --local-dir AVTR-1-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download graphs/stitch_network/graph.json from Avdpro/AVTR-1-MLX: direct link, hf CLI and curl.
- Browser
- Download file 4.43 kB
-
https://huggingface.co/Avdpro/AVTR-1-MLX/resolve/main/graphs/stitch_network/graph.json
- Command line
-
hf download hf://Avdpro/AVTR-1-MLX/graphs/stitch_network/graph.json
-
curl -L -o graph.json https://huggingface.co/Avdpro/AVTR-1-MLX/resolve/main/graphs/stitch_network/graph.json
4.43 kB
| {"inputs": ["kp_source", "kp_driving"], "outputs": ["out"], "initializers": {"mlp.0.weight": {"__tensor__": "tensor_0", "shape": [128, 126]}, "mlp.0.bias": {"__tensor__": "tensor_1", "shape": [128]}, "mlp.2.weight": {"__tensor__": "tensor_2", "shape": [128, 128]}, "mlp.2.bias": {"__tensor__": "tensor_3", "shape": [128]}, "mlp.4.weight": {"__tensor__": "tensor_4", "shape": [64, 128]}, "mlp.4.bias": {"__tensor__": "tensor_5", "shape": [64]}, "mlp.6.weight": {"__tensor__": "tensor_6", "shape": [65, 64]}, "mlp.6.bias": {"__tensor__": "tensor_7", "shape": [65]}, "/Constant_output_0": {"__tensor__": "tensor_8", "shape": [2]}, "/Constant_2_output_0": {"__tensor__": "tensor_9", "shape": [1]}, "/Constant_3_output_0": {"__tensor__": "tensor_10", "shape": [1]}, "/Constant_4_output_0": {"__tensor__": "tensor_11", "shape": [1]}, "/Constant_6_output_0": {"__tensor__": "tensor_12", "shape": [3]}, "/Constant_9_output_0": {"__tensor__": "tensor_13", "shape": [1]}, "/Constant_11_output_0": {"__tensor__": "tensor_14", "shape": [3]}, "/Constant_12_output_0": {"__tensor__": "tensor_15", "shape": [1]}, "/Concat_1_output_0": {"__tensor__": "tensor_16", "shape": [1, 21, 2, 3]}}, "nodes": [{"name": "/Reshape", "op": "Reshape", "inputs": ["kp_source", "/Constant_output_0"], "outputs": ["/Reshape_output_0"], "attrs": {"allowzero": 0}}, {"name": "/Reshape_1", "op": "Reshape", "inputs": ["kp_driving", "/Constant_output_0"], "outputs": ["/Reshape_1_output_0"], "attrs": {"allowzero": 0}}, {"name": "/Concat", "op": "Concat", "inputs": ["/Reshape_output_0", "/Reshape_1_output_0"], "outputs": ["/Concat_output_0"], "attrs": {"axis": 1}}, {"name": "/mlp/mlp.0/Gemm", "op": "Gemm", "inputs": ["/Concat_output_0", "mlp.0.weight", "mlp.0.bias"], "outputs": ["/mlp/mlp.0/Gemm_output_0"], "attrs": {"alpha": 1.0, "beta": 1.0, "transB": 1}}, {"name": "/mlp/mlp.1/Relu", "op": "Relu", "inputs": ["/mlp/mlp.0/Gemm_output_0"], "outputs": ["/mlp/mlp.1/Relu_output_0"], "attrs": {}}, {"name": "/mlp/mlp.2/Gemm", "op": "Gemm", "inputs": ["/mlp/mlp.1/Relu_output_0", "mlp.2.weight", "mlp.2.bias"], "outputs": ["/mlp/mlp.2/Gemm_output_0"], "attrs": {"alpha": 1.0, "beta": 1.0, "transB": 1}}, {"name": "/mlp/mlp.3/Relu", "op": "Relu", "inputs": ["/mlp/mlp.2/Gemm_output_0"], "outputs": ["/mlp/mlp.3/Relu_output_0"], "attrs": {}}, {"name": "/mlp/mlp.4/Gemm", "op": "Gemm", "inputs": ["/mlp/mlp.3/Relu_output_0", "mlp.4.weight", "mlp.4.bias"], "outputs": ["/mlp/mlp.4/Gemm_output_0"], "attrs": {"alpha": 1.0, "beta": 1.0, "transB": 1}}, {"name": "/mlp/mlp.5/Relu", "op": "Relu", "inputs": ["/mlp/mlp.4/Gemm_output_0"], "outputs": ["/mlp/mlp.5/Relu_output_0"], "attrs": {}}, {"name": "/mlp/mlp.6/Gemm", "op": "Gemm", "inputs": ["/mlp/mlp.5/Relu_output_0", "mlp.6.weight", "mlp.6.bias"], "outputs": ["/mlp/mlp.6/Gemm_output_0"], "attrs": {"alpha": 1.0, "beta": 1.0, "transB": 1}}, {"name": "/Slice", "op": "Slice", "inputs": ["/mlp/mlp.6/Gemm_output_0", "/Constant_3_output_0", "/Constant_4_output_0", "/Constant_2_output_0", "/Constant_2_output_0"], "outputs": ["/Slice_output_0"], "attrs": {}}, {"name": "/Reshape_2", "op": "Reshape", "inputs": ["/Slice_output_0", "/Constant_6_output_0"], "outputs": ["/Reshape_2_output_0"], "attrs": {"allowzero": 0}}, {"name": "/Slice_1", "op": "Slice", "inputs": ["/mlp/mlp.6/Gemm_output_0", "/Constant_4_output_0", "/Constant_9_output_0", "/Constant_2_output_0", "/Constant_2_output_0"], "outputs": ["/Slice_1_output_0"], "attrs": {}}, {"name": "/Reshape_3", "op": "Reshape", "inputs": ["/Slice_1_output_0", "/Constant_11_output_0"], "outputs": ["/Reshape_3_output_0"], "attrs": {"allowzero": 0}}, {"name": "/Add", "op": "Add", "inputs": ["kp_driving", "/Reshape_2_output_0"], "outputs": ["/Add_output_0"], "attrs": {}}, {"name": "/Slice_2", "op": "Slice", "inputs": ["/Add_output_0", "/Constant_3_output_0", "/Constant_12_output_0", "/Constant_12_output_0", "/Constant_2_output_0"], "outputs": ["/Slice_2_output_0"], "attrs": {}}, {"name": "/Add_1", "op": "Add", "inputs": ["/Slice_2_output_0", "/Reshape_3_output_0"], "outputs": ["/Add_1_output_0"], "attrs": {}}, {"name": "/ScatterND", "op": "ScatterND", "inputs": ["/Add_output_0", "/Concat_1_output_0", "/Add_1_output_0"], "outputs": ["/ScatterND_output_0"], "attrs": {}}, {"name": "/ScatterND_1", "op": "ScatterND", "inputs": ["/ScatterND_output_0", "/Concat_1_output_0", "/Add_1_output_0"], "outputs": ["out"], "attrs": {}}], "schema_version": 1, "opset": 17} |