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

cuda error #41

Open
joeliuz6 opened this issue Jul 19, 2024 · 0 comments
Open

cuda error #41

joeliuz6 opened this issue Jul 19, 2024 · 0 comments

Comments

@joeliuz6
Copy link

/home/zliu106/.local/lib/python3.9/site-packages/pytorch_influence_functions/influence_function.py:69: UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
y = torch.nn.functional.log_softmax(y)
Traceback (most recent call last):
File "/gpfs/fs1/home/zliu106/Documents/influence_function/influence.py", line 109, in
influences, harmful, helpful = ptif.calc_img_wise(config, model, trainloader, testloader)
File "/home/zliu106/.local/lib/python3.9/site-packages/pytorch_influence_functions/calc_influence_function.py", line 460, in calc_img_wise
influence, harmful, helpful, _ = calc_influence_single(
File "/home/zliu106/.local/lib/python3.9/site-packages/pytorch_influence_functions/calc_influence_function.py", line 315, in calc_influence_single
s_test_vec = calc_s_test_single(model, z_test, t_test, train_loader,
File "/home/zliu106/.local/lib/python3.9/site-packages/pytorch_influence_functions/calc_influence_function.py", line 93, in calc_s_test_single
s_test_vec_list.append(s_test(z_test, t_test, model, train_loader,
File "/home/zliu106/.local/lib/python3.9/site-packages/pytorch_influence_functions/influence_function.py", line 43, in s_test
x, t = x.cuda(), t.cuda()
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant