-
Notifications
You must be signed in to change notification settings - Fork 699
Python package testing/installation failing, due to missing *.h file in non-existent directory! #3262
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
Comments
The results of some sleuthing:
However, there's no
dbanas@Davids-MacBook-Pro:~/Documents/Projects/PyTorch-Glow/glow/torch_glow
$ git diff
diff --git a/torch_glow/src/binding.cpp b/torch_glow/src/binding.cpp
index f2254a42..7961df83 100644
--- a/torch_glow/src/binding.cpp
+++ b/torch_glow/src/binding.cpp
@@ -17,7 +17,7 @@
#include <pybind11/pybind11.h>
#include <torch/csrc/jit/custom_operator.h>
-#include <torch/csrc/jit/operator_options.h>
+#include <torch/csrc/jit/operator.h>
#include <torch/csrc/jit/pass_manager.h>
#include <torch/csrc/jit/passes/graph_fuser.h> And then attempted:
|
These look like things that are currently available only in pytorch nightly build but not in regular build so I'm pretty sure the issue is that it's not using the nightly version. |
Hm actually I removed the torchvision instructions already so that may not be the cause of the wrong torch version but I think that still may be the issue. If you run |
@jackm321 , thanks for your reply!
|
Trying to follow your second comment... At this site, I'd originally selected Stable (1.1).
|
Okay, I tried the 4 steps I proposed, above, with the following results:
Then, running
(I assume the one skipped test is expected; is that true?) And:
which I presume is correct, since you said the version number should have a "dev" in it. And, finally, referring to the instructions at the very end of the
which I presume indicates success, since no error was reported. |
Awesome! Yep looks like that did the trick. The 1 skipped test expected. |
Attempting to follow the instructions in
docs/pytorch.md
, Python package testing and installation are failing:The really strange thing is: none of the intermediate directories on the path to that missing
*.h
file exist!The text was updated successfully, but these errors were encountered: