supertonic2-qualcomm-quantized / HUGGINGFACE_UPLOAD.md
roboticsbydev's picture
Claude Opus 4.6
Initial commit: Supertonic2 QNN quantized TTS pipeline
fed42c7
|
Raw History Blame Contribute Delete
1.8 kB
# Files to Upload to HuggingFace
This document lists all large files that should be uploaded to HuggingFace model repository.
## Directory Structure for HuggingFace
```
supertonic2-qcs6490/
β”œβ”€β”€ README.md (copy from main repo)
β”œβ”€β”€ QNN_Model_lib/
β”‚ └── aarch64-oe-linux-gcc11.2/
β”‚ β”œβ”€β”€ libduration_predictor_htp.so (1.0 MB)
β”‚ β”œβ”€β”€ libtext_encoder_htp.so (7.5 MB)
β”‚ β”œβ”€β”€ libvector_estimator_htp.so (34 MB)
β”‚ └── libvocoder_htp.so (25 MB)
β”‚
β”œβ”€β”€ QNN_Models/
β”‚ β”œβ”€β”€ duration_predictor_htp.cpp (1.5 MB)
β”‚ β”œβ”€β”€ duration_predictor_htp.bin (460 KB)
β”‚ β”œβ”€β”€ duration_predictor_htp_net.json (722 KB)
β”‚ β”œβ”€β”€ text_encoder_htp.cpp (2.1 MB)
β”‚ β”œβ”€β”€ text_encoder_htp.bin (6.7 MB)
β”‚ β”œβ”€β”€ text_encoder_htp_net.json (1.1 MB)
β”‚ β”œβ”€β”€ vector_estimator_htp.cpp (4.7 MB)
β”‚ β”œβ”€β”€ vector_estimator_htp.bin (32 MB)
β”‚ β”œβ”€β”€ vector_estimator_htp_net.json (2.3 MB)
β”‚ β”œβ”€β”€ vocoder_htp.cpp (1.2 MB)
β”‚ β”œβ”€β”€ vocoder_htp.bin (25 MB)
β”‚ └── vocoder_htp_net.json (581 KB)
β”‚
β”œβ”€β”€ model/ (ONNX models and configs)
β”œβ”€β”€ calibration_data/ (10 samples)
└── samples/ (example outputs)
```
## Total Size: ~400 MB
## Upload Using HuggingFace CLI
```bash
pip install huggingface_hub
huggingface-cli login
huggingface-cli repo create supertonic2-qcs6490 --type model
# Upload directories
huggingface-cli upload <username>/supertonic2-qcs6490 QNN_Model_lib
huggingface-cli upload <username>/supertonic2-qcs6490 QNN_Models
huggingface-cli upload <username>/supertonic2-qcs6490 model
huggingface-cli upload <username>/supertonic2-qcs6490 calibration_data
huggingface-cli upload <username>/supertonic2-qcs6490 board_outputs/samples
```