"git@developer.sourcefind.cn:OpenDAS/ktransformers.git" did not exist on "add415124f8c6814763125a0d98411bf61222e30"
Fixes torch jit tracing for LayoutLMv2 model (re-open) (#18313)
* Fixes torch jit tracing for LayoutLMv2 model. Pytorch seems to reuse memory for input_shape which caused a mismatch in shapes later in the forward pass. * Fixed code quality * avoid unneeded allocation of vector for shape
Showing
Please register or sign in to comment