Skip to content

Jm/hotfix#26

Merged
khh0303 merged 7 commits into
release/v1.2.0from
jm/hotfix
Jul 8, 2026
Merged

Jm/hotfix#26
khh0303 merged 7 commits into
release/v1.2.0from
jm/hotfix

Conversation

@parkjinman98

Copy link
Copy Markdown
Collaborator

No description provided.

- Introduced `convert_img_to_tensor.py` for converting images to preprocessed tensors for calibration.
- Updated Korean and English README files to include instructions for using the new tensor conversion script.
- Modified `model_compile.py` and other compilation scripts to standardize target device argument handling with choices for `regulus-ra`, `regulus-rb`, and `aries-rb`.
- Enhanced documentation for clarity on model preparation, calibration dataset preparation, and compilation steps.
- Refine language and formatting in the README files for oriented bounding boxes, pose estimation, speech-to-text, and vision language model compilation.
- Standardize code block formatting for commands across all tutorials.
- Clarify prerequisites and steps for model compilation processes.
- Enhance explanations of calibration data generation and model compilation stages.
- Update target device specifications and notes regarding REGULUS support.
- Refine instructions for running inference with Whisper STT model on Mobilint NPU hardware.
- Clarify prerequisites and installation steps for required packages.
- Enhance model preparation and inference execution sections for better clarity.
- Standardize command line arguments and expected outputs across tutorials.
- Update Korean and English README files for consistency and improved readability.
@parkjinman98
parkjinman98 requested a review from khh0303 July 7, 2026 09:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 165c621d78

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread compilation/README.md Outdated
Comment thread runtime/python/vlm/README.md Outdated
Comment thread compilation/face_detection/model_compile.py Outdated
Comment thread compilation/face_detection/README.md Outdated
Comment thread runtime/cpp/face_detection/README.md
… from Qwen2 to Qwen3 in VLM runtime and compilation documentation
@parkjinman98

Copy link
Copy Markdown
Collaborator Author

@mobilint-review Review this PR.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

🤖 Received @mobilint-review. The self-hosted Codex agent is responding now.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex review

Requested by @parkjinman98.

Verdict

I found several consistency issues where newly added argparse choices allow regulus-ra for workflows that the PR documentation itself says are unsupported on older REGULUS hardware. These should be tightened before merging so the scripts fail early with the same guidance as the tutorials.

Suggested next steps

  • Align each script's --target-device choices with the support matrix documented in the adjacent README.
  • Re-check the English and Korean README counterparts after the parser changes so the supported device tables remain synchronized.

Trigger: issue_comment
Source: #26 (comment)

Comment thread compilation/bert/compile_mblt.py Outdated
Comment thread compilation/bert/compile_mxq.py Outdated
Comment thread compilation/llm/generate_mxq.py
Comment thread compilation/llm/generate_mxq_4bit.py Outdated
Comment thread compilation/oriented_bounding_boxes/model_compile.py Outdated
@parkjinman98

Copy link
Copy Markdown
Collaborator Author

@mobilint-review Review this PR.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

🤖 Received @mobilint-review. The self-hosted Codex agent is responding now.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex review

Requested by @parkjinman98.

Verdict

Reviewed PR #26. I found one actionable issue: the new optional tensor-calibration documentation describes a path that the checked-in model_compile.py scripts do not currently support as documented.

Suggested next steps

  • Add a model_compile.py option that disables preprocessing_config and Uint8InputConfig when --calib-data-path points to prepared tensors, or remove the CLI-style tensor path guidance.
  • Apply the same correction across the matching English and Korean tutorial pages that added Step 2-1/3-1 tensor calibration sections.

Trigger: issue_comment
Source: #26 (comment)

- `--save-path`: Path to save the MXQ model (onnx -> mxq output)
- `--mblt-path`: Path to save the MBLT intermediate graph (onnx -> mblt output)
- `--target-device` (required): Target NPU. See the table below. The inference scheme is derived automatically (ARIES = `all`, REGULUS = `single`).
If you already prepared `.npy` tensor files, you can use that directory as `calib_data_path` instead of supplying raw image files and a preprocessing pipeline.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prepared tensor path is not wired into model_compile.py

This new optional section says users can point calib_data_path at preprocessed .npy tensors instead of raw images and a preprocessing pipeline, but the actual model_compile.py still always passes preprocessing_config=preprocessing_config and uint8_input_config=Uint8InputConfig(...) into mxq_compile. That means following this guidance with the generated tensor directory either still applies the image preprocessing path or fails depending on how qbcompiler handles .npy input. Please add a real script mode/flag for tensor calibration, or mark this as an API-only code example and not something supported by the documented CLI. The same pattern appears in the other newly added tensor-calibration sections.

@khh0303
khh0303 merged commit 5b69698 into release/v1.2.0 Jul 8, 2026
@parkjinman98
parkjinman98 deleted the jm/hotfix branch July 8, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants