8000 Add HELION_USE_DEFAULT_CONFIG env var to force use default config by yf225 · Pull Request #37 · pytorch-labs/helion · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add HELION_USE_DE 8000 FAULT_CONFIG env var to force use default config #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions helion/runtime/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import dataclasses
import logging
import os
import sys
import threading
from typing import TYPE_CHECKING
Expand Down Expand Up @@ -88,6 +89,8 @@ def __init__(self, **settings: object) -> None:
settings = {**defaults.to_dict(), **settings}
# pyre-ignore[6]
super().__init__(**settings)
if os.getenv("HELION_USE_DEFAULT_CONFIG") == "1":
self.use_default_config: bool = True

def to_dict(self) -> dict[str, object]:
"""
Expand Down
Loading
0