-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add property and version modules #109
Conversation
rahulchaphalkar
commented
May 17, 2024
- Add property enum
- Add version module
Co-authored-by: Bradley Odell <btodell@hotmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It occurs to me that we should link to the documentation for these properties in case someone is interested in knowing what they actually do.
PropertyKey::RangeForAsyncInferRequests => "RANGE_FOR_ASYNC_INFER_REQUESTS", | ||
PropertyKey::RangeForStreams => "RANGE_FOR_STREAMS", | ||
PropertyKey::DeviceFullName => "FULL_DEVICE_NAME", | ||
PropertyKey::DeviceCapabilities => "OPTIMIZATION_CAPABILITIES", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PropertyKey::DeviceCapabilities => "OPTIMIZATION_CAPABILITIES", | |
PropertyKey::DeviceCapabilities => "DEVICE_CAPABILITIES", |
Typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is consistent with property keys where these naming discrepancies between device
<->optimization
, model
<->network
exist
RwPropertyKey::HintPerformanceMode => "PERFORMANCE_HINT", | ||
RwPropertyKey::HintSchedulingCoreType => "SCHEDULING_CORE_TYPE", | ||
RwPropertyKey::HintInferencePrecision => "INFERENCE_PRECISION_HINT", | ||
RwPropertyKey::HintNumRequests => "PERFORMANCE_HINT_NUM_REQUESTS", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here?