Skip to content

AttributeError when configuring the environment #6

@init-neok

Description

@init-neok

First of all, thank you for your excellent work and contribution to unlearning! I truly appreciate the time and effort you’ve put into this project. However, I encountered an issue while setting up the environment.

The error message is as follows:

File "/data2/xx/anaconda3/envs/ufl/lib/python3.8/site-packages/pytorch_lightning/utilities/parsing.py", line 298, in __getattr__
    raise AttributeError(f'Missing attribute "{key}"') from exp
AttributeError: Missing attribute "cache_dir"

After some investigation, I believe this issue might be related to the absence of specific versioning for the following dependencies in the requirements.txt file:

  • transformers
  • pytorch
  • pytorch_lightning

Would it be possible for you to kindly confirm the compatible versions of these libraries or update the requirements.txt file with the tested versions? I believe this would help avoid similar issues for other users.

Thank you for your time and support! I look forward to your guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions