Skip to content

Commit

Permalink
provide a default value for compile so @build runs (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfrye authored Oct 3, 2024
1 parent 356c0bb commit 85665a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/stable_diffusion/flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
)
class Model:
compile: int = ( # see section on torch.compile below for details
modal.parameter()
modal.parameter(default=0)
)

def setup_model(self):
Expand Down

0 comments on commit 85665a6

Please sign in to comment.