Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Conversation

@vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Jul 24, 2024

Stack from ghstack (oldest at bottom):

Summary:

Old name: swap_linear_with_float8_linear
New name: convert_to_float8_training

Choosing a more generic name, with the following improvements from the
old name:

  1. doesn't mention module swaps, which is an implementation detail
  2. doesn't mention Float8Linear, which is an implementation detail
  3. clarifies that this is for training, not to be confused with
    inference APIs
  4. doesn't mention linear, which gives more freedom to add other
    modules later
find . -name '*.py' -print0 | xargs -0 sed -i 's/swap_linear_with_float8_linear/convert_to_float8_training/g'

Test Plan:

./test/test_everything.sh

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D60195665

Summary:

Old name: `swap_linear_with_float8_linear`
New name: `convert_to_float8_training`

Choosing a more generic name, with the following improvements from the
old name:
1. doesn't mention module swaps, which is an implementation detail
2. doesn't mention `Float8Linear`, which is an implementation detail
3. clarifies that this is for training, not to be confused with
   inference APIs
4. doesn't mention `linear`, which gives more freedom to add other
   modules later

```
find . -name '*.py' -print0 | xargs -0 sed -i 's/swap_linear_with_float8_linear/convert_to_float8_training/g'
```

Test Plan:

```
./test/test_everything.sh
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Jul 24, 2024
Summary:

Old name: `swap_linear_with_float8_linear`
New name: `convert_to_float8_training`

Choosing a more generic name, with the following improvements from the
old name:
1. doesn't mention module swaps, which is an implementation detail
2. doesn't mention `Float8Linear`, which is an implementation detail
3. clarifies that this is for training, not to be confused with
   inference APIs
4. doesn't mention `linear`, which gives more freedom to add other
   modules later

```
find . -name '*.py' -print0 | xargs -0 sed -i 's/swap_linear_with_float8_linear/convert_to_float8_training/g'
```

Test Plan:

```
./test/test_everything.sh
```

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 10a767f
Pull Request resolved: #329
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 24, 2024
…aining`"

Summary:

Old name: `swap_linear_with_float8_linear`
New name: `convert_to_float8_training`

Choosing a more generic name, with the following improvements from the
old name:
1. doesn't mention module swaps, which is an implementation detail
2. doesn't mention `Float8Linear`, which is an implementation detail
3. clarifies that this is for training, not to be confused with
   inference APIs
4. doesn't mention `linear`, which gives more freedom to add other
   modules later

```
find . -name '*.py' -print0 | xargs -0 sed -i 's/swap_linear_with_float8_linear/convert_to_float8_training/g'
```

Test Plan:

```
./test/test_everything.sh
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Jul 24, 2024
Summary:

Old name: `swap_linear_with_float8_linear`
New name: `convert_to_float8_training`

Choosing a more generic name, with the following improvements from the
old name:
1. doesn't mention module swaps, which is an implementation detail
2. doesn't mention `Float8Linear`, which is an implementation detail
3. clarifies that this is for training, not to be confused with
   inference APIs
4. doesn't mention `linear`, which gives more freedom to add other
   modules later

```
find . -name '*.py' -print0 | xargs -0 sed -i 's/swap_linear_with_float8_linear/convert_to_float8_training/g'
```

Test Plan:

```
./test/test_everything.sh
```

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 1ca4adf
Pull Request resolved: #329
@vkuzo
Copy link
Contributor Author

vkuzo commented Jul 24, 2024

@vkuzo has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in da487a3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants