Skip to content

Commit

Permalink
fix: replace regexp to support unicode chars (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
eukub authored and mashb1t committed Feb 10, 2024
1 parent 98ba1d5 commit c32b9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/launch_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
logging.getLogger("torch.distributed.nn").setLevel(logging.ERROR) # sshh...
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())

re_requirement = re.compile(r"\s*([-_a-zA-Z0-9]+)\s*(?:==\s*([-+_.a-zA-Z0-9]+))?\s*")
re_requirement = re.compile(r"\s*([-\w]+)\s*(?:==\s*([-+.\w]+))?\s*")

python = sys.executable
default_command_live = (os.environ.get('LAUNCH_LIVE_OUTPUT') == "1")
Expand Down

0 comments on commit c32b9bd

Please sign in to comment.