Skip to content
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

Dependency Installation Issues and Version Conflicts #4

Open
ethahtz opened this issue Dec 14, 2024 · 0 comments
Open

Dependency Installation Issues and Version Conflicts #4

ethahtz opened this issue Dec 14, 2024 · 0 comments

Comments

@ethahtz
Copy link

ethahtz commented Dec 14, 2024

Hi,

I encountered the following issues during installation (I am using python3.11):

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/scratch/gpfs/ab4197/p-printer/tracr/tracr'  

To address it, I switched to using tracr directly from its original GitHub repo:

tracr @ git+https://github.com/deepmind/tracr  

This resolved the problem, but it led to the following dependency conflict.

ERROR: Ignored the following yanked versions: 2.0.0  
ERROR: Could not find a version that satisfies the requirement torchaudio==2.0.2+cu118 (from versions: 2.0.1, 2.0.2, 2.1.0, ...)  
ERROR: No matching distribution found for torchaudio==2.0.2+cu118  

To proceed, I attempted to remove torchaudio from the requirements file, as it seems unnecessary for pruning subnetworks.

After removing torchaudio, I ran into further dependency conflicts with accelerate:

ERROR: Cannot install -r requirements.txt (line 116) and accelerate==0.28.0 because these package versions have conflicting dependencies.  

The conflict is caused by:
    The user requested accelerate==0.28.0  
    llm-foundry 0.3.0 depends on accelerate<0.21 and >=0.20  

At this point, it feels like there are too many version conflicts to resolve without additional guidance. Could you please recommend the best approach for resolving these conflicts?

Thank you in advance for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant