Skip to content

Add backend.prepare Handle Large Models#1074

Open
woojh3690 wants to merge 1 commit intoonnx:mainfrom
woojh3690:main
Open

Add backend.prepare Handle Large Models#1074
woojh3690 wants to merge 1 commit intoonnx:mainfrom
woojh3690:main

Conversation

@woojh3690
Copy link

#962 Introduce the capability to load large ONNX model files (>2GB) by accepting file paths directly. This update checks if the 'model' parameter is a string or path-like object and uses the 'load' function to handle the file appropriately.

Introduce the capability to load large ONNX model files (>2GB) by
accepting file paths directly. This update checks if the 'model'
parameter is a string or path-like object and uses the 'load' function
to handle the file appropriately.

Signed-off-by: woojh3690 <woojh3690@gmail.com>
@woojh3690 woojh3690 marked this pull request as draft March 28, 2024 08:28
@woojh3690 woojh3690 marked this pull request as ready for review March 28, 2024 08:29
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.

1 participant