MCPcopy Create free account
hub / github.com/Stability-AI/stable-audio-tools / setup

Method setup

pre_encode.py:71–74  ·  view source on GitHub ↗
(self, stage=None)

Source from the content-addressed store, hash-verified

69 details_path.write_text(json.dumps(details))
70
71 def setup(self, stage=None):
72 # runs on each device
73 process_dir = self.output_path / str(self.global_rank)
74 process_dir.mkdir(parents=True, exist_ok=True)
75
76 def validation_step(self, batch, batch_idx):
77 audio, metadata = batch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected