Fam Zheng
94472f1b49
Remove debug_upload functionality and fix 404 error handling in system settings
2025-11-25 23:51:14 +00:00
Fam Zheng
9060186edb
Add default verification model config in system settings and always pass model to v5/qr_verify
2025-11-25 23:34:21 +00:00
Fam Zheng
97649c81b1
Add verification_model field to scan data detail modal
2025-11-25 23:26:57 +00:00
Fam Zheng
c65dc700ad
Set display_field for verification_model to show model name
...
- Add display_field='name' to verification_model field in CodeBatchResource
- RelatedFieldEditor will now display model name instead of raw JSON object
2025-11-25 22:49:32 +00:00
Fam Zheng
719ccd6477
Convert verification_model to ForeignKey with data migration
...
- Convert CodeBatch.verification_model from TextField to ForeignKey(VerificationModel)
- Add ForeignKey relationship to CodeBatchResource API
- Update QrVerifyView to use verification_model.name instead of string
- Create data migration to:
- Rename old TextField temporarily
- Add new ForeignKey field
- Migrate existing model names to VerificationModel entries
- Link batches to VerificationModel records
- Remove old TextField
- GenericManager will now show dropdown/selector UI automatically
2025-11-25 22:38:57 +00:00
Fam Zheng
2c74d59d37
Add admin configuration for verification model per batch
...
- Add verification_model field to CodeBatch model (TextField)
- Add verification_model field to ScanData model to track model used
- Update QrVerifyView to pass model parameter to v5 QR verify endpoint
- Create VerificationModel table to track available models
- Add VerificationModelResource API endpoint (admin only)
- Add verification-model Vue component with GenericManager
- Add verification-model route and sidebar navigation entry
- Add migrations for all database changes
- Add analysis document for feature design
2025-11-25 22:32:02 +00:00
Fam Zheng
ce280586fe
Add upload-model and list-models subcommands to emcli
2025-11-25 22:18:58 +00:00
Fam Zheng
eb68445134
ci: deploy prod on ed2
2025-11-24 23:03:00 +00:00
Fam Zheng
1fb02c317e
update scripts/emcli
2025-11-24 23:01:22 +00:00
Fam Zheng
7007f14109
Add phone_model and datetime fields to scan-data-labels API endpoint
2025-11-24 23:01:22 +00:00
Fam Zheng
c0a197e4a5
entrypoint: check EMBLEM_ENV is set
2025-11-24 23:00:02 +00:00
Fam Zheng
94b66e66c5
docker: install unzip
2025-11-24 23:00:02 +00:00
Fam Zheng
2aceaf33a4
Make ailab job manual
2025-11-25 06:15:02 +08:00
Fam Zheng
9cc0df405c
Use system Python in Dockerfile instead of venv
2025-11-24 07:38:34 +08:00
Fam Zheng
7580a9a452
Add npm to PATH in build-web job
2025-11-24 06:55:26 +08:00
Fam Zheng
9207a005bd
Move all CI jobs from i7 to ailab runner
2025-11-24 06:53:55 +08:00
Fam Zheng
a91cf30e05
Set timeout to 36000 seconds for ailab job
2025-11-23 21:04:55 +00:00
Fam Zheng
a0232e74b6
ci: fetch and train
2025-11-23 18:59:07 +00:00
Fam Zheng
6c93bc3607
Add sbs target, make scripts executable in CI, skip venv creation if exists
2025-11-23 18:57:53 +00:00
Fam Zheng
aea7276ad4
add make sbs
2025-11-23 18:54:40 +00:00
Fam Zheng
6af6ec6ed4
ci: skip fetch
2025-11-23 18:51:46 +00:00
Fam Zheng
9f1d6784f8
ci: fix train-quick
2025-11-23 18:51:31 +00:00
Fam Zheng
5b1b013a9f
Set DATA_DIR to /home/fam/emblem in CI
2025-11-23 18:40:26 +00:00
Fam Zheng
bb02ed25b8
Keep /home/fam/venv/bin in PATH after activating project venv to access uv
2025-11-23 18:34:30 +00:00
Fam Zheng
c685372845
Create /home/fam/venv first to install uv, avoiding externally-managed-environment error
2025-11-23 18:33:11 +00:00
Fam Zheng
b116cafcc1
on ailab
2025-11-23 18:30:03 +00:00
Fam Zheng
ec65bfa1d2
Add torch and torchvision dependencies, ensure venv is activated in script section
2025-11-23 18:24:36 +00:00
Fam Zheng
9d3a5053a3
Use Python 3.10 explicitly in CI
2025-11-23 18:21:14 +00:00
Fam Zheng
4d256c71c6
Reorder packages and constrain six version for aliyun SDK compatibility
2025-11-23 18:17:44 +00:00
Fam Zheng
fd634b0110
Add emblem5 dependencies to top-level requirements.txt
2025-11-23 18:15:19 +00:00
Fam Zheng
84fc6a7ca0
Add fetch-quick, sbs-quick, train-quick targets for CI verification
2025-11-23 18:10:58 +00:00
Fam Zheng
1bf353c248
Set GIT_DEPTH to 1 in CI variables
2025-11-23 17:53:34 +00:00
Fam Zheng
abbb419ba3
drop alg/models
2025-11-23 17:52:48 +00:00
Fam Zheng
11a0594d66
Use system Python instead of downloading Python for uv venv
2025-11-23 17:51:37 +00:00
Fam Zheng
ff1b6c13b4
Remove cache configuration from CI
2025-11-23 17:50:21 +00:00
Fam Zheng
445097b151
Fix PATH for uv command in CI
2025-11-23 17:48:51 +00:00
Fam Zheng
87fa3020e4
Update CI to use uv with Tsinghua mirror for package installation
2025-11-23 17:47:49 +00:00
Fam Zheng
2301ca7918
zy
2025-11-23 17:40:27 +00:00
Fam Zheng
886ef32827
Change DATA_DIR to /data/emblem and add GIT_DEPTH=1 to CI
2025-11-23 15:35:37 +00:00
Fam Zheng
b539aa8524
Add make fetch target using venv and add to ailab step
2025-11-23 15:28:08 +00:00
Fam Zheng
72c3420199
Rename job to ailab and add pip mirror config with requirements install
2025-11-23 15:25:31 +00:00
Fam Zheng
857fdbcc62
Move ailab-date to first stage 'ailab'
2025-11-23 15:24:07 +00:00
Fam Zheng
05599c09d3
Add ailab-date step to GitLab CI
2025-11-23 15:22:35 +00:00
Fam Zheng
64ba37d755
requirements.txt: add six
2025-11-05 08:15:25 +00:00
Fam Zheng
bd3faf8133
add hf models in docker
2025-11-04 23:06:33 +00:00
Fam Zheng
de6d175f7e
fix rag
2025-11-04 22:05:45 +00:00
Fam Zheng
da86e7d670
add knowledge-base-search api
2025-11-04 21:55:53 +00:00
Fam Zheng
76655eb4b1
deploy prod with registry.cn-shenzhen.aliyuncs.com registry
2025-11-04 21:32:31 +00:00
Fam Zheng
b5b62d3b4d
deploy: more readable env type
2025-11-03 07:22:37 +08:00
Fam Zheng
b9e2a80636
update deploy script
2025-11-03 07:20:32 +08:00