Pavel Minaev
Pavel Minaev
It doesn't look like it's even trying to use your GPU, so your CUDA setup might not be working. Make sure that you did everything that needs to be done...
I was just looking at this recently, and so far as I can tell, the implementation of stopping strings via `_SentinelTokenStoppingCriteria` makes "stopping strings" misnomer, because the implementation actually matches...
If you're using `debugpy.listen()` or its CLI equivalent, you need to attach using remote debugging as described e.g. [https://learn.microsoft.com/en-us/visualstudio/python/debugging-python-code-on-remote-linux-machines?view=vs-2022](here) - just connect to localhost. If you're attaching to a local...
This is the bit that really throws me off: > AttributeError: module 'debugpy.common.json' has no attribute 'repr' That's just a global function in debugpy/common/json.py, not conditionally defined or anything. The...
I think it's complaining about the version installed in whatever environment that's active in the Python Environments window (which wouldn't necessarily be the same as the one you're using to...
My apologies for a belated response - yes, it would only get picked up when VS is restarted. If that wasn't the problem, then perhaps you were setting the entries...
Without `import threading`, the warning printed to console is expected. Note that it must be imported *before* you attach (i.e. before `input()`)!. The error message box you sometimes get with...
C++ has something called launch.vs.json, which is roughly equivalent to launch.json in VSCode: https://learn.microsoft.com/en-us/cpp/build/launch-vs-schema-reference-cpp?view=msvc-170 And we actually have a separate issue asking for it to be supported for Python: https://github.com/microsoft/PTVS/issues/7269...
I doubt we'd be able to reuse the actual code, since C++ project system is very different from ours. But we can reuse their spec (i.e. where to look for...
Since `launch.vs.json` would do more than just fix this issue, I think it would be best to track it separately - #7434