-
-
Couldn't load subscription status.
- Fork 50
Sync some features with anaconda's recipe #318
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
Changes from 1 commit
6facae4
63aa7dd
81363c0
e8d6740
e1f50ac
9fcb3a7
ca90fa0
ff040de
a2694a9
6074128
407a78d
393d0d5
0f9b587
4feaee5
0fe0ba4
14ca3d2
eaaae74
e19af70
939dae1
af73dbe
65bcd3b
a26ede2
03b2fc7
f3bfe5f
a811bb2
bd450c9
6f49c62
10bfd83
46f4e8e
c1c1e6c
3a34b59
e19e11c
5f19e7f
f6bbd00
9864e70
a002741
226f526
ad37dec
59af084
78b5aca
db810d0
a623264
e44b0d5
415a628
0a2094f
3889dee
982cadf
4683abe
e91c713
46d06c1
cdabb36
89d7354
8a92b36
8338fd7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| Currently inductor doesn't look in conda's includes and libs. This results in errors when it tries to compile, if system versions are being used of dependencies (e.g., sleef). | ||
|
|
||
| author: [email protected] | ||
|
|
||
| Index: pytorch/torch/_inductor/cpp_builder.py | ||
| =================================================================== | ||
| --- pytorch.orig/torch/_inductor/cpp_builder.py 2024-12-16 15:16:47.074821258 -0600 | ||
| +++ pytorch/torch/_inductor/cpp_builder.py 2024-12-16 15:17:33.922130106 -0600 | ||
| @@ -1055,6 +1055,7 @@ | ||
| + python_include_dirs | ||
| + torch_include_dirs | ||
| + omp_include_dir_paths | ||
| + + [os.getenv('CONDA_PREFIX') + '/include'] | ||
|
||
| ) | ||
| cflags = sys_libs_cflags + omp_cflags | ||
| ldflags = omp_ldflags | ||
Uh oh!
There was an error while loading. Please reload this page.