GithubHelp home page GithubHelp logo

Comments (9)

hmaarrfk avatar hmaarrfk commented on July 28, 2024 2

I guess we are closing because:

  1. We know this is a very popular package.
  2. Packaging this for OSX-arm64 is going to be challenging.
  3. Repackaging everything on conda-forge for OSX-arm64 is already on the roadmap.

i hope you have fun with your new toy @slerman12 :D

from miniforge.

rgommers avatar rgommers commented on July 28, 2024

There aren't any released pytorch packages for osx-arm64 yet, so this is not surprising. You can grab a nightly wheel or build from source I think, see pytorch/pytorch#48145

from miniforge.

slerman12 avatar slerman12 commented on July 28, 2024

Thanks, I'll try that. Would installing Gym/atari work?

from miniforge.

hmaarrfk avatar hmaarrfk commented on July 28, 2024

i'm not so sure. You will have to experiment with functionaly.

Honestly, hold on to your old workstation for a while. The transition won't be instant, and working with bleeding edge hardware accelerated software is going to take a while.

https://anaconda.org/pytorch/pytorch/files

Pytorch doesn't list any build for osx other than osx-64 so your mileage may varry.

from miniforge.

slerman12 avatar slerman12 commented on July 28, 2024

I was able to install pytorch from source. Works, no problem. Is there a way I can now use it with Gym? Can I install gym without the apple silicon compatibility?

from miniforge.

hmaarrfk avatar hmaarrfk commented on July 28, 2024

again, i'm not sure.

from miniforge.

slerman12 avatar slerman12 commented on July 28, 2024

Is there something wrong with the NumPy distribution? Running np.empty(2) returns an array of non-NaNs.

from miniforge.

rgommers avatar rgommers commented on July 28, 2024

Is there something wrong with the NumPy distribution? Running np.empty(2) returns an array of non-NaNs.

That's normal. empty doesn't give you nans, it gives you whatever random data is already present in the block of memory it grabs.

from miniforge.

slerman12 avatar slerman12 commented on July 28, 2024

Ah yes, I thought that was the cause of the inconsistency in performance of my code but it must be something else then. It’s very odd. My model performs well on my old MacBook, but the exact same code gets much worse results on my new M1 MacBook with Pytorch and gym installed from source, and everything else installed with miniforge’s conda.

from miniforge.

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.