Skip to content

Commit

Permalink
fix check for sd2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCheema committed Jan 22, 2025
1 parent 9ba8bbb commit bbb6856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def configure_uvloop():
buffered_token_output = {}
def update_topology_viz(req_id, tokens, __):
if not topology_viz: return
if inference_engine.shard.model_id == 'stable-diffusion-2-1-base': return
if inference_engine.shard and inference_engine.shard.model_id == 'stable-diffusion-2-1-base': return

if req_id in buffered_token_output: buffered_token_output[req_id].extend(tokens)
else: buffered_token_output[req_id] = tokens
Expand Down

0 comments on commit bbb6856

Please sign in to comment.