Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problems with importing itergp: module named 'fcntl' not found #4

Closed
L-in-da opened this issue Nov 4, 2022 · 2 comments
Closed

Problems with importing itergp: module named 'fcntl' not found #4

L-in-da opened this issue Nov 4, 2022 · 2 comments
Assignees

Comments

@L-in-da
Copy link

L-in-da commented Nov 4, 2022

I've tried to import itergp, as stated in the README file, but got the error:
ModuleNotFoundError: No module named 'fcntl'
It seems as the fcntl module is not available on Windows. So is it nevertheless possible to import itergp on a windows pc?

@JonathanWenger
Copy link
Owner

JonathanWenger commented Nov 4, 2022

Hi @L-in-da. We unfortunately just realized the issue you describe. The package KeOPs that IterGP depends on does not have Windows support yet (see also getkeops/keops#43). KeOps enables large-scale matrix-vector multiplies with a kernel matrix.

We are working on a solution for the homework currently. For now if you have a team member with a mac or linux machine try using that.

@JonathanWenger JonathanWenger reopened this Nov 4, 2022
@JonathanWenger JonathanWenger self-assigned this Nov 4, 2022
@JonathanWenger
Copy link
Owner

JonathanWenger commented Nov 5, 2022

I just implemented a hotfix, that avoids the use of KeOps on Windows. This means on Windows you may not be able to scale to very large kernel matrices (n > 10000), since the implementation uses dense matrices. That should not be an issue for the homework however.

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

No branches or pull requests

2 participants