comfy-env 0.0.61__py3-none-any.whl → 0.0.62__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- comfy_env/pixi.py +4 -4
- {comfy_env-0.0.61.dist-info → comfy_env-0.0.62.dist-info}/METADATA +1 -1
- {comfy_env-0.0.61.dist-info → comfy_env-0.0.62.dist-info}/RECORD +6 -6
- {comfy_env-0.0.61.dist-info → comfy_env-0.0.62.dist-info}/WHEEL +0 -0
- {comfy_env-0.0.61.dist-info → comfy_env-0.0.62.dist-info}/entry_points.txt +0 -0
- {comfy_env-0.0.61.dist-info → comfy_env-0.0.62.dist-info}/licenses/LICENSE +0 -0
comfy_env/pixi.py
CHANGED
|
@@ -191,7 +191,7 @@ def _build_cuda_vars(env_config: IsolatedEnv) -> dict:
|
|
|
191
191
|
# Get CUDA/PyTorch versions from env_config (resolved from "auto" based on GPU arch)
|
|
192
192
|
# Pascal or below: CUDA 12.4, PyTorch 2.4.0
|
|
193
193
|
# Turing+: CUDA 12.8, PyTorch 2.8.0
|
|
194
|
-
cuda_version = env_config.
|
|
194
|
+
cuda_version = env_config.cuda or "12.8"
|
|
195
195
|
torch_version = env_config.pytorch_version or "2.8.0"
|
|
196
196
|
|
|
197
197
|
# Parse CUDA version
|
|
@@ -331,7 +331,7 @@ def create_pixi_toml(
|
|
|
331
331
|
|
|
332
332
|
# Channels - add pytorch channel, and nvidia if CUDA GPU detected
|
|
333
333
|
base_channels = conda.channels or ["conda-forge"]
|
|
334
|
-
if env_config.
|
|
334
|
+
if env_config.cuda:
|
|
335
335
|
# GPU detected - add pytorch and nvidia channels for CUDA support
|
|
336
336
|
channels = ["pytorch", "nvidia"] + [ch for ch in base_channels if ch not in ["pytorch", "nvidia"]]
|
|
337
337
|
else:
|
|
@@ -373,9 +373,9 @@ def create_pixi_toml(
|
|
|
373
373
|
torch_mm = ".".join(torch_parts[:2]) # "2.8.0" -> "2.8"
|
|
374
374
|
lines.append(f'pytorch = "{torch_mm}.*"')
|
|
375
375
|
|
|
376
|
-
if env_config.
|
|
376
|
+
if env_config.cuda:
|
|
377
377
|
# GPU detected - add pytorch-cuda for CUDA runtime
|
|
378
|
-
cuda_parts = env_config.
|
|
378
|
+
cuda_parts = env_config.cuda.split(".")
|
|
379
379
|
cuda_mm = ".".join(cuda_parts[:2]) # "12.8" -> "12.8"
|
|
380
380
|
lines.append(f'pytorch-cuda = "{cuda_mm}"')
|
|
381
381
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comfy-env
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.62
|
|
4
4
|
Summary: Environment management for ComfyUI custom nodes - CUDA wheel resolution and process isolation
|
|
5
5
|
Project-URL: Homepage, https://github.com/PozzettiAndrea/comfy-env
|
|
6
6
|
Project-URL: Repository, https://github.com/PozzettiAndrea/comfy-env
|
|
@@ -5,7 +5,7 @@ comfy_env/errors.py,sha256=q-C3vyrPa_kk_Ao8l17mIGfJiG2IR0hCFV0GFcNLmcI,9924
|
|
|
5
5
|
comfy_env/install.py,sha256=nfzGifXVd87a6dnwY3GtktrXpS7fjWuWF-QV9hh2e94,15657
|
|
6
6
|
comfy_env/isolation.py,sha256=a-q6mA9tzD27kZSZCTioSKlK-3kpRFKYA23V_75OmaI,9286
|
|
7
7
|
comfy_env/nodes.py,sha256=CWUe35jU5SKk4ur-SddZePdqWgxJDlxGhpcJiu5pAK4,4354
|
|
8
|
-
comfy_env/pixi.py,sha256=
|
|
8
|
+
comfy_env/pixi.py,sha256=NzttYecWScZ4N9wiMNyG-xYe6WaMntHPoOBkqj9RcCQ,27440
|
|
9
9
|
comfy_env/registry.py,sha256=w-QwvAPFlCrBYRAv4cXkp2zujQPZn8Fk5DUxKCtox8o,3430
|
|
10
10
|
comfy_env/resolver.py,sha256=WoNIo2IfTR2RlEf_HQl66eAeMa2R2pmLof_UdK-0RNE,6714
|
|
11
11
|
comfy_env/stub_imports.py,sha256=qOYxCJ8BbIfMHGBfqC5KGZSK6AK-iqmSjWi8ZCP8SAM,8425
|
|
@@ -41,8 +41,8 @@ comfy_env/workers/tensor_utils.py,sha256=TCuOAjJymrSbkgfyvcKtQ_KbVWTqSwP9VH_bCaF
|
|
|
41
41
|
comfy_env/workers/torch_mp.py,sha256=TnsCoBHEJBXEoBkx7WiCd9tBAlzFtMOw1dk_7_zGJZY,22288
|
|
42
42
|
comfy_env/workers/venv.py,sha256=RIW1EzWHnC4EBvfQCduYf2BVp3fND3SUZC1yJVfscxI,59325
|
|
43
43
|
comfy_env/wheel_sources.yml,sha256=uU0YJmWaiLAicQNN9VYS8PZevlP2NOH6mBUE294dvAo,8156
|
|
44
|
-
comfy_env-0.0.
|
|
45
|
-
comfy_env-0.0.
|
|
46
|
-
comfy_env-0.0.
|
|
47
|
-
comfy_env-0.0.
|
|
48
|
-
comfy_env-0.0.
|
|
44
|
+
comfy_env-0.0.62.dist-info/METADATA,sha256=BXvbn5JdZV4WftC_LrpvsTtwrIFVeoZq6pgaf-ffXT8,8735
|
|
45
|
+
comfy_env-0.0.62.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
46
|
+
comfy_env-0.0.62.dist-info/entry_points.txt,sha256=J4fXeqgxU_YenuW_Zxn_pEL7J-3R0--b6MS5t0QmAr0,49
|
|
47
|
+
comfy_env-0.0.62.dist-info/licenses/LICENSE,sha256=E68QZMMpW4P2YKstTZ3QU54HRQO8ecew09XZ4_Vn870,1093
|
|
48
|
+
comfy_env-0.0.62.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|