Skip to content

Commit

Permalink
style change for gelu workload naming
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Nov 28, 2023
1 parent 4d6746a commit 722f1c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def use_post_layer_norm(self) -> bool:
return False


class LibriSpeechConformerGELUWorkload(LibriSpeechConformerWorkload):
class LibriSpeechConformerGeluWorkload(LibriSpeechConformerWorkload):

@property
def use_gelu(self) -> bool:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def use_post_layer_norm(self) -> bool:
return False


class LibriSpeechConformerGELUWorkload(LibriSpeechConformerWorkload):
class LibriSpeechConformerGeluWorkload(LibriSpeechConformerWorkload):

@property
def use_gelu(self) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion algorithmic_efficiency/workloads/workloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
},
'librispeech_conformer_gelu': {
'workload_path': 'librispeech_conformer/librispeech',
'workload_class_name': 'LibriSpeechConformerGELUWorkload',
'workload_class_name': 'LibriSpeechConformerGeluWorkload',
},
'librispeech_deepspeech': {
'workload_path': 'librispeech_deepspeech/librispeech',
Expand Down
4 changes: 2 additions & 2 deletions tests/modeldiffs/librispeech_conformer_gelu/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

from algorithmic_efficiency import spec
from algorithmic_efficiency.workloads.librispeech_conformer.librispeech_jax.workload import \
LibriSpeechConformerGELUWorkload as JaxWorkload
LibriSpeechConformerGeluWorkload as JaxWorkload
from algorithmic_efficiency.workloads.librispeech_conformer.librispeech_pytorch.workload import \
LibriSpeechConformerGELUWorkload as PytWorkload
LibriSpeechConformerGeluWorkload as PytWorkload
from tests.modeldiffs.diff import out_diff


Expand Down

0 comments on commit 722f1c0

Please sign in to comment.