Git Product home page Git Product logo

Comments (9)

Looong01 avatar Looong01 commented on July 24, 2024

Ok, I use this:
image

And then this:
image
It returns this:
image

from antares.

Looong01 avatar Looong01 commented on July 24, 2024

作者你好,如果你愿意用中文的话,还是中文我理解得比较好😂

from antares.

Looong01 avatar Looong01 commented on July 24, 2024

Actually, I can quote "cmath" to compile things.
image
image

from antares.

ghostplant avatar ghostplant commented on July 24, 2024

Have you installed CXX development dependencies in WSL? e.g.

sudo apt install g++
sudo apt install g++-mingw-w64-x86-64

from antares.

Looong01 avatar Looong01 commented on July 24, 2024

Have you installed CXX development dependencies in WSL? e.g.

sudo apt install g++
sudo apt install g++-mingw-w64-x86-64

Yes.

from antares.

ghostplant avatar ghostplant commented on July 24, 2024

Is this command successful in WSL?

echo -e '#include <cmath>\nint main() {}' > main.cpp && x86_64-w64-mingw32-g++ main.cpp

from antares.

Looong01 avatar Looong01 commented on July 24, 2024

Is this command successful in WSL?

echo -e '#include <cmath>\nint main() {}' > main.cpp && x86_64-w64-mingw32-g++ main.cpp

It returned nothing, and generate an "a.exe" file.
image

from antares.

ghostplant avatar ghostplant commented on July 24, 2024

This is not an Antares environmental issue, but ROCm issue for HIP versions >= 5.3.0. Please use ROCm < 5.3.0 or follows: ROCm/ROCm#1843

from antares.

Looong01 avatar Looong01 commented on July 24, 2024

This is not an Antares environmental issue, but ROCm issue for HIP versions >= 5.3.0. Please use ROCm < 5.3.0 or follows: RadeonOpenCompute/ROCm#1843

Thank you!
Now I have succeeded to install these and to run "AMDGFX=gfx1031 BACKEND=c-rocm_win64 Antares".

image

Does this mean I have successfully configured related environment for PyTorch for ROCm?

Now, how can I test if I have done this correctly?
Command "rocminfo" still cannot work.

And I used "pip install" to install a ROCm version of PyTorch in anaconda virtual environment. And I encountered errors when I try to use "torch.cuda.is_available()". It returned:

/home/dragons/anaconda3/envs/PyTorch/lib/python3.9/site-packages/torch/cuda/init.py:88: UserWarning: HIP initialization: Unexpected error from hipGetDeviceCount(). Did you run some cuda functions before calling NumHipDevices() that might have already set an error? Error 101: hipErrorInvalidDevice (Triggered internally at ../c10/hip/HIPFunctions.cpp:110.)
return torch._C._cuda_getDeviceCount() > 0

from antares.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.