parent
b787b65951
commit
e26ccf8f55
@ -1,397 +0,0 @@
|
||||
============================= test session starts ==============================
|
||||
platform linux -- Python 3.10.12, pytest-7.4.2, pluggy-1.3.0
|
||||
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
|
||||
rootdir: /home/v/vswarms
|
||||
plugins: benchmark-4.0.0, anyio-3.7.1
|
||||
collected 812 items / 11 errors
|
||||
|
||||
==================================== ERRORS ====================================
|
||||
_________________ ERROR collecting tests/memory/test_pq_db.py __________________
|
||||
ImportError while importing test module '/home/v/vswarms/tests/memory/test_pq_db.py'.
|
||||
Hint: make sure your test modules/packages have valid Python names.
|
||||
Traceback:
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
tests/memory/test_pq_db.py:6: in <module>
|
||||
from swarms.memory.pg import PostgresDB
|
||||
../.local/lib/python3.10/site-packages/swarms/memory/pg.py:6: in <module>
|
||||
from swarms.memory.base import BaseVectorStore
|
||||
E ModuleNotFoundError: No module named 'swarms.memory.base'
|
||||
________________ ERROR collecting tests/memory/test_weaviate.py ________________
|
||||
ImportError while importing test module '/home/v/vswarms/tests/memory/test_weaviate.py'.
|
||||
Hint: make sure your test modules/packages have valid Python names.
|
||||
Traceback:
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
tests/memory/test_weaviate.py:3: in <module>
|
||||
from swarms.memory import WeaviateDB
|
||||
E ImportError: cannot import name 'WeaviateDB' from 'swarms.memory' (/home/v/.local/lib/python3.10/site-packages/swarms/memory/__init__.py)
|
||||
________________ ERROR collecting tests/models/test_kosmos2.py _________________
|
||||
ImportError while importing test module '/home/v/vswarms/tests/models/test_kosmos2.py'.
|
||||
Hint: make sure your test modules/packages have valid Python names.
|
||||
Traceback:
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
tests/models/test_kosmos2.py:4: in <module>
|
||||
from swarms.models.kosmos2 import Kosmos2, Detections
|
||||
../.local/lib/python3.10/site-packages/swarms/models/kosmos2.py:4: in <module>
|
||||
from pydantic import BaseModel, model_validator, validator
|
||||
E ImportError: cannot import name 'model_validator' from 'pydantic' (/home/v/.local/lib/python3.10/site-packages/pydantic/__init__.cpython-310-x86_64-linux-gnu.so)
|
||||
________________ ERROR collecting tests/models/test_multion.py _________________
|
||||
ImportError while importing test module '/home/v/vswarms/tests/models/test_multion.py'.
|
||||
Hint: make sure your test modules/packages have valid Python names.
|
||||
Traceback:
|
||||
../.local/lib/python3.10/site-packages/swarms/models/multion.py:5: in <module>
|
||||
import multion
|
||||
E ModuleNotFoundError: No module named 'multion'
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
tests/models/test_multion.py:3: in <module>
|
||||
from swarms.models.multion import MultiOn
|
||||
../.local/lib/python3.10/site-packages/swarms/models/multion.py:8: in <module>
|
||||
raise ImportError(
|
||||
E ImportError: Cannot import multion, please install 'pip install'
|
||||
_________________ ERROR collecting tests/models/test_ssd_1b.py _________________
|
||||
ImportError while importing test module '/home/v/vswarms/tests/models/test_ssd_1b.py'.
|
||||
Hint: make sure your test modules/packages have valid Python names.
|
||||
Traceback:
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
tests/models/test_ssd_1b.py:2: in <module>
|
||||
from swarms.models.ssd_1b import SSD1B
|
||||
../.local/lib/python3.10/site-packages/swarms/models/ssd_1b.py:10: in <module>
|
||||
from diffusers import StableDiffusionXLPipeline
|
||||
E ImportError: cannot import name 'StableDiffusionXLPipeline' from 'diffusers' (/home/v/.local/lib/python3.10/site-packages/diffusers/__init__.py)
|
||||
________________ ERROR collecting tests/models/test_whisperx.py ________________
|
||||
ImportError while importing test module '/home/v/vswarms/tests/models/test_whisperx.py'.
|
||||
Hint: make sure your test modules/packages have valid Python names.
|
||||
Traceback:
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
tests/models/test_whisperx.py:7: in <module>
|
||||
import whisperx
|
||||
E ModuleNotFoundError: No module named 'whisperx'
|
||||
______________ ERROR collecting tests/structs/test_autoscaler.py _______________
|
||||
../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
|
||||
result: Optional[TResult] = func()
|
||||
../.local/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
|
||||
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:531: in collect
|
||||
self._inject_setup_module_fixture()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
|
||||
self.obj, ("setUpModule", "setup_module")
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:310: in obj
|
||||
self._obj = obj = self._getobj()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
|
||||
return self._importtestmodule()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
|
||||
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
|
||||
../.local/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path
|
||||
importlib.import_module(module_name)
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
<frozen importlib._bootstrap>:1050: in _gcd_import
|
||||
???
|
||||
<frozen importlib._bootstrap>:1027: in _find_and_load
|
||||
???
|
||||
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
|
||||
???
|
||||
<frozen importlib._bootstrap>:688: in _load_unlocked
|
||||
???
|
||||
../.local/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
|
||||
exec(co, module.__dict__)
|
||||
tests/structs/test_autoscaler.py:15: in <module>
|
||||
llm = OpenAIChat(
|
||||
../.local/lib/python3.10/site-packages/langchain/load/serializable.py:97: in __init__
|
||||
super().__init__(**kwargs)
|
||||
pydantic/main.py:341: in pydantic.main.BaseModel.__init__
|
||||
???
|
||||
E pydantic.error_wrappers.ValidationError: 1 validation error for OpenAIChat
|
||||
E __root__
|
||||
E Did not find openai_api_key, please add an environment variable `OPENAI_API_KEY` which contains it, or pass `openai_api_key` as a named parameter. (type=value_error)
|
||||
_______________ ERROR collecting tests/swarms/test_groupchat.py ________________
|
||||
../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
|
||||
result: Optional[TResult] = func()
|
||||
../.local/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
|
||||
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:531: in collect
|
||||
self._inject_setup_module_fixture()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
|
||||
self.obj, ("setUpModule", "setup_module")
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:310: in obj
|
||||
self._obj = obj = self._getobj()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
|
||||
return self._importtestmodule()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
|
||||
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
|
||||
../.local/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path
|
||||
importlib.import_module(module_name)
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
<frozen importlib._bootstrap>:1050: in _gcd_import
|
||||
???
|
||||
<frozen importlib._bootstrap>:1027: in _find_and_load
|
||||
???
|
||||
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
|
||||
???
|
||||
<frozen importlib._bootstrap>:688: in _load_unlocked
|
||||
???
|
||||
../.local/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
|
||||
exec(co, module.__dict__)
|
||||
tests/swarms/test_groupchat.py:9: in <module>
|
||||
llm2 = Anthropic()
|
||||
../.local/lib/python3.10/site-packages/langchain/load/serializable.py:97: in __init__
|
||||
super().__init__(**kwargs)
|
||||
pydantic/main.py:341: in pydantic.main.BaseModel.__init__
|
||||
???
|
||||
E pydantic.error_wrappers.ValidationError: 1 validation error for Anthropic
|
||||
E __root__
|
||||
E Did not find anthropic_api_key, please add an environment variable `ANTHROPIC_API_KEY` which contains it, or pass `anthropic_api_key` as a named parameter. (type=value_error)
|
||||
____________ ERROR collecting tests/telemetry/test_posthog_utils.py ____________
|
||||
../.local/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
|
||||
result: Optional[TResult] = func()
|
||||
../.local/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
|
||||
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:531: in collect
|
||||
self._inject_setup_module_fixture()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
|
||||
self.obj, ("setUpModule", "setup_module")
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:310: in obj
|
||||
self._obj = obj = self._getobj()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
|
||||
return self._importtestmodule()
|
||||
../.local/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
|
||||
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
|
||||
../.local/lib/python3.10/site-packages/_pytest/pathlib.py:567: in import_path
|
||||
importlib.import_module(module_name)
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
<frozen importlib._bootstrap>:1050: in _gcd_import
|
||||
???
|
||||
<frozen importlib._bootstrap>:1027: in _find_and_load
|
||||
???
|
||||
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
|
||||
???
|
||||
<frozen importlib._bootstrap>:688: in _load_unlocked
|
||||
???
|
||||
../.local/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
|
||||
exec(co, module.__dict__)
|
||||
tests/telemetry/test_posthog_utils.py:5: in <module>
|
||||
from swarms.telemetry.posthog_utils import (
|
||||
../.local/lib/python3.10/site-packages/swarms/telemetry/posthog_utils.py:15: in <module>
|
||||
posthog = Posthog(api_key, host=host)
|
||||
../.local/lib/python3.10/site-packages/posthog/client.py:58: in __init__
|
||||
require("api_key", self.api_key, string_types)
|
||||
../.local/lib/python3.10/site-packages/posthog/client.py:751: in require
|
||||
raise AssertionError(msg)
|
||||
E AssertionError: api_key must have (<class 'str'>,), got: None
|
||||
__________________ ERROR collecting tests/tools/test_base.py ___________________
|
||||
import file mismatch:
|
||||
imported module 'test_base' has this __file__ attribute:
|
||||
/home/v/vswarms/tests/structs/test_base.py
|
||||
which is not the same as the test file we want to collect:
|
||||
/home/v/vswarms/tests/tools/test_base.py
|
||||
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
|
||||
_________________ ERROR collecting tests/utils/test_device.py __________________
|
||||
ImportError while importing test module '/home/v/vswarms/tests/utils/test_device.py'.
|
||||
Hint: make sure your test modules/packages have valid Python names.
|
||||
Traceback:
|
||||
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
|
||||
return _bootstrap._gcd_import(name[level:], package, level)
|
||||
tests/utils/test_device.py:4: in <module>
|
||||
from swarms.utils.device_checker_cuda import check_device
|
||||
E ModuleNotFoundError: No module named 'swarms.utils.device_checker_cuda'
|
||||
=============================== warnings summary ===============================
|
||||
../.local/lib/python3.10/site-packages/PyPDF2/__init__.py:21
|
||||
/home/v/.local/lib/python3.10/site-packages/PyPDF2/__init__.py:21: DeprecationWarning: PyPDF2 is deprecated. Please move to the pypdf library instead.
|
||||
warnings.warn(
|
||||
|
||||
../.local/lib/python3.10/site-packages/tensorflow/__init__.py:29
|
||||
/home/v/.local/lib/python3.10/site-packages/tensorflow/__init__.py:29: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
|
||||
import distutils as _distutils
|
||||
|
||||
../.local/lib/python3.10/site-packages/tensorflow/python/framework/dtypes.py:35
|
||||
/home/v/.local/lib/python3.10/site-packages/tensorflow/python/framework/dtypes.py:35: DeprecationWarning: ml_dtypes.float8_e4m3b11 is deprecated. Use ml_dtypes.float8_e4m3b11fnuz
|
||||
from tensorflow.tsl.python.lib.core import pywrap_ml_dtypes
|
||||
|
||||
../.local/lib/python3.10/site-packages/timm/models/layers/__init__.py:49
|
||||
/home/v/.local/lib/python3.10/site-packages/timm/models/layers/__init__.py:49: DeprecationWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
|
||||
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", DeprecationWarning)
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
=========================== short test summary info ============================
|
||||
ERROR tests/memory/test_pq_db.py
|
||||
ERROR tests/memory/test_weaviate.py
|
||||
ERROR tests/models/test_kosmos2.py
|
||||
ERROR tests/models/test_multion.py
|
||||
ERROR tests/models/test_ssd_1b.py
|
||||
ERROR tests/models/test_whisperx.py
|
||||
ERROR tests/structs/test_autoscaler.py - pydantic.error_wrappers.ValidationEr...
|
||||
ERROR tests/swarms/test_groupchat.py - pydantic.error_wrappers.ValidationErro...
|
||||
ERROR tests/telemetry/test_posthog_utils.py - AssertionError: api_key must ha...
|
||||
ERROR tests/tools/test_base.py
|
||||
ERROR tests/utils/test_device.py
|
||||
!!!!!!!!!!!!!!!!!!! Interrupted: 11 errors during collection !!!!!!!!!!!!!!!!!!!
|
||||
======================== 4 warnings, 11 errors in 6.22s ========================
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 421, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_2d_kernel", __class__._2d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 262, in __enter__
|
||||
self.acquire()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 219, in acquire
|
||||
_LOGGER.debug("Attempting to acquire lock %s on %s", lock_id, lock_filename)
|
||||
Message: 'Attempting to acquire lock %s on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock')
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 421, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_2d_kernel", __class__._2d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 262, in __enter__
|
||||
self.acquire()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 222, in acquire
|
||||
_LOGGER.debug("Lock %s acquired on %s", lock_id, lock_filename)
|
||||
Message: 'Lock %s acquired on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock')
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 421, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_2d_kernel", __class__._2d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 278, in __exit__
|
||||
self.release()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 251, in release
|
||||
_LOGGER.debug("Attempting to release lock %s on %s", lock_id, lock_filename)
|
||||
Message: 'Attempting to release lock %s on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock')
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 421, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_2d_kernel", __class__._2d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 278, in __exit__
|
||||
self.release()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 254, in release
|
||||
_LOGGER.debug("Lock %s released on %s", lock_id, lock_filename)
|
||||
Message: 'Lock %s released on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock')
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 422, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_4d_kernel", __class__._4d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 262, in __enter__
|
||||
self.acquire()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 219, in acquire
|
||||
_LOGGER.debug("Attempting to acquire lock %s on %s", lock_id, lock_filename)
|
||||
Message: 'Attempting to acquire lock %s on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock')
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 422, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_4d_kernel", __class__._4d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 262, in __enter__
|
||||
self.acquire()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 222, in acquire
|
||||
_LOGGER.debug("Lock %s acquired on %s", lock_id, lock_filename)
|
||||
Message: 'Lock %s acquired on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock')
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 422, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_4d_kernel", __class__._4d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 278, in __exit__
|
||||
self.release()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 251, in release
|
||||
_LOGGER.debug("Attempting to release lock %s on %s", lock_id, lock_filename)
|
||||
Message: 'Attempting to release lock %s on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock')
|
||||
--- Logging error ---
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
|
||||
stream.write(msg + self.terminator)
|
||||
ValueError: I/O operation on closed file.
|
||||
Call stack:
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
|
||||
fp16_matmul._update_autotune_table()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 422, in _update_autotune_table
|
||||
TritonMatmul._update_autotune_table(__class__.__name__ + "_4d_kernel", __class__._4d_kernel)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
|
||||
cache_manager.put(autotune_table)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
|
||||
with FileLock(self.lock_path):
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 278, in __exit__
|
||||
self.release()
|
||||
File "/home/v/.local/lib/python3.10/site-packages/filelock/_api.py", line 254, in release
|
||||
_LOGGER.debug("Lock %s released on %s", lock_id, lock_filename)
|
||||
Message: 'Lock %s released on %s'
|
||||
Arguments: (140110562667408, '/home/v/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock')
|
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Find and delete all __pycache__ directories
|
||||
find . -type d -name "__pycache__" -exec rm -r {} +
|
||||
|
||||
# Find and delete all .pyc files
|
||||
find . -type f -name "*.pyc" -delete
|
Loading…
Reference in new issue