Skip to content

Commit 496f67c

Browse files
Comment out tflop calc
1 parent 846e176 commit 496f67c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/UnitTests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737

3838
- name: Print dependencies
3939
run: |
40-
pip uninstall -y transformer-engine transformer-engine-jax
41-
pip install -U transformer-engine[pytorch,jax]
40+
# pip uninstall -y transformer-engine transformer-engine-jax
41+
# pip install -U transformer-engine[pytorch,jax]
4242
pip freeze
4343
4444
- name: Run MaxDiffusion Training

src/maxdiffusion/trainers/base_stable_diffusion_trainer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def start_training(self):
161161
params["scheduler"] = noise_scheduler_state
162162

163163
# Calculate tflops
164-
per_device_tflops = self.calculate_tflops(pipeline, params)
165-
self.per_device_tflops = per_device_tflops
164+
# per_device_tflops = self.calculate_tflops(pipeline, params)
165+
# self.per_device_tflops = per_device_tflops
166166

167167
# Load dataset
168168
data_iterator = self._time_and_log_call(self.load_dataset, pipeline, params, train_states)

0 commit comments

Comments
 (0)