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

[Docs] Update README.md and require cuda-python>=11.6.1 #67

Merged
merged 1 commit into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Hidet: A compilation-based deep learning framework
[**Documentation**](http://docs.hidet.org/)

![GitHub](https://img.shields.io/github/license/hidet-org/hidet)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/hidet-org/hidet/tests.yaml)


Hidet is an open-source DNN inference framework based on compilation.
It supports end-to-end compilation of DNN models from PyTorch and ONNX to efficient cuda kernels.
A series of graph-level and operator-level optimizations are applied to optimize the performance.
Expand Down
2 changes: 1 addition & 1 deletion python/hidet/cuda/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __del__(self, is_shutting_down=exiting.is_exiting):
def instantiate(self) -> cudaGraphExec_t:
if self.captured_graph is None:
raise RuntimeError("cuda graph has not been captured yet")
err, graph_exec = cudart.cudaGraphInstantiate(self.captured_graph, 0)
err, graph_exec = cudart.cudaGraphInstantiateWithFlags(self.captured_graph, 0)
if err != 0:
raise RuntimeError("cudaGraphInstantiate failed with error: {}".format(err.name))
return graph_exec
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"astunparse",
"click",
"packaging",
"cuda-python",
"cuda-python>=11.6.1",
],
platforms=["linux"],
entry_points={
Expand Down