Skip to content
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

new APIs for ORT-genai #725

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

new APIs for ORT-genai #725

wants to merge 1 commit into from

Conversation

jslhcl
Copy link
Contributor

@jslhcl jslhcl commented May 23, 2024

Add new APIs for ORT-genai project

@jslhcl jslhcl requested review from wenbingl and souptc May 23, 2024 15:24
@jslhcl jslhcl requested a review from a team as a code owner May 23, 2024 15:24
@@ -29,6 +30,7 @@ class CUDAKernelContext : public KernelContext {
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
Member

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