Commit 424994a
Add try/except OSError guard for torchrec/quant/embedding_modules.py torch.ops.load_library call.
Summary: Everywhere else (torchrec/sparse/jagged_tensor.py, torchrec/distributed/comm_ops.py, torchrec/distributed/dist_data.py) we have a try except guard.
Reviewed By: colin2328
Differential Revision: D32814873
fbshipit-source-id: 467a0c5ed13b1ae059f8c42aa1e33549da785ef31 parent a7d595f commit 424994a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments