mirror of
				https://github.com/allenai/olmocr.git
				synced 2025-10-30 17:39:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			329 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			329 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -e
 | |
| 
 | |
| VERSION=$(python -c 'import olmocr.version; print(olmocr.version.VERSION)')
 | |
| echo "$VERSION"
 | |
| 
 | |
| docker build --platform linux/amd64 -f ./scripts/beaker/Dockerfile-inference  -t olmocr-inference-$VERSION .
 | |
| beaker image create --workspace ai2/oe-data-pdf --name olmocr-inference-$VERSION olmocr-inference-$VERSION | 
