-
Notifications
You must be signed in to change notification settings - Fork 0
Sg/bamba bench #139
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
base: feat/ad_linear_attention
Are you sure you want to change the base?
Sg/bamba bench #139
Conversation
Signed-off-by: Chenghao Zhang <[email protected]>
Signed-off-by: Chenghao Zhang <[email protected]>
Signed-off-by: Chenghao Zhang <[email protected]>
Signed-off-by: Chenghao Zhang <[email protected]>
Signed-off-by: Chenghao Zhang <[email protected]>
Signed-off-by: Chenghao Zhang <[email protected]>
Signed-off-by: Chenghao Zhang <[email protected]>
Signed-off-by: Suyog Gupta <[email protected]>
if tnsr_device.numel() < tnsr_host.numel(): | ||
print("WARNING: tnsr_device.numel() < tnsr_like.numel()") | ||
print(f"{name=}, {tnsr_device.numel()=}, {tnsr_host.numel()=}") | ||
tnsr_device.resize_(tnsr_host.numel()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious where this is necessary?
if tnsr_device.numel() < tnsr_host.numel(): | ||
print("WARNING: tnsr_device.numel() < tnsr_like.numel()") | ||
print(f"{name=}, {tnsr_device.numel()=}, {tnsr_host.numel()=}") | ||
tnsr_device.resize_(tnsr_host.numel()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucaslie : FYI, this is the WAR I have to get resize functionality working again on the feature branch. Without this llama3.1 + cache_resize is broken
bench.yaml