Skip to content

Add init_with_env function for environment-based initialization#87

Closed
FindHao wants to merge 1 commit intomainfrom
findhao/add_another_init
Closed

Add init_with_env function for environment-based initialization#87
FindHao wants to merge 1 commit intomainfrom
findhao/add_another_init

Conversation

@FindHao
Copy link
Copy Markdown
Member

@FindHao FindHao commented Aug 27, 2025

Summary:
This commit introduces a new function, init_with_env, which initializes TritonParse using the environment variables TRITON_TRACE_FOLDER and TRITON_TRACE_LAUNCH. This function is intended for use specifically within OSS Triton's source code.

Changes:

  • Added init_with_env function to facilitate environment-based initialization.

Testing/Verification:

  1. Ensure the environment variables are set correctly.
  2. Call init_with_env and verify that it initializes with the expected parameters.

This enhancement improves the flexibility of the initialization process for users working with environment configurations.

Summary:
This commit introduces a new function, `init_with_env`, which initializes TritonParse using the environment variables `TRITON_TRACE_FOLDER` and `TRITON_TRACE_LAUNCH`. This function is intended for use specifically within OSS Triton's source code.

Changes:
- Added `init_with_env` function to facilitate environment-based initialization.

Testing/Verification:
1. Ensure the environment variables are set correctly.
2. Call `init_with_env` and verify that it initializes with the expected parameters.

This enhancement improves the flexibility of the initialization process for users working with environment configurations.
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 27, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D81160380.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@FindHao merged this pull request in fa5db13.

@FindHao FindHao deleted the findhao/add_another_init branch September 19, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants