Update __init__.py
This commit is contained in:
parent
d38cf5387c
commit
f024ce2821
1 changed files with 0 additions and 2 deletions
|
|
@ -53,8 +53,6 @@ if (major_torch < 2):
|
|||
elif (major_torch == 2) and (minor_torch < 2):
|
||||
# Disable expandable_segments
|
||||
del os.environ["PYTORCH_CUDA_ALLOC_CONF"]
|
||||
# Must reimport Pytorch!
|
||||
importlib.reload(torch)
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue