Add tensor.detach() back to update weight util (#8691)
This commit is contained in:
1 parent
ea93079b30
commit
4ca43b061c
2 files changed
+63
-65
No files matched your search
@@ -45,7 +45,7 @@ async def update_weights(
|
||||
(
|
||||
name,
|
||||
MultiprocessingSerializer.serialize(
|
||||
_preprocess_tensor_for_update_weights(tensor)
|
||||
_preprocess_tensor_for_update_weights(tensor.detach())
|
||||
),
|
||||
)
|
||||
for name, tensor in params_batch
|
||||
|
||||
Reference in new issue
Block a user