Skip to content

Commit

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

Reviewed By: azad-meta

Differential Revision: D52957242

fbshipit-source-id: 44b4c12a490b8ed66e9e1d36c9b9c7eaf851f840
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Jan 22, 2024
1 parent bc5444b commit f2614f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrec/sparse/jagged_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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 f2614f9

Please sign in to comment.