Skip to content

Make option for writing args - #18

Merged
YWHyuk merged 1 commit into
developfrom
compile
Jan 26, 2024
Merged

YWHyuk merged 1 commit into
developfrom
compile

Conversation

@wok1909

@wok1909 wok1909 commented Jan 17, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread extension_codecache.py
LOCK_TIMEOUT = 600
TORCHSIM_DUMP_PATH = os.environ.get('TORCHSIM_DUMP_PATH',
default = f"{tempfile.gettempdir()}/torchinductor_{getpass.getuser()}")
TORCHSIM_DUMP_FILE = 1 if os.environ.get('TORCHSIM_DUMP_FILE', default = "True") == "True" else 0

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not

int(os.environ.get('TORCHSIM_DUMP_FILE', default="True") == "True")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YWHyuk
YWHyuk merged commit 6a0ab69 into develop Jan 26, 2024
@YWHyuk
YWHyuk deleted the compile branch January 29, 2024 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants