r3al-quant 0.1.0__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.
- r3al_quant-0.1.0/.gitignore +41 -0
- r3al_quant-0.1.0/CODE_HANDLEIDING.md +3011 -0
- r3al_quant-0.1.0/CODE_HANDLEIDING.pdf +1171 -0
- r3al_quant-0.1.0/Dockerfile +21 -0
- r3al_quant-0.1.0/LICENSE +21 -0
- r3al_quant-0.1.0/PKG-INFO +250 -0
- r3al_quant-0.1.0/README.md +178 -0
- r3al_quant-0.1.0/activate.ps1 +8 -0
- r3al_quant-0.1.0/docs/HANDLEIDING.md +260 -0
- r3al_quant-0.1.0/docs/R3AL_SDK_Handleiding.pdf +777 -0
- r3al_quant-0.1.0/docs/build_pdf.py +216 -0
- r3al_quant-0.1.0/docs-site/README.md +37 -0
- r3al_quant-0.1.0/docs-site/concepts/calibration.mdx +126 -0
- r3al_quant-0.1.0/docs-site/concepts/int8.mdx +62 -0
- r3al_quant-0.1.0/docs-site/concepts/manifest.mdx +74 -0
- r3al_quant-0.1.0/docs-site/concepts/methods.mdx +138 -0
- r3al_quant-0.1.0/docs-site/concepts/qat.mdx +158 -0
- r3al_quant-0.1.0/docs-site/concepts/weight-quant.mdx +67 -0
- r3al_quant-0.1.0/docs-site/docs.json +87 -0
- r3al_quant-0.1.0/docs-site/favicon.svg +4 -0
- r3al_quant-0.1.0/docs-site/guides/benchmarking.mdx +108 -0
- r3al_quant-0.1.0/docs-site/guides/qat-pipeline.mdx +118 -0
- r3al_quant-0.1.0/docs-site/guides/workflow.mdx +177 -0
- r3al_quant-0.1.0/docs-site/installation.mdx +60 -0
- r3al_quant-0.1.0/docs-site/introduction.mdx +103 -0
- r3al_quant-0.1.0/docs-site/logo/dark.svg +5 -0
- r3al_quant-0.1.0/docs-site/logo/light.svg +5 -0
- r3al_quant-0.1.0/docs-site/quickstart.mdx +108 -0
- r3al_quant-0.1.0/docs-site/sdk/client.mdx +105 -0
- r3al_quant-0.1.0/docs-site/sdk/quantizer.mdx +111 -0
- r3al_quant-0.1.0/pyproject.toml +90 -0
- r3al_quant-0.1.0/scripts/build_code_handleiding_pdf.py +229 -0
- r3al_quant-0.1.0/scripts/d-drive-paths.ps1 +23 -0
- r3al_quant-0.1.0/scripts/gpu-paths.ps1 +15 -0
- r3al_quant-0.1.0/scripts/setup-d-drive-env.ps1 +72 -0
- r3al_quant-0.1.0/src/r3al_quant/__init__.py +71 -0
- r3al_quant-0.1.0/src/r3al_quant/algorithms/__init__.py +15 -0
- r3al_quant-0.1.0/src/r3al_quant/algorithms/apot.py +179 -0
- r3al_quant-0.1.0/src/r3al_quant/algorithms/qat/__init__.py +22 -0
- r3al_quant-0.1.0/src/r3al_quant/algorithms/qat/calibration.py +70 -0
- r3al_quant-0.1.0/src/r3al_quant/algorithms/qat/layers.py +309 -0
- r3al_quant-0.1.0/src/r3al_quant/algorithms/qat/onnx_model.py +108 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/__init__.py +28 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/base.py +44 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/vision/__init__.py +9 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/vision/onnx.py +496 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/vision/onnx_export.py +34 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/vision/onnx_loader.py +78 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/vision/onnx_utils.py +25 -0
- r3al_quant-0.1.0/src/r3al_quant/backends/vision/onnx_weight_quant.py +257 -0
- r3al_quant-0.1.0/src/r3al_quant/benchmark.py +126 -0
- r3al_quant-0.1.0/src/r3al_quant/calibration.py +42 -0
- r3al_quant-0.1.0/src/r3al_quant/client.py +328 -0
- r3al_quant-0.1.0/src/r3al_quant/config.py +114 -0
- r3al_quant-0.1.0/src/r3al_quant/errors.py +56 -0
- r3al_quant-0.1.0/src/r3al_quant/export/__init__.py +134 -0
- r3al_quant-0.1.0/src/r3al_quant/export/adapters/__init__.py +1 -0
- r3al_quant-0.1.0/src/r3al_quant/export/adapters/onnx.py +55 -0
- r3al_quant-0.1.0/src/r3al_quant/export/adapters/paddle.py +131 -0
- r3al_quant-0.1.0/src/r3al_quant/export/adapters/pytorch.py +172 -0
- r3al_quant-0.1.0/src/r3al_quant/export/adapters/tensorflow.py +150 -0
- r3al_quant-0.1.0/src/r3al_quant/export/adapters/tflite.py +66 -0
- r3al_quant-0.1.0/src/r3al_quant/export/adapters/ultralytics.py +111 -0
- r3al_quant-0.1.0/src/r3al_quant/export/base.py +110 -0
- r3al_quant-0.1.0/src/r3al_quant/export/native.py +128 -0
- r3al_quant-0.1.0/src/r3al_quant/export/registry.py +127 -0
- r3al_quant-0.1.0/src/r3al_quant/job_input.py +199 -0
- r3al_quant-0.1.0/src/r3al_quant/manifest.py +86 -0
- r3al_quant-0.1.0/src/r3al_quant/methods.py +89 -0
- r3al_quant-0.1.0/src/r3al_quant/pipeline/__init__.py +12 -0
- r3al_quant-0.1.0/src/r3al_quant/pipeline/onnx_qat.py +464 -0
- r3al_quant-0.1.0/src/r3al_quant/pipeline/qat_route.py +32 -0
- r3al_quant-0.1.0/src/r3al_quant/pipeline/ultralytics_qat.py +442 -0
- r3al_quant-0.1.0/src/r3al_quant/py.typed +0 -0
- r3al_quant-0.1.0/src/r3al_quant/quantizer.py +302 -0
- r3al_quant-0.1.0/src/r3al_quant/types.py +60 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
7
|
+
.venv/
|
|
8
|
+
venv/
|
|
9
|
+
|
|
10
|
+
# Models & outputs
|
|
11
|
+
quantized_output/
|
|
12
|
+
runs/
|
|
13
|
+
*.onnx
|
|
14
|
+
*.pt
|
|
15
|
+
*.pth
|
|
16
|
+
*.safetensors
|
|
17
|
+
|
|
18
|
+
# Handler local copy (RunPod convention; canonical examples live in examples/handler/)
|
|
19
|
+
test_input.json
|
|
20
|
+
|
|
21
|
+
# Keys & credentials (never commit)
|
|
22
|
+
*.asc
|
|
23
|
+
gpg-public-key.asc
|
|
24
|
+
|
|
25
|
+
# IDE
|
|
26
|
+
.idea/
|
|
27
|
+
.vscode/
|
|
28
|
+
*.swp
|
|
29
|
+
|
|
30
|
+
# Test / coverage
|
|
31
|
+
.pytest_cache/
|
|
32
|
+
.coverage
|
|
33
|
+
htmlcov/
|
|
34
|
+
|
|
35
|
+
# OS
|
|
36
|
+
.DS_Store
|
|
37
|
+
Thumbs.db
|
|
38
|
+
|
|
39
|
+
# RunPod deploy secrets & local state
|
|
40
|
+
.env
|
|
41
|
+
.runpod/
|