Skip to content

Commit

Permalink
Add annotations to torchrec/distributed/quant_embeddingbag.py (#1647)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #1647

Reviewed By: azad-meta

Differential Revision: D52957246

fbshipit-source-id: e202943dda3538cc02374f1e27562cb991cf8c16
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Jan 22, 2024
1 parent f2614f9 commit ece441d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrec/distributed/quant_embeddingbag.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
from torch._dynamo import is_compiling as is_torchdynamo_compiling
except Exception:

def is_torchdynamo_compiling(): # type: ignore[misc]
def is_torchdynamo_compiling() -> bool: # type: ignore[misc]
return False


Expand Down

0 comments on commit ece441d

Please sign in to comment.