NVIDIA / NVIDIA/apex

RuntimeError: _cublasOpFromChar input should be 't', 'n' or 'c' but got `

Open
#674 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
1.5k
Avg merge
2d 4h
Merged PRs (30d)
3

Description

Hi,
I have this bug following, could you help me to fix that?

File "/home/shiz31/frame_interpolation/main.py", line 100, in main
scaled_loss.backward()
File "/home/shiz31/anaconda3/lib/python3.7/site-packages/torch/tensor.py", line 118, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/shiz31/anaconda3/lib/python3.7/site-packages/torch/autograd/init.py", line 93, in backward
allow_unreachable=True) # allow_unreachable flag
RuntimeError: _cublasOpFromChar input should be 't', 'n' or 'c' but got `

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the traceback entry point in main.py at line 100 and inspect the call through torch.Tensor.backward and torch.autograd.backward. Reproduce the failure in the reported Python 3.7 environment and determine the missing context needed to identify a fix; done means the reported RuntimeError no longer occurs and the relevant training path completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.