Skip to content

Issues with flash-attn and running on python 3.13 #59

@nathanchenseanwalter

Description

@nathanchenseanwalter

I installed versa successfully but when I ran the test I got

I'm not sure if it's because flash attention is a requirement since I saw this before the run failed. But at least with my setup I'm not able to get flash-attn. It seems like there are other depracations.

  import pkg_resources
[nltk_data] Error loading punkt: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data]     unable to get local issuer certificate (_ssl.c:1028)>
Failed to import Flash Attention, using ESPnet default: No module named 'flash_attn'
^CTraceback (most recent call last):
  File "/scratch/gpfs/nc1514/specscrub/versa/test/test_pipeline/test_general.py", line 7, in <module>
    from versa.scorer_shared import (
    ...<4 lines>...
    )
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/versa/__init__.py", line 35, in <module>
    from versa.utterance_metrics.speaker import speaker_metric, speaker_model_setup
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/versa/utterance_metrics/speaker.py", line 10, in <module>
    from espnet2.bin.spk_inference import Speech2Embedding
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/espnet2/bin/spk_inference.py", line 13, in <module>
    from espnet2.tasks.spk import SpeakerTask
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/espnet2/tasks/spk.py", line 40, in <module>
    from espnet2.tasks.abs_task import AbsTask
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/espnet2/tasks/abs_task.py", line 88, in <module>
    import wandb
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/wandb/__init__.py", line 22, in <module>
    from wandb.sdk.lib import wb_logging as _wb_logging
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/wandb/sdk/__init__.py", line 24, in <module>
    from . import wandb_helper as helper
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/wandb/sdk/wandb_helper.py", line 6, in <module>
    from .lib import config_util
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/wandb/sdk/lib/config_util.py", line 10, in <module>
    from wandb.util import load_yaml
  File "/scratch/gpfs/nc1514/specscrub/.venv/lib/python3.13/site-packages/wandb/util.py", line 56, in <module>
    import wandb.env
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1322, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1262, in _find_spec```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions