Skip to content

Conversation

@molly-smith
Copy link
Contributor

Fix RuntimeError: Boolean value of Tensor with more than one value is ambiguous. Related fix in DeepSpeed repo deepspeed/module_inject/replace_module.py.

@RezaYazdaniAminabadi
@awan-10

Fix RuntimeError: Boolean value of Tensor with more than one value is ambiguous. Related fix in DeepSpeed repo deepspeed/module_inject/replace_module.py.
@RezaYazdaniAminabadi RezaYazdaniAminabadi merged commit 50dddbf into deepspeedai:master Aug 31, 2022
hwchen2017 pushed a commit that referenced this pull request Jun 8, 2025
* test-gptj.py fix

Fix RuntimeError: Boolean value of Tensor with more than one value is ambiguous. Related fix in DeepSpeed repo deepspeed/module_inject/replace_module.py.

* Update test-gptj.py, change dtype to half
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