Skip to content

Commit 0e6d43b

Browse files
committed
update CHANGELOG.md
1 parent 1e14955 commit 0e6d43b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# Changelog
23

34
All notable changes to this project will be documented in this file.
@@ -8,7 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
89
## [1.1.4] - YYYY-MM-DD
910

1011
### Added
11-
12+
- Support to tie weights after moving model to TPU via `on_post_move_to_device` hook
1213

1314
### Changed
1415

pytorch_lightning/core/decorators.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ def inner_f(self, *args, **kwargs):
7676
post_param_count = len(list(self.parameters()))
7777

7878
if not pre_param_count == post_param_count:
79-
import os
80-
print(os.environ.get('LOCAL_RANK'))
8179
rank_zero_warn('The model parameters do not match after moving to the target device. '
8280
'If your model employs weight sharing on TPU,'
8381
'please tie your weights using the `on_post_move_to_device` model hook.')

0 commit comments

Comments
 (0)