mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-17 09:47:34 +03:00
* python3 shebang from #620 * Add changelog entry for python3 change
This commit is contained in:
parent
5e21a28230
commit
3c0c1e133b
@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
absolute and not relative. We assumed incorrectly that epsilon is absolute tolerance.
|
absolute and not relative. We assumed incorrectly that epsilon is absolute tolerance.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- Python scripts start with #!/usr/bin/env python3 instead of python
|
||||||
- Changed compile flags -Ofast to -O3 and remove --ffinite-math
|
- Changed compile flags -Ofast to -O3 and remove --ffinite-math
|
||||||
- Moved old graph groups to depracated folder
|
- Moved old graph groups to depracated folder
|
||||||
- Make cublas and cusparse handle inits lazy to save memory when unused
|
- Make cublas and cusparse handle inits lazy to save memory when unused
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
This script takes multiple Marian *.npz model files and outputs an elementwise average of the model,
|
This script takes multiple Marian *.npz model files and outputs an elementwise average of the model,
|
||||||
meant to do check-point averaging from:
|
meant to do check-point averaging from:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from __future__ import print_function, unicode_literals, division
|
from __future__ import print_function, unicode_literals, division
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user