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

Can't finish running compile.py on Stable diffusion example(same issue on others) #83

Open
ptrprkr opened this issue Nov 13, 2022 · 7 comments

Comments

@ptrprkr
Copy link

ptrprkr commented Nov 13, 2022

File "\aitemplate\examples\07_how_to_run_pt_model\how_to_run_pt_model.py", line 131, in
verify_simple_model()
File "\aitemplate\examples\07_how_to_run_pt_model\how_to_run_pt_model.py", line 97, in verify_simple_model
with compile_model(
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\aitemplate\compiler\compiler.py", line 200, in compile_model
compiler.transform.profile(
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\aitemplate\compiler\transform\profile.py", line 88, in profile
compile_engine.make_profilers(generated_profilers, profiler_dir)
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\aitemplate\backend\builder.py", line 364, in make_profilers
self._gen_makefile_for_profilers(file_pairs, build_dir)
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\aitemplate\backend\builder.py", line 355, in _gen_makefile_for_profilers
with open(dumpfile, "w+") as f:
FileNotFoundError: [Errno 2] No such file or directory: "'./tmp\profiler'\Makefile"

Could I get some help with this? I apologize if this isn't the right place for this.

@antinucleon
Copy link
Contributor

I guess you are using Windows. If you are using Windows please use AIT in WSL linux mode.

@ptrprkr
Copy link
Author

ptrprkr commented Nov 13, 2022

thank you! however now i get this
raise RuntimeError("Unsupported platform")
RuntimeError: Unsupported platform

@antinucleon
Copy link
Contributor

antinucleon commented Nov 13, 2022 via email

@ptrprkr
Copy link
Author

ptrprkr commented Nov 13, 2022

3060 TI

@antinucleon
Copy link
Contributor

antinucleon commented Nov 13, 2022

You need to install CUDA in WSL

https://docs.nvidia.com/cuda/wsl-user-guide/index.html

@ptrprkr
Copy link
Author

ptrprkr commented Nov 13, 2022

I have, i tried installing again in a different way but still no change, thank you for your time and help though.

@hoamle
Copy link

hoamle commented Nov 16, 2022

@ptrprkr you need to ensure that you have Windows 21H2 or later, and /usr/lib/wsl/lib/nvidia-smi is in your wsl $PATH

tissue3 pushed a commit to tissue3/AITemplate-1 that referenced this issue Feb 7, 2023
* make the perm021fc op names consistent

make perm021fc_ccr_bias and perm021fc_crc_bias have consistent internal names

no functional change

* update cache
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

3 participants