Skip to content

Conversation

@Chapaman
Copy link
Contributor

@Chapaman Chapaman commented Oct 27, 2025

closes #679

device used to default to the cpu. Now it imports from nx

@polvalente
Copy link
Contributor

Thanks! I gotta validate this in a multidevice environment, so lets hold off on merging for now

Comment on lines 164 to 166
```elixir
Nx.reshape(tensor, {1, 4}, names: [:batches, :values])
Nx.reshape(tensor, {1, 6}, names: [:batches, :values])
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a stray change. Can you open a separate PR with this?

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

Successfully merging this pull request may close these issues.

Allocate intermediate tensors in the same device as the input tensor

2 participants