"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "494e96d8d61277cd7509e5f90aa14e6ac604063a"
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