Skip to content

Update CVML playbook to match official SDK documentation#236

Merged
sreeram-11 merged 11 commits into
mainfrom
cvml-sdk-updates
May 29, 2026
Merged

Update CVML playbook to match official SDK documentation#236
sreeram-11 merged 11 commits into
mainfrom
cvml-sdk-updates

Conversation

@anna-amd-com

Copy link
Copy Markdown
Collaborator
  • Replace git clone method with AMD Account Portal download
  • Add AMD_CVML_SDK_ROOT environment variable setup for both platforms
  • Update Linux NPU driver link from /1.6.1/ to /latest/
  • Fix Ubuntu 22.04 MESA driver installation sequence
  • Add complete Ubuntu 24.04 dependency installation section
  • Add OpenCV runtime library paths for Windows and Linux
  • Add GPU fallback note when NPU driver is not installed

- Replace git clone method with AMD Account Portal download
- Add AMD_CVML_SDK_ROOT environment variable setup for both platforms
- Update Linux NPU driver link from /1.6.1/ to /latest/
- Fix Ubuntu 22.04 MESA driver installation sequence
- Add complete Ubuntu 24.04 dependency installation section
- Add OpenCV runtime library paths for Windows and Linux
- Add GPU fallback note when NPU driver is not installed

These changes align the playbook with the official CVML SDK documentation
and ensure users have all necessary runtime dependencies configured.
@danielholanda

Copy link
Copy Markdown
Collaborator

@adamlam2-amd Can you please review those changes?

Comment thread playbooks/supplemental/cvml/README.md Outdated
@danielholanda

Copy link
Copy Markdown
Collaborator

@sreeram-11 the CVML tests merged. Anything else needed to add to the tests based on this PR?

Comment thread playbooks/supplemental/cvml/README.md Outdated
Comment thread playbooks/supplemental/cvml/README.md Outdated
@sreeram-11

sreeram-11 commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Thanks @anna-amd-com for this PR!

Other than the comments I have added, I was able to run CVML on both Windows and Linux (Ubuntu 24.04).

Anna Bolshich and others added 4 commits May 26, 2026 10:29
- Split Additional Dependencies into per-OS blocks; add concrete install
  links for Windows OpenCV, CMake, and Visual Studio 2022
- Add full Linux OpenCV 4.11 build-from-source steps matching the flags
  AMD validates in the SDK README
- Clarify NPU driver version (32.0.203.280 or newer; both listed versions
  are compatible) and update CVML Library download URL
- Fix Windows OPENCV_INSTALL_ROOT to point to the `build` subfolder; fix
  PATH / LD_LIBRARY_PATH ordering to prepend for deterministic resolution
- Add cd-to-executable-folder step before running the face detection sample
Without CMAKE_PREFIX_PATH, find_package(OpenCV) on Linux picks up the
system OpenCV 4.6 from apt instead of the 4.11 install pointed to by
OPENCV_INSTALL_ROOT.
Guide users to create an AMD account before downloading the Ryzen AI
CVML Library from the AMD Account Portal.
Comment thread playbooks/supplemental/cvml/README.md
Comment thread playbooks/supplemental/cvml/README.md Outdated
Comment thread playbooks/supplemental/cvml/README.md Outdated

@danielholanda danielholanda left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@sreeram-11 Now that #307 has been approved, please take a look and help to merge this.

sreeram-11 added a commit that referenced this pull request May 28, 2026
* Updating CI tests to reflect instruction updates in PR #236

* Added missing test and os end block

* Adding a temp check to see resource limits for GHA

* Updated opencv.md, removed linux-resource test, added CMAKE_PREFIX_PATH

* Removing cleanup with trap so that the working dir is not deleted after test. The working dir is deleted before running the next test anyways.

* Removing opencv.md

---------

Co-authored-by: adamlam2-amd <adamlam2@amd.com>
Co-authored-by: Sreeram <s.sreeram.amd@gmail.com>
- Changed `OPENCV_INSTALL_ROOT` to "C:\Users\user\opencv\build"
- Added `CMAKE_PREFIX_PATH` flag
- Simplified the OpenCV runtime PATH section of the test
@sreeram-11 sreeram-11 merged commit 1ab98cb into main May 29, 2026
7 checks passed
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.

5 participants