-
Notifications
You must be signed in to change notification settings - Fork 55
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
Is nvFuser changing the global locale
?
#62
Comments
Do you know how to get this encoding in C++? |
From the documentation, it looks like if you use a default constructor on
|
This definitely appears to be coming from codegen as I tried asserting around the
|
This problem seems very specific to Python 3.10 and how the internal function https://github.com/python/cpython/blob/3.10/Lib/locale.py#L636-L647
I think the C code is hitting this case but I am not sure why.
|
This is the test I used where I print the possible places to get the locale settings. Only
Output:
|
I think this is Python 3.10 problem and not an nvFuser problem, so I am closing! |
I am observing this issue with Python 3.8 as well @kevinstephano |
The problem is actually being caused by NVRTC. I am not sure what NVRTC is setting as the result is that: I wrapped our specific call to
I thought the simple fix would be to do I discovered this as I noticed from stepping pdb through Python 3.8 that the library code in Python 3.8 was calling This issue with NVRTC and There is also an associated NvBug 3833924 |
I am going to close this issue, again, as there isn't anything we can do besides monitor the NVRTC bug. |
I thought it was TorchScript specific issue and not nvFuser but then I tried torch.compile with Inductor and nvprims_nvfuser. Only nvFuser failed.
This is the script I have been playing with:
The text was updated successfully, but these errors were encountered: