"vscode:/vscode.git/clone" did not exist on "4fd6432de6a40dcae6da8370bb773ccf32a8e5f7"
gpt-bigcode: avoid `zero_` to support Core ML (#24755)
gpt-bigcode: avoid `zeros_` to support Core ML. In-place `zeros_` is not supported by the Core ML conversion process. This PR replaces it with `zeros_like` so conversion can proceed. The change only affects a workaround for a PyTorch bug on the `cpu` device.
Showing
Please register or sign in to comment