NVIDIA / cuda-python

CUDA Python Low-level Bindings
https://nvidia.github.io/cuda-python/
Other
809 stars 63 forks source link

The tutorial in Overview page shows unexpected error #65

Open leofang opened 3 weeks ago

leofang commented 3 weeks ago

See below. My guess is during doc build an error was raised when processing the code block. 截圖 2024-06-11 上午9 45 30

leofang commented 3 weeks ago

@vzhurba01 could you take a look when you get a chance?

vzhurba01 commented 2 days ago

The samples on these pages get automatically ran for validation when the doc is built. The tutorial here had assumed a compute capability that didn't match the local device.

The overview page is now updated to query for the correct compute capability, and tutorial explanations are updated to reflect this.

leofang commented 2 hours ago

Thanks, @vzhurba01! However, a new error appears as shown below. Is it because we're building the docs in the public, which does not have any GPU support (the error happens as early as cuInit(0))?

截圖 2024-07-03 下午11 24 32