Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about CT run? #38

Closed
diaoerlie opened this issue Oct 17, 2022 · 2 comments
Closed

question about CT run? #38

diaoerlie opened this issue Oct 17, 2022 · 2 comments

Comments

@diaoerlie
Copy link

hi,

i am following your guide in : plc_client,

I have confuse in two point:
#1. replace the environment.py with environment_ct.py --> do you mean: mv environment.py environment_ct.py
"Then, copy plc_client_os.py under the same directory" --> really confuse what does it mean?

#2. here's logs from test bench , is it normal? and what is this flow generate?

022-10-17 20:15:29.456503: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (comet-Precision-3630-Tower): /proc/driver/nvidia/version does not exist
############################ TEST PROXY COST ############################
overlap_threshold default 0.004
#[PLC FILE FOUND] Loading info from .plc file
#[ROUTES PER MICRON] Hor: 10.00, Ver: 10.00
#[CONGESTION SMOOTH RANGE] Smooth Range: 2
#[PLACEMENT GRID] Col: 35, Row: 33
#[INFO WIRELENGTH] Matched Wirelength cost -- GL 0.05018660769988099, OS 0.05018660769390266
#[INFO DENSITY] Matched density cost -- GL 0.7500617702325654, OS 0.7500617686422556
#[INFO CONGESTION] Matched congestion cost -- GL 2.311353997750248, OS 2.3113539969146424
+++++++++++++++++++++++++++++
+++ TEST PROXY COST: PASS +++
+++++++++++++++++++++++++++++

thank you so much for this question

@diaoerlie diaoerlie changed the title question abount CT run? question about CT run? Oct 17, 2022
@Dinple
Copy link
Collaborator

Dinple commented Oct 17, 2022

Hi,

  1. If you have already downloaded circuit_training from Google's Github, you can run our code by replacing circuit_training/environment/environment.py with environment_ct.py (please keep the naming to be the same as environment.py for function calls). Then, you will need to move the plc_client_os.py into the same folder under circuit_training/environment/ (no need to change name or anything). Now, you can start your run as usual and circuit_training should work with our open-source code.
  2. This is normal. These logs you see are individual tests to find out discrepencies in the output. In most of the tests, you will manually input these canvas information and point to your test file locations. This particular test you are running is testing the three proxy cost used by circuit_training. As you can see, we have a matching result. To toggle different tests, you can go to the bottom of the testbench and uncomment any tests you would like to see. We are also happy to know if you have found any unmatching results.

Thanks for checking out our code. I will make an update in the future to make these instructions a bit more clear.

@Dinple
Copy link
Collaborator

Dinple commented Oct 21, 2022

Closed for inactivity. Reopen if needed.

@Dinple Dinple closed this as completed Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants