Skip to content
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

Fix shared weights for IWeightedSymmetricTPDispatcher #63

Merged
merged 7 commits into from
Jan 13, 2025

Conversation

mariogeiger
Copy link
Collaborator

No description provided.

@@ -127,9 +148,16 @@ def test_precision_cuda_vs_fx(
if not torch.cuda.is_available():
pytest.skip("CUDA is not available")

if shared_op0 and batch_size == 0:
pytest.skip("shared_op0 requires batch_size > 0") # TODO: fix this
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@v0i0 uniform1d is not behaving properly when the first operand has batch 1 but the other ones have batch 0.

We would expect the output to be of batch size 0 if at least one input if of batch size 0.

@mariogeiger mariogeiger requested a review from borisfom January 13, 2025 22:40
@borisfom borisfom merged commit c433a86 into main Jan 13, 2025
11 checks passed
@mariogeiger mariogeiger deleted the fix-shared-weights branch January 13, 2025 22:49
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