Coder Social home page Coder Social logo

安装DI-engine的问题 about di-engine HOT 4 CLOSED

opendilab avatar opendilab commented on August 22, 2024
安装DI-engine的问题

from di-engine.

Comments (4)

zjowowen avatar zjowowen commented on August 22, 2024

Thanks for your advice. We are currently working on fixing pytorch dependencies to a higher version, 1.11.0 and 1.12.0.
By the way, torch<=1.10.0 is tested, while torch>1.10.0 has not been tested yet.

However, generally, it is not a big issue for most of the code in DI-engine. If you must run DI-engine with torch==1.11.0, it would be fine I guess.

You can temporarily disable the pytorch version requirement in the "setup.py".
Another pytorch dependency is located in DI-treetensor. You have to install it and disable its requirement in "requirement.txt".

Or, you could install torch==1.10.1+cu113 by downloading manually, "https://download.pytorch.org/whl/cu113/torch-1.10.1%2Bcu113-cp38-cp38-win_amd64.whl".

from di-engine.

jaried avatar jaried commented on August 22, 2024

Thanks for your advice. We are currently working on fixing pytorch dependencies to a higher version, 1.11.0 and 1.12.0. By the way, torch<=1.10.0 is tested, while torch>1.10.0 has not been tested yet.

However, generally, it is not a big issue for most of the code in DI-engine. If you must run DI-engine with torch==1.11.0, it would be fine I guess.

You can temporarily disable the pytorch version requirement in the "setup.py". Another pytorch dependency is located in DI-treetensor. You have to install it and disable its requirement in "requirement.txt".

Or, you could install torch==1.10.1+cu113 by downloading manually, "https://download.pytorch.org/whl/cu113/torch-1.10.1%2Bcu113-cp38-cp38-win_amd64.whl".

因为我的生产环境装了太多的运行库,因此,存在版本冲突的情况下,我先用annaconda给di单独建立一个环境来练习,暂时还不迁入生产。

比如,tianshou是我必须使用的,依赖的gym版本就和di冲突。

from di-engine.

zjowowen avatar zjowowen commented on August 22, 2024

We are also currently working on update gym from 0.20.0 to 0.25.0. Some tests for compatability are being conducted. It would be soon for this update.

from di-engine.

PaParaZz1 avatar PaParaZz1 commented on August 22, 2024

We have upgraded pytorch(1.1.0-1.12.1) and gym(0.25.0) version in above-mentioned PR.

from di-engine.

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.