Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: device in window_scatter_function now uses from_nx #1640

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

Open
Chapaman wants to merge 5 commits into elixir-nx:main
base: main
Choose a base branch
Loading
from Chapaman:issue-679

Conversation

@Chapaman
Copy link
Contributor

@Chapaman Chapaman commented Oct 27, 2025
edited
Loading

closes #679

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

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

@polvalente polvalente Oct 27, 2025

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

Reviewers

@polvalente polvalente polvalente left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Allocate intermediate tensors in the same device as the input tensor

AltStyle によって変換されたページ (->オリジナル) /