Skip to content

Conversation

@jslhcl
Copy link
Contributor

@jslhcl jslhcl commented May 23, 2024

Add new APIs for ORT-genai project

@jslhcl jslhcl requested review from souptc and wenbingl May 23, 2024 15:24
@jslhcl jslhcl requested a review from a team as a code owner May 23, 2024 15:24
virtual void* GetCudaStream() const = 0;
virtual void* GetCublasHandle() const = 0;
virtual int GetCudaDeviceId() const = 0;
virtual void* GetScratchBufferUnderMultiStream(const OrtMemoryInfo* , size_t ) { return nullptr; }
Copy link
Contributor

Choose a reason for hiding this comment

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

I can you cannot use ORT type here since these classes will be used in eager mode which doesn't depend on ORT

Copy link
Member

Choose a reason for hiding this comment

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

yes, we need to decouple it from ORT types.

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.

3 participants