[Bug] Allow use kwargs to specify dtype of to method
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 492
- Forks
- 30
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 2
Description
reg = self.register_tensor(...)
reg_fp32 = reg.to(dtype=float32)
will trigger an error since we use kwargs to specify the dtype.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the register_tensor example and tracing the returned object's to method, focusing on how keyword arguments are handled. Done means reg.to(dtype=float32) accepts the dtype keyword without raising the reported error; the payload names no files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100