Skip to content

Commit

Permalink
add f-string to mosaic memory space error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
arvoelke committed Jan 18, 2025
1 parent 034e967 commit 4173842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/_src/pallas/mosaic/lowering.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def _memory_space_to_tpu_memory_space(memory_space: MemorySpace | None
# Leave the memory space unchanged
return memory_space
case _:
raise ValueError("Invalid memory space: {memory_space}")
raise ValueError(f"Invalid memory space: {memory_space}")


def _memory_space_to_mosaic_attribute(memory_space: MemorySpace | None
Expand Down

0 comments on commit 4173842

Please sign in to comment.