这是indexloc提供的服务,不要输入任何密码
Skip to content

[xla] ShapedBuffer: Don't compute on_host_shape if it's the same as device shape #97323

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 1 commit into from
Jul 22, 2025

Conversation

copybara-service[bot]
Copy link

[xla] ShapedBuffer: Don't compute on_host_shape if it's the same as device shape

name                  cpu/op        cpu/op      vs base
BM_xla/process_time   39.45µ ± 3%   38.63µ ± 3%  ~ (p=0.068 n=20)

name                  time/op       time/op     vs base
BM_xla/process_time   19.16µ ± 2%   18.54µ ± 2%  -3.28% (p=0.002 n=20)

name                  INSTRUCTIONS/op  INSTRUCTIONS/op  vs base
BM_xla/process_time   211.3k ± 4%       203.9k ± 2%  -3.50% (p=0.010 n=20)

…evice shape

```
name                  cpu/op        cpu/op      vs base
BM_xla/process_time   39.45µ ± 3%   38.63µ ± 3%  ~ (p=0.068 n=20)

name                  time/op       time/op     vs base
BM_xla/process_time   19.16µ ± 2%   18.54µ ± 2%  -3.28% (p=0.002 n=20)

name                  INSTRUCTIONS/op  INSTRUCTIONS/op  vs base
BM_xla/process_time   211.3k ± 4%       203.9k ± 2%  -3.50% (p=0.010 n=20)
```

PiperOrigin-RevId: 785710705
@copybara-service copybara-service bot force-pushed the exported_pr_785562013 branch from 2c22738 to 87edd1d Compare July 22, 2025 05:51
@copybara-service copybara-service bot merged commit 87edd1d into master Jul 22, 2025
@copybara-service copybara-service bot deleted the exported_pr_785562013 branch July 22, 2025 05:51
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.

1 participant