mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 12:20:52 +00:00
- Fixes https://github.com/termux/termux-packages/issues/27525 - Fixes https://github.com/termux/termux-packages/issues/25792 - Enable `USE_DISTRIBUTED` and apply patches necessary for it to compile and run properly
15 lines
379 B
Diff
15 lines
379 B
Diff
Prevents OSError: dlopen failed: library "libc.so.6" not found
|
|
(at runtime)
|
|
|
|
--- a/torch/distributed/elastic/multiprocessing/redirects.py
|
|
+++ b/torch/distributed/elastic/multiprocessing/redirects.py
|
|
@@ -31,7 +31,7 @@ def get_libc():
|
|
)
|
|
return None
|
|
else:
|
|
- return ctypes.CDLL("libc.so.6")
|
|
+ return ctypes.CDLL("libc.so")
|
|
|
|
|
|
libc = get_libc()
|