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

Make Tensora work in Windows #60

Open
drhagen opened this issue Feb 26, 2024 · 0 comments
Open

Make Tensora work in Windows #60

drhagen opened this issue Feb 26, 2024 · 0 comments

Comments

@drhagen
Copy link
Owner

drhagen commented Feb 26, 2024

Tensora's use of CFFI does not work in Windows. The following issues need to be fixed:

  • Cannot use FFI.dlopen(None) to grab a generic C library because there is no generic C library in Windows. There are several possible solutions.
  • Cannot use free as just a generic function because free is not the same function in all Windows libraries. This could be made a unix-specific feature because it is only used by take_ownership_of_tensor, which is not used internally by Tensora.
  • Cannot delete the library after loading it because files in use cannot be deleted in Windows
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