Dan Biagini commited on
Commit
ca8be5b
1 Parent(s): 6445ea5

pretty up README

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -22,10 +22,10 @@ pytorch computations.
22
 
23
  Keeping them in sync is important, *to do so on a CPU installed dev system* do the following:
24
 
25
- 1.```pip freeze > requirements-cpu.txt```
26
- 1.```diff requirements-cpu.txt requirements.txt > req-patch.diff```
27
  1. Edit the req-patch.diff to remove the torch* related diffs (the requirements.txt torch entries should not have +cpu)
28
- 1. ```patch -R requirements.txt req-patch.diff```
29
 
30
  ## Manual Testing
31
  To run in google cloud shell:
 
22
 
23
  Keeping them in sync is important, *to do so on a CPU installed dev system* do the following:
24
 
25
+ 1. Freeze requirements (get currently installed versions): ```pip freeze > requirements-cpu.txt```
26
+ 1. Create a diff file with the changes needed to update requirements.txt: ```diff requirements-cpu.txt requirements.txt > req-patch.diff```
27
  1. Edit the req-patch.diff to remove the torch* related diffs (the requirements.txt torch entries should not have +cpu)
28
+ 1. Patch the requirements.txt file: ```patch -R requirements.txt req-patch.diff```
29
 
30
  ## Manual Testing
31
  To run in google cloud shell: