Skip to content

out kwarg in matmul_4bit() is not working  #1235

Description

@chenqianfzh

System Info

Linux 20.04

Reproduction

output is defined as a tensor. The following works as expected:
output = matmul_4bit(a, b)

but the following does not, the elements in output are not changed.
matmul_4bit(a, b, out=output)

Expected behavior

matmul_4bit(a, b, out=output) is expected to have the output values set. It is a preferred way as it saves extra memory copy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething isn't workingContributions WelcomeWe welcome contributions to fix this issue!

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions