Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

apaszke
Copy link
Contributor

@apaszke apaszke commented Feb 9, 2017

I'll improve the tests to include non-contiguous inputs and grad outputs soon.

test/test_nn.py Outdated

This comment was marked as off-topic.

Copy link
Member

@colesbury colesbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@apaszke apaszke merged commit d9dccfd into master Feb 9, 2017
@apaszke apaszke deleted the cudnn_fix branch February 9, 2017 23:26
mrshenli pushed a commit to mrshenli/pytorch that referenced this pull request Apr 11, 2020
Make jit tutorial consistently using 4 spaces as indent.
akashveramd pushed a commit to akashveramd/pytorch that referenced this pull request Apr 9, 2025
…methods (pytorch#708)

* Add basic fp8 definitions and prn-generator

* Format

* Add fp8<->fp32 type_convert

* Format

* Split type_convert and cast_to/from_f8

* Format

* Minor fix

* Minor fix

* Move fp8 utils to a separate header

* Add elementwise ops

* Add fp8_convert_sr

* Format

* Add element op

* Eliminate magic numbers

* Split f8_convert_sr in host and device

* Format

* Add some constexpr

* Add a datatype test

* Format

* Another format

* Add fp8<->fp16 tests

* Update type_converts

* Format

* Add fp16 casting functions

* Format

* Use seed as a runtime arg

* Use element location for PRNG

* Format

* Add fp8<->fp16 to PassThrough element op

* Clean up

* Merge host and device implementations

* Add comments on rounding modes

* Remove leftover code

* Put type_converts into a separate header

* Put random number gen to a separate header

* Rearrange f8_utils' namespaces

* Refactor type_convert.hpp

* Move f8_t definition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants