pytorch
4b1096c6 - Fix predict net issue with LRU hash eviction

Commit
5 years ago
Fix predict net issue with LRU hash eviction Summary: We are seeing error "[enforce fail at BlackBoxPredictor.cpp:134] ! !parameter_workspace->HasBlob(out). Net REMOTE of type predict_net writes to blob cat/NGRAM_QRT_VERSIONS_x_EVENT_TYPE_AUTO_FIRST_X/Pool_Option_0/Repeat_0/sparse_lookup/w which exists in the parameter workspace" in online testing for calibration models. I'm suspecting it's due to the op CopyRowsToTensorOp are being used in prediction Test Plan: f143080108 offline predict net does not contain CopyRowsToTensorNet, which looks right. Waiting for Olga to test online behavior dper2 canary: https://fburl.com/fblearner/sv3o3yj1 Differential Revision: D17741823 fbshipit-source-id: 19721b632b5ea9ebfa1ef9ae0e99d3a10c926287
Author
Alyssa Wang
Parents
Loading