Skip to content

Commit

Permalink
Remove unused logger message (pytorch#1834)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#1834

- Remove unused logger message on failed import

Reviewed By: sryap

Differential Revision: D46809368

fbshipit-source-id: 898e7cb9fc1f90396b59ce1ff03980d7af22177f
  • Loading branch information
q10 authored and facebook-github-bot committed Jun 17, 2023
1 parent b41b995 commit 47691ce
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
torch.ops.load_library(
"//deeplearning/fbgemm/fbgemm_gpu/codegen:embedding_ops_cpu_inference"
)
except Exception as e:
logging.error(f"Cannot open cpu ops due to {str(e)}.")
except Exception:
pass


Expand Down

0 comments on commit 47691ce

Please sign in to comment.