Giter Site home page Giter Site logo

srivatsankrishnan / oss-arch-gym Goto Github PK

View Code? Open in Web Editor NEW
104.0 104.0 18.0 114.79 MB

Open source version of ArchGym project.

License: Apache License 2.0

Python 30.47% Shell 3.95% Perl 0.02% Jupyter Notebook 25.91% Dockerfile 0.04% Makefile 6.56% Objective-C 12.66% C++ 10.08% SWIG 0.01% C 7.00% Starlark 0.36% Ruby 0.91% CMake 0.33% M4 0.27% Java 0.11% PHP 1.27% Batchfile 0.01% PowerShell 0.01% Vim Script 0.02% Emacs Lisp 0.04%

oss-arch-gym's People

Contributors

aadyapipersenia04 avatar aditir-42 avatar changhai0109 avatar jared-ni avatar manan-garg1504 avatar nx6xe23 avatar rushichavda avatar shravanikode avatar shreyasgrampurohit avatar shvetankprakash avatar srivatsankrishnan avatar tensortyrion9001 avatar varun-k-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

oss-arch-gym's Issues

Vizier package version issue

I followed the archgym installation setup on a linux machine but I am facing the following issue with vizier when running vizier_dse.py after editing it, any ideas for why could this be the problem?
image (2)

Asking for requirement.txt which has detailed version of dependencies

following the process here

After installing by Docker, there are sorts of conflicts
image
image
I assume that some packages are installed by default with higher version. However there exists many packages, it's hard to detect the error.
So if it's possible to update all the requirement.txt with detailed version of dependencies. Thank You!

Estimated timeline of CFU-Playground integration

Hi,

Congratulations for this well-needed contribution. I would like to know if you have an estimated timeline about when the CFU-Playground is supposed to be integrated? Also, do you welcome contributions in this area?

Add AstraSim to install.sh

Let's add AstraSim to the install_sim.sh script so that we can simply have folks run install_sim.sh astrasim and everything is installed for them out of the box.

Then we can clean up the documentation in Astrasim for setup/install to simply be:
Run the following command from the oss-arch-gym repository root

install_sim.sh astrasim

Multiple custom gym sample envs

We have multiple example dummy environments under arch_gym/envs/. Let's just keep the example we like the best to clean it up.

Misc clean up tasks

Let's have all train scripts follow the same naming convention to clean things up:
train_[algo]_[sim].py

Add vizier test script

We should update this section's documentation to have a standalone script for them to run in arch gym rather than asking them to do these steps:

-Make a copy of this script vizier_dse.py

-Remove line 10

-Replace line 40 to return random int ; for example: cycles, cells = 1, 1

-Run this file, sample output should look something like this: EXITING DSE…

which looks messy for us to ask of them.

TimeLoopSim: python train_ga_timeloop.py error

I think I have well installed the environment, with python train_bo_timeloop.py running successfully.

image

But while running train_ga_timeloop.py, there exists an error: IndexError: invalid index to scalar variable.

image

DRAMSys Agents

All agents work out of the box except for the following:
-train_brute_force.py
-train_ppo.py
-train_single_agent.py
-train_simpleEnv.py

arch_gym_configs.py missing

We need to port over arch_gym_configs.py under configs dir to run our previous agents:

(arch-gym) ~/oss-arch-gym/sims/DRAM$ python train_bo_DRAMSys.py 
Traceback (most recent call last):
  File "/home/oss-arch-gym/sims/DRAM/train_bo_DRAMSys.py", line 8, in <module>
    from  bo.DRAMSysEstimator import DRAMSysEstimator
  File "/home/oss-arch-gym/bo/DRAMSysEstimator.py", line 4, in <module>
    from configs import arch_gym_configs
ImportError: cannot import name 'arch_gym_configs' from 'configs' (unknown location)

Was this intentional or we just forgot?

Conda Install Package Not Found

I am trying to run our step by step here on a fresh VM instance in preparation for tutorial to make sure everything works properly based on our documentation but am getting the following issue:

(base) ~/oss-arch-gym$ conda env create -f environment.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - torch
  - qhoptim

This may just be an issue with this VM setup since it has worked previously but I am adding this issue to see if it is reproducible by others so we can resolve it if it is.

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.