Skip to content

Conversation

@m4ximuel
Copy link

@m4ximuel m4ximuel commented Jul 8, 2025

BaseSession의 provider 개선

  • "CPUExecutionProvider"가 항상 뒤에 붙던것을 Default providers 개념으로 변경
  • ort.get_device() GPU 구분을 한 조건문으로 통합
  • DEFAULT_GPU_PROVIDER_PRIORITY 도입으로 기본 사용할 provider를 성능순으로 지정
  • 튜플 방식을 사용하여 성능을 위한 파라미터를 기본 지정 가능하도록 설계

Improve BaseSession provider handling

  • Changed the behavior where "CPUExecutionProvider" was always appended to the end, introducing a Default providers concept instead
  • Unified GPU detection conditions from ort.get_device() into a single conditional statement
  • Introduced DEFAULT_GPU_PROVIDER_PRIORITY to specify default providers in order of performance priority
  • Designed to use tuple format allowing default parameters to be specified for performance optimization

@m4ximuel
Copy link
Author

sry, I'll test the development environment and commit again.

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