Giter Club home page Giter Club logo

poetry-torch's Introduction

poetry-torch

A template for PyTorch users to install the correct version for your device.

This repo only support Windows and CUDA 12.1 for now. Linux, MacOS are scheduled. Please make issues if you require it eagerly.

Usage

Make sure Poetry is installed on your device.

Use this to install all dependencies (including torch):

poetry run install

This will call the install_torch.py script and poetry install command in sequence.

Note that you can write your dependencies in pyproject.toml or in install_torch.py by command line.

torch versions are not locked by Poetry by default, please use with caution.

Diagnostic

You may receive a warning like this:

Warning: 'install' is an entry point defined in pyproject.toml, but it's not installed as a script. You may get improper `sys.argv[0]`.

The support to run uninstalled scripts will be removed in a future release.

Run `poetry install` to resolve and get rid of this message.

That's because at this point the .venv is not created, and Poetry is using global python.exe to interpret this script.

This will not affect package installation. They will be installed in venv as usual. Please just ignore this warning message.

poetry-torch's People

Contributors

daqihu avatar

Stargazers

 avatar

Watchers

 avatar

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.