Skip to content

[CHORE] Repo-wide style cleanup #71

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

Merged
merged 3 commits into from
Jun 4, 2025
Merged

[CHORE] Repo-wide style cleanup #71

merged 3 commits into from
Jun 4, 2025

Conversation

mark14wu
Copy link
Collaborator

@mark14wu mark14wu commented Jun 4, 2025

These changes were generated automatically by pre-commit run --all-files.
The commit is a style-and-maintenance sweep: it reformats code, reorders imports, and tidies public exports to improve readability and consistency. No runtime behaviour or functional logic is affected.

@mark14wu mark14wu merged commit c14d958 into keren/v2.0 Jun 4, 2025
@mark14wu mark14wu deleted the code_cleaning branch June 4, 2025 19:43
a = torch.randn(size, dtype=torch.float32, device='cuda')
b = torch.randn(size, dtype=torch.float32, device='cuda')
output = torch.empty_like(a, device='cuda')
a = torch.randn(size, dtype=torch.float32, device="cuda")
Copy link
Member

Choose a reason for hiding this comment

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

Those devices shouldn't be set to cuda

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If TRITON_INTERPRET=1, it will be fine to set devices to cuda.
However triton-viz cannot work with TRITON_INTERPRET=1 now.

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.

2 participants