-
Notifications
You must be signed in to change notification settings - Fork 222
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
CUDA code does not return when running under VSC Debugging mode #2558
Comments
Looks like a VSCode Debugger issue then? Or why do you think CUDA.jl is to blame? |
because the VSC debugger works fine with all the other languages I have
tried, It only fails with Julia.
…On Tue, Nov 19, 2024 at 12:01 PM Tim Besard ***@***.***> wrote:
Looks like a VSCode Debugger issue then? Or why do you think CUDA.jl is to
blame?
—
Reply to this email directly, view it on GitHub
<#2558 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGK34LD6X6LIOKOSMSVNY32BNVF5AVCNFSM6AAAAABSCJSX7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGI3DKNBTGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Again, that doesn't point to CUDA.jl. If anything, this is likely just the overhead of interpretation of very compute-intensive code that has been written with compilation in mind. I suggest you open a discussion on Discourse, or file an issue on the VSCode Julia integration repository. Feel free to re-open or file a new issue when you have a CUDA.jl reproducer. |
will do. Thank you for your comments.
…On Tue, Nov 19, 2024 at 1:19 PM Tim Besard ***@***.***> wrote:
Again, that doesn't point to CUDA.jl. If anything, this is likely just the
overhead of interpretation of very compute-intensive code that has been
written with compilation in mind. I suggest you open a discussion on
Discourse, or file an issue on the VSCode Julia integration repository.
Feel free to re-open or file a new issue when you have a CUDA.jl reproducer.
—
Reply to this email directly, view it on GitHub
<#2558 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGK34MU2YST2OTIRKTOPLD2BN6MDAVCNFSM6AAAAABSCJSX7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGQZTEOJXG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
BTW, Python, which is also interpretation-heavy, does not have that problem.
…On Tue, Nov 19, 2024 at 2:04 PM Juan Vargas ***@***.***> wrote:
will do. Thank you for your comments.
On Tue, Nov 19, 2024 at 1:19 PM Tim Besard ***@***.***>
wrote:
> Again, that doesn't point to CUDA.jl. If anything, this is likely just
> the overhead of interpretation of very compute-intensive code that has been
> written with compilation in mind. I suggest you open a discussion on
> Discourse, or file an issue on the VSCode Julia integration repository.
> Feel free to re-open or file a new issue when you have a CUDA.jl reproducer.
>
> —
> Reply to this email directly, view it on GitHub
> <#2558 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAGK34MU2YST2OTIRKTOPLD2BN6MDAVCNFSM6AAAAABSCJSX7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGQZTEOJXG4>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Ubuntu 24.04 LTS
VSC 1.95.3
Julia 1.11.1
CUDA 12.6
The code example given in the Flux documentation (NeuralNetInOneMinute) available at
https://fluxml.ai/Flux.jl/stable/guide/models/quickstart/
Works OK under VSC as long as the debugging option is NOT used.
If the debugging option is selected, the code never returns. The failure happens somewhere in this loop:
The text was updated successfully, but these errors were encountered: